@dxos/plugin-thread 0.8.4-main.937b3ca → 0.8.4-main.9735255

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 (63) hide show
  1. package/dist/lib/browser/{app-graph-builder-SPAZN5XL.mjs → app-graph-builder-7C2QW32W.mjs} +2 -2
  2. package/dist/lib/browser/{call-manager-YBRTG6T3.mjs → call-manager-4P536YNX.mjs} +2 -2
  3. package/dist/lib/browser/{chunk-TAWDJPMD.mjs → chunk-2FIHSX35.mjs} +2 -2
  4. package/dist/lib/browser/chunk-2FIHSX35.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-VZICDGBW.mjs → chunk-YSHXWAL3.mjs} +19 -17
  6. package/dist/lib/browser/{chunk-VZICDGBW.mjs.map → chunk-YSHXWAL3.mjs.map} +3 -3
  7. package/dist/lib/browser/index.mjs +10 -10
  8. package/dist/lib/browser/{markdown-TSXOA3GV.mjs → markdown-QMJLRR6R.mjs} +2 -2
  9. package/dist/lib/browser/meta.json +1 -1
  10. package/dist/lib/browser/{operation-resolver-MDMEBYH2.mjs → operation-resolver-T63EP5TY.mjs} +2 -2
  11. package/dist/lib/browser/{react-root-Q7U5D3DA.mjs → react-root-56MJI77R.mjs} +3 -3
  12. package/dist/lib/browser/{react-surface-WDZQSDWH.mjs → react-surface-DMBHQOXJ.mjs} +3 -3
  13. package/dist/lib/browser/{repair-TDKAFAGH.mjs → repair-6OZ75AUU.mjs} +2 -2
  14. package/dist/lib/browser/{settings-OOKKVXV7.mjs → settings-WZMJMML3.mjs} +2 -2
  15. package/dist/lib/browser/{state-3LKZHDRI.mjs → state-SJR2GL5G.mjs} +2 -2
  16. package/dist/lib/browser/types/index.mjs +1 -1
  17. package/dist/lib/node-esm/{app-graph-builder-3LJAPDUW.mjs → app-graph-builder-JCSVFRVY.mjs} +2 -2
  18. package/dist/lib/node-esm/{call-manager-MMCTNFOH.mjs → call-manager-FMLRR5S5.mjs} +2 -2
  19. package/dist/lib/node-esm/{chunk-3RD3IVVD.mjs → chunk-7XQLXMX7.mjs} +19 -17
  20. package/dist/lib/node-esm/{chunk-3RD3IVVD.mjs.map → chunk-7XQLXMX7.mjs.map} +3 -3
  21. package/dist/lib/node-esm/{chunk-ARTUUKTM.mjs → chunk-WMWUXWAS.mjs} +2 -2
  22. package/dist/lib/node-esm/chunk-WMWUXWAS.mjs.map +7 -0
  23. package/dist/lib/node-esm/index.mjs +10 -10
  24. package/dist/lib/node-esm/{markdown-N2UJ3D6L.mjs → markdown-L6LLQLIN.mjs} +2 -2
  25. package/dist/lib/node-esm/meta.json +1 -1
  26. package/dist/lib/node-esm/{operation-resolver-7PHDJZA2.mjs → operation-resolver-G6GZPBRP.mjs} +2 -2
  27. package/dist/lib/node-esm/{react-root-SZIGQRDZ.mjs → react-root-V4W4X5GL.mjs} +3 -3
  28. package/dist/lib/node-esm/{react-surface-24PNWUDX.mjs → react-surface-ELDSTUA3.mjs} +3 -3
  29. package/dist/lib/node-esm/{repair-LHLLGXKF.mjs → repair-6777EPOM.mjs} +2 -2
  30. package/dist/lib/node-esm/{settings-LXZQXSPL.mjs → settings-37CO3SNR.mjs} +2 -2
  31. package/dist/lib/node-esm/{state-YYAK5ENM.mjs → state-5R3TZJQE.mjs} +2 -2
  32. package/dist/lib/node-esm/types/index.mjs +1 -1
  33. package/dist/types/src/blueprints/thread-blueprint.d.ts +6 -6
  34. package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -1
  35. package/dist/types/src/components/ChatContainer.d.ts.map +1 -1
  36. package/dist/types/src/types/Channel.d.ts +422 -422
  37. package/dist/types/src/types/Channel.d.ts.map +1 -1
  38. package/dist/types/src/types/types.d.ts +1674 -1674
  39. package/dist/types/src/types/types.d.ts.map +1 -1
  40. package/dist/types/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +51 -51
  42. package/src/components/ChatContainer.tsx +12 -10
  43. package/src/types/Channel.ts +1 -1
  44. package/dist/lib/browser/chunk-TAWDJPMD.mjs.map +0 -7
  45. package/dist/lib/node-esm/chunk-ARTUUKTM.mjs.map +0 -7
  46. /package/dist/lib/browser/{app-graph-builder-SPAZN5XL.mjs.map → app-graph-builder-7C2QW32W.mjs.map} +0 -0
  47. /package/dist/lib/browser/{call-manager-YBRTG6T3.mjs.map → call-manager-4P536YNX.mjs.map} +0 -0
  48. /package/dist/lib/browser/{markdown-TSXOA3GV.mjs.map → markdown-QMJLRR6R.mjs.map} +0 -0
  49. /package/dist/lib/browser/{operation-resolver-MDMEBYH2.mjs.map → operation-resolver-T63EP5TY.mjs.map} +0 -0
  50. /package/dist/lib/browser/{react-root-Q7U5D3DA.mjs.map → react-root-56MJI77R.mjs.map} +0 -0
  51. /package/dist/lib/browser/{react-surface-WDZQSDWH.mjs.map → react-surface-DMBHQOXJ.mjs.map} +0 -0
  52. /package/dist/lib/browser/{repair-TDKAFAGH.mjs.map → repair-6OZ75AUU.mjs.map} +0 -0
  53. /package/dist/lib/browser/{settings-OOKKVXV7.mjs.map → settings-WZMJMML3.mjs.map} +0 -0
  54. /package/dist/lib/browser/{state-3LKZHDRI.mjs.map → state-SJR2GL5G.mjs.map} +0 -0
  55. /package/dist/lib/node-esm/{app-graph-builder-3LJAPDUW.mjs.map → app-graph-builder-JCSVFRVY.mjs.map} +0 -0
  56. /package/dist/lib/node-esm/{call-manager-MMCTNFOH.mjs.map → call-manager-FMLRR5S5.mjs.map} +0 -0
  57. /package/dist/lib/node-esm/{markdown-N2UJ3D6L.mjs.map → markdown-L6LLQLIN.mjs.map} +0 -0
  58. /package/dist/lib/node-esm/{operation-resolver-7PHDJZA2.mjs.map → operation-resolver-G6GZPBRP.mjs.map} +0 -0
  59. /package/dist/lib/node-esm/{react-root-SZIGQRDZ.mjs.map → react-root-V4W4X5GL.mjs.map} +0 -0
  60. /package/dist/lib/node-esm/{react-surface-24PNWUDX.mjs.map → react-surface-ELDSTUA3.mjs.map} +0 -0
  61. /package/dist/lib/node-esm/{repair-LHLLGXKF.mjs.map → repair-6777EPOM.mjs.map} +0 -0
  62. /package/dist/lib/node-esm/{settings-LXZQXSPL.mjs.map → settings-37CO3SNR.mjs.map} +0 -0
  63. /package/dist/lib/node-esm/{state-YYAK5ENM.mjs.map → state-5R3TZJQE.mjs.map} +0 -0
@@ -5,14 +5,14 @@ export declare const Channel: Type.Obj<{
5
5
  readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
6
6
  readonly name?: string | undefined;
7
7
  readonly status?: "active" | "staged" | "resolved" | undefined;
8
- readonly messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
8
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
9
9
  readonly id: string;
10
10
  readonly parentMessage?: string | undefined;
11
11
  readonly created: string;
12
12
  readonly sender: {
13
- name?: string | undefined;
14
- role?: "user" | "assistant" | "tool" | undefined;
15
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
13
+ readonly name?: string | undefined;
14
+ readonly role?: "user" | "assistant" | "tool" | undefined;
15
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
16
16
  readonly image?: string | undefined;
17
17
  readonly fullName?: string | undefined;
18
18
  readonly preferredName?: string | undefined;
@@ -29,24 +29,24 @@ export declare const Channel: Type.Obj<{
29
29
  readonly jobTitle?: string | undefined;
30
30
  readonly department?: string | undefined;
31
31
  readonly notes?: string | undefined;
32
- readonly emails?: {
32
+ readonly emails?: readonly {
33
33
  readonly value: string;
34
34
  readonly label?: string | undefined;
35
35
  }[] | undefined;
36
- readonly identities?: {
36
+ readonly identities?: readonly {
37
37
  readonly value: string;
38
38
  readonly label?: string | undefined;
39
39
  }[] | undefined;
40
- readonly phoneNumbers?: {
40
+ readonly phoneNumbers?: readonly {
41
41
  readonly value: string;
42
42
  readonly label?: string | undefined;
43
43
  }[] | undefined;
44
- readonly fields?: {
44
+ readonly fields?: readonly {
45
45
  readonly value: string;
46
46
  readonly label: string;
47
47
  readonly category?: string | undefined;
48
48
  }[] | undefined;
49
- readonly addresses?: {
49
+ readonly addresses?: readonly {
50
50
  readonly value: {
51
51
  readonly street?: string | undefined;
52
52
  readonly extended?: string | undefined;
@@ -58,7 +58,7 @@ export declare const Channel: Type.Obj<{
58
58
  };
59
59
  readonly label?: string | undefined;
60
60
  }[] | undefined;
61
- readonly urls?: {
61
+ readonly urls?: readonly {
62
62
  readonly value: string;
63
63
  readonly label?: string | undefined;
64
64
  }[] | undefined;
@@ -66,124 +66,124 @@ export declare const Channel: Type.Obj<{
66
66
  } & {
67
67
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
68
68
  }> | undefined;
69
- identityDid?: string | undefined;
70
- identityKey?: string | undefined;
71
- email?: string | undefined;
69
+ readonly identityDid?: string | undefined;
70
+ readonly identityKey?: string | undefined;
71
+ readonly email?: string | undefined;
72
72
  };
73
- readonly blocks: ({
74
- pending?: boolean | undefined;
75
- text: string;
76
- mimeType?: string | undefined;
77
- disposition?: string | undefined;
78
- _tag: "text";
79
- } | {
80
- pending?: boolean | undefined;
81
- _tag: "reasoning";
82
- reasoningText?: string | undefined;
83
- redactedText?: string | undefined;
84
- signature?: string | undefined;
85
- } | {
86
- name: string;
87
- pending?: boolean | undefined;
88
- _tag: "toolCall";
89
- toolCallId: string;
90
- input: string;
91
- providerExecuted: boolean;
92
- } | {
93
- name: string;
94
- pending?: boolean | undefined;
95
- _tag: "toolResult";
96
- toolCallId: string;
97
- providerExecuted: boolean;
98
- result?: string | undefined;
99
- error?: string | undefined;
100
- } | {
101
- pending?: boolean | undefined;
102
- mimeType?: string | undefined;
103
- _tag: "summary";
104
- message?: string | undefined;
105
- model?: string | undefined;
106
- usage?: {
73
+ readonly blocks: readonly ({
74
+ readonly pending?: boolean | undefined;
75
+ readonly text: string;
76
+ readonly mimeType?: string | undefined;
77
+ readonly disposition?: string | undefined;
78
+ readonly _tag: "text";
79
+ } | {
80
+ readonly pending?: boolean | undefined;
81
+ readonly _tag: "reasoning";
82
+ readonly reasoningText?: string | undefined;
83
+ readonly redactedText?: string | undefined;
84
+ readonly signature?: string | undefined;
85
+ } | {
86
+ readonly name: string;
87
+ readonly pending?: boolean | undefined;
88
+ readonly _tag: "toolCall";
89
+ readonly toolCallId: string;
90
+ readonly input: string;
91
+ readonly providerExecuted: boolean;
92
+ } | {
93
+ readonly name: string;
94
+ readonly pending?: boolean | undefined;
95
+ readonly _tag: "toolResult";
96
+ readonly toolCallId: string;
97
+ readonly providerExecuted: boolean;
98
+ readonly result?: string | undefined;
99
+ readonly error?: string | undefined;
100
+ } | {
101
+ readonly pending?: boolean | undefined;
102
+ readonly mimeType?: string | undefined;
103
+ readonly _tag: "summary";
104
+ readonly message?: string | undefined;
105
+ readonly model?: string | undefined;
106
+ readonly usage?: {
107
107
  readonly inputTokens?: number | undefined;
108
108
  readonly outputTokens?: number | undefined;
109
109
  readonly totalTokens?: number | undefined;
110
110
  } | undefined;
111
- toolCalls?: number | undefined;
112
- errors?: number | undefined;
113
- duration?: number | undefined;
114
- } | {
115
- source?: {
116
- type: "base64";
117
- mediaType: string;
118
- data: string;
111
+ readonly toolCalls?: number | undefined;
112
+ readonly errors?: number | undefined;
113
+ readonly duration?: number | undefined;
114
+ } | {
115
+ readonly source?: {
116
+ readonly type: "base64";
117
+ readonly mediaType: string;
118
+ readonly data: string;
119
119
  } | {
120
- type: "http";
121
- url: string;
120
+ readonly type: "http";
121
+ readonly url: string;
122
122
  } | undefined;
123
- id?: string | undefined;
124
- pending?: boolean | undefined;
125
- _tag: "image";
126
- } | {
127
- name?: string | undefined;
128
- pending?: boolean | undefined;
129
- _tag: "file";
130
- mediaType?: string | undefined;
131
- url: string;
132
- } | {
133
- pending?: boolean | undefined;
134
- _tag: "reference";
135
- reference: import("@dxos/echo/internal").Ref<any>;
136
- } | {
137
- pending?: boolean | undefined;
138
- text: string;
139
- _tag: "transcript";
140
- started: string;
141
- } | {
142
- pending?: boolean | undefined;
143
- _tag: "status";
144
- statusText: string;
145
- } | {
146
- pending?: boolean | undefined;
147
- text: string;
148
- _tag: "suggestion";
149
- } | {
150
- pending?: boolean | undefined;
151
- _tag: "select";
152
- options: string[];
153
- } | {
154
- version: unknown;
155
- pending?: boolean | undefined;
156
- _tag: "anchor";
157
- objectId: string;
158
- } | {
159
- pending?: boolean | undefined;
160
- text: string;
161
- _tag: "proposal";
162
- } | {
163
- pending?: boolean | undefined;
164
- _tag: "toolkit";
165
- } | {
166
- pending?: boolean | undefined;
167
- disposition?: string | undefined;
168
- _tag: "json";
169
- data: string;
123
+ readonly id?: string | undefined;
124
+ readonly pending?: boolean | undefined;
125
+ readonly _tag: "image";
126
+ } | {
127
+ readonly name?: string | undefined;
128
+ readonly pending?: boolean | undefined;
129
+ readonly _tag: "file";
130
+ readonly mediaType?: string | undefined;
131
+ readonly url: string;
132
+ } | {
133
+ readonly pending?: boolean | undefined;
134
+ readonly _tag: "reference";
135
+ readonly reference: import("@dxos/echo/internal").Ref<any>;
136
+ } | {
137
+ readonly pending?: boolean | undefined;
138
+ readonly text: string;
139
+ readonly _tag: "transcript";
140
+ readonly started: string;
141
+ } | {
142
+ readonly pending?: boolean | undefined;
143
+ readonly _tag: "status";
144
+ readonly statusText: string;
145
+ } | {
146
+ readonly pending?: boolean | undefined;
147
+ readonly text: string;
148
+ readonly _tag: "suggestion";
149
+ } | {
150
+ readonly pending?: boolean | undefined;
151
+ readonly _tag: "select";
152
+ readonly options: string[];
153
+ } | {
154
+ readonly version: unknown;
155
+ readonly pending?: boolean | undefined;
156
+ readonly _tag: "anchor";
157
+ readonly objectId: string;
158
+ } | {
159
+ readonly pending?: boolean | undefined;
160
+ readonly text: string;
161
+ readonly _tag: "proposal";
162
+ } | {
163
+ readonly pending?: boolean | undefined;
164
+ readonly _tag: "toolkit";
165
+ } | {
166
+ readonly pending?: boolean | undefined;
167
+ readonly disposition?: string | undefined;
168
+ readonly _tag: "json";
169
+ readonly data: string;
170
170
  })[];
171
171
  readonly properties?: {
172
- [x: string]: any;
172
+ readonly [x: string]: any;
173
173
  } | undefined;
174
174
  }>[];
175
175
  }>;
176
- readonly threads: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
176
+ readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
177
177
  readonly name?: string | undefined;
178
178
  readonly status?: "active" | "staged" | "resolved" | undefined;
179
- readonly messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
179
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
180
180
  readonly id: string;
181
181
  readonly parentMessage?: string | undefined;
182
182
  readonly created: string;
183
183
  readonly sender: {
184
- name?: string | undefined;
185
- role?: "user" | "assistant" | "tool" | undefined;
186
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
184
+ readonly name?: string | undefined;
185
+ readonly role?: "user" | "assistant" | "tool" | undefined;
186
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
187
187
  readonly image?: string | undefined;
188
188
  readonly fullName?: string | undefined;
189
189
  readonly preferredName?: string | undefined;
@@ -200,24 +200,24 @@ export declare const Channel: Type.Obj<{
200
200
  readonly jobTitle?: string | undefined;
201
201
  readonly department?: string | undefined;
202
202
  readonly notes?: string | undefined;
203
- readonly emails?: {
203
+ readonly emails?: readonly {
204
204
  readonly value: string;
205
205
  readonly label?: string | undefined;
206
206
  }[] | undefined;
207
- readonly identities?: {
207
+ readonly identities?: readonly {
208
208
  readonly value: string;
209
209
  readonly label?: string | undefined;
210
210
  }[] | undefined;
211
- readonly phoneNumbers?: {
211
+ readonly phoneNumbers?: readonly {
212
212
  readonly value: string;
213
213
  readonly label?: string | undefined;
214
214
  }[] | undefined;
215
- readonly fields?: {
215
+ readonly fields?: readonly {
216
216
  readonly value: string;
217
217
  readonly label: string;
218
218
  readonly category?: string | undefined;
219
219
  }[] | undefined;
220
- readonly addresses?: {
220
+ readonly addresses?: readonly {
221
221
  readonly value: {
222
222
  readonly street?: string | undefined;
223
223
  readonly extended?: string | undefined;
@@ -229,7 +229,7 @@ export declare const Channel: Type.Obj<{
229
229
  };
230
230
  readonly label?: string | undefined;
231
231
  }[] | undefined;
232
- readonly urls?: {
232
+ readonly urls?: readonly {
233
233
  readonly value: string;
234
234
  readonly label?: string | undefined;
235
235
  }[] | undefined;
@@ -237,110 +237,110 @@ export declare const Channel: Type.Obj<{
237
237
  } & {
238
238
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
239
239
  }> | undefined;
240
- identityDid?: string | undefined;
241
- identityKey?: string | undefined;
242
- email?: string | undefined;
240
+ readonly identityDid?: string | undefined;
241
+ readonly identityKey?: string | undefined;
242
+ readonly email?: string | undefined;
243
243
  };
244
- readonly blocks: ({
245
- pending?: boolean | undefined;
246
- text: string;
247
- mimeType?: string | undefined;
248
- disposition?: string | undefined;
249
- _tag: "text";
250
- } | {
251
- pending?: boolean | undefined;
252
- _tag: "reasoning";
253
- reasoningText?: string | undefined;
254
- redactedText?: string | undefined;
255
- signature?: string | undefined;
256
- } | {
257
- name: string;
258
- pending?: boolean | undefined;
259
- _tag: "toolCall";
260
- toolCallId: string;
261
- input: string;
262
- providerExecuted: boolean;
263
- } | {
264
- name: string;
265
- pending?: boolean | undefined;
266
- _tag: "toolResult";
267
- toolCallId: string;
268
- providerExecuted: boolean;
269
- result?: string | undefined;
270
- error?: string | undefined;
271
- } | {
272
- pending?: boolean | undefined;
273
- mimeType?: string | undefined;
274
- _tag: "summary";
275
- message?: string | undefined;
276
- model?: string | undefined;
277
- usage?: {
244
+ readonly blocks: readonly ({
245
+ readonly pending?: boolean | undefined;
246
+ readonly text: string;
247
+ readonly mimeType?: string | undefined;
248
+ readonly disposition?: string | undefined;
249
+ readonly _tag: "text";
250
+ } | {
251
+ readonly pending?: boolean | undefined;
252
+ readonly _tag: "reasoning";
253
+ readonly reasoningText?: string | undefined;
254
+ readonly redactedText?: string | undefined;
255
+ readonly signature?: string | undefined;
256
+ } | {
257
+ readonly name: string;
258
+ readonly pending?: boolean | undefined;
259
+ readonly _tag: "toolCall";
260
+ readonly toolCallId: string;
261
+ readonly input: string;
262
+ readonly providerExecuted: boolean;
263
+ } | {
264
+ readonly name: string;
265
+ readonly pending?: boolean | undefined;
266
+ readonly _tag: "toolResult";
267
+ readonly toolCallId: string;
268
+ readonly providerExecuted: boolean;
269
+ readonly result?: string | undefined;
270
+ readonly error?: string | undefined;
271
+ } | {
272
+ readonly pending?: boolean | undefined;
273
+ readonly mimeType?: string | undefined;
274
+ readonly _tag: "summary";
275
+ readonly message?: string | undefined;
276
+ readonly model?: string | undefined;
277
+ readonly usage?: {
278
278
  readonly inputTokens?: number | undefined;
279
279
  readonly outputTokens?: number | undefined;
280
280
  readonly totalTokens?: number | undefined;
281
281
  } | undefined;
282
- toolCalls?: number | undefined;
283
- errors?: number | undefined;
284
- duration?: number | undefined;
285
- } | {
286
- source?: {
287
- type: "base64";
288
- mediaType: string;
289
- data: string;
282
+ readonly toolCalls?: number | undefined;
283
+ readonly errors?: number | undefined;
284
+ readonly duration?: number | undefined;
285
+ } | {
286
+ readonly source?: {
287
+ readonly type: "base64";
288
+ readonly mediaType: string;
289
+ readonly data: string;
290
290
  } | {
291
- type: "http";
292
- url: string;
291
+ readonly type: "http";
292
+ readonly url: string;
293
293
  } | undefined;
294
- id?: string | undefined;
295
- pending?: boolean | undefined;
296
- _tag: "image";
297
- } | {
298
- name?: string | undefined;
299
- pending?: boolean | undefined;
300
- _tag: "file";
301
- mediaType?: string | undefined;
302
- url: string;
303
- } | {
304
- pending?: boolean | undefined;
305
- _tag: "reference";
306
- reference: import("@dxos/echo/internal").Ref<any>;
307
- } | {
308
- pending?: boolean | undefined;
309
- text: string;
310
- _tag: "transcript";
311
- started: string;
312
- } | {
313
- pending?: boolean | undefined;
314
- _tag: "status";
315
- statusText: string;
316
- } | {
317
- pending?: boolean | undefined;
318
- text: string;
319
- _tag: "suggestion";
320
- } | {
321
- pending?: boolean | undefined;
322
- _tag: "select";
323
- options: string[];
324
- } | {
325
- version: unknown;
326
- pending?: boolean | undefined;
327
- _tag: "anchor";
328
- objectId: string;
329
- } | {
330
- pending?: boolean | undefined;
331
- text: string;
332
- _tag: "proposal";
333
- } | {
334
- pending?: boolean | undefined;
335
- _tag: "toolkit";
336
- } | {
337
- pending?: boolean | undefined;
338
- disposition?: string | undefined;
339
- _tag: "json";
340
- data: string;
294
+ readonly id?: string | undefined;
295
+ readonly pending?: boolean | undefined;
296
+ readonly _tag: "image";
297
+ } | {
298
+ readonly name?: string | undefined;
299
+ readonly pending?: boolean | undefined;
300
+ readonly _tag: "file";
301
+ readonly mediaType?: string | undefined;
302
+ readonly url: string;
303
+ } | {
304
+ readonly pending?: boolean | undefined;
305
+ readonly _tag: "reference";
306
+ readonly reference: import("@dxos/echo/internal").Ref<any>;
307
+ } | {
308
+ readonly pending?: boolean | undefined;
309
+ readonly text: string;
310
+ readonly _tag: "transcript";
311
+ readonly started: string;
312
+ } | {
313
+ readonly pending?: boolean | undefined;
314
+ readonly _tag: "status";
315
+ readonly statusText: string;
316
+ } | {
317
+ readonly pending?: boolean | undefined;
318
+ readonly text: string;
319
+ readonly _tag: "suggestion";
320
+ } | {
321
+ readonly pending?: boolean | undefined;
322
+ readonly _tag: "select";
323
+ readonly options: string[];
324
+ } | {
325
+ readonly version: unknown;
326
+ readonly pending?: boolean | undefined;
327
+ readonly _tag: "anchor";
328
+ readonly objectId: string;
329
+ } | {
330
+ readonly pending?: boolean | undefined;
331
+ readonly text: string;
332
+ readonly _tag: "proposal";
333
+ } | {
334
+ readonly pending?: boolean | undefined;
335
+ readonly _tag: "toolkit";
336
+ } | {
337
+ readonly pending?: boolean | undefined;
338
+ readonly disposition?: string | undefined;
339
+ readonly _tag: "json";
340
+ readonly data: string;
341
341
  })[];
342
342
  readonly properties?: {
343
- [x: string]: any;
343
+ readonly [x: string]: any;
344
344
  } | undefined;
345
345
  }>[];
346
346
  }>[];
@@ -352,14 +352,14 @@ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, "name">)
352
352
  readonly defaultThread: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
353
353
  readonly name?: string | undefined;
354
354
  readonly status?: "active" | "staged" | "resolved" | undefined;
355
- readonly messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
355
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
356
356
  readonly id: string;
357
357
  readonly parentMessage?: string | undefined;
358
358
  readonly created: string;
359
359
  readonly sender: {
360
- name?: string | undefined;
361
- role?: "user" | "assistant" | "tool" | undefined;
362
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
360
+ readonly name?: string | undefined;
361
+ readonly role?: "user" | "assistant" | "tool" | undefined;
362
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
363
363
  readonly image?: string | undefined;
364
364
  readonly fullName?: string | undefined;
365
365
  readonly preferredName?: string | undefined;
@@ -376,24 +376,24 @@ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, "name">)
376
376
  readonly jobTitle?: string | undefined;
377
377
  readonly department?: string | undefined;
378
378
  readonly notes?: string | undefined;
379
- readonly emails?: {
379
+ readonly emails?: readonly {
380
380
  readonly value: string;
381
381
  readonly label?: string | undefined;
382
382
  }[] | undefined;
383
- readonly identities?: {
383
+ readonly identities?: readonly {
384
384
  readonly value: string;
385
385
  readonly label?: string | undefined;
386
386
  }[] | undefined;
387
- readonly phoneNumbers?: {
387
+ readonly phoneNumbers?: readonly {
388
388
  readonly value: string;
389
389
  readonly label?: string | undefined;
390
390
  }[] | undefined;
391
- readonly fields?: {
391
+ readonly fields?: readonly {
392
392
  readonly value: string;
393
393
  readonly label: string;
394
394
  readonly category?: string | undefined;
395
395
  }[] | undefined;
396
- readonly addresses?: {
396
+ readonly addresses?: readonly {
397
397
  readonly value: {
398
398
  readonly street?: string | undefined;
399
399
  readonly extended?: string | undefined;
@@ -405,7 +405,7 @@ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, "name">)
405
405
  };
406
406
  readonly label?: string | undefined;
407
407
  }[] | undefined;
408
- readonly urls?: {
408
+ readonly urls?: readonly {
409
409
  readonly value: string;
410
410
  readonly label?: string | undefined;
411
411
  }[] | undefined;
@@ -413,124 +413,124 @@ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, "name">)
413
413
  } & {
414
414
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
415
415
  }> | undefined;
416
- identityDid?: string | undefined;
417
- identityKey?: string | undefined;
418
- email?: string | undefined;
416
+ readonly identityDid?: string | undefined;
417
+ readonly identityKey?: string | undefined;
418
+ readonly email?: string | undefined;
419
419
  };
420
- readonly blocks: ({
421
- pending?: boolean | undefined;
422
- text: string;
423
- mimeType?: string | undefined;
424
- disposition?: string | undefined;
425
- _tag: "text";
426
- } | {
427
- pending?: boolean | undefined;
428
- _tag: "reasoning";
429
- reasoningText?: string | undefined;
430
- redactedText?: string | undefined;
431
- signature?: string | undefined;
432
- } | {
433
- name: string;
434
- pending?: boolean | undefined;
435
- _tag: "toolCall";
436
- toolCallId: string;
437
- input: string;
438
- providerExecuted: boolean;
439
- } | {
440
- name: string;
441
- pending?: boolean | undefined;
442
- _tag: "toolResult";
443
- toolCallId: string;
444
- providerExecuted: boolean;
445
- result?: string | undefined;
446
- error?: string | undefined;
447
- } | {
448
- pending?: boolean | undefined;
449
- mimeType?: string | undefined;
450
- _tag: "summary";
451
- message?: string | undefined;
452
- model?: string | undefined;
453
- usage?: {
420
+ readonly blocks: readonly ({
421
+ readonly pending?: boolean | undefined;
422
+ readonly text: string;
423
+ readonly mimeType?: string | undefined;
424
+ readonly disposition?: string | undefined;
425
+ readonly _tag: "text";
426
+ } | {
427
+ readonly pending?: boolean | undefined;
428
+ readonly _tag: "reasoning";
429
+ readonly reasoningText?: string | undefined;
430
+ readonly redactedText?: string | undefined;
431
+ readonly signature?: string | undefined;
432
+ } | {
433
+ readonly name: string;
434
+ readonly pending?: boolean | undefined;
435
+ readonly _tag: "toolCall";
436
+ readonly toolCallId: string;
437
+ readonly input: string;
438
+ readonly providerExecuted: boolean;
439
+ } | {
440
+ readonly name: string;
441
+ readonly pending?: boolean | undefined;
442
+ readonly _tag: "toolResult";
443
+ readonly toolCallId: string;
444
+ readonly providerExecuted: boolean;
445
+ readonly result?: string | undefined;
446
+ readonly error?: string | undefined;
447
+ } | {
448
+ readonly pending?: boolean | undefined;
449
+ readonly mimeType?: string | undefined;
450
+ readonly _tag: "summary";
451
+ readonly message?: string | undefined;
452
+ readonly model?: string | undefined;
453
+ readonly usage?: {
454
454
  readonly inputTokens?: number | undefined;
455
455
  readonly outputTokens?: number | undefined;
456
456
  readonly totalTokens?: number | undefined;
457
457
  } | undefined;
458
- toolCalls?: number | undefined;
459
- errors?: number | undefined;
460
- duration?: number | undefined;
461
- } | {
462
- source?: {
463
- type: "base64";
464
- mediaType: string;
465
- data: string;
458
+ readonly toolCalls?: number | undefined;
459
+ readonly errors?: number | undefined;
460
+ readonly duration?: number | undefined;
461
+ } | {
462
+ readonly source?: {
463
+ readonly type: "base64";
464
+ readonly mediaType: string;
465
+ readonly data: string;
466
466
  } | {
467
- type: "http";
468
- url: string;
467
+ readonly type: "http";
468
+ readonly url: string;
469
469
  } | undefined;
470
- id?: string | undefined;
471
- pending?: boolean | undefined;
472
- _tag: "image";
473
- } | {
474
- name?: string | undefined;
475
- pending?: boolean | undefined;
476
- _tag: "file";
477
- mediaType?: string | undefined;
478
- url: string;
479
- } | {
480
- pending?: boolean | undefined;
481
- _tag: "reference";
482
- reference: import("@dxos/echo/internal").Ref<any>;
483
- } | {
484
- pending?: boolean | undefined;
485
- text: string;
486
- _tag: "transcript";
487
- started: string;
488
- } | {
489
- pending?: boolean | undefined;
490
- _tag: "status";
491
- statusText: string;
492
- } | {
493
- pending?: boolean | undefined;
494
- text: string;
495
- _tag: "suggestion";
496
- } | {
497
- pending?: boolean | undefined;
498
- _tag: "select";
499
- options: string[];
500
- } | {
501
- version: unknown;
502
- pending?: boolean | undefined;
503
- _tag: "anchor";
504
- objectId: string;
505
- } | {
506
- pending?: boolean | undefined;
507
- text: string;
508
- _tag: "proposal";
509
- } | {
510
- pending?: boolean | undefined;
511
- _tag: "toolkit";
512
- } | {
513
- pending?: boolean | undefined;
514
- disposition?: string | undefined;
515
- _tag: "json";
516
- data: string;
470
+ readonly id?: string | undefined;
471
+ readonly pending?: boolean | undefined;
472
+ readonly _tag: "image";
473
+ } | {
474
+ readonly name?: string | undefined;
475
+ readonly pending?: boolean | undefined;
476
+ readonly _tag: "file";
477
+ readonly mediaType?: string | undefined;
478
+ readonly url: string;
479
+ } | {
480
+ readonly pending?: boolean | undefined;
481
+ readonly _tag: "reference";
482
+ readonly reference: import("@dxos/echo/internal").Ref<any>;
483
+ } | {
484
+ readonly pending?: boolean | undefined;
485
+ readonly text: string;
486
+ readonly _tag: "transcript";
487
+ readonly started: string;
488
+ } | {
489
+ readonly pending?: boolean | undefined;
490
+ readonly _tag: "status";
491
+ readonly statusText: string;
492
+ } | {
493
+ readonly pending?: boolean | undefined;
494
+ readonly text: string;
495
+ readonly _tag: "suggestion";
496
+ } | {
497
+ readonly pending?: boolean | undefined;
498
+ readonly _tag: "select";
499
+ readonly options: string[];
500
+ } | {
501
+ readonly version: unknown;
502
+ readonly pending?: boolean | undefined;
503
+ readonly _tag: "anchor";
504
+ readonly objectId: string;
505
+ } | {
506
+ readonly pending?: boolean | undefined;
507
+ readonly text: string;
508
+ readonly _tag: "proposal";
509
+ } | {
510
+ readonly pending?: boolean | undefined;
511
+ readonly _tag: "toolkit";
512
+ } | {
513
+ readonly pending?: boolean | undefined;
514
+ readonly disposition?: string | undefined;
515
+ readonly _tag: "json";
516
+ readonly data: string;
517
517
  })[];
518
518
  readonly properties?: {
519
- [x: string]: any;
519
+ readonly [x: string]: any;
520
520
  } | undefined;
521
521
  }>[];
522
522
  }>;
523
- readonly threads: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
523
+ readonly threads: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
524
524
  readonly name?: string | undefined;
525
525
  readonly status?: "active" | "staged" | "resolved" | undefined;
526
- readonly messages: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
526
+ readonly messages: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
527
527
  readonly id: string;
528
528
  readonly parentMessage?: string | undefined;
529
529
  readonly created: string;
530
530
  readonly sender: {
531
- name?: string | undefined;
532
- role?: "user" | "assistant" | "tool" | undefined;
533
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
531
+ readonly name?: string | undefined;
532
+ readonly role?: "user" | "assistant" | "tool" | undefined;
533
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
534
534
  readonly image?: string | undefined;
535
535
  readonly fullName?: string | undefined;
536
536
  readonly preferredName?: string | undefined;
@@ -547,24 +547,24 @@ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, "name">)
547
547
  readonly jobTitle?: string | undefined;
548
548
  readonly department?: string | undefined;
549
549
  readonly notes?: string | undefined;
550
- readonly emails?: {
550
+ readonly emails?: readonly {
551
551
  readonly value: string;
552
552
  readonly label?: string | undefined;
553
553
  }[] | undefined;
554
- readonly identities?: {
554
+ readonly identities?: readonly {
555
555
  readonly value: string;
556
556
  readonly label?: string | undefined;
557
557
  }[] | undefined;
558
- readonly phoneNumbers?: {
558
+ readonly phoneNumbers?: readonly {
559
559
  readonly value: string;
560
560
  readonly label?: string | undefined;
561
561
  }[] | undefined;
562
- readonly fields?: {
562
+ readonly fields?: readonly {
563
563
  readonly value: string;
564
564
  readonly label: string;
565
565
  readonly category?: string | undefined;
566
566
  }[] | undefined;
567
- readonly addresses?: {
567
+ readonly addresses?: readonly {
568
568
  readonly value: {
569
569
  readonly street?: string | undefined;
570
570
  readonly extended?: string | undefined;
@@ -576,7 +576,7 @@ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, "name">)
576
576
  };
577
577
  readonly label?: string | undefined;
578
578
  }[] | undefined;
579
- readonly urls?: {
579
+ readonly urls?: readonly {
580
580
  readonly value: string;
581
581
  readonly label?: string | undefined;
582
582
  }[] | undefined;
@@ -584,110 +584,110 @@ export declare const make: (props?: Pick<Obj.MakeProps<typeof Channel>, "name">)
584
584
  } & {
585
585
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
586
586
  }> | undefined;
587
- identityDid?: string | undefined;
588
- identityKey?: string | undefined;
589
- email?: string | undefined;
587
+ readonly identityDid?: string | undefined;
588
+ readonly identityKey?: string | undefined;
589
+ readonly email?: string | undefined;
590
590
  };
591
- readonly blocks: ({
592
- pending?: boolean | undefined;
593
- text: string;
594
- mimeType?: string | undefined;
595
- disposition?: string | undefined;
596
- _tag: "text";
597
- } | {
598
- pending?: boolean | undefined;
599
- _tag: "reasoning";
600
- reasoningText?: string | undefined;
601
- redactedText?: string | undefined;
602
- signature?: string | undefined;
603
- } | {
604
- name: string;
605
- pending?: boolean | undefined;
606
- _tag: "toolCall";
607
- toolCallId: string;
608
- input: string;
609
- providerExecuted: boolean;
610
- } | {
611
- name: string;
612
- pending?: boolean | undefined;
613
- _tag: "toolResult";
614
- toolCallId: string;
615
- providerExecuted: boolean;
616
- result?: string | undefined;
617
- error?: string | undefined;
618
- } | {
619
- pending?: boolean | undefined;
620
- mimeType?: string | undefined;
621
- _tag: "summary";
622
- message?: string | undefined;
623
- model?: string | undefined;
624
- usage?: {
591
+ readonly blocks: readonly ({
592
+ readonly pending?: boolean | undefined;
593
+ readonly text: string;
594
+ readonly mimeType?: string | undefined;
595
+ readonly disposition?: string | undefined;
596
+ readonly _tag: "text";
597
+ } | {
598
+ readonly pending?: boolean | undefined;
599
+ readonly _tag: "reasoning";
600
+ readonly reasoningText?: string | undefined;
601
+ readonly redactedText?: string | undefined;
602
+ readonly signature?: string | undefined;
603
+ } | {
604
+ readonly name: string;
605
+ readonly pending?: boolean | undefined;
606
+ readonly _tag: "toolCall";
607
+ readonly toolCallId: string;
608
+ readonly input: string;
609
+ readonly providerExecuted: boolean;
610
+ } | {
611
+ readonly name: string;
612
+ readonly pending?: boolean | undefined;
613
+ readonly _tag: "toolResult";
614
+ readonly toolCallId: string;
615
+ readonly providerExecuted: boolean;
616
+ readonly result?: string | undefined;
617
+ readonly error?: string | undefined;
618
+ } | {
619
+ readonly pending?: boolean | undefined;
620
+ readonly mimeType?: string | undefined;
621
+ readonly _tag: "summary";
622
+ readonly message?: string | undefined;
623
+ readonly model?: string | undefined;
624
+ readonly usage?: {
625
625
  readonly inputTokens?: number | undefined;
626
626
  readonly outputTokens?: number | undefined;
627
627
  readonly totalTokens?: number | undefined;
628
628
  } | undefined;
629
- toolCalls?: number | undefined;
630
- errors?: number | undefined;
631
- duration?: number | undefined;
632
- } | {
633
- source?: {
634
- type: "base64";
635
- mediaType: string;
636
- data: string;
629
+ readonly toolCalls?: number | undefined;
630
+ readonly errors?: number | undefined;
631
+ readonly duration?: number | undefined;
632
+ } | {
633
+ readonly source?: {
634
+ readonly type: "base64";
635
+ readonly mediaType: string;
636
+ readonly data: string;
637
637
  } | {
638
- type: "http";
639
- url: string;
638
+ readonly type: "http";
639
+ readonly url: string;
640
640
  } | undefined;
641
- id?: string | undefined;
642
- pending?: boolean | undefined;
643
- _tag: "image";
644
- } | {
645
- name?: string | undefined;
646
- pending?: boolean | undefined;
647
- _tag: "file";
648
- mediaType?: string | undefined;
649
- url: string;
650
- } | {
651
- pending?: boolean | undefined;
652
- _tag: "reference";
653
- reference: import("@dxos/echo/internal").Ref<any>;
654
- } | {
655
- pending?: boolean | undefined;
656
- text: string;
657
- _tag: "transcript";
658
- started: string;
659
- } | {
660
- pending?: boolean | undefined;
661
- _tag: "status";
662
- statusText: string;
663
- } | {
664
- pending?: boolean | undefined;
665
- text: string;
666
- _tag: "suggestion";
667
- } | {
668
- pending?: boolean | undefined;
669
- _tag: "select";
670
- options: string[];
671
- } | {
672
- version: unknown;
673
- pending?: boolean | undefined;
674
- _tag: "anchor";
675
- objectId: string;
676
- } | {
677
- pending?: boolean | undefined;
678
- text: string;
679
- _tag: "proposal";
680
- } | {
681
- pending?: boolean | undefined;
682
- _tag: "toolkit";
683
- } | {
684
- pending?: boolean | undefined;
685
- disposition?: string | undefined;
686
- _tag: "json";
687
- data: string;
641
+ readonly id?: string | undefined;
642
+ readonly pending?: boolean | undefined;
643
+ readonly _tag: "image";
644
+ } | {
645
+ readonly name?: string | undefined;
646
+ readonly pending?: boolean | undefined;
647
+ readonly _tag: "file";
648
+ readonly mediaType?: string | undefined;
649
+ readonly url: string;
650
+ } | {
651
+ readonly pending?: boolean | undefined;
652
+ readonly _tag: "reference";
653
+ readonly reference: import("@dxos/echo/internal").Ref<any>;
654
+ } | {
655
+ readonly pending?: boolean | undefined;
656
+ readonly text: string;
657
+ readonly _tag: "transcript";
658
+ readonly started: string;
659
+ } | {
660
+ readonly pending?: boolean | undefined;
661
+ readonly _tag: "status";
662
+ readonly statusText: string;
663
+ } | {
664
+ readonly pending?: boolean | undefined;
665
+ readonly text: string;
666
+ readonly _tag: "suggestion";
667
+ } | {
668
+ readonly pending?: boolean | undefined;
669
+ readonly _tag: "select";
670
+ readonly options: string[];
671
+ } | {
672
+ readonly version: unknown;
673
+ readonly pending?: boolean | undefined;
674
+ readonly _tag: "anchor";
675
+ readonly objectId: string;
676
+ } | {
677
+ readonly pending?: boolean | undefined;
678
+ readonly text: string;
679
+ readonly _tag: "proposal";
680
+ } | {
681
+ readonly pending?: boolean | undefined;
682
+ readonly _tag: "toolkit";
683
+ } | {
684
+ readonly pending?: boolean | undefined;
685
+ readonly disposition?: string | undefined;
686
+ readonly _tag: "json";
687
+ readonly data: string;
688
688
  })[];
689
689
  readonly properties?: {
690
- [x: string]: any;
690
+ readonly [x: string]: any;
691
691
  } | undefined;
692
692
  }>[];
693
693
  }>[];