linkshell-cli 0.10.91 → 0.10.93
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/dist/cli/src/commands/desktop.d.ts +1 -0
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/dist/gateway/src/relay.js +17 -17
- package/dist/gateway/src/relay.js.map +1 -1
- package/dist/host/src/children.d.ts +43 -0
- package/dist/host/src/children.js +213 -0
- package/dist/host/src/children.js.map +1 -0
- package/dist/host/src/drivers/acp/antigravity.js +1 -1
- package/dist/host/src/drivers/acp/antigravity.js.map +1 -1
- package/dist/host/src/drivers/acp/client-services.js +2 -0
- package/dist/host/src/drivers/acp/client-services.js.map +1 -1
- package/dist/host/src/drivers/acp/connection.js +8 -2
- package/dist/host/src/drivers/acp/connection.js.map +1 -1
- package/dist/host/src/drivers/acp/driver.d.ts +1 -5
- package/dist/host/src/drivers/acp/driver.js +11 -16
- package/dist/host/src/drivers/acp/driver.js.map +1 -1
- package/dist/host/src/drivers/acp/mcp.js +2 -0
- package/dist/host/src/drivers/acp/mcp.js.map +1 -1
- package/dist/host/src/drivers/claude/activity.js +13 -0
- package/dist/host/src/drivers/claude/activity.js.map +1 -1
- package/dist/host/src/drivers/claude/driver.d.ts +15 -0
- package/dist/host/src/drivers/claude/driver.js +44 -2
- package/dist/host/src/drivers/claude/driver.js.map +1 -1
- package/dist/host/src/drivers/claude/mcp-apps.d.ts +70 -0
- package/dist/host/src/drivers/claude/mcp-apps.js +399 -0
- package/dist/host/src/drivers/claude/mcp-apps.js.map +1 -0
- package/dist/host/src/drivers/claude/task-process.d.ts +23 -0
- package/dist/host/src/drivers/claude/task-process.js +121 -0
- package/dist/host/src/drivers/claude/task-process.js.map +1 -0
- package/dist/host/src/drivers/claude/tasks.d.ts +8 -1
- package/dist/host/src/drivers/claude/tasks.js +34 -6
- package/dist/host/src/drivers/claude/tasks.js.map +1 -1
- package/dist/host/src/drivers/codex/driver.d.ts +21 -0
- package/dist/host/src/drivers/codex/driver.js +99 -12
- package/dist/host/src/drivers/codex/driver.js.map +1 -1
- package/dist/host/src/drivers/queue.d.ts +4 -0
- package/dist/host/src/drivers/queue.js +9 -0
- package/dist/host/src/drivers/queue.js.map +1 -0
- package/dist/host/src/drivers/types.d.ts +1 -1
- package/dist/host/src/fs.js +8 -8
- package/dist/host/src/fs.js.map +1 -1
- package/dist/host/src/gateway.js +3 -3
- package/dist/host/src/gateway.js.map +1 -1
- package/dist/host/src/host.js +6 -0
- package/dist/host/src/host.js.map +1 -1
- package/dist/host/src/hub.js +28 -14
- package/dist/host/src/hub.js.map +1 -1
- package/dist/host/src/input.d.ts +3 -0
- package/dist/host/src/input.js +1 -0
- package/dist/host/src/input.js.map +1 -1
- package/dist/host/src/ports.js +3 -3
- package/dist/host/src/ports.js.map +1 -1
- package/dist/host/src/process.d.ts +8 -2
- package/dist/host/src/process.js +37 -2
- package/dist/host/src/process.js.map +1 -1
- package/dist/host/src/rpc/mcp.d.ts +1 -1
- package/dist/host/src/rpc/mcp.js +2 -2
- package/dist/host/src/rpc/mcp.js.map +1 -1
- package/dist/host/src/rpc/server.js +5 -5
- package/dist/host/src/rpc/server.js.map +1 -1
- package/dist/host/src/screen-viewer.js +7 -7
- package/dist/host/src/screen.js +6 -5
- package/dist/host/src/screen.js.map +1 -1
- package/dist/host/src/slim.js +16 -4
- package/dist/host/src/slim.js.map +1 -1
- package/dist/host/src/store.js +8 -4
- package/dist/host/src/store.js.map +1 -1
- package/dist/host/src/terminals.js +15 -8
- package/dist/host/src/terminals.js.map +1 -1
- package/dist/host/src/windows-video.d.ts +2 -0
- package/dist/host/src/windows-video.js.map +1 -1
- package/dist/wire/src/model.d.ts +4 -0
- package/dist/wire/src/model.js +4 -0
- package/dist/wire/src/model.js.map +1 -1
- package/dist/wire/src/peer.js +4 -4
- package/dist/wire/src/peer.js.map +1 -1
- package/dist/wire/src/relay-client.js +9 -9
- package/dist/wire/src/relay-client.js.map +1 -1
- package/dist/wire/src/relay.js +2 -2
- package/dist/wire/src/relay.js.map +1 -1
- package/dist/wire/src/rpc-mcp.js +5 -4
- package/dist/wire/src/rpc-mcp.js.map +1 -1
- package/dist/wire/src/rpc.d.ts +5 -0
- package/dist/wire/src/updates.js +1 -1
- package/package.json +4 -4
package/dist/wire/src/rpc-mcp.js
CHANGED
|
@@ -2,11 +2,12 @@ import { z } from "zod";
|
|
|
2
2
|
import { mcpAppDisplayModeSchema } from "./updates.js";
|
|
3
3
|
// MCP Apps: an MCP tool can declare a page of its own (a `ui://` HTML
|
|
4
4
|
// resource) that the client shows in a sandboxed frame, and that page can call
|
|
5
|
-
// its server's tools back. Codex sessions
|
|
6
|
-
//
|
|
7
|
-
//
|
|
5
|
+
// its server's tools back. Codex and Claude sessions: Codex tells the host
|
|
6
|
+
// which tools have pages and lets a client read and call them; for Claude the
|
|
7
|
+
// host connects to the MCP servers in the user's Claude configuration itself.
|
|
8
|
+
// Other agents' sessions are refused with `not_supported`; an agent that isn't
|
|
8
9
|
// running with `agent_unavailable`. Hosts older than these methods answer
|
|
9
|
-
// "method not found".
|
|
10
|
+
// "method not found", and hosts before Claude support refuse Claude sessions.
|
|
10
11
|
/** A tool Codex offers as an app of the thread (what its "插件和 MCP" menu lists). */
|
|
11
12
|
export const mcpAppSchema = z.object({
|
|
12
13
|
server: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-mcp.js","sourceRoot":"","sources":["../../../../wire/src/rpc-mcp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEvD,sEAAsE;AACtE,+EAA+E;AAC/E,8EAA8E;AAC9E,8EAA8E;AAC9E
|
|
1
|
+
{"version":3,"file":"rpc-mcp.js","sourceRoot":"","sources":["../../../../wire/src/rpc-mcp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAA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BAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;YACzC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;YAC/B,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SAC7B,CAAC;KACH;CACO,CAAC"}
|
package/dist/wire/src/rpc.d.ts
CHANGED
|
@@ -979,6 +979,7 @@ declare const coreMethods: {
|
|
|
979
979
|
acp: z.ZodOptional<z.ZodBoolean>;
|
|
980
980
|
fork: z.ZodBoolean;
|
|
981
981
|
side: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
mcpApps: z.ZodOptional<z.ZodBoolean>;
|
|
982
983
|
models: z.ZodBoolean;
|
|
983
984
|
modes: z.ZodBoolean;
|
|
984
985
|
}, z.core.$strip>;
|
|
@@ -1068,6 +1069,7 @@ declare const coreMethods: {
|
|
|
1068
1069
|
acp: z.ZodOptional<z.ZodBoolean>;
|
|
1069
1070
|
fork: z.ZodBoolean;
|
|
1070
1071
|
side: z.ZodOptional<z.ZodBoolean>;
|
|
1072
|
+
mcpApps: z.ZodOptional<z.ZodBoolean>;
|
|
1071
1073
|
models: z.ZodBoolean;
|
|
1072
1074
|
modes: z.ZodBoolean;
|
|
1073
1075
|
}, z.core.$strip>;
|
|
@@ -1086,6 +1088,7 @@ declare const coreMethods: {
|
|
|
1086
1088
|
projects: z.ZodArray<z.ZodObject<{
|
|
1087
1089
|
cwd: z.ZodString;
|
|
1088
1090
|
name: z.ZodString;
|
|
1091
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1089
1092
|
lastActiveAt: z.ZodNumber;
|
|
1090
1093
|
sessionCount: z.ZodNumber;
|
|
1091
1094
|
branch: z.ZodOptional<z.ZodString>;
|
|
@@ -7521,6 +7524,7 @@ export declare const notifications: {
|
|
|
7521
7524
|
acp: z.ZodOptional<z.ZodBoolean>;
|
|
7522
7525
|
fork: z.ZodBoolean;
|
|
7523
7526
|
side: z.ZodOptional<z.ZodBoolean>;
|
|
7527
|
+
mcpApps: z.ZodOptional<z.ZodBoolean>;
|
|
7524
7528
|
models: z.ZodBoolean;
|
|
7525
7529
|
modes: z.ZodBoolean;
|
|
7526
7530
|
}, z.core.$strip>;
|
|
@@ -7562,6 +7566,7 @@ export declare const notifications: {
|
|
|
7562
7566
|
acp: z.ZodOptional<z.ZodBoolean>;
|
|
7563
7567
|
fork: z.ZodBoolean;
|
|
7564
7568
|
side: z.ZodOptional<z.ZodBoolean>;
|
|
7569
|
+
mcpApps: z.ZodOptional<z.ZodBoolean>;
|
|
7565
7570
|
models: z.ZodBoolean;
|
|
7566
7571
|
modes: z.ZodBoolean;
|
|
7567
7572
|
}, z.core.$strip>;
|
package/dist/wire/src/updates.js
CHANGED
|
@@ -25,7 +25,7 @@ export const toolDetailSchema = z.discriminatedUnion("type", [
|
|
|
25
25
|
tool: z.string(),
|
|
26
26
|
/**
|
|
27
27
|
* The tool has a page of its own (an MCP App), which `mcp.resource` reads.
|
|
28
|
-
* Codex sessions
|
|
28
|
+
* Codex and Claude sessions. It may arrive in a later `tool_call_update` than the
|
|
29
29
|
* call's card, when the host had to look the tool up first. `connector`:
|
|
30
30
|
* the Codex connector (server `codex_apps`) the page belongs to, which
|
|
31
31
|
* `mcp.call` needs for that server.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linkshell-cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.93",
|
|
4
4
|
"description": "Follow, steer and approve the coding agents on your computer (Claude Code, Codex, Gemini, Copilot and more) from your phone",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cli/src/index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"node-pty": "^1.1.0",
|
|
35
35
|
"qrcode-terminal": "^0.12.0",
|
|
36
36
|
"ws": "^8.21.0",
|
|
37
|
-
"@linkshell/gateway": "0.6.
|
|
38
|
-
"@linkshell/wire": "0.2.
|
|
39
|
-
"@linkshell/host": "0.4.
|
|
37
|
+
"@linkshell/gateway": "0.6.57",
|
|
38
|
+
"@linkshell/wire": "0.2.28",
|
|
39
|
+
"@linkshell/host": "0.4.87"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/ws": "^8.5.14",
|