agent-deeplinks 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,7 +19,7 @@ npm install https://github.com/lalalune/agent-deeplinks/releases/latest/download
19
19
  You can also download the ZIP from GitHub Releases and install its bundled npm tarball. The ZIP includes a static demo and the SVG files.
20
20
 
21
21
  ```sh
22
- npm install ./agent-deeplinks-0.1.16.tgz
22
+ npm install ./agent-deeplinks-0.1.18.tgz
23
23
  ```
24
24
 
25
25
  ## Usage
@@ -50,16 +50,24 @@ For Hermes and OpenClaw, set `server` to the URL of your Webapp or Control UI wh
50
50
 
51
51
  For OpenCode 2.x on the web or in an iPhone browser, supply the server origin in `server` and select your project after sign-in. The Web route's optional `directory` parameter builds the older OpenCode 1.x project URL. OpenCode Desktop accepts the local directory and an optional prompt.
52
52
 
53
+ For Android, pass a one-time `/auth/connect/<code>` URL from [`opencode pair`](https://opencode.ai/docs/cli/commands#pair) to `getOpenCodeAndroidPairingLink`. It builds a custom-scheme link to the native pairing review without fetching the one-time URL. The user confirms the connection in OpenCode. The server address in the issued URL must be reachable from the phone.
54
+
55
+ ```ts
56
+ import { getOpenCodeAndroidPairingLink } from "agent-deeplinks"
57
+
58
+ const href = getOpenCodeAndroidPairingLink(issuedPairingUrl)
59
+ ```
60
+
53
61
  T3 Code accepts an optional server origin on the web. Leave it unset for the hosted chooser. For a self-hosted link, pair that browser with your T3 server and let the workspace connect first.
54
62
 
55
63
  ZCode's web, iOS, and Android links open its versioned Remote Control sign-in page in a browser. Connecting requires the same account and region as an online desktop with Remote Control enabled. [ZCode Remote Control instructions](https://zcode.z.ai/en/docs/remote-control)
56
64
 
57
- Kimi Code Desktop accepts a local `directory` and opens a fresh draft. The browser routes open the Remote Control device picker and use the same Kimi account as the running host. Supply `server` for another region or for a LAN Web address from `kimi web` without the login token.
65
+ Kimi Code Desktop accepts a local `directory` and opens a fresh draft. Hosted Remote Control uses the same Kimi account as the running host. Supply `server` for another region or for a local address from `kimi web`, then enter the local server token in the browser.
58
66
 
59
67
  Call `getAgentLink("openclaw", "desktop")` or choose `"ios"` to open the dashboard. Supplying a prompt opens OpenClaw's run confirmation.
60
68
  On Android, pass the configured Gateway address in `server` to open its Control UI in a browser.
61
69
 
62
- Use `getHermesSkillLink("official/security/1password")` or pass a direct skill URL to open Hermes Desktop's [skill install review](https://hermes-agent.nousresearch.com/docs/user-guide/features/skills#desktop-install-links).
70
+ Use `getHermesSkillLink("official/security/1password")` or pass a direct skill URL to open Hermes Desktop's [skill install review](https://hermes-agent.nousresearch.com/docs/user-guide/features/skills#desktop-install-links). The signed macOS canary displayed the requested skill and destination before installation.
63
71
 
64
72
  ### shadcn/ui
65
73
 
package/dist/catalog.d.ts CHANGED
@@ -49,8 +49,8 @@ declare const catalog: {
49
49
  };
50
50
  readonly desktop: {
51
51
  readonly url: "cursor://anysphere.cursor-deeplink/prompt";
52
- readonly sources: readonly ["https://cursor.com/docs/reference/deeplinks", "https://cursor.com/download"];
53
- readonly note: "macOS dispatch tested. The Linux DEB declares the scheme and Windows 3.31.15 includes runtime registration code. Signed-in composer prefill is unverified.";
52
+ readonly sources: readonly ["https://cursor.com/docs/reference/deeplinks", "https://github.com/lalalune/agent-deeplinks/actions/runs/45460026095/job/138679769952", "https://github.com/lalalune/agent-deeplinks/actions/runs/45460380555/job/138681026834"];
53
+ readonly note: "macOS and Ubuntu opened Cursor Agents at sign-in. Windows received the exact link after first launch registered Cursor's handler. Signed-in composer prefill remains unverified.";
54
54
  readonly behavior: "draft";
55
55
  readonly evidence: "documented";
56
56
  readonly fields: {
@@ -131,8 +131,8 @@ declare const catalog: {
131
131
  readonly urlLimit: 2048;
132
132
  };
133
133
  readonly desktop: {
134
- readonly sources: readonly ["https://docs.x.ai/grok-bot/deep-links", "https://docs.x.ai/grok-bot/get-started"];
135
- readonly note: "Documented for the signed-in Windows, macOS, and Linux app. Uses your primary Bot unless a Bot ID is supplied.";
134
+ readonly sources: readonly ["https://docs.x.ai/grok-bot/deep-links", "https://docs.x.ai/grok-bot/get-started", "https://github.com/lalalune/agent-deeplinks/actions/runs/45461984963/job/138686754025", "https://github.com/lalalune/agent-deeplinks/actions/runs/45461984963/job/138686754337"];
135
+ readonly note: "Stock Ubuntu and Windows apps received the exact link and opened at sign-in. Drafts require a signed-in eligible account and use the primary Bot unless you supply a Bot ID.";
136
136
  readonly url: "grokbot://app/v1/prompt";
137
137
  readonly behavior: "draft";
138
138
  readonly evidence: "documented";
@@ -145,10 +145,11 @@ declare const catalog: {
145
145
  readonly urlLimit: 2048;
146
146
  };
147
147
  readonly ios: {
148
+ readonly sources: readonly ["https://docs.x.ai/grok-bot/deep-links", "https://docs.x.ai/grok-bot/mobile", "https://apps.apple.com/us/app/grok-bot/id6794501026"];
149
+ readonly note: "Requires the installed Grok Bot app and an eligible Cursor account. Uses your primary Bot unless you supply a Bot ID. Native delivery remains unverified.";
148
150
  readonly url: "grokbot://app/v1/prompt";
149
151
  readonly behavior: "draft";
150
152
  readonly evidence: "documented";
151
- readonly sources: readonly ["https://docs.x.ai/grok-bot/deep-links"];
152
153
  readonly fields: {
153
154
  readonly prompt: "text";
154
155
  readonly botId: "id";
@@ -156,13 +157,13 @@ declare const catalog: {
156
157
  readonly required: readonly ["prompt"];
157
158
  readonly promptLimit: 1000;
158
159
  readonly urlLimit: 2048;
159
- readonly note: "Uses your primary Bot unless you specify a Bot ID.";
160
160
  };
161
161
  readonly android: {
162
+ readonly sources: readonly ["https://docs.x.ai/grok-bot/deep-links", "https://docs.x.ai/grok-bot/mobile", "https://play.google.com/store/apps/details?id=ai.x.grok.bot"];
163
+ readonly note: "Requires the installed Grok Bot app and an eligible Cursor account. Uses your primary Bot unless you supply a Bot ID. Native delivery remains unverified.";
162
164
  readonly url: "grokbot://app/v1/prompt";
163
165
  readonly behavior: "draft";
164
166
  readonly evidence: "documented";
165
- readonly sources: readonly ["https://docs.x.ai/grok-bot/deep-links"];
166
167
  readonly fields: {
167
168
  readonly prompt: "text";
168
169
  readonly botId: "id";
@@ -170,7 +171,6 @@ declare const catalog: {
170
171
  readonly required: readonly ["prompt"];
171
172
  readonly promptLimit: 1000;
172
173
  readonly urlLimit: 2048;
173
- readonly note: "Uses your primary Bot unless you specify a Bot ID.";
174
174
  };
175
175
  };
176
176
  };
@@ -306,11 +306,11 @@ declare const catalog: {
306
306
  readonly url: "claude://claude.ai/new";
307
307
  readonly behavior: "draft";
308
308
  readonly evidence: "verified";
309
- readonly sources: readonly ["https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link"];
309
+ readonly sources: readonly ["https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link", "https://github.com/lalalune/agent-deeplinks/actions/runs/45460279575/job/138680666371", "https://github.com/lalalune/agent-deeplinks/actions/runs/45460279575/job/138680666686"];
310
310
  readonly fields: {
311
311
  readonly prompt: "q";
312
312
  };
313
- readonly note: "Prefill verified in Claude 6.28899.6 on macOS. Anthropic also documents this route for Windows and the Linux beta.";
313
+ readonly note: "Prefill verified in Claude 6.28899.6 on macOS. Windows and Ubuntu received the exact link and showed first-run onboarding. Signed-in composers on those platforms still need verification.";
314
314
  };
315
315
  readonly web: {
316
316
  readonly url: "https://claude.ai/new";
@@ -365,12 +365,12 @@ declare const catalog: {
365
365
  readonly url: "claude://code/new";
366
366
  readonly behavior: "draft";
367
367
  readonly evidence: "verified";
368
- readonly sources: readonly ["https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link"];
368
+ readonly sources: readonly ["https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link", "https://github.com/lalalune/agent-deeplinks/actions/runs/45460279575/job/138680666371", "https://github.com/lalalune/agent-deeplinks/actions/runs/45460279575/job/138680666686"];
369
369
  readonly fields: {
370
370
  readonly prompt: "q";
371
371
  readonly folder: "folder";
372
372
  };
373
- readonly note: "Prefill verified in Claude Desktop’s Code tab in 6.28899.6 on macOS. Anthropic also documents this route for Windows and the Linux beta.";
373
+ readonly note: "Prefill verified in Claude Desktop’s Code tab in 6.28899.6 on macOS. Windows and Ubuntu received the exact link and showed first-run onboarding. Signed-in composers on those platforms still need verification.";
374
374
  };
375
375
  readonly ios: {
376
376
  readonly url: "claude://code/new";
@@ -411,7 +411,7 @@ declare const catalog: {
411
411
  readonly repo: "repo";
412
412
  };
413
413
  readonly promptLimit: 5000;
414
- readonly note: "macOS terminal delivery checked. Anthropic also documents the Windows and Linux handlers. cwd takes precedence over repo.";
414
+ readonly note: "macOS terminal delivery checked. The fresh local Claude Code session reached account selection. Anthropic also documents the Windows and Linux handlers. cwd takes precedence over repo.";
415
415
  };
416
416
  readonly vscode: {
417
417
  readonly url: "vscode://anthropic.claude-code/open";
@@ -592,7 +592,7 @@ declare const catalog: {
592
592
  readonly auto_send: "false";
593
593
  };
594
594
  readonly experimental: true;
595
- readonly note: "Kimi 3.1.5 opened to first-launch consent on Android 16. Visible prefill remains unverified. An empty link uses the app and Google Play handoff.";
595
+ readonly note: "The blank HTTPS link opened Kimi 3.1.5 on Android 16 through verified App Links. The experimental prompt link reached first-launch consent. Visible prefill remains unverified.";
596
596
  };
597
597
  };
598
598
  };
@@ -609,13 +609,13 @@ declare const catalog: {
609
609
  readonly fields: {
610
610
  readonly server: "";
611
611
  };
612
- readonly note: "Opens the Kimi Code Remote Control device picker. Sign in with the same Kimi account as your running host. Supply a server to use your LAN Web address or another region.";
612
+ readonly note: "Hosted Remote Control opens the device picker and needs the same Kimi account as the host. With a local server address, its token unlocked the browser workbench on desktop, Android, and iPhone profiles.";
613
613
  };
614
614
  readonly desktop: {
615
615
  readonly url: "kimi-code://open";
616
616
  readonly behavior: "launch";
617
617
  readonly evidence: "verified";
618
- readonly sources: readonly ["https://www.kimi.com/code/docs/en/kimi-code-cli/reference/kimi-command.html#kimi-app", "https://github.com/MoonshotAI/kimi-code/blob/kimi-code-desktop%401.4.3/apps/desktop/src/main/app/deep-link.ts", "https://github.com/MoonshotAI/kimi-code/blob/kimi-code-desktop%401.4.3/apps/desktop/electron-builder.config.cjs", "https://github.com/lalalune/agent-deeplinks/actions/runs/45443027619"];
618
+ readonly sources: readonly ["https://www.kimi.com/code/docs/en/kimi-code-cli/reference/kimi-command.html#kimi-app", "https://github.com/MoonshotAI/kimi-code/blob/kimi-code-desktop%401.4.3/apps/desktop/src/main/app/deep-link.ts", "https://github.com/MoonshotAI/kimi-code/blob/kimi-code-desktop%401.4.3/apps/desktop/electron-builder.config.cjs", "https://github.com/lalalune/agent-deeplinks/actions/runs/45443027619", "https://github.com/lalalune/agent-deeplinks/actions/runs/45462207481/job/138687549013", "https://github.com/lalalune/agent-deeplinks/actions/runs/45462737149/job/138689443148"];
619
619
  readonly fields: {
620
620
  readonly directory: "root";
621
621
  };
@@ -623,7 +623,7 @@ declare const catalog: {
623
623
  readonly query: {
624
624
  readonly new: "1";
625
625
  };
626
- readonly note: "Opens an absolute local directory in Kimi Code Desktop with a fresh draft. Verified on Ubuntu 24.04 with 1.4.3, through the workspace trust screen.";
626
+ readonly note: "Opens an absolute local directory with a fresh draft. Kimi Code 1.4.3 selected the requested workspace on Ubuntu and macOS. Windows Shell delivered the workspace query and opened project trust.";
627
627
  };
628
628
  readonly ios: {
629
629
  readonly url: "https://code-rc.kimi.ai/";
@@ -633,7 +633,7 @@ declare const catalog: {
633
633
  readonly fields: {
634
634
  readonly server: "";
635
635
  };
636
- readonly note: "Opens the Kimi Code Remote Control device picker. Sign in with the same Kimi account as your running host. Supply a server to use your LAN Web address or another region.";
636
+ readonly note: "Hosted Remote Control opens the device picker and needs the same Kimi account as the host. With a local server address, its token unlocked the browser workbench on desktop, Android, and iPhone profiles.";
637
637
  };
638
638
  readonly android: {
639
639
  readonly url: "https://code-rc.kimi.ai/";
@@ -643,7 +643,7 @@ declare const catalog: {
643
643
  readonly fields: {
644
644
  readonly server: "";
645
645
  };
646
- readonly note: "Opens the Kimi Code Remote Control device picker. Sign in with the same Kimi account as your running host. Supply a server to use your LAN Web address or another region.";
646
+ readonly note: "Hosted Remote Control opens the device picker and needs the same Kimi account as the host. With a local server address, its token unlocked the browser workbench on desktop, Android, and iPhone profiles.";
647
647
  };
648
648
  };
649
649
  };
@@ -777,13 +777,13 @@ declare const catalog: {
777
777
  readonly launchUrl: "opencode://";
778
778
  readonly behavior: "draft";
779
779
  readonly evidence: "verified";
780
- readonly sources: readonly ["https://github.com/anomalyco/opencode/blob/v2.4.1/packages/app/src/shell/deep-links/deep-links.ts", "https://github.com/anomalyco/opencode/blob/v2.4.1/packages/app/src/shell/deep-links/machine.ts", "https://github.com/lalalune/agent-deeplinks/actions/runs/45441299990", "https://github.com/lalalune/agent-deeplinks/actions/runs/45441732395"];
780
+ readonly sources: readonly ["https://github.com/anomalyco/opencode/blob/v2.4.1/packages/app/src/shell/deep-links/deep-links.ts", "https://github.com/anomalyco/opencode/blob/v2.4.1/packages/app/src/shell/deep-links/machine.ts", "https://github.com/lalalune/agent-deeplinks/actions/runs/45441299990", "https://github.com/lalalune/agent-deeplinks/actions/runs/45441732395", "https://github.com/lalalune/agent-deeplinks/actions/runs/45461928704/job/138686555105"];
781
781
  readonly fields: {
782
782
  readonly prompt: "prompt";
783
783
  readonly directory: "directory";
784
784
  };
785
785
  readonly required: readonly ["directory"];
786
- readonly note: "OpenCode 2.4.1 showed the requested project and exact draft on macOS and Ubuntu. Windows Shell delivered the link. Visible Windows prefill remains unverified.";
786
+ readonly note: "OpenCode 2.4.1 showed the requested project and exact unsent draft on macOS, Ubuntu, and in an already-running Windows app. Windows cold dispatch was verified separately.";
787
787
  };
788
788
  readonly ios: {
789
789
  readonly url: "http://localhost:4096";
@@ -800,8 +800,8 @@ declare const catalog: {
800
800
  readonly url: "opencode://";
801
801
  readonly behavior: "launch";
802
802
  readonly evidence: "source";
803
- readonly sources: readonly ["https://github.com/anomalyco/opencode-android/blob/v0.8.7/app/src/main/AndroidManifest.xml"];
804
- readonly note: "Opens the Android client. The app handles sessions and pairing through separate routes.";
803
+ readonly sources: readonly ["https://github.com/anomalyco/opencode-android/blob/v0.8.8/app/src/main/AndroidManifest.xml", "https://github.com/anomalyco/opencode-android/blob/v0.8.8/server/src/main/kotlin/ai/opencode/server/OpenCodePairingLink.kt"];
804
+ readonly note: "Opens the Android client. Use getOpenCodeAndroidPairingLink with an issued URL to open pairing review. The official development build paired with OpenCode 2.4.1 and showed a blank session in the paired project.";
805
805
  };
806
806
  };
807
807
  };
package/dist/catalog.js CHANGED
@@ -12,6 +12,11 @@ const cursorCloudDocs = "https://cursor.com/docs/cloud-agent";
12
12
  const cursorCloud = "https://cursor.com/agents";
13
13
  const claudeCodeDocs = "https://code.claude.com/docs/en/deep-links";
14
14
  const claudeDesktopDocs = "https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link";
15
+ const claudeDesktopChecks = [
16
+ claudeDesktopDocs,
17
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45460279575/job/138680666371",
18
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45460279575/job/138680666686",
19
+ ];
15
20
  const claudeMobileDocs = "https://support.claude.com/en/articles/14898120-open-the-claude-mobile-app-with-a-link";
16
21
  const claudeVsCodeDocs = "https://code.claude.com/docs/en/vs-code#launch-a-vs-code-tab-from-other-tools";
17
22
  const codexDocs = "https://learn.chatgpt.com/docs/reference/commands";
@@ -21,6 +26,7 @@ const openAiDesktopChecks = [
21
26
  "https://github.com/lalalune/agent-deeplinks/actions/runs/45450367734/job/138645480431",
22
27
  ];
23
28
  const grokBotDocs = "https://docs.x.ai/grok-bot/deep-links";
29
+ const grokBotMobileDocs = "https://docs.x.ai/grok-bot/mobile";
24
30
  const t3Source = "https://github.com/pingdotgg/t3code/blob/v0.1.11/packages/shared/src/promptLinks.ts";
25
31
  const openCodeTag = "https://github.com/anomalyco/opencode/blob/v1.19.6";
26
32
  const openCodeDesktopTag = "https://github.com/anomalyco/opencode/blob/v2.4.1";
@@ -88,7 +94,7 @@ const kimiCodeBrowserRoute = {
88
94
  evidence: "verified",
89
95
  sources: [kimiCodeRemoteDocs, kimiCodeWebDocs],
90
96
  fields: { server: "" },
91
- note: "Opens the Kimi Code Remote Control device picker. Sign in with the same Kimi account as your running host. Supply a server to use your LAN Web address or another region.",
97
+ note: "Hosted Remote Control opens the device picker and needs the same Kimi account as the host. With a local server address, its token unlocked the browser workbench on desktop, Android, and iPhone profiles.",
92
98
  };
93
99
  const t3Route = {
94
100
  behavior: "draft",
@@ -137,8 +143,12 @@ const catalog = {
137
143
  desktop: {
138
144
  ...cursorRoute,
139
145
  url: "cursor://anysphere.cursor-deeplink/prompt",
140
- sources: [cursorDocs, "https://cursor.com/download"],
141
- note: "macOS dispatch tested. The Linux DEB declares the scheme and Windows 3.31.15 includes runtime registration code. Signed-in composer prefill is unverified.",
146
+ sources: [
147
+ cursorDocs,
148
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45460026095/job/138679769952",
149
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45460380555/job/138681026834",
150
+ ],
151
+ note: "macOS and Ubuntu opened Cursor Agents at sign-in. Windows received the exact link after first launch registered Cursor's handler. Signed-in composer prefill remains unverified.",
142
152
  },
143
153
  ios: {
144
154
  url: cursorCloud,
@@ -202,11 +212,24 @@ const catalog = {
202
212
  },
203
213
  desktop: {
204
214
  ...grokBotRoute,
205
- sources: [grokBotDocs, "https://docs.x.ai/grok-bot/get-started"],
206
- note: "Documented for the signed-in Windows, macOS, and Linux app. Uses your primary Bot unless a Bot ID is supplied.",
215
+ sources: [
216
+ grokBotDocs,
217
+ "https://docs.x.ai/grok-bot/get-started",
218
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45461984963/job/138686754025",
219
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45461984963/job/138686754337",
220
+ ],
221
+ note: "Stock Ubuntu and Windows apps received the exact link and opened at sign-in. Drafts require a signed-in eligible account and use the primary Bot unless you supply a Bot ID.",
222
+ },
223
+ ios: {
224
+ ...grokBotRoute,
225
+ sources: [grokBotDocs, grokBotMobileDocs, "https://apps.apple.com/us/app/grok-bot/id6794501026"],
226
+ note: "Requires the installed Grok Bot app and an eligible Cursor account. Uses your primary Bot unless you supply a Bot ID. Native delivery remains unverified.",
227
+ },
228
+ android: {
229
+ ...grokBotRoute,
230
+ sources: [grokBotDocs, grokBotMobileDocs, "https://play.google.com/store/apps/details?id=ai.x.grok.bot"],
231
+ note: "Requires the installed Grok Bot app and an eligible Cursor account. Uses your primary Bot unless you supply a Bot ID. Native delivery remains unverified.",
207
232
  },
208
- ios: grokBotRoute,
209
- android: grokBotRoute,
210
233
  },
211
234
  },
212
235
  gemini: {
@@ -320,9 +343,9 @@ const catalog = {
320
343
  url: "claude://claude.ai/new",
321
344
  behavior: "draft",
322
345
  evidence: "verified",
323
- sources: [claudeDesktopDocs],
346
+ sources: claudeDesktopChecks,
324
347
  fields: { prompt: "q" },
325
- note: "Prefill verified in Claude 6.28899.6 on macOS. Anthropic also documents this route for Windows and the Linux beta.",
348
+ note: "Prefill verified in Claude 6.28899.6 on macOS. Windows and Ubuntu received the exact link and showed first-run onboarding. Signed-in composers on those platforms still need verification.",
326
349
  },
327
350
  web: {
328
351
  url: "https://claude.ai/new",
@@ -368,9 +391,9 @@ const catalog = {
368
391
  url: "claude://code/new",
369
392
  behavior: "draft",
370
393
  evidence: "verified",
371
- sources: [claudeDesktopDocs],
394
+ sources: claudeDesktopChecks,
372
395
  fields: { prompt: "q", folder: "folder" },
373
- note: "Prefill verified in Claude Desktop’s Code tab in 6.28899.6 on macOS. Anthropic also documents this route for Windows and the Linux beta.",
396
+ note: "Prefill verified in Claude Desktop’s Code tab in 6.28899.6 on macOS. Windows and Ubuntu received the exact link and showed first-run onboarding. Signed-in composers on those platforms still need verification.",
374
397
  },
375
398
  ios: claudeCodeMobileRoute,
376
399
  android: claudeCodeMobileRoute,
@@ -381,7 +404,7 @@ const catalog = {
381
404
  sources: [claudeCodeDocs],
382
405
  fields: { prompt: "q", cwd: "cwd", repo: "repo" },
383
406
  promptLimit: 5_000,
384
- note: "macOS terminal delivery checked. Anthropic also documents the Windows and Linux handlers. cwd takes precedence over repo.",
407
+ note: "macOS terminal delivery checked. The fresh local Claude Code session reached account selection. Anthropic also documents the Windows and Linux handlers. cwd takes precedence over repo.",
385
408
  },
386
409
  vscode: {
387
410
  url: "vscode://anthropic.claude-code/open",
@@ -537,7 +560,7 @@ const catalog = {
537
560
  required: ["prompt"],
538
561
  query: { create_new: "true", auto_send: "false" },
539
562
  experimental: true,
540
- note: "Kimi 3.1.5 opened to first-launch consent on Android 16. Visible prefill remains unverified. An empty link uses the app and Google Play handoff.",
563
+ note: "The blank HTTPS link opened Kimi 3.1.5 on Android 16 through verified App Links. The experimental prompt link reached first-launch consent. Visible prefill remains unverified.",
541
564
  },
542
565
  },
543
566
  },
@@ -556,11 +579,13 @@ const catalog = {
556
579
  `${kimiCodeTag}/apps/desktop/src/main/app/deep-link.ts`,
557
580
  `${kimiCodeTag}/apps/desktop/electron-builder.config.cjs`,
558
581
  "https://github.com/lalalune/agent-deeplinks/actions/runs/45443027619",
582
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45462207481/job/138687549013",
583
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45462737149/job/138689443148",
559
584
  ],
560
585
  fields: { directory: "root" },
561
586
  required: ["directory"],
562
587
  query: { new: "1" },
563
- note: "Opens an absolute local directory in Kimi Code Desktop with a fresh draft. Verified on Ubuntu 24.04 with 1.4.3, through the workspace trust screen.",
588
+ note: "Opens an absolute local directory with a fresh draft. Kimi Code 1.4.3 selected the requested workspace on Ubuntu and macOS. Windows Shell delivered the workspace query and opened project trust.",
564
589
  },
565
590
  ios: kimiCodeBrowserRoute,
566
591
  android: kimiCodeBrowserRoute,
@@ -657,10 +682,11 @@ const catalog = {
657
682
  `${openCodeDesktopTag}/packages/app/src/shell/deep-links/machine.ts`,
658
683
  "https://github.com/lalalune/agent-deeplinks/actions/runs/45441299990",
659
684
  "https://github.com/lalalune/agent-deeplinks/actions/runs/45441732395",
685
+ "https://github.com/lalalune/agent-deeplinks/actions/runs/45461928704/job/138686555105",
660
686
  ],
661
687
  fields: { prompt: "prompt", directory: "directory" },
662
688
  required: ["directory"],
663
- note: "OpenCode 2.4.1 showed the requested project and exact draft on macOS and Ubuntu. Windows Shell delivered the link. Visible Windows prefill remains unverified.",
689
+ note: "OpenCode 2.4.1 showed the requested project and exact unsent draft on macOS, Ubuntu, and in an already-running Windows app. Windows cold dispatch was verified separately.",
664
690
  },
665
691
  ios: {
666
692
  url: "http://localhost:4096",
@@ -675,8 +701,11 @@ const catalog = {
675
701
  url: "opencode://",
676
702
  behavior: "launch",
677
703
  evidence: "source",
678
- sources: ["https://github.com/anomalyco/opencode-android/blob/v0.8.7/app/src/main/AndroidManifest.xml"],
679
- note: "Opens the Android client. The app handles sessions and pairing through separate routes.",
704
+ sources: [
705
+ "https://github.com/anomalyco/opencode-android/blob/v0.8.8/app/src/main/AndroidManifest.xml",
706
+ "https://github.com/anomalyco/opencode-android/blob/v0.8.8/server/src/main/kotlin/ai/opencode/server/OpenCodePairingLink.kt",
707
+ ],
708
+ note: "Opens the Android client. Use getOpenCodeAndroidPairingLink with an issued URL to open pairing review. The official development build paired with OpenCode 2.4.1 and showed a blank session in the paired project.",
680
709
  },
681
710
  },
682
711
  },
package/dist/index.d.ts CHANGED
@@ -15,5 +15,7 @@ export interface LinkOptions extends Partial<Record<LinkField, string>> {
15
15
  export declare function getAgentLink(agent: AgentId, platform: Platform, options?: LinkOptions): string | null;
16
16
  /** Open Hermes Desktop's install review for a qualified skill or a direct skill URL. */
17
17
  export declare function getHermesSkillLink(identifier: string): string | null;
18
+ /** Convert an OpenCode CLI pairing URL to the Android app's native pairing review. */
19
+ export declare function getOpenCodeAndroidPairingLink(pairingUrl: string): string | null;
18
20
  /** Return a self-contained SVG URL for an agent with a bundled brand asset. */
19
21
  export declare function getAgentIcon(agent: AgentId): string | null;
package/dist/index.js CHANGED
@@ -6,6 +6,7 @@ const githubRepo = /^https:\/\/github\.com\/[\w.-]+\/[\w.-]+\/?$/iu;
6
6
  const hiddenPathCharacters = /[\p{Cc}\p{Cf}]/u;
7
7
  const qualifiedSkill = /^[\w.@-]+(?:\/[\w.@-]+)+$/u;
8
8
  const invalidSessionId = /[\\/\u0000]|\.\./u;
9
+ const openCodePairingUrl = /^([A-Za-z]+:\/\/[^/@\\?#]+)\/auth\/connect\/([A-Za-z0-9_-]+)$/u;
9
10
  function parseServerUrl(value) {
10
11
  try {
11
12
  const url = new URL(value);
@@ -137,6 +138,18 @@ export function getHermesSkillLink(identifier) {
137
138
  }
138
139
  return `hermes://skill/install?identifier=${encodeURIComponent(skill)}`;
139
140
  }
141
+ /** Convert an OpenCode CLI pairing URL to the Android app's native pairing review. */
142
+ export function getOpenCodeAndroidPairingLink(pairingUrl) {
143
+ if (typeof pairingUrl !== "string" || hiddenPathCharacters.test(pairingUrl))
144
+ return null;
145
+ const [, address, code] = openCodePairingUrl.exec(pairingUrl.trim()) ?? [];
146
+ if (!address || !code)
147
+ return null;
148
+ const server = parseServerUrl(address);
149
+ if (!server || server.port === "0")
150
+ return null;
151
+ return `opencode://pair?code=${code}&url=${encodeURIComponent(server.origin)}`;
152
+ }
140
153
  /** Return a self-contained SVG URL for an agent with a bundled brand asset. */
141
154
  export function getAgentIcon(agent) {
142
155
  return Object.hasOwn(iconSources, agent) ? iconSources[agent] ?? null : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-deeplinks",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Evidence-backed deep links for AI agents with SVG icons and React helpers.",
5
5
  "type": "module",
6
6
  "license": "MIT",