@linkshell/host 0.4.70 → 0.4.71
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/host/src/acp-settings.js +1 -1
- package/dist/host/src/acp-settings.js.map +1 -1
- package/dist/host/src/computer-preview.d.ts +1 -9
- package/dist/host/src/drivers/acp/questions.js +2 -2
- package/dist/host/src/drivers/acp/questions.js.map +1 -1
- package/dist/host/src/drivers/claude/driver.js +4 -1
- package/dist/host/src/drivers/claude/driver.js.map +1 -1
- package/dist/host/src/drivers/claude/tasks.d.ts +3 -3
- package/dist/host/src/drivers/claude/transcript.d.ts +383 -348
- package/dist/host/src/fs.d.ts +9 -9
- package/dist/host/src/hub.d.ts +85 -80
- package/dist/host/src/input.d.ts +43 -89
- package/dist/host/src/input.js +1 -1
- package/dist/host/src/input.js.map +1 -1
- package/dist/host/src/screen-session.d.ts +3 -17
- package/dist/host/src/screen-session.js +2 -2
- package/dist/host/src/screen-session.js.map +1 -1
- package/dist/host/src/terminals.d.ts +9 -9
- package/dist/host/tsconfig.tsbuildinfo +1 -1
- package/dist/wire/src/acp.d.ts +68 -430
- package/dist/wire/src/acp.js +5 -5
- package/dist/wire/src/acp.js.map +1 -1
- package/dist/wire/src/async-questions.d.ts +2 -10
- package/dist/wire/src/computer-preview.d.ts +1 -15
- package/dist/wire/src/computer-preview.js +1 -1
- package/dist/wire/src/computer-preview.js.map +1 -1
- package/dist/wire/src/content.d.ts +207 -372
- package/dist/wire/src/content.js +4 -4
- package/dist/wire/src/content.js.map +1 -1
- package/dist/wire/src/editor.d.ts +48 -592
- package/dist/wire/src/envelopes.js +13 -1
- package/dist/wire/src/envelopes.js.map +1 -1
- package/dist/wire/src/goal.d.ts +15 -48
- package/dist/wire/src/live-activity.d.ts +83 -212
- package/dist/wire/src/live-activity.js +1 -1
- package/dist/wire/src/live-activity.js.map +1 -1
- package/dist/wire/src/model.d.ts +454 -2309
- package/dist/wire/src/relay.d.ts +41 -267
- package/dist/wire/src/relay.js +1 -1
- package/dist/wire/src/relay.js.map +1 -1
- package/dist/wire/src/rpc-mcp.d.ts +21 -136
- package/dist/wire/src/rpc-mcp.js +1 -1
- package/dist/wire/src/rpc-mcp.js.map +1 -1
- package/dist/wire/src/rpc.d.ts +6829 -31501
- package/dist/wire/src/rpc.js +5 -5
- package/dist/wire/src/rpc.js.map +1 -1
- package/dist/wire/src/side.d.ts +13 -61
- package/dist/wire/src/updates.d.ts +1815 -6935
- package/dist/wire/src/usage.d.ts +17 -195
- package/dist/wire/src/watch.d.ts +223 -1141
- package/dist/wire/src/workflow.d.ts +46 -139
- package/package.json +4 -4
|
@@ -1,14 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const workflowStateSchema: z.ZodEnum<
|
|
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<
|
|
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<
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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<
|
|
67
|
-
|
|
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
|
-
},
|
|
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<
|
|
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
|
-
},
|
|
102
|
-
|
|
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/host",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.71",
|
|
4
4
|
"description": "LinkShell v2 host daemon: owns agent sessions and terminals on your computer, serves them to your devices.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"sharp": "^0.35.5",
|
|
45
45
|
"werift": "^0.22.9",
|
|
46
46
|
"ws": "^8.21.0",
|
|
47
|
-
"zod": "^
|
|
48
|
-
"@linkshell/wire": "0.2.
|
|
47
|
+
"zod": "^4.6.7",
|
|
48
|
+
"@linkshell/wire": "0.2.23"
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"@linkshell/mac": "0.1.
|
|
51
|
+
"@linkshell/mac": "0.1.34"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/cross-spawn": "6.0.6",
|