Custom URL scheme links are rewritten to app://-/index.html?hostId=local
What version of the Codex App are you using (From “About Codex” dialog)?
26.415.21839 (1763)
What subscription do you have?
Business
What platform is your computer?
macOS
What issue are you seeing?
Markdown links using a custom URL scheme are not preserved correctly in the Codex desktop app. When a response contains a link using the linear:// scheme, Codex appears to rewrite it through its own local wrapper instead of preserving the original deep link. That breaks the intended behavior and prevents the link from opening the target desktop app.
What steps can reproduce the bug?
- Render or output a Markdown link in Codex using a Linear deep link, for example:
[FRI-706: Introduce Wallet as the source of truth for payment methods](linear://linear.app/digital-fireworks/issue/FRI-706/introduce-wallet-as-the-source-of-truth-for-payment-methods)
- Click the link in the Codex desktop app, or copy the link target from the rendered response.
- Observe that the link is not treated as the original linear://... URL and instead gets rewritten through the Codex app wrapper.
What is the expected behavior?
The rendered link should preserve the original deep link target exactly as written. In the example above, clicking the link should open the Linear desktop app directly to the issue:
linear://linear.app/digital-fireworks/issue/FRI-706/introduce-wallet-as-the-source-of-truth-for-payment-methods
It should not be rewritten through another scheme or local wrapper.
Additional information
When copied from the Codex UI, the link appears as:
app://-/index.html?hostId=local
That suggests Codex is intercepting and rewriting custom URL scheme links instead of preserving them. This makes custom app deep links unusable from Codex responses. I reproduced this with a linear:// link, but the issue may apply to other custom URL schemes as well.
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I dont' think this is an exact duplicate since the goal here seems a bit different. The goal here is to allow codex to use app specific url-schemes such as linear:// to open links directly in the Linear desktop app. So depending on how the other issues are fixed this issue might or might not be fixed with it. I would prefer to keep this open until that is clear.
<!DOCTYPE html>
<html lang="am">
<head>
<meta charset="UTF-8">
<title>አፕክስ ፊትነስ</title>
<style>
body {
font-family: 'Ethiopia Jiret', 'Abyssinica SIL', sans-serif;
background-color: #0F172A;
color: #FFFFFF;
margin: 0;
padding: 0;
}
header {
background-color: #1E293B;
padding: 20px;
text-align: center;
}
header h1 {
color: #10B981;
margin: 0;
}
section {
padding: 40px 20px;
text-align: center;
}
footer {
background-color: #1E293B;
padding: 20px;
text-align: center;
}
</style>
</head>
<body>
<header>
<h1>አፕክስ ፊትነስ</h1>
</header>
<section id="about">
<h2>ስለ እኛ</h2>
<p>የጂም ቤታችን አላማ ጤናማ እና ጠንካራ ሰውነትን መገንባት ነው። ዘመናዊ መገልገያዎችን እና ብቁ አሰልጣኞችን በመጠቀም ለግቦችዎ እንዲደርሱ እንረዳዎታለን።</p>
</section>
<section id="membership">
<h2>የአባልነት ዋጋ</h2>
<p>የተለያዩ የአባልነት ፓኬጆችን አዘጋጅተናል። ለወር፣ ለሶስት ወር ወይም ለአመት መመዝገብ ይችላሉ።</p>
</section>
<footer>
<p id="contact">አግኙን፡ 0911223344</p>
</footer>
</body>
</html>
<!DOCTYPE html>
<html lang="am">
<head>
<meta charset="UTF-8">
<title>አፕክስ ፊትነስ</title>
<style>
body {
font-family: 'Ethiopia Jiret', 'Abyssinica SIL', sans-serif;
background-color: #0F172A;
color: #FFFFFF;
margin: 0;
padding: 0;
}
header {
background-color: #1E293B;
padding: 20px;
text-align: center;
}
header h1 {
color: #10B981;
margin: 0;
}
section {
padding: 40px 20px;
text-align: center;
}
footer {
background-color: #1E293B;
padding: 20px;
text-align: center;
}
</style>
</head>
<body>
<header>
<h1>አፕክስ ፊትነስ</h1>
</header>
<section id="about">
<h2>ስለ እኛ</h2>
<p>የጂም ቤታችን አላማ ጤናማ እና ጠንካራ ሰውነትን መገንባት ነው። ዘመናዊ መገልገያዎችን እና ብቁ አሰልጣኞችን በመጠቀም ለግቦችዎ እንዲደርሱ እንረዳዎታለን።</p>
</section>
<section id="membership">
<h2>የአባልነት ዋጋ</h2>
<p>የተለያዩ የአባልነት ፓኬጆችን አዘጋጅተናል። ለወር፣ ለሶስት ወር ወይም ለአመት መመዝገብ ይችላሉ።</p>
</section>
<footer>
<p id="contact">አግኙን፡ 0911223344</p>
</footer>
</body>
</html>