agent-deeplinks 0.1.25 → 0.1.26
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 +3 -1
- package/dist/catalog.d.ts +10 -9
- package/dist/catalog.js +18 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ On npm 12, add `--allow-remote=root` when installing the tarball URL. [npm 12 in
|
|
|
21
21
|
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.
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
npm install ./agent-deeplinks-0.1.
|
|
24
|
+
npm install ./agent-deeplinks-0.1.26.tgz
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## Usage
|
|
@@ -40,6 +40,8 @@ console.log(url, route?.behavior, agents.cursor.name)
|
|
|
40
40
|
|
|
41
41
|
Experimental routes require `allowExperimental: true`. Routes that auto-submit require `allowSend: true`. Prompt text goes into the URL and can appear in browser history and logs. Keep credentials and private data out of shareable links.
|
|
42
42
|
|
|
43
|
+
Cursor Desktop links encode the draft for both decoders in the app. The official Cursor web handoff can turn literal plus signs into spaces in the desktop review. Choose Desktop when the exact punctuation matters. [Cursor verification](research/coding-agents.md#cursor)
|
|
44
|
+
|
|
43
45
|
Claude Code's iOS, Android, and HTTPS draft links support a prompt, a session `mode` of `plan` or `code`, an optional GitHub `repo` in `owner/name` format, and an optional `branch` when a repository is supplied.
|
|
44
46
|
|
|
45
47
|
Use `getAgentLink("claude-code", "vscode", { prompt: "Review my changes." })` to prefill a draft in the Claude Code extension for VS Code. Pass `session` to resume a session from the current workspace.
|
package/dist/catalog.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ declare const catalog: {
|
|
|
45
45
|
readonly launchUrl: "https://cursor.com/agents";
|
|
46
46
|
readonly behavior: "handoff";
|
|
47
47
|
readonly evidence: "verified";
|
|
48
|
-
readonly sources: readonly ["https://cursor.com/docs/reference/deeplinks", "https://cursor.com/docs/cloud-agent"];
|
|
49
|
-
readonly note: "The browser handoff
|
|
48
|
+
readonly sources: readonly ["https://cursor.com/docs/reference/deeplinks", "https://cursor.com/docs/cloud-agent", "https://github.com/lalalune/agent-deeplinks/actions/runs/45487974246/artifacts/14965396228"];
|
|
49
|
+
readonly note: "The browser preview reached Cursor’s native review on Ubuntu. Cursor’s handoff turned a literal plus into a space in that review. An empty link opens Cloud Agents in the browser.";
|
|
50
50
|
readonly fields: {
|
|
51
51
|
readonly prompt: "text";
|
|
52
52
|
};
|
|
@@ -55,9 +55,10 @@ declare const catalog: {
|
|
|
55
55
|
};
|
|
56
56
|
readonly desktop: {
|
|
57
57
|
readonly url: "cursor://anysphere.cursor-deeplink/prompt";
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
58
|
+
readonly encodeQueryValuesTwice: true;
|
|
59
|
+
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", "https://github.com/lalalune/agent-deeplinks/actions/runs/45489023213/artifacts/14966850011"];
|
|
60
|
+
readonly note: "Cursor asks for prompt confirmation. The corrected link preserved the full text in the shipped parser and activated Cursor 3.31.15 on Ubuntu. The corrected link’s visible review remains unverified.";
|
|
61
|
+
readonly behavior: "confirm";
|
|
61
62
|
readonly evidence: "documented";
|
|
62
63
|
readonly fields: {
|
|
63
64
|
readonly prompt: "text";
|
|
@@ -126,8 +127,8 @@ declare const catalog: {
|
|
|
126
127
|
readonly url: "https://cursor.com/grok-bot/link/v1/prompt";
|
|
127
128
|
readonly behavior: "handoff";
|
|
128
129
|
readonly evidence: "verified";
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
130
|
+
readonly sources: readonly ["https://docs.x.ai/grok-bot/deep-links", "https://github.com/lalalune/agent-deeplinks/actions/runs/45488932416/artifacts/14966115165"];
|
|
131
|
+
readonly note: "The published Playground opened the native Grok Bot sign-in screen through stock Chrome on Ubuntu after the browser’s one-time approval. The mobile browser preview also produced the exact native URL.";
|
|
131
132
|
readonly fields: {
|
|
132
133
|
readonly prompt: "text";
|
|
133
134
|
readonly botId: "id";
|
|
@@ -416,14 +417,14 @@ declare const catalog: {
|
|
|
416
417
|
readonly url: "claude-cli://open";
|
|
417
418
|
readonly behavior: "draft";
|
|
418
419
|
readonly evidence: "documented";
|
|
419
|
-
readonly sources: readonly ["https://code.claude.com/docs/en/deep-links"];
|
|
420
|
+
readonly sources: readonly ["https://code.claude.com/docs/en/deep-links", "https://github.com/lalalune/agent-deeplinks/actions/runs/45488368601/artifacts/14965540998", "https://github.com/lalalune/agent-deeplinks/actions/runs/45487910168/artifacts/14964986411"];
|
|
420
421
|
readonly fields: {
|
|
421
422
|
readonly prompt: "q";
|
|
422
423
|
readonly cwd: "cwd";
|
|
423
424
|
readonly repo: "repo";
|
|
424
425
|
};
|
|
425
426
|
readonly promptLimit: 5000;
|
|
426
|
-
readonly note: "
|
|
427
|
+
readonly note: "Native launch delivered the exact prompt to Claude Code on macOS, Ubuntu, and Windows. Ubuntu and Windows opened the requested working directory. Signed-in terminal prefill remains unverified. cwd takes precedence over repo.";
|
|
427
428
|
};
|
|
428
429
|
readonly vscode: {
|
|
429
430
|
readonly url: "vscode://anthropic.claude-code/open";
|
package/dist/catalog.js
CHANGED
|
@@ -66,7 +66,7 @@ const antigravityMobileRoute = {
|
|
|
66
66
|
note: "Opens Antigravity Remote Control in a mobile browser. Sign-in verified in iPhone WebKit and Android Chromium profiles. Google supports adding it to the home screen.",
|
|
67
67
|
};
|
|
68
68
|
const cursorRoute = {
|
|
69
|
-
behavior: "
|
|
69
|
+
behavior: "confirm",
|
|
70
70
|
evidence: "documented",
|
|
71
71
|
sources: [cursorDocs],
|
|
72
72
|
fields: { prompt: "text" },
|
|
@@ -148,18 +148,24 @@ const catalog = {
|
|
|
148
148
|
launchUrl: cursorCloud,
|
|
149
149
|
behavior: "handoff",
|
|
150
150
|
evidence: "verified",
|
|
151
|
-
sources: [
|
|
152
|
-
|
|
151
|
+
sources: [
|
|
152
|
+
cursorDocs,
|
|
153
|
+
cursorCloudDocs,
|
|
154
|
+
"https://github.com/lalalune/agent-deeplinks/actions/runs/45487974246/artifacts/14965396228",
|
|
155
|
+
],
|
|
156
|
+
note: "The browser preview reached Cursor’s native review on Ubuntu. Cursor’s handoff turned a literal plus into a space in that review. An empty link opens Cloud Agents in the browser.",
|
|
153
157
|
},
|
|
154
158
|
desktop: {
|
|
155
159
|
...cursorRoute,
|
|
156
160
|
url: "cursor://anysphere.cursor-deeplink/prompt",
|
|
161
|
+
encodeQueryValuesTwice: true,
|
|
157
162
|
sources: [
|
|
158
163
|
cursorDocs,
|
|
159
164
|
"https://github.com/lalalune/agent-deeplinks/actions/runs/45460026095/job/138679769952",
|
|
160
165
|
"https://github.com/lalalune/agent-deeplinks/actions/runs/45460380555/job/138681026834",
|
|
166
|
+
"https://github.com/lalalune/agent-deeplinks/actions/runs/45489023213/artifacts/14966850011",
|
|
161
167
|
],
|
|
162
|
-
note: "
|
|
168
|
+
note: "Cursor asks for prompt confirmation. The corrected link preserved the full text in the shipped parser and activated Cursor 3.31.15 on Ubuntu. The corrected link’s visible review remains unverified.",
|
|
163
169
|
},
|
|
164
170
|
ios: {
|
|
165
171
|
url: cursorCloud,
|
|
@@ -219,7 +225,8 @@ const catalog = {
|
|
|
219
225
|
url: "https://cursor.com/grok-bot/link/v1/prompt",
|
|
220
226
|
behavior: "handoff",
|
|
221
227
|
evidence: "verified",
|
|
222
|
-
|
|
228
|
+
sources: [grokBotDocs, "https://github.com/lalalune/agent-deeplinks/actions/runs/45488932416/artifacts/14966115165"],
|
|
229
|
+
note: "The published Playground opened the native Grok Bot sign-in screen through stock Chrome on Ubuntu after the browser’s one-time approval. The mobile browser preview also produced the exact native URL.",
|
|
223
230
|
},
|
|
224
231
|
desktop: {
|
|
225
232
|
...grokBotRoute,
|
|
@@ -414,10 +421,14 @@ const catalog = {
|
|
|
414
421
|
url: "claude-cli://open",
|
|
415
422
|
behavior: "draft",
|
|
416
423
|
evidence: "documented",
|
|
417
|
-
sources: [
|
|
424
|
+
sources: [
|
|
425
|
+
claudeCodeDocs,
|
|
426
|
+
"https://github.com/lalalune/agent-deeplinks/actions/runs/45488368601/artifacts/14965540998",
|
|
427
|
+
"https://github.com/lalalune/agent-deeplinks/actions/runs/45487910168/artifacts/14964986411",
|
|
428
|
+
],
|
|
418
429
|
fields: { prompt: "q", cwd: "cwd", repo: "repo" },
|
|
419
430
|
promptLimit: 5_000,
|
|
420
|
-
note: "
|
|
431
|
+
note: "Native launch delivered the exact prompt to Claude Code on macOS, Ubuntu, and Windows. Ubuntu and Windows opened the requested working directory. Signed-in terminal prefill remains unverified. cwd takes precedence over repo.",
|
|
421
432
|
},
|
|
422
433
|
vscode: {
|
|
423
434
|
url: "vscode://anthropic.claude-code/open",
|