@linkshell/host 0.3.0 → 0.3.1

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.
@@ -86,9 +86,9 @@ export declare const transcriptTimes: WeakMap<{
86
86
  };
87
87
  parentToolCallId?: string | undefined;
88
88
  } | {
89
- status: "pending" | "in_progress" | "completed" | "failed";
90
- kind: "other" | "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch";
91
89
  sessionUpdate: "tool_call";
90
+ status: "pending" | "in_progress" | "completed" | "failed";
91
+ kind: "read" | "edit" | "delete" | "move" | "search" | "execute" | "think" | "fetch" | "other";
92
92
  toolCallId: string;
93
93
  title: string;
94
94
  content?: ({
@@ -135,9 +135,9 @@ export declare const transcriptTimes: WeakMap<{
135
135
  } | {
136
136
  type: "subagent";
137
137
  action: "message" | "spawn" | "wait" | "stop" | "resume" | "list";
138
- model?: string | undefined;
139
138
  task?: string | undefined;
140
139
  agentType?: string | undefined;
140
+ model?: string | undefined;
141
141
  } | {
142
142
  type: "skill";
143
143
  name: string;
@@ -202,9 +202,9 @@ export declare const transcriptTimes: WeakMap<{
202
202
  } | {
203
203
  type: "subagent";
204
204
  action: "message" | "spawn" | "wait" | "stop" | "resume" | "list";
205
- model?: string | undefined;
206
205
  task?: string | undefined;
207
206
  agentType?: string | undefined;
207
+ model?: string | undefined;
208
208
  } | {
209
209
  type: "skill";
210
210
  name: string;
@@ -228,12 +228,12 @@ export declare const transcriptTimes: WeakMap<{
228
228
  appendOutput?: string | undefined;
229
229
  rawOutput?: unknown;
230
230
  } | {
231
+ sessionUpdate: "plan";
231
232
  entries: {
232
233
  status: "pending" | "in_progress" | "completed";
233
234
  content: string;
234
235
  priority: "high" | "medium" | "low";
235
236
  }[];
236
- sessionUpdate: "plan";
237
237
  } | {
238
238
  sessionUpdate: "available_commands_update";
239
239
  availableCommands: {
@@ -246,8 +246,8 @@ export declare const transcriptTimes: WeakMap<{
246
246
  currentModeId: string;
247
247
  } | {
248
248
  sessionUpdate: "session_info_update";
249
- model?: string | undefined;
250
249
  title?: string | undefined;
250
+ model?: string | undefined;
251
251
  } | {
252
252
  sessionUpdate: "usage_update";
253
253
  usedTokens?: number | undefined;
@@ -258,6 +258,7 @@ export declare const transcriptTimes: WeakMap<{
258
258
  role: "agent" | "thought" | "user";
259
259
  parentToolCallId?: string | undefined;
260
260
  } | {
261
+ sessionUpdate: "ls_config";
261
262
  options: {
262
263
  values: {
263
264
  value: string;
@@ -266,28 +267,27 @@ export declare const transcriptTimes: WeakMap<{
266
267
  }[];
267
268
  name: string;
268
269
  id: string;
269
- category: "model" | "mode" | "effort" | "other";
270
+ category: "other" | "model" | "mode" | "effort";
270
271
  current: string;
271
272
  }[];
272
- sessionUpdate: "ls_config";
273
273
  } | {
274
274
  sessionUpdate: "ls_notice";
275
275
  title: string;
276
276
  level: "info" | "warning";
277
277
  detail?: string | undefined;
278
278
  } | {
279
- state: "started" | "ended";
280
279
  sessionUpdate: "ls_turn";
280
+ state: "started" | "ended";
281
281
  parentToolCallId?: string | undefined;
282
282
  turnId?: string | undefined;
283
283
  stopReason?: "end_turn" | "cancelled" | "error" | "max_tokens" | "refusal" | undefined;
284
284
  } | {
285
+ sessionUpdate: "ls_permission";
285
286
  options: {
286
287
  name: string;
287
288
  kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
288
289
  optionId: string;
289
290
  }[];
290
- sessionUpdate: "ls_permission";
291
291
  title: string;
292
292
  requestId: string;
293
293
  toolCallId?: string | undefined;
@@ -317,15 +317,15 @@ export declare const transcriptTimes: WeakMap<{
317
317
  }[] | undefined;
318
318
  } | {
319
319
  sessionUpdate: "ls_driver";
320
- driver: "remote" | "desktop" | "none";
320
+ driver: "desktop" | "remote" | "none";
321
321
  deviceId?: string | undefined;
322
322
  } | {
323
- state: "error" | "idle" | "running" | "waiting" | "offline";
324
323
  sessionUpdate: "ls_status";
324
+ state: "error" | "idle" | "running" | "waiting" | "offline";
325
325
  } | {
326
+ sessionUpdate: "ls_error";
326
327
  code: string;
327
328
  message: string;
328
- sessionUpdate: "ls_error";
329
329
  hint?: string | undefined;
330
330
  }, number>;
331
331
  /**