linkshell-cli 0.10.74 → 0.10.76

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 (134) hide show
  1. package/dist/cli/src/commands/desktop-workspace.js +62 -9
  2. package/dist/cli/src/commands/desktop-workspace.js.map +1 -1
  3. package/dist/cli/src/commands/desktop.d.ts +90 -74
  4. package/dist/cli/src/commands/desktop.js +87 -1
  5. package/dist/cli/src/commands/desktop.js.map +1 -1
  6. package/dist/cli/src/commands/login-error.d.ts +9 -0
  7. package/dist/cli/src/commands/login-error.js +14 -0
  8. package/dist/cli/src/commands/login-error.js.map +1 -0
  9. package/dist/cli/src/commands/login.d.ts +2 -7
  10. package/dist/cli/src/commands/login.js +23 -52
  11. package/dist/cli/src/commands/login.js.map +1 -1
  12. package/dist/cli/src/commands/sign-in.d.ts +77 -0
  13. package/dist/cli/src/commands/sign-in.js +390 -0
  14. package/dist/cli/src/commands/sign-in.js.map +1 -0
  15. package/dist/cli/src/index.js +2 -1
  16. package/dist/cli/src/index.js.map +1 -1
  17. package/dist/cli/tsconfig.tsbuildinfo +1 -1
  18. package/dist/client-core/src/account-errors.d.ts +17 -0
  19. package/dist/client-core/src/account-errors.js +82 -0
  20. package/dist/client-core/src/account-errors.js.map +1 -0
  21. package/dist/host/src/acp-settings.js +1 -1
  22. package/dist/host/src/acp-settings.js.map +1 -1
  23. package/dist/host/src/computer-preview.d.ts +1 -9
  24. package/dist/host/src/drivers/acp/antigravity.d.ts +13 -0
  25. package/dist/host/src/drivers/acp/antigravity.js +13 -0
  26. package/dist/host/src/drivers/acp/antigravity.js.map +1 -1
  27. package/dist/host/src/drivers/acp/driver.d.ts +14 -1
  28. package/dist/host/src/drivers/acp/driver.js +45 -3
  29. package/dist/host/src/drivers/acp/driver.js.map +1 -1
  30. package/dist/host/src/drivers/acp/mapper.d.ts +2 -0
  31. package/dist/host/src/drivers/acp/mapper.js +6 -1
  32. package/dist/host/src/drivers/acp/mapper.js.map +1 -1
  33. package/dist/host/src/drivers/acp/questions.js +2 -2
  34. package/dist/host/src/drivers/acp/questions.js.map +1 -1
  35. package/dist/host/src/drivers/claude/app-sessions.d.ts +58 -0
  36. package/dist/host/src/drivers/claude/app-sessions.js +183 -0
  37. package/dist/host/src/drivers/claude/app-sessions.js.map +1 -0
  38. package/dist/host/src/drivers/claude/driver.d.ts +22 -1
  39. package/dist/host/src/drivers/claude/driver.js +99 -11
  40. package/dist/host/src/drivers/claude/driver.js.map +1 -1
  41. package/dist/host/src/drivers/claude/holders.d.ts +3 -1
  42. package/dist/host/src/drivers/claude/holders.js +4 -0
  43. package/dist/host/src/drivers/claude/holders.js.map +1 -1
  44. package/dist/host/src/drivers/claude/routing.d.ts +19 -0
  45. package/dist/host/src/drivers/claude/routing.js +145 -0
  46. package/dist/host/src/drivers/claude/routing.js.map +1 -0
  47. package/dist/host/src/drivers/claude/tasks.d.ts +2 -2
  48. package/dist/host/src/drivers/claude/transcript.d.ts +389 -344
  49. package/dist/host/src/drivers/claude/transcript.js +97 -22
  50. package/dist/host/src/drivers/claude/transcript.js.map +1 -1
  51. package/dist/host/src/drivers/codex/driver.d.ts +15 -0
  52. package/dist/host/src/drivers/codex/driver.js +47 -9
  53. package/dist/host/src/drivers/codex/driver.js.map +1 -1
  54. package/dist/host/src/drivers/codex/mapper.d.ts +41 -7
  55. package/dist/host/src/drivers/codex/mapper.js +167 -26
  56. package/dist/host/src/drivers/codex/mapper.js.map +1 -1
  57. package/dist/host/src/drivers/codex/mcp-apps.d.ts +69 -0
  58. package/dist/host/src/drivers/codex/mcp-apps.js +340 -0
  59. package/dist/host/src/drivers/codex/mcp-apps.js.map +1 -0
  60. package/dist/host/src/drivers/codex/settings.d.ts +13 -0
  61. package/dist/host/src/drivers/codex/settings.js +22 -6
  62. package/dist/host/src/drivers/codex/settings.js.map +1 -1
  63. package/dist/host/src/drivers/types.d.ts +50 -1
  64. package/dist/host/src/fs.d.ts +9 -9
  65. package/dist/host/src/hub.d.ts +120 -83
  66. package/dist/host/src/hub.js +157 -13
  67. package/dist/host/src/hub.js.map +1 -1
  68. package/dist/host/src/input.d.ts +43 -89
  69. package/dist/host/src/input.js +1 -1
  70. package/dist/host/src/input.js.map +1 -1
  71. package/dist/host/src/rpc/mcp.d.ts +8 -0
  72. package/dist/host/src/rpc/mcp.js +33 -0
  73. package/dist/host/src/rpc/mcp.js.map +1 -0
  74. package/dist/host/src/rpc/server.js +16 -2
  75. package/dist/host/src/rpc/server.js.map +1 -1
  76. package/dist/host/src/screen-session.d.ts +3 -17
  77. package/dist/host/src/screen-session.js +2 -2
  78. package/dist/host/src/screen-session.js.map +1 -1
  79. package/dist/host/src/store.d.ts +7 -0
  80. package/dist/host/src/store.js +27 -3
  81. package/dist/host/src/store.js.map +1 -1
  82. package/dist/host/src/terminals.d.ts +12 -6
  83. package/dist/host/src/terminals.js +29 -2
  84. package/dist/host/src/terminals.js.map +1 -1
  85. package/dist/host/src/usage.d.ts +5 -0
  86. package/dist/host/src/usage.js +10 -2
  87. package/dist/host/src/usage.js.map +1 -1
  88. package/dist/wire/src/acp.d.ts +68 -430
  89. package/dist/wire/src/acp.js +5 -5
  90. package/dist/wire/src/acp.js.map +1 -1
  91. package/dist/wire/src/async-questions.d.ts +2 -10
  92. package/dist/wire/src/computer-preview.d.ts +1 -15
  93. package/dist/wire/src/computer-preview.js +1 -1
  94. package/dist/wire/src/computer-preview.js.map +1 -1
  95. package/dist/wire/src/content.d.ts +205 -370
  96. package/dist/wire/src/content.js +4 -4
  97. package/dist/wire/src/content.js.map +1 -1
  98. package/dist/wire/src/editor.d.ts +48 -592
  99. package/dist/wire/src/envelopes.d.ts +53 -0
  100. package/dist/wire/src/envelopes.js +263 -0
  101. package/dist/wire/src/envelopes.js.map +1 -0
  102. package/dist/wire/src/goal.d.ts +15 -48
  103. package/dist/wire/src/index.d.ts +2 -0
  104. package/dist/wire/src/index.js +2 -0
  105. package/dist/wire/src/index.js.map +1 -1
  106. package/dist/wire/src/live-activity.d.ts +83 -212
  107. package/dist/wire/src/live-activity.js +1 -1
  108. package/dist/wire/src/live-activity.js.map +1 -1
  109. package/dist/wire/src/model.d.ts +454 -2277
  110. package/dist/wire/src/model.js +24 -0
  111. package/dist/wire/src/model.js.map +1 -1
  112. package/dist/wire/src/relay.d.ts +41 -267
  113. package/dist/wire/src/relay.js +1 -1
  114. package/dist/wire/src/relay.js.map +1 -1
  115. package/dist/wire/src/rpc-mcp.d.ts +84 -0
  116. package/dist/wire/src/rpc-mcp.js +78 -0
  117. package/dist/wire/src/rpc-mcp.js.map +1 -0
  118. package/dist/wire/src/rpc.d.ts +6747 -30929
  119. package/dist/wire/src/rpc.js +35 -7
  120. package/dist/wire/src/rpc.js.map +1 -1
  121. package/dist/wire/src/side.d.ts +13 -61
  122. package/dist/wire/src/updates.d.ts +1743 -6652
  123. package/dist/wire/src/updates.js +14 -1
  124. package/dist/wire/src/updates.js.map +1 -1
  125. package/dist/wire/src/usage.d.ts +17 -195
  126. package/dist/wire/src/watch.d.ts +223 -1141
  127. package/dist/wire/src/workflow.d.ts +46 -139
  128. package/package.json +4 -4
  129. package/src/commands/desktop-workspace.ts +69 -11
  130. package/src/commands/desktop.ts +71 -1
  131. package/src/commands/login-error.ts +12 -0
  132. package/src/commands/login.ts +13 -62
  133. package/src/commands/sign-in.ts +408 -0
  134. package/src/index.ts +2 -1
@@ -52,34 +52,38 @@ export declare const transcriptTimes: WeakMap<{
52
52
  sessionUpdate: "ls_message";
53
53
  messageId: string;
54
54
  role: "user" | "agent" | "thought" | "session";
55
+ parentToolCallId?: string | undefined;
55
56
  content?: ({
56
57
  type: "text";
57
58
  text: string;
58
- annotations?: import("zod").objectOutputType<{
59
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
60
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
61
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
62
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
59
+ annotations?: {
60
+ [x: string]: unknown;
61
+ audience?: ("user" | "assistant")[] | undefined;
62
+ priority?: number | undefined;
63
+ lastModified?: string | undefined;
64
+ } | undefined;
63
65
  _meta?: Record<string, unknown> | undefined;
64
66
  } | {
65
67
  type: "image";
66
68
  mimeType: string;
67
- annotations?: import("zod").objectOutputType<{
68
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
69
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
70
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
71
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
69
+ annotations?: {
70
+ [x: string]: unknown;
71
+ audience?: ("user" | "assistant")[] | undefined;
72
+ priority?: number | undefined;
73
+ lastModified?: string | undefined;
74
+ } | undefined;
72
75
  _meta?: Record<string, unknown> | undefined;
73
76
  data?: string | undefined;
74
77
  uri?: string | undefined;
75
78
  } | {
76
79
  type: "audio";
77
80
  mimeType: string;
78
- annotations?: import("zod").objectOutputType<{
79
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
80
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
81
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
82
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
81
+ annotations?: {
82
+ [x: string]: unknown;
83
+ audience?: ("user" | "assistant")[] | undefined;
84
+ priority?: number | undefined;
85
+ lastModified?: string | undefined;
86
+ } | undefined;
83
87
  _meta?: Record<string, unknown> | undefined;
84
88
  data?: string | undefined;
85
89
  uri?: string | undefined;
@@ -87,67 +91,72 @@ export declare const transcriptTimes: WeakMap<{
87
91
  type: "resource";
88
92
  resource: {
89
93
  uri: string;
90
- text?: string | undefined;
91
- _meta?: Record<string, unknown> | undefined;
92
94
  mimeType?: string | undefined;
95
+ text?: string | undefined;
93
96
  blob?: string | undefined;
94
97
  assetUri?: string | undefined;
98
+ _meta?: Record<string, unknown> | undefined;
95
99
  };
96
- annotations?: import("zod").objectOutputType<{
97
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
98
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
99
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
100
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
100
+ annotations?: {
101
+ [x: string]: unknown;
102
+ audience?: ("user" | "assistant")[] | undefined;
103
+ priority?: number | undefined;
104
+ lastModified?: string | undefined;
105
+ } | undefined;
101
106
  _meta?: Record<string, unknown> | undefined;
102
107
  } | {
103
108
  type: "resource_link";
104
109
  uri: string;
105
110
  name: string;
106
111
  kind?: "file" | "skill" | "agent" | undefined;
107
- annotations?: import("zod").objectOutputType<{
108
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
109
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
110
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
111
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
112
+ annotations?: {
113
+ [x: string]: unknown;
114
+ audience?: ("user" | "assistant")[] | undefined;
115
+ priority?: number | undefined;
116
+ lastModified?: string | undefined;
117
+ } | undefined;
112
118
  _meta?: Record<string, unknown> | undefined;
113
- mimeType?: string | undefined;
114
119
  title?: string | undefined;
115
120
  description?: string | undefined;
121
+ mimeType?: string | undefined;
116
122
  size?: number | undefined;
117
123
  })[] | undefined;
118
- parentToolCallId?: string | undefined;
119
124
  append?: boolean | undefined;
120
125
  senderSessionId?: string | undefined;
121
126
  recipientSessionId?: string | undefined;
122
127
  } | {
128
+ sessionUpdate: "user_message_chunk";
123
129
  content: {
124
130
  type: "text";
125
131
  text: string;
126
- annotations?: import("zod").objectOutputType<{
127
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
128
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
129
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
130
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
132
+ annotations?: {
133
+ [x: string]: unknown;
134
+ audience?: ("user" | "assistant")[] | undefined;
135
+ priority?: number | undefined;
136
+ lastModified?: string | undefined;
137
+ } | undefined;
131
138
  _meta?: Record<string, unknown> | undefined;
132
139
  } | {
133
140
  type: "image";
134
141
  mimeType: string;
135
- annotations?: import("zod").objectOutputType<{
136
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
137
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
138
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
139
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
142
+ annotations?: {
143
+ [x: string]: unknown;
144
+ audience?: ("user" | "assistant")[] | undefined;
145
+ priority?: number | undefined;
146
+ lastModified?: string | undefined;
147
+ } | undefined;
140
148
  _meta?: Record<string, unknown> | undefined;
141
149
  data?: string | undefined;
142
150
  uri?: string | undefined;
143
151
  } | {
144
152
  type: "audio";
145
153
  mimeType: string;
146
- annotations?: import("zod").objectOutputType<{
147
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
148
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
149
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
150
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
154
+ annotations?: {
155
+ [x: string]: unknown;
156
+ audience?: ("user" | "assistant")[] | undefined;
157
+ priority?: number | undefined;
158
+ lastModified?: string | undefined;
159
+ } | undefined;
151
160
  _meta?: Record<string, unknown> | undefined;
152
161
  data?: string | undefined;
153
162
  uri?: string | undefined;
@@ -155,65 +164,71 @@ export declare const transcriptTimes: WeakMap<{
155
164
  type: "resource";
156
165
  resource: {
157
166
  uri: string;
158
- text?: string | undefined;
159
- _meta?: Record<string, unknown> | undefined;
160
167
  mimeType?: string | undefined;
168
+ text?: string | undefined;
161
169
  blob?: string | undefined;
162
170
  assetUri?: string | undefined;
171
+ _meta?: Record<string, unknown> | undefined;
163
172
  };
164
- annotations?: import("zod").objectOutputType<{
165
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
166
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
167
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
168
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
173
+ annotations?: {
174
+ [x: string]: unknown;
175
+ audience?: ("user" | "assistant")[] | undefined;
176
+ priority?: number | undefined;
177
+ lastModified?: string | undefined;
178
+ } | undefined;
169
179
  _meta?: Record<string, unknown> | undefined;
170
180
  } | {
171
181
  type: "resource_link";
172
182
  uri: string;
173
183
  name: string;
174
184
  kind?: "file" | "skill" | "agent" | undefined;
175
- annotations?: import("zod").objectOutputType<{
176
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
177
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
178
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
179
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
185
+ annotations?: {
186
+ [x: string]: unknown;
187
+ audience?: ("user" | "assistant")[] | undefined;
188
+ priority?: number | undefined;
189
+ lastModified?: string | undefined;
190
+ } | undefined;
180
191
  _meta?: Record<string, unknown> | undefined;
181
- mimeType?: string | undefined;
182
192
  title?: string | undefined;
183
193
  description?: string | undefined;
194
+ mimeType?: string | undefined;
184
195
  size?: number | undefined;
185
196
  };
186
- sessionUpdate: "user_message_chunk";
187
197
  messageId?: string | undefined;
188
198
  } | {
199
+ sessionUpdate: "agent_message_chunk";
200
+ messageId: string;
189
201
  content: {
190
202
  type: "text";
191
203
  text: string;
192
- annotations?: import("zod").objectOutputType<{
193
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
194
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
195
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
196
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
204
+ annotations?: {
205
+ [x: string]: unknown;
206
+ audience?: ("user" | "assistant")[] | undefined;
207
+ priority?: number | undefined;
208
+ lastModified?: string | undefined;
209
+ } | undefined;
197
210
  _meta?: Record<string, unknown> | undefined;
198
211
  } | {
199
212
  type: "image";
200
213
  mimeType: string;
201
- annotations?: import("zod").objectOutputType<{
202
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
203
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
204
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
205
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
214
+ annotations?: {
215
+ [x: string]: unknown;
216
+ audience?: ("user" | "assistant")[] | undefined;
217
+ priority?: number | undefined;
218
+ lastModified?: string | undefined;
219
+ } | undefined;
206
220
  _meta?: Record<string, unknown> | undefined;
207
221
  data?: string | undefined;
208
222
  uri?: string | undefined;
209
223
  } | {
210
224
  type: "audio";
211
225
  mimeType: string;
212
- annotations?: import("zod").objectOutputType<{
213
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
214
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
215
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
216
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
226
+ annotations?: {
227
+ [x: string]: unknown;
228
+ audience?: ("user" | "assistant")[] | undefined;
229
+ priority?: number | undefined;
230
+ lastModified?: string | undefined;
231
+ } | undefined;
217
232
  _meta?: Record<string, unknown> | undefined;
218
233
  data?: string | undefined;
219
234
  uri?: string | undefined;
@@ -221,66 +236,71 @@ export declare const transcriptTimes: WeakMap<{
221
236
  type: "resource";
222
237
  resource: {
223
238
  uri: string;
224
- text?: string | undefined;
225
- _meta?: Record<string, unknown> | undefined;
226
239
  mimeType?: string | undefined;
240
+ text?: string | undefined;
227
241
  blob?: string | undefined;
228
242
  assetUri?: string | undefined;
243
+ _meta?: Record<string, unknown> | undefined;
229
244
  };
230
- annotations?: import("zod").objectOutputType<{
231
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
232
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
233
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
234
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
245
+ annotations?: {
246
+ [x: string]: unknown;
247
+ audience?: ("user" | "assistant")[] | undefined;
248
+ priority?: number | undefined;
249
+ lastModified?: string | undefined;
250
+ } | undefined;
235
251
  _meta?: Record<string, unknown> | undefined;
236
252
  } | {
237
253
  type: "resource_link";
238
254
  uri: string;
239
255
  name: string;
240
256
  kind?: "file" | "skill" | "agent" | undefined;
241
- annotations?: import("zod").objectOutputType<{
242
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
243
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
244
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
245
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
257
+ annotations?: {
258
+ [x: string]: unknown;
259
+ audience?: ("user" | "assistant")[] | undefined;
260
+ priority?: number | undefined;
261
+ lastModified?: string | undefined;
262
+ } | undefined;
246
263
  _meta?: Record<string, unknown> | undefined;
247
- mimeType?: string | undefined;
248
264
  title?: string | undefined;
249
265
  description?: string | undefined;
266
+ mimeType?: string | undefined;
250
267
  size?: number | undefined;
251
268
  };
252
- sessionUpdate: "agent_message_chunk";
253
- messageId: string;
254
269
  parentToolCallId?: string | undefined;
255
270
  } | {
271
+ sessionUpdate: "agent_thought_chunk";
272
+ messageId: string;
256
273
  content: {
257
274
  type: "text";
258
275
  text: string;
259
- annotations?: import("zod").objectOutputType<{
260
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
261
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
262
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
263
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
276
+ annotations?: {
277
+ [x: string]: unknown;
278
+ audience?: ("user" | "assistant")[] | undefined;
279
+ priority?: number | undefined;
280
+ lastModified?: string | undefined;
281
+ } | undefined;
264
282
  _meta?: Record<string, unknown> | undefined;
265
283
  } | {
266
284
  type: "image";
267
285
  mimeType: string;
268
- annotations?: import("zod").objectOutputType<{
269
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
270
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
271
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
272
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
286
+ annotations?: {
287
+ [x: string]: unknown;
288
+ audience?: ("user" | "assistant")[] | undefined;
289
+ priority?: number | undefined;
290
+ lastModified?: string | undefined;
291
+ } | undefined;
273
292
  _meta?: Record<string, unknown> | undefined;
274
293
  data?: string | undefined;
275
294
  uri?: string | undefined;
276
295
  } | {
277
296
  type: "audio";
278
297
  mimeType: string;
279
- annotations?: import("zod").objectOutputType<{
280
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
281
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
282
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
283
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
298
+ annotations?: {
299
+ [x: string]: unknown;
300
+ audience?: ("user" | "assistant")[] | undefined;
301
+ priority?: number | undefined;
302
+ lastModified?: string | undefined;
303
+ } | undefined;
284
304
  _meta?: Record<string, unknown> | undefined;
285
305
  data?: string | undefined;
286
306
  uri?: string | undefined;
@@ -288,74 +308,80 @@ export declare const transcriptTimes: WeakMap<{
288
308
  type: "resource";
289
309
  resource: {
290
310
  uri: string;
291
- text?: string | undefined;
292
- _meta?: Record<string, unknown> | undefined;
293
311
  mimeType?: string | undefined;
312
+ text?: string | undefined;
294
313
  blob?: string | undefined;
295
314
  assetUri?: string | undefined;
315
+ _meta?: Record<string, unknown> | undefined;
296
316
  };
297
- annotations?: import("zod").objectOutputType<{
298
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
299
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
300
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
301
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
317
+ annotations?: {
318
+ [x: string]: unknown;
319
+ audience?: ("user" | "assistant")[] | undefined;
320
+ priority?: number | undefined;
321
+ lastModified?: string | undefined;
322
+ } | undefined;
302
323
  _meta?: Record<string, unknown> | undefined;
303
324
  } | {
304
325
  type: "resource_link";
305
326
  uri: string;
306
327
  name: string;
307
328
  kind?: "file" | "skill" | "agent" | undefined;
308
- annotations?: import("zod").objectOutputType<{
309
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
310
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
311
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
312
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
329
+ annotations?: {
330
+ [x: string]: unknown;
331
+ audience?: ("user" | "assistant")[] | undefined;
332
+ priority?: number | undefined;
333
+ lastModified?: string | undefined;
334
+ } | undefined;
313
335
  _meta?: Record<string, unknown> | undefined;
314
- mimeType?: string | undefined;
315
336
  title?: string | undefined;
316
337
  description?: string | undefined;
338
+ mimeType?: string | undefined;
317
339
  size?: number | undefined;
318
340
  };
319
- sessionUpdate: "agent_thought_chunk";
320
- messageId: string;
321
341
  parentToolCallId?: string | undefined;
322
342
  } | {
343
+ sessionUpdate: "tool_call";
344
+ toolCallId: string;
345
+ title: string;
323
346
  kind: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode";
324
347
  status: "pending" | "in_progress" | "completed" | "failed";
325
- title: string;
326
- toolCallId: string;
327
- sessionUpdate: "tool_call";
348
+ parentToolCallId?: string | undefined;
328
349
  name?: string | undefined;
350
+ rawInput?: unknown;
351
+ rawOutput?: unknown;
329
352
  content?: ({
330
353
  type: "content";
331
354
  content: {
332
355
  type: "text";
333
356
  text: string;
334
- annotations?: import("zod").objectOutputType<{
335
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
336
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
337
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
338
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
357
+ annotations?: {
358
+ [x: string]: unknown;
359
+ audience?: ("user" | "assistant")[] | undefined;
360
+ priority?: number | undefined;
361
+ lastModified?: string | undefined;
362
+ } | undefined;
339
363
  _meta?: Record<string, unknown> | undefined;
340
364
  } | {
341
365
  type: "image";
342
366
  mimeType: string;
343
- annotations?: import("zod").objectOutputType<{
344
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
345
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
346
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
347
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
367
+ annotations?: {
368
+ [x: string]: unknown;
369
+ audience?: ("user" | "assistant")[] | undefined;
370
+ priority?: number | undefined;
371
+ lastModified?: string | undefined;
372
+ } | undefined;
348
373
  _meta?: Record<string, unknown> | undefined;
349
374
  data?: string | undefined;
350
375
  uri?: string | undefined;
351
376
  } | {
352
377
  type: "audio";
353
378
  mimeType: string;
354
- annotations?: import("zod").objectOutputType<{
355
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
356
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
357
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
358
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
379
+ annotations?: {
380
+ [x: string]: unknown;
381
+ audience?: ("user" | "assistant")[] | undefined;
382
+ priority?: number | undefined;
383
+ lastModified?: string | undefined;
384
+ } | undefined;
359
385
  _meta?: Record<string, unknown> | undefined;
360
386
  data?: string | undefined;
361
387
  uri?: string | undefined;
@@ -363,52 +389,51 @@ export declare const transcriptTimes: WeakMap<{
363
389
  type: "resource";
364
390
  resource: {
365
391
  uri: string;
366
- text?: string | undefined;
367
- _meta?: Record<string, unknown> | undefined;
368
392
  mimeType?: string | undefined;
393
+ text?: string | undefined;
369
394
  blob?: string | undefined;
370
395
  assetUri?: string | undefined;
396
+ _meta?: Record<string, unknown> | undefined;
371
397
  };
372
- annotations?: import("zod").objectOutputType<{
373
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
374
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
375
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
376
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
398
+ annotations?: {
399
+ [x: string]: unknown;
400
+ audience?: ("user" | "assistant")[] | undefined;
401
+ priority?: number | undefined;
402
+ lastModified?: string | undefined;
403
+ } | undefined;
377
404
  _meta?: Record<string, unknown> | undefined;
378
405
  } | {
379
406
  type: "resource_link";
380
407
  uri: string;
381
408
  name: string;
382
409
  kind?: "file" | "skill" | "agent" | undefined;
383
- annotations?: import("zod").objectOutputType<{
384
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
385
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
386
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
387
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
410
+ annotations?: {
411
+ [x: string]: unknown;
412
+ audience?: ("user" | "assistant")[] | undefined;
413
+ priority?: number | undefined;
414
+ lastModified?: string | undefined;
415
+ } | undefined;
388
416
  _meta?: Record<string, unknown> | undefined;
389
- mimeType?: string | undefined;
390
417
  title?: string | undefined;
391
418
  description?: string | undefined;
419
+ mimeType?: string | undefined;
392
420
  size?: number | undefined;
393
421
  };
394
422
  } | {
395
- path: string;
396
423
  type: "diff";
424
+ path: string;
397
425
  newText: string;
398
426
  oldText?: string | null | undefined;
399
427
  } | {
400
- path: string;
401
428
  type: "patch";
402
- diff: string;
429
+ path: string;
403
430
  change: "add" | "delete" | "update";
431
+ diff: string;
404
432
  movePath?: string | undefined;
405
433
  } | {
406
434
  type: "terminal";
407
435
  terminalId: string;
408
436
  })[] | undefined;
409
- parentToolCallId?: string | undefined;
410
- rawInput?: unknown;
411
- rawOutput?: unknown;
412
437
  locations?: {
413
438
  path: string;
414
439
  line?: number | undefined;
@@ -417,35 +442,40 @@ export declare const transcriptTimes: WeakMap<{
417
442
  type: "mcp";
418
443
  server: string;
419
444
  tool: string;
445
+ app?: {
446
+ resourceUri: string;
447
+ displayMode?: "inline" | "fullscreen" | undefined;
448
+ connector?: string | undefined;
449
+ } | undefined;
420
450
  } | {
421
451
  type: "subagent";
422
452
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
423
- name?: string | undefined;
424
- state?: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped" | undefined;
425
- model?: string | undefined;
426
453
  task?: string | undefined;
427
454
  agentType?: string | undefined;
455
+ name?: string | undefined;
428
456
  nativeSessionId?: string | undefined;
429
457
  canCancel?: boolean | undefined;
458
+ model?: string | undefined;
459
+ state?: "paused" | "unknown" | "pending" | "completed" | "failed" | "running" | "stopped" | undefined;
430
460
  workflow?: {
461
+ runId?: string | undefined;
431
462
  name?: string | undefined;
432
- completed?: number | undefined;
433
463
  state?: "paused" | "completed" | "failed" | "running" | "stopped" | undefined;
464
+ started?: number | undefined;
465
+ completed?: number | undefined;
434
466
  tokens?: number | undefined;
435
467
  durationMs?: number | undefined;
436
468
  startedAt?: number | undefined;
437
469
  endedAt?: number | undefined;
438
- runId?: string | undefined;
439
- started?: number | undefined;
440
470
  phases?: {
441
- title: string;
442
471
  id: string;
472
+ title: string;
443
473
  order: number;
444
474
  }[] | undefined;
445
475
  agents?: {
446
- title: string;
447
476
  id: string;
448
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
477
+ title: string;
478
+ state: "paused" | "unknown" | "pending" | "completed" | "failed" | "running" | "stopped";
449
479
  toolCallId?: string | undefined;
450
480
  phaseId?: string | undefined;
451
481
  model?: string | undefined;
@@ -478,95 +508,14 @@ export declare const transcriptTimes: WeakMap<{
478
508
  more?: number | undefined;
479
509
  } | undefined;
480
510
  } | {
481
- toolCallId: string;
482
511
  sessionUpdate: "tool_call_update";
483
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
512
+ toolCallId: string;
513
+ parentToolCallId?: string | undefined;
484
514
  status?: "pending" | "in_progress" | "completed" | "failed" | undefined;
485
- name?: string | undefined;
486
515
  title?: string | undefined;
487
- content?: ({
488
- type: "content";
489
- content: {
490
- type: "text";
491
- text: string;
492
- annotations?: import("zod").objectOutputType<{
493
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
494
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
495
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
496
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
497
- _meta?: Record<string, unknown> | undefined;
498
- } | {
499
- type: "image";
500
- mimeType: string;
501
- annotations?: import("zod").objectOutputType<{
502
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
503
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
504
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
505
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
506
- _meta?: Record<string, unknown> | undefined;
507
- data?: string | undefined;
508
- uri?: string | undefined;
509
- } | {
510
- type: "audio";
511
- mimeType: string;
512
- annotations?: import("zod").objectOutputType<{
513
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
514
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
515
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
516
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
517
- _meta?: Record<string, unknown> | undefined;
518
- data?: string | undefined;
519
- uri?: string | undefined;
520
- } | {
521
- type: "resource";
522
- resource: {
523
- uri: string;
524
- text?: string | undefined;
525
- _meta?: Record<string, unknown> | undefined;
526
- mimeType?: string | undefined;
527
- blob?: string | undefined;
528
- assetUri?: string | undefined;
529
- };
530
- annotations?: import("zod").objectOutputType<{
531
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
532
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
533
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
534
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
535
- _meta?: Record<string, unknown> | undefined;
536
- } | {
537
- type: "resource_link";
538
- uri: string;
539
- name: string;
540
- kind?: "file" | "skill" | "agent" | undefined;
541
- annotations?: import("zod").objectOutputType<{
542
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
543
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
544
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
545
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
546
- _meta?: Record<string, unknown> | undefined;
547
- mimeType?: string | undefined;
548
- title?: string | undefined;
549
- description?: string | undefined;
550
- size?: number | undefined;
551
- };
552
- } | {
553
- path: string;
554
- type: "diff";
555
- newText: string;
556
- oldText?: string | null | undefined;
557
- } | {
558
- path: string;
559
- type: "patch";
560
- diff: string;
561
- change: "add" | "delete" | "update";
562
- movePath?: string | undefined;
563
- } | {
564
- type: "terminal";
565
- terminalId: string;
566
- })[] | undefined;
567
- parentToolCallId?: string | undefined;
516
+ name?: string | undefined;
517
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
568
518
  rawInput?: unknown;
569
- rawOutput?: unknown;
570
519
  locations?: {
571
520
  path: string;
572
521
  line?: number | undefined;
@@ -575,35 +524,40 @@ export declare const transcriptTimes: WeakMap<{
575
524
  type: "mcp";
576
525
  server: string;
577
526
  tool: string;
527
+ app?: {
528
+ resourceUri: string;
529
+ displayMode?: "inline" | "fullscreen" | undefined;
530
+ connector?: string | undefined;
531
+ } | undefined;
578
532
  } | {
579
533
  type: "subagent";
580
534
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
581
- name?: string | undefined;
582
- state?: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped" | undefined;
583
- model?: string | undefined;
584
535
  task?: string | undefined;
585
536
  agentType?: string | undefined;
537
+ name?: string | undefined;
586
538
  nativeSessionId?: string | undefined;
587
539
  canCancel?: boolean | undefined;
540
+ model?: string | undefined;
541
+ state?: "paused" | "unknown" | "pending" | "completed" | "failed" | "running" | "stopped" | undefined;
588
542
  workflow?: {
543
+ runId?: string | undefined;
589
544
  name?: string | undefined;
590
- completed?: number | undefined;
591
545
  state?: "paused" | "completed" | "failed" | "running" | "stopped" | undefined;
546
+ started?: number | undefined;
547
+ completed?: number | undefined;
592
548
  tokens?: number | undefined;
593
549
  durationMs?: number | undefined;
594
550
  startedAt?: number | undefined;
595
551
  endedAt?: number | undefined;
596
- runId?: string | undefined;
597
- started?: number | undefined;
598
552
  phases?: {
599
- title: string;
600
553
  id: string;
554
+ title: string;
601
555
  order: number;
602
556
  }[] | undefined;
603
557
  agents?: {
604
- title: string;
605
558
  id: string;
606
- state: "unknown" | "paused" | "pending" | "completed" | "failed" | "running" | "stopped";
559
+ title: string;
560
+ state: "paused" | "unknown" | "pending" | "completed" | "failed" | "running" | "stopped";
607
561
  toolCallId?: string | undefined;
608
562
  phaseId?: string | undefined;
609
563
  model?: string | undefined;
@@ -635,20 +589,106 @@ export declare const transcriptTimes: WeakMap<{
635
589
  text: string;
636
590
  more?: number | undefined;
637
591
  } | undefined;
592
+ content?: ({
593
+ type: "content";
594
+ content: {
595
+ type: "text";
596
+ text: string;
597
+ annotations?: {
598
+ [x: string]: unknown;
599
+ audience?: ("user" | "assistant")[] | undefined;
600
+ priority?: number | undefined;
601
+ lastModified?: string | undefined;
602
+ } | undefined;
603
+ _meta?: Record<string, unknown> | undefined;
604
+ } | {
605
+ type: "image";
606
+ mimeType: string;
607
+ annotations?: {
608
+ [x: string]: unknown;
609
+ audience?: ("user" | "assistant")[] | undefined;
610
+ priority?: number | undefined;
611
+ lastModified?: string | undefined;
612
+ } | undefined;
613
+ _meta?: Record<string, unknown> | undefined;
614
+ data?: string | undefined;
615
+ uri?: string | undefined;
616
+ } | {
617
+ type: "audio";
618
+ mimeType: string;
619
+ annotations?: {
620
+ [x: string]: unknown;
621
+ audience?: ("user" | "assistant")[] | undefined;
622
+ priority?: number | undefined;
623
+ lastModified?: string | undefined;
624
+ } | undefined;
625
+ _meta?: Record<string, unknown> | undefined;
626
+ data?: string | undefined;
627
+ uri?: string | undefined;
628
+ } | {
629
+ type: "resource";
630
+ resource: {
631
+ uri: string;
632
+ mimeType?: string | undefined;
633
+ text?: string | undefined;
634
+ blob?: string | undefined;
635
+ assetUri?: string | undefined;
636
+ _meta?: Record<string, unknown> | undefined;
637
+ };
638
+ annotations?: {
639
+ [x: string]: unknown;
640
+ audience?: ("user" | "assistant")[] | undefined;
641
+ priority?: number | undefined;
642
+ lastModified?: string | undefined;
643
+ } | undefined;
644
+ _meta?: Record<string, unknown> | undefined;
645
+ } | {
646
+ type: "resource_link";
647
+ uri: string;
648
+ name: string;
649
+ kind?: "file" | "skill" | "agent" | undefined;
650
+ annotations?: {
651
+ [x: string]: unknown;
652
+ audience?: ("user" | "assistant")[] | undefined;
653
+ priority?: number | undefined;
654
+ lastModified?: string | undefined;
655
+ } | undefined;
656
+ _meta?: Record<string, unknown> | undefined;
657
+ title?: string | undefined;
658
+ description?: string | undefined;
659
+ mimeType?: string | undefined;
660
+ size?: number | undefined;
661
+ };
662
+ } | {
663
+ type: "diff";
664
+ path: string;
665
+ newText: string;
666
+ oldText?: string | null | undefined;
667
+ } | {
668
+ type: "patch";
669
+ path: string;
670
+ change: "add" | "delete" | "update";
671
+ diff: string;
672
+ movePath?: string | undefined;
673
+ } | {
674
+ type: "terminal";
675
+ terminalId: string;
676
+ })[] | undefined;
638
677
  appendOutput?: string | undefined;
639
678
  replaceOutput?: string | undefined;
640
679
  replaceContent?: boolean | undefined;
680
+ rawOutput?: unknown;
641
681
  } | {
682
+ sessionUpdate: "plan";
642
683
  entries: {
643
- status: "pending" | "in_progress" | "completed";
644
- priority: "high" | "medium" | "low";
645
684
  content: string;
685
+ priority: "high" | "medium" | "low";
686
+ status: "pending" | "in_progress" | "completed";
646
687
  }[];
647
- sessionUpdate: "plan";
648
- path?: string | null | undefined;
649
- title?: string | undefined;
650
688
  planId?: string | undefined;
689
+ title?: string | undefined;
651
690
  markdown?: string | null | undefined;
691
+ path?: string | null | undefined;
652
692
  removed?: boolean | undefined;
653
693
  } | {
654
694
  sessionUpdate: "ls_goal";
@@ -674,18 +714,10 @@ export declare const transcriptTimes: WeakMap<{
674
714
  } | {
675
715
  sessionUpdate: "session_info_update";
676
716
  title?: string | null | undefined;
677
- model?: string | undefined;
678
717
  updatedAt?: string | null | undefined;
718
+ model?: string | undefined;
679
719
  } | {
680
720
  sessionUpdate: "usage_update";
681
- tokens?: {
682
- totalTokens: number;
683
- inputTokens: number;
684
- outputTokens: number;
685
- thoughtTokens?: number | null | undefined;
686
- cachedReadTokens?: number | null | undefined;
687
- cachedWriteTokens?: number | null | undefined;
688
- } | undefined;
689
721
  accounting?: {
690
722
  id: string;
691
723
  scope: "session" | "turn";
@@ -698,12 +730,20 @@ export declare const transcriptTimes: WeakMap<{
698
730
  amount: number;
699
731
  currency: string;
700
732
  } | null | undefined;
733
+ tokens?: {
734
+ totalTokens: number;
735
+ inputTokens: number;
736
+ outputTokens: number;
737
+ thoughtTokens?: number | null | undefined;
738
+ cachedReadTokens?: number | null | undefined;
739
+ cachedWriteTokens?: number | null | undefined;
740
+ } | undefined;
701
741
  } | {
702
742
  sessionUpdate: "ls_async_questions";
703
743
  questions: {
704
- options: string[];
705
- title: string;
706
744
  id: string;
745
+ title: string;
746
+ options: string[];
707
747
  }[];
708
748
  } | {
709
749
  sessionUpdate: "ls_message_done";
@@ -711,80 +751,86 @@ export declare const transcriptTimes: WeakMap<{
711
751
  role: "user" | "agent" | "thought";
712
752
  parentToolCallId?: string | undefined;
713
753
  questions?: {
714
- options: string[];
715
- title: string;
716
754
  id: string;
755
+ title: string;
756
+ options: string[];
717
757
  }[] | undefined;
718
758
  } | {
759
+ sessionUpdate: "ls_config";
719
760
  options: {
761
+ id: string;
762
+ name: string;
763
+ category: "mode" | "model" | "model_config" | "effort" | "other";
764
+ current: string;
720
765
  values: {
721
766
  value: string;
722
767
  name: string;
723
768
  description?: string | undefined;
724
769
  group?: string | undefined;
725
770
  }[];
726
- name: string;
727
- id: string;
728
- category: "mode" | "model" | "model_config" | "effort" | "other";
729
- current: string;
730
- type?: "boolean" | "select" | undefined;
731
771
  description?: string | undefined;
772
+ type?: "boolean" | "select" | undefined;
732
773
  }[];
733
- sessionUpdate: "ls_config";
734
774
  } | {
735
- title: string;
736
775
  sessionUpdate: "ls_notice";
737
776
  level: "info" | "warning";
777
+ title: string;
738
778
  detail?: string | undefined;
739
779
  } | {
740
- state: "started" | "ended";
741
780
  sessionUpdate: "ls_turn";
781
+ state: "started" | "ended";
742
782
  parentToolCallId?: string | undefined;
743
783
  turnId?: string | undefined;
744
- stopReason?: "unknown" | "end_turn" | "cancelled" | "error" | "max_tokens" | "max_turn_requests" | "refusal" | undefined;
784
+ stopReason?: "error" | "unknown" | "end_turn" | "cancelled" | "max_tokens" | "max_turn_requests" | "refusal" | undefined;
745
785
  } | {
786
+ sessionUpdate: "ls_permission";
787
+ requestId: string;
788
+ title: string;
746
789
  options: {
747
- kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
748
- name: string;
749
790
  optionId: string;
791
+ name: string;
792
+ kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
750
793
  }[];
751
- title: string;
752
- sessionUpdate: "ls_permission";
753
- requestId: string;
794
+ childSessionId?: string | undefined;
754
795
  toolCallId?: string | undefined;
796
+ detail?: string | undefined;
755
797
  tool?: {
756
- kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
757
798
  title?: string | undefined;
799
+ kind?: "search" | "delete" | "other" | "read" | "edit" | "move" | "execute" | "think" | "fetch" | "switch_mode" | undefined;
800
+ rawInput?: unknown;
758
801
  content?: ({
759
802
  type: "content";
760
803
  content: {
761
804
  type: "text";
762
805
  text: string;
763
- annotations?: import("zod").objectOutputType<{
764
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
765
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
766
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
767
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
806
+ annotations?: {
807
+ [x: string]: unknown;
808
+ audience?: ("user" | "assistant")[] | undefined;
809
+ priority?: number | undefined;
810
+ lastModified?: string | undefined;
811
+ } | undefined;
768
812
  _meta?: Record<string, unknown> | undefined;
769
813
  } | {
770
814
  type: "image";
771
815
  mimeType: string;
772
- annotations?: import("zod").objectOutputType<{
773
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
774
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
775
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
776
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
816
+ annotations?: {
817
+ [x: string]: unknown;
818
+ audience?: ("user" | "assistant")[] | undefined;
819
+ priority?: number | undefined;
820
+ lastModified?: string | undefined;
821
+ } | undefined;
777
822
  _meta?: Record<string, unknown> | undefined;
778
823
  data?: string | undefined;
779
824
  uri?: string | undefined;
780
825
  } | {
781
826
  type: "audio";
782
827
  mimeType: string;
783
- annotations?: import("zod").objectOutputType<{
784
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
785
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
786
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
787
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
828
+ annotations?: {
829
+ [x: string]: unknown;
830
+ audience?: ("user" | "assistant")[] | undefined;
831
+ priority?: number | undefined;
832
+ lastModified?: string | undefined;
833
+ } | undefined;
788
834
  _meta?: Record<string, unknown> | undefined;
789
835
  data?: string | undefined;
790
836
  uri?: string | undefined;
@@ -792,68 +838,66 @@ export declare const transcriptTimes: WeakMap<{
792
838
  type: "resource";
793
839
  resource: {
794
840
  uri: string;
795
- text?: string | undefined;
796
- _meta?: Record<string, unknown> | undefined;
797
841
  mimeType?: string | undefined;
842
+ text?: string | undefined;
798
843
  blob?: string | undefined;
799
844
  assetUri?: string | undefined;
845
+ _meta?: Record<string, unknown> | undefined;
800
846
  };
801
- annotations?: import("zod").objectOutputType<{
802
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
803
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
804
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
805
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
847
+ annotations?: {
848
+ [x: string]: unknown;
849
+ audience?: ("user" | "assistant")[] | undefined;
850
+ priority?: number | undefined;
851
+ lastModified?: string | undefined;
852
+ } | undefined;
806
853
  _meta?: Record<string, unknown> | undefined;
807
854
  } | {
808
855
  type: "resource_link";
809
856
  uri: string;
810
857
  name: string;
811
858
  kind?: "file" | "skill" | "agent" | undefined;
812
- annotations?: import("zod").objectOutputType<{
813
- audience: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodEnum<["user", "assistant"]>, "many">>>, ("user" | "assistant")[] | undefined, ("user" | "assistant")[] | null | undefined>;
814
- priority: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | undefined, number | null | undefined>;
815
- lastModified: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | undefined, string | null | undefined>;
816
- }, import("zod").ZodTypeAny, "passthrough"> | undefined;
859
+ annotations?: {
860
+ [x: string]: unknown;
861
+ audience?: ("user" | "assistant")[] | undefined;
862
+ priority?: number | undefined;
863
+ lastModified?: string | undefined;
864
+ } | undefined;
817
865
  _meta?: Record<string, unknown> | undefined;
818
- mimeType?: string | undefined;
819
866
  title?: string | undefined;
820
867
  description?: string | undefined;
868
+ mimeType?: string | undefined;
821
869
  size?: number | undefined;
822
870
  };
823
871
  } | {
824
- path: string;
825
872
  type: "diff";
873
+ path: string;
826
874
  newText: string;
827
875
  oldText?: string | null | undefined;
828
876
  } | {
829
- path: string;
830
877
  type: "patch";
831
- diff: string;
878
+ path: string;
832
879
  change: "add" | "delete" | "update";
880
+ diff: string;
833
881
  movePath?: string | undefined;
834
882
  } | {
835
883
  type: "terminal";
836
884
  terminalId: string;
837
885
  })[] | undefined;
838
- rawInput?: unknown;
839
886
  locations?: {
840
887
  path: string;
841
888
  line?: number | undefined;
842
889
  }[] | undefined;
843
890
  } | undefined;
844
- detail?: string | undefined;
891
+ url?: {
892
+ url: string;
893
+ elicitationId: string;
894
+ } | undefined;
845
895
  questions?: {
846
- kind: "text" | "choice" | "choices";
847
- text: string;
848
896
  id: string;
849
- options?: {
850
- value: string;
851
- label: string;
852
- description?: string | undefined;
853
- }[] | undefined;
854
- other?: boolean | undefined;
897
+ text: string;
898
+ kind: "text" | "choice" | "choices";
855
899
  constraints?: {
856
- type: "string" | "number" | "boolean" | "integer" | "array";
900
+ type: "string" | "number" | "boolean" | "array" | "integer";
857
901
  minimum?: number | undefined;
858
902
  maximum?: number | undefined;
859
903
  minLength?: number | undefined;
@@ -865,21 +909,22 @@ export declare const transcriptTimes: WeakMap<{
865
909
  } | undefined;
866
910
  defaults?: string[] | undefined;
867
911
  header?: string | undefined;
912
+ options?: {
913
+ value: string;
914
+ label: string;
915
+ description?: string | undefined;
916
+ }[] | undefined;
917
+ other?: boolean | undefined;
868
918
  secret?: boolean | undefined;
869
919
  required?: boolean | undefined;
870
920
  }[] | undefined;
871
- childSessionId?: string | undefined;
872
- url?: {
873
- url: string;
874
- elicitationId: string;
875
- } | undefined;
876
921
  } | {
877
922
  sessionUpdate: "ls_permission_resolved";
878
923
  requestId: string;
879
924
  optionId?: string | undefined;
880
925
  answers?: {
881
- values: string[];
882
926
  id: string;
927
+ values: string[];
883
928
  other?: string | undefined;
884
929
  }[] | undefined;
885
930
  } | {
@@ -887,30 +932,30 @@ export declare const transcriptTimes: WeakMap<{
887
932
  driver: "desktop" | "remote" | "none";
888
933
  deviceId?: string | undefined;
889
934
  } | {
890
- state: "unknown" | "running" | "error" | "idle" | "waiting" | "offline";
891
935
  sessionUpdate: "ls_status";
936
+ state: "error" | "unknown" | "running" | "idle" | "waiting" | "offline";
892
937
  turnActive?: boolean | undefined;
893
938
  } | {
939
+ sessionUpdate: "ls_task";
894
940
  task: {
941
+ id: string;
895
942
  kind: "shell" | "monitor";
896
943
  title: string;
897
- id: string;
898
944
  state: "unknown" | "completed" | "failed" | "running" | "stopped";
899
945
  startedAt: number;
900
946
  toolCallId?: string | undefined;
901
- endedAt?: number | undefined;
902
947
  command?: string | undefined;
948
+ endedAt?: number | undefined;
903
949
  summary?: string | undefined;
904
950
  exitCode?: number | undefined;
905
951
  output?: boolean | undefined;
906
952
  canStop?: boolean | undefined;
907
953
  lastSeq?: number | undefined;
908
954
  };
909
- sessionUpdate: "ls_task";
910
955
  } | {
956
+ sessionUpdate: "ls_error";
911
957
  code: string;
912
958
  message: string;
913
- sessionUpdate: "ls_error";
914
959
  hint?: string | undefined;
915
960
  }, number>;
916
961
  /**