linkshell-cli 0.10.75 → 0.10.77

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.
Files changed (67) hide show
  1. package/dist/cli/src/commands/desktop.d.ts +77 -72
  2. package/dist/cli/tsconfig.tsbuildinfo +1 -1
  3. package/dist/host/src/acp-settings.js +1 -1
  4. package/dist/host/src/acp-settings.js.map +1 -1
  5. package/dist/host/src/computer-preview.d.ts +1 -9
  6. package/dist/host/src/drivers/acp/driver.d.ts +3 -0
  7. package/dist/host/src/drivers/acp/driver.js +10 -3
  8. package/dist/host/src/drivers/acp/driver.js.map +1 -1
  9. package/dist/host/src/drivers/acp/questions.js +2 -2
  10. package/dist/host/src/drivers/acp/questions.js.map +1 -1
  11. package/dist/host/src/drivers/claude/driver.d.ts +10 -0
  12. package/dist/host/src/drivers/claude/driver.js +65 -6
  13. package/dist/host/src/drivers/claude/driver.js.map +1 -1
  14. package/dist/host/src/drivers/claude/holders.d.ts +2 -0
  15. package/dist/host/src/drivers/claude/holders.js +5 -1
  16. package/dist/host/src/drivers/claude/holders.js.map +1 -1
  17. package/dist/host/src/drivers/claude/tasks.d.ts +2 -2
  18. package/dist/host/src/drivers/claude/transcript.d.ts +399 -344
  19. package/dist/host/src/drivers/claude/transcript.js +83 -11
  20. package/dist/host/src/drivers/claude/transcript.js.map +1 -1
  21. package/dist/host/src/fs.d.ts +9 -9
  22. package/dist/host/src/hub.d.ts +87 -82
  23. package/dist/host/src/hub.js +2 -2
  24. package/dist/host/src/hub.js.map +1 -1
  25. package/dist/host/src/input.d.ts +43 -89
  26. package/dist/host/src/input.js +1 -1
  27. package/dist/host/src/input.js.map +1 -1
  28. package/dist/host/src/screen-session.d.ts +3 -17
  29. package/dist/host/src/screen-session.js +2 -2
  30. package/dist/host/src/screen-session.js.map +1 -1
  31. package/dist/host/src/store.d.ts +11 -5
  32. package/dist/host/src/store.js +51 -19
  33. package/dist/host/src/store.js.map +1 -1
  34. package/dist/host/src/terminals.d.ts +9 -9
  35. package/dist/wire/src/acp.d.ts +68 -430
  36. package/dist/wire/src/acp.js +5 -5
  37. package/dist/wire/src/acp.js.map +1 -1
  38. package/dist/wire/src/async-questions.d.ts +2 -10
  39. package/dist/wire/src/computer-preview.d.ts +1 -15
  40. package/dist/wire/src/computer-preview.js +1 -1
  41. package/dist/wire/src/computer-preview.js.map +1 -1
  42. package/dist/wire/src/content.d.ts +205 -370
  43. package/dist/wire/src/content.js +4 -4
  44. package/dist/wire/src/content.js.map +1 -1
  45. package/dist/wire/src/editor.d.ts +48 -592
  46. package/dist/wire/src/envelopes.js +13 -1
  47. package/dist/wire/src/envelopes.js.map +1 -1
  48. package/dist/wire/src/goal.d.ts +15 -48
  49. package/dist/wire/src/live-activity.d.ts +83 -212
  50. package/dist/wire/src/live-activity.js +1 -1
  51. package/dist/wire/src/live-activity.js.map +1 -1
  52. package/dist/wire/src/model.d.ts +450 -2305
  53. package/dist/wire/src/relay.d.ts +41 -267
  54. package/dist/wire/src/relay.js +1 -1
  55. package/dist/wire/src/relay.js.map +1 -1
  56. package/dist/wire/src/rpc-mcp.d.ts +21 -136
  57. package/dist/wire/src/rpc-mcp.js +1 -1
  58. package/dist/wire/src/rpc-mcp.js.map +1 -1
  59. package/dist/wire/src/rpc.d.ts +6689 -31361
  60. package/dist/wire/src/rpc.js +5 -5
  61. package/dist/wire/src/rpc.js.map +1 -1
  62. package/dist/wire/src/side.d.ts +13 -61
  63. package/dist/wire/src/updates.d.ts +1728 -6848
  64. package/dist/wire/src/usage.d.ts +17 -195
  65. package/dist/wire/src/watch.d.ts +223 -1141
  66. package/dist/wire/src/workflow.d.ts +46 -139
  67. package/package.json +4 -4
@@ -1,14 +1,35 @@
1
1
  import { z } from "zod";
2
- export declare const workflowStateSchema: z.ZodEnum<["running", "paused", "completed", "failed", "stopped"]>;
2
+ export declare const workflowStateSchema: z.ZodEnum<{
3
+ paused: "paused";
4
+ completed: "completed";
5
+ failed: "failed";
6
+ running: "running";
7
+ stopped: "stopped";
8
+ }>;
3
9
  export type WorkflowState = z.infer<typeof workflowStateSchema>;
4
- export declare const workflowAgentStateSchema: z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>;
10
+ export declare const workflowAgentStateSchema: z.ZodEnum<{
11
+ paused: "paused";
12
+ unknown: "unknown";
13
+ pending: "pending";
14
+ completed: "completed";
15
+ failed: "failed";
16
+ running: "running";
17
+ stopped: "stopped";
18
+ }>;
5
19
  export type WorkflowAgentState = z.infer<typeof workflowAgentStateSchema>;
6
20
  export declare const workflowAgentSchema: z.ZodObject<{
7
21
  id: z.ZodString;
8
- /** Present only after the host has imported this agent's transcript. */
9
22
  toolCallId: z.ZodOptional<z.ZodString>;
10
23
  title: z.ZodString;
11
- state: z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>;
24
+ state: z.ZodEnum<{
25
+ paused: "paused";
26
+ unknown: "unknown";
27
+ pending: "pending";
28
+ completed: "completed";
29
+ failed: "failed";
30
+ running: "running";
31
+ stopped: "stopped";
32
+ }>;
12
33
  phaseId: z.ZodOptional<z.ZodString>;
13
34
  model: z.ZodOptional<z.ZodString>;
14
35
  tokens: z.ZodOptional<z.ZodNumber>;
@@ -17,54 +38,25 @@ export declare const workflowAgentSchema: z.ZodObject<{
17
38
  startedAt: z.ZodOptional<z.ZodNumber>;
18
39
  endedAt: z.ZodOptional<z.ZodNumber>;
19
40
  result: z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- title: string;
22
- id: string;
23
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
24
- toolCallId?: string | undefined;
25
- phaseId?: string | undefined;
26
- model?: string | undefined;
27
- tokens?: number | undefined;
28
- toolCalls?: number | undefined;
29
- durationMs?: number | undefined;
30
- startedAt?: number | undefined;
31
- endedAt?: number | undefined;
32
- result?: string | undefined;
33
- }, {
34
- title: string;
35
- id: string;
36
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
37
- toolCallId?: string | undefined;
38
- phaseId?: string | undefined;
39
- model?: string | undefined;
40
- tokens?: number | undefined;
41
- toolCalls?: number | undefined;
42
- durationMs?: number | undefined;
43
- startedAt?: number | undefined;
44
- endedAt?: number | undefined;
45
- result?: string | undefined;
46
- }>;
41
+ }, z.core.$strip>;
47
42
  export type WorkflowAgent = z.infer<typeof workflowAgentSchema>;
48
43
  export declare const workflowPhaseSchema: z.ZodObject<{
49
44
  id: z.ZodString;
50
45
  title: z.ZodString;
51
46
  order: z.ZodNumber;
52
- }, "strip", z.ZodTypeAny, {
53
- title: string;
54
- id: string;
55
- order: number;
56
- }, {
57
- title: string;
58
- id: string;
59
- order: number;
60
- }>;
47
+ }, z.core.$strip>;
61
48
  export type WorkflowPhase = z.infer<typeof workflowPhaseSchema>;
62
49
  /** A complete run snapshot, independent of the loaded conversation window. */
63
50
  export declare const workflowSchema: z.ZodObject<{
64
51
  runId: z.ZodOptional<z.ZodString>;
65
52
  name: z.ZodOptional<z.ZodString>;
66
- state: z.ZodOptional<z.ZodEnum<["running", "paused", "completed", "failed", "stopped"]>>;
67
- /** Observed counts: a dynamic script may start more agents later. */
53
+ state: z.ZodOptional<z.ZodEnum<{
54
+ paused: "paused";
55
+ completed: "completed";
56
+ failed: "failed";
57
+ running: "running";
58
+ stopped: "stopped";
59
+ }>>;
68
60
  started: z.ZodOptional<z.ZodNumber>;
69
61
  completed: z.ZodOptional<z.ZodNumber>;
70
62
  tokens: z.ZodOptional<z.ZodNumber>;
@@ -75,21 +67,20 @@ export declare const workflowSchema: z.ZodObject<{
75
67
  id: z.ZodString;
76
68
  title: z.ZodString;
77
69
  order: z.ZodNumber;
78
- }, "strip", z.ZodTypeAny, {
79
- title: string;
80
- id: string;
81
- order: number;
82
- }, {
83
- title: string;
84
- id: string;
85
- order: number;
86
- }>, "many">>;
70
+ }, z.core.$strip>>>;
87
71
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
88
72
  id: z.ZodString;
89
- /** Present only after the host has imported this agent's transcript. */
90
73
  toolCallId: z.ZodOptional<z.ZodString>;
91
74
  title: z.ZodString;
92
- state: z.ZodEnum<["pending", "running", "paused", "completed", "failed", "stopped", "unknown"]>;
75
+ state: z.ZodEnum<{
76
+ paused: "paused";
77
+ unknown: "unknown";
78
+ pending: "pending";
79
+ completed: "completed";
80
+ failed: "failed";
81
+ running: "running";
82
+ stopped: "stopped";
83
+ }>;
93
84
  phaseId: z.ZodOptional<z.ZodString>;
94
85
  model: z.ZodOptional<z.ZodString>;
95
86
  tokens: z.ZodOptional<z.ZodNumber>;
@@ -98,90 +89,6 @@ export declare const workflowSchema: z.ZodObject<{
98
89
  startedAt: z.ZodOptional<z.ZodNumber>;
99
90
  endedAt: z.ZodOptional<z.ZodNumber>;
100
91
  result: z.ZodOptional<z.ZodString>;
101
- }, "strip", z.ZodTypeAny, {
102
- title: string;
103
- id: string;
104
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
105
- toolCallId?: string | undefined;
106
- phaseId?: string | undefined;
107
- model?: string | undefined;
108
- tokens?: number | undefined;
109
- toolCalls?: number | undefined;
110
- durationMs?: number | undefined;
111
- startedAt?: number | undefined;
112
- endedAt?: number | undefined;
113
- result?: string | undefined;
114
- }, {
115
- title: string;
116
- id: string;
117
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
118
- toolCallId?: string | undefined;
119
- phaseId?: string | undefined;
120
- model?: string | undefined;
121
- tokens?: number | undefined;
122
- toolCalls?: number | undefined;
123
- durationMs?: number | undefined;
124
- startedAt?: number | undefined;
125
- endedAt?: number | undefined;
126
- result?: string | undefined;
127
- }>, "many">>;
128
- }, "strip", z.ZodTypeAny, {
129
- name?: string | undefined;
130
- completed?: number | undefined;
131
- state?: "paused" | "completed" | "failed" | "running" | "stopped" | undefined;
132
- tokens?: number | undefined;
133
- durationMs?: number | undefined;
134
- startedAt?: number | undefined;
135
- endedAt?: number | undefined;
136
- runId?: string | undefined;
137
- started?: number | undefined;
138
- phases?: {
139
- title: string;
140
- id: string;
141
- order: number;
142
- }[] | undefined;
143
- agents?: {
144
- title: string;
145
- id: string;
146
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
147
- toolCallId?: string | undefined;
148
- phaseId?: string | undefined;
149
- model?: string | undefined;
150
- tokens?: number | undefined;
151
- toolCalls?: number | undefined;
152
- durationMs?: number | undefined;
153
- startedAt?: number | undefined;
154
- endedAt?: number | undefined;
155
- result?: string | undefined;
156
- }[] | undefined;
157
- }, {
158
- name?: string | undefined;
159
- completed?: number | undefined;
160
- state?: "paused" | "completed" | "failed" | "running" | "stopped" | undefined;
161
- tokens?: number | undefined;
162
- durationMs?: number | undefined;
163
- startedAt?: number | undefined;
164
- endedAt?: number | undefined;
165
- runId?: string | undefined;
166
- started?: number | undefined;
167
- phases?: {
168
- title: string;
169
- id: string;
170
- order: number;
171
- }[] | undefined;
172
- agents?: {
173
- title: string;
174
- id: string;
175
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
176
- toolCallId?: string | undefined;
177
- phaseId?: string | undefined;
178
- model?: string | undefined;
179
- tokens?: number | undefined;
180
- toolCalls?: number | undefined;
181
- durationMs?: number | undefined;
182
- startedAt?: number | undefined;
183
- endedAt?: number | undefined;
184
- result?: string | undefined;
185
- }[] | undefined;
186
- }>;
92
+ }, z.core.$strip>>>;
93
+ }, z.core.$strip>;
187
94
  export type Workflow = z.infer<typeof workflowSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkshell-cli",
3
- "version": "0.10.75",
3
+ "version": "0.10.77",
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.40",
38
- "@linkshell/host": "0.4.70",
39
- "@linkshell/wire": "0.2.22"
37
+ "@linkshell/host": "0.4.72",
38
+ "@linkshell/wire": "0.2.23",
39
+ "@linkshell/gateway": "0.6.42"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/ws": "^8.5.14",