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.
- package/dist/cli/src/commands/desktop.d.ts +77 -72
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- 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/driver.d.ts +3 -0
- package/dist/host/src/drivers/acp/driver.js +10 -3
- package/dist/host/src/drivers/acp/driver.js.map +1 -1
- 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.d.ts +10 -0
- package/dist/host/src/drivers/claude/driver.js +65 -6
- package/dist/host/src/drivers/claude/driver.js.map +1 -1
- package/dist/host/src/drivers/claude/holders.d.ts +2 -0
- package/dist/host/src/drivers/claude/holders.js +5 -1
- package/dist/host/src/drivers/claude/holders.js.map +1 -1
- package/dist/host/src/drivers/claude/tasks.d.ts +2 -2
- package/dist/host/src/drivers/claude/transcript.d.ts +399 -344
- package/dist/host/src/drivers/claude/transcript.js +83 -11
- package/dist/host/src/drivers/claude/transcript.js.map +1 -1
- package/dist/host/src/fs.d.ts +9 -9
- package/dist/host/src/hub.d.ts +87 -82
- package/dist/host/src/hub.js +2 -2
- package/dist/host/src/hub.js.map +1 -1
- 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/store.d.ts +11 -5
- package/dist/host/src/store.js +51 -19
- package/dist/host/src/store.js.map +1 -1
- package/dist/host/src/terminals.d.ts +9 -9
- 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 +205 -370
- 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 +450 -2305
- 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 +6689 -31361
- 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 +1728 -6848
- 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
|
@@ -3,13 +3,17 @@ export declare function installationSource(path: string): "homebrew" | "npm";
|
|
|
3
3
|
export declare function desktopSnapshot(version: string): Promise<{
|
|
4
4
|
screen?: {
|
|
5
5
|
supported: boolean;
|
|
6
|
-
recording: boolean | null;
|
|
7
6
|
ffmpeg: boolean;
|
|
7
|
+
recording: boolean | null;
|
|
8
8
|
control: boolean | null;
|
|
9
9
|
app?: string | undefined;
|
|
10
10
|
problem?: string | undefined;
|
|
11
11
|
} | undefined;
|
|
12
12
|
machine: {
|
|
13
|
+
machineId: string;
|
|
14
|
+
hostname: string;
|
|
15
|
+
platform: string;
|
|
16
|
+
hostVersion: string;
|
|
13
17
|
agents: {
|
|
14
18
|
id: string;
|
|
15
19
|
label: string;
|
|
@@ -36,10 +40,6 @@ export declare function desktopSnapshot(version: string): Promise<{
|
|
|
36
40
|
hint?: string | undefined;
|
|
37
41
|
} | undefined;
|
|
38
42
|
}[];
|
|
39
|
-
machineId: string;
|
|
40
|
-
hostname: string;
|
|
41
|
-
platform: string;
|
|
42
|
-
hostVersion: string;
|
|
43
43
|
protocol?: number | undefined;
|
|
44
44
|
home?: string | undefined;
|
|
45
45
|
direct?: {
|
|
@@ -50,19 +50,19 @@ export declare function desktopSnapshot(version: string): Promise<{
|
|
|
50
50
|
gateway: {
|
|
51
51
|
status: "off" | "offline" | "connecting" | "online";
|
|
52
52
|
devices: {
|
|
53
|
-
name: string;
|
|
54
53
|
id: string;
|
|
55
|
-
|
|
54
|
+
name: string;
|
|
56
55
|
pairedAt: number;
|
|
56
|
+
online: boolean;
|
|
57
57
|
}[];
|
|
58
|
+
url?: string | undefined;
|
|
58
59
|
error?: {
|
|
59
60
|
code: string;
|
|
60
61
|
message: string;
|
|
61
62
|
} | undefined;
|
|
62
|
-
url?: string | undefined;
|
|
63
63
|
machine?: {
|
|
64
|
-
name: string;
|
|
65
64
|
id: string;
|
|
65
|
+
name: string;
|
|
66
66
|
} | undefined;
|
|
67
67
|
account?: {
|
|
68
68
|
userId: string;
|
|
@@ -70,67 +70,73 @@ export declare function desktopSnapshot(version: string): Promise<{
|
|
|
70
70
|
} | undefined;
|
|
71
71
|
};
|
|
72
72
|
sessions: {
|
|
73
|
-
agent: string;
|
|
74
73
|
id: string;
|
|
75
|
-
|
|
76
|
-
updatedAt: number;
|
|
77
|
-
lastSeq: number;
|
|
74
|
+
agent: string;
|
|
78
75
|
nativeId: string;
|
|
79
76
|
cwd: string;
|
|
77
|
+
state: "error" | "unknown" | "running" | "idle" | "waiting" | "offline";
|
|
80
78
|
pendingPermissions: number;
|
|
81
79
|
createdAt: number;
|
|
80
|
+
updatedAt: number;
|
|
81
|
+
lastSeq: number;
|
|
82
82
|
archived: boolean;
|
|
83
83
|
title?: string | undefined;
|
|
84
|
-
model?: string | undefined;
|
|
85
|
-
driver?: "desktop" | "remote" | "none" | undefined;
|
|
86
84
|
preview?: string | undefined;
|
|
85
|
+
driver?: "desktop" | "remote" | "none" | undefined;
|
|
86
|
+
model?: string | undefined;
|
|
87
87
|
activity?: {
|
|
88
88
|
kind: "tool" | "thinking" | "responding";
|
|
89
89
|
title?: string | undefined;
|
|
90
90
|
toolKind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
91
91
|
} | undefined;
|
|
92
92
|
permission?: {
|
|
93
|
+
requestId: string;
|
|
94
|
+
title: string;
|
|
93
95
|
options: {
|
|
94
|
-
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
95
|
-
name: string;
|
|
96
96
|
optionId: string;
|
|
97
|
+
name: string;
|
|
98
|
+
kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
|
|
97
99
|
}[];
|
|
98
|
-
|
|
99
|
-
requestId: string;
|
|
100
|
+
childSessionId?: string | undefined;
|
|
100
101
|
toolCallId?: string | undefined;
|
|
102
|
+
detail?: string | undefined;
|
|
101
103
|
tool?: {
|
|
102
|
-
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
103
104
|
title?: string | undefined;
|
|
105
|
+
kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
|
|
106
|
+
rawInput?: unknown;
|
|
104
107
|
content?: ({
|
|
105
108
|
type: "content";
|
|
106
109
|
content: {
|
|
107
110
|
type: "text";
|
|
108
111
|
text: string;
|
|
109
|
-
annotations?:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
annotations?: {
|
|
113
|
+
[x: string]: unknown;
|
|
114
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
115
|
+
priority?: number | undefined;
|
|
116
|
+
lastModified?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
114
118
|
_meta?: Record<string, unknown> | undefined;
|
|
115
119
|
} | {
|
|
116
120
|
type: "image";
|
|
117
121
|
mimeType: string;
|
|
118
|
-
annotations?:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
annotations?: {
|
|
123
|
+
[x: string]: unknown;
|
|
124
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
125
|
+
priority?: number | undefined;
|
|
126
|
+
lastModified?: string | undefined;
|
|
127
|
+
} | undefined;
|
|
123
128
|
_meta?: Record<string, unknown> | undefined;
|
|
124
129
|
data?: string | undefined;
|
|
125
130
|
uri?: string | undefined;
|
|
126
131
|
} | {
|
|
127
132
|
type: "audio";
|
|
128
133
|
mimeType: string;
|
|
129
|
-
annotations?:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
annotations?: {
|
|
135
|
+
[x: string]: unknown;
|
|
136
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
137
|
+
priority?: number | undefined;
|
|
138
|
+
lastModified?: string | undefined;
|
|
139
|
+
} | undefined;
|
|
134
140
|
_meta?: Record<string, unknown> | undefined;
|
|
135
141
|
data?: string | undefined;
|
|
136
142
|
uri?: string | undefined;
|
|
@@ -138,68 +144,66 @@ export declare function desktopSnapshot(version: string): Promise<{
|
|
|
138
144
|
type: "resource";
|
|
139
145
|
resource: {
|
|
140
146
|
uri: string;
|
|
141
|
-
text?: string | undefined;
|
|
142
|
-
_meta?: Record<string, unknown> | undefined;
|
|
143
147
|
mimeType?: string | undefined;
|
|
148
|
+
text?: string | undefined;
|
|
144
149
|
blob?: string | undefined;
|
|
145
150
|
assetUri?: string | undefined;
|
|
151
|
+
_meta?: Record<string, unknown> | undefined;
|
|
146
152
|
};
|
|
147
|
-
annotations?:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
153
|
+
annotations?: {
|
|
154
|
+
[x: string]: unknown;
|
|
155
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
156
|
+
priority?: number | undefined;
|
|
157
|
+
lastModified?: string | undefined;
|
|
158
|
+
} | undefined;
|
|
152
159
|
_meta?: Record<string, unknown> | undefined;
|
|
153
160
|
} | {
|
|
154
161
|
type: "resource_link";
|
|
155
162
|
uri: string;
|
|
156
163
|
name: string;
|
|
157
164
|
kind?: "file" | "skill" | "agent" | undefined;
|
|
158
|
-
annotations?:
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
165
|
+
annotations?: {
|
|
166
|
+
[x: string]: unknown;
|
|
167
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
168
|
+
priority?: number | undefined;
|
|
169
|
+
lastModified?: string | undefined;
|
|
170
|
+
} | undefined;
|
|
163
171
|
_meta?: Record<string, unknown> | undefined;
|
|
164
|
-
mimeType?: string | undefined;
|
|
165
172
|
title?: string | undefined;
|
|
166
173
|
description?: string | undefined;
|
|
174
|
+
mimeType?: string | undefined;
|
|
167
175
|
size?: number | undefined;
|
|
168
176
|
};
|
|
169
177
|
} | {
|
|
170
|
-
path: string;
|
|
171
178
|
type: "diff";
|
|
179
|
+
path: string;
|
|
172
180
|
newText: string;
|
|
173
181
|
oldText?: string | null | undefined;
|
|
174
182
|
} | {
|
|
175
|
-
path: string;
|
|
176
183
|
type: "patch";
|
|
177
|
-
|
|
184
|
+
path: string;
|
|
178
185
|
change: "add" | "delete" | "update";
|
|
186
|
+
diff: string;
|
|
179
187
|
movePath?: string | undefined;
|
|
180
188
|
} | {
|
|
181
189
|
type: "terminal";
|
|
182
190
|
terminalId: string;
|
|
183
191
|
})[] | undefined;
|
|
184
|
-
rawInput?: unknown;
|
|
185
192
|
locations?: {
|
|
186
193
|
path: string;
|
|
187
194
|
line?: number | undefined;
|
|
188
195
|
}[] | undefined;
|
|
189
196
|
} | undefined;
|
|
190
|
-
|
|
197
|
+
url?: {
|
|
198
|
+
url: string;
|
|
199
|
+
elicitationId: string;
|
|
200
|
+
} | undefined;
|
|
191
201
|
questions?: {
|
|
192
|
-
kind: "text" | "choice" | "choices";
|
|
193
|
-
text: string;
|
|
194
202
|
id: string;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
label: string;
|
|
198
|
-
description?: string | undefined;
|
|
199
|
-
}[] | undefined;
|
|
200
|
-
other?: boolean | undefined;
|
|
203
|
+
text: string;
|
|
204
|
+
kind: "text" | "choice" | "choices";
|
|
201
205
|
constraints?: {
|
|
202
|
-
type: "string" | "number" | "boolean" | "
|
|
206
|
+
type: "string" | "number" | "boolean" | "array" | "integer";
|
|
203
207
|
minimum?: number | undefined;
|
|
204
208
|
maximum?: number | undefined;
|
|
205
209
|
minLength?: number | undefined;
|
|
@@ -211,24 +215,25 @@ export declare function desktopSnapshot(version: string): Promise<{
|
|
|
211
215
|
} | undefined;
|
|
212
216
|
defaults?: string[] | undefined;
|
|
213
217
|
header?: string | undefined;
|
|
218
|
+
options?: {
|
|
219
|
+
value: string;
|
|
220
|
+
label: string;
|
|
221
|
+
description?: string | undefined;
|
|
222
|
+
}[] | undefined;
|
|
223
|
+
other?: boolean | undefined;
|
|
214
224
|
secret?: boolean | undefined;
|
|
215
225
|
required?: boolean | undefined;
|
|
216
226
|
}[] | undefined;
|
|
217
|
-
childSessionId?: string | undefined;
|
|
218
|
-
url?: {
|
|
219
|
-
url: string;
|
|
220
|
-
elicitationId: string;
|
|
221
|
-
} | undefined;
|
|
222
227
|
} | undefined;
|
|
223
228
|
asyncQuestions?: {
|
|
224
|
-
options: string[];
|
|
225
|
-
title: string;
|
|
226
229
|
id: string;
|
|
230
|
+
title: string;
|
|
231
|
+
options: string[];
|
|
227
232
|
}[] | undefined;
|
|
228
233
|
queue?: {
|
|
234
|
+
clientMessageId: string;
|
|
229
235
|
text: string;
|
|
230
236
|
images: number;
|
|
231
|
-
clientMessageId: string;
|
|
232
237
|
}[] | undefined;
|
|
233
238
|
worktree?: {
|
|
234
239
|
branch: string;
|
|
@@ -238,12 +243,12 @@ export declare function desktopSnapshot(version: string): Promise<{
|
|
|
238
243
|
forkedFrom?: string | undefined;
|
|
239
244
|
appId?: string | undefined;
|
|
240
245
|
subagents?: {
|
|
241
|
-
running: number;
|
|
242
246
|
total: number;
|
|
247
|
+
running: number;
|
|
243
248
|
} | undefined;
|
|
244
249
|
tasks?: {
|
|
245
|
-
running: number;
|
|
246
250
|
total: number;
|
|
251
|
+
running: number;
|
|
247
252
|
} | undefined;
|
|
248
253
|
}[];
|
|
249
254
|
hasMoreSessions: boolean;
|