@dxos/assistant 0.8.4-main.67995b8 → 0.8.4-main.72ec0f3

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 (176) hide show
  1. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  2. package/dist/lib/browser/extraction/index.mjs +121 -165
  3. package/dist/lib/browser/extraction/index.mjs.map +4 -4
  4. package/dist/lib/browser/index.mjs +1110 -1034
  5. package/dist/lib/browser/index.mjs.map +4 -4
  6. package/dist/lib/browser/meta.json +1 -1
  7. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  8. package/dist/lib/node-esm/extraction/index.mjs +121 -165
  9. package/dist/lib/node-esm/extraction/index.mjs.map +4 -4
  10. package/dist/lib/node-esm/index.mjs +1110 -1034
  11. package/dist/lib/node-esm/index.mjs.map +4 -4
  12. package/dist/lib/node-esm/meta.json +1 -1
  13. package/dist/types/src/{context/binding.d.ts → conversation/context.d.ts} +54 -5
  14. package/dist/types/src/conversation/context.d.ts.map +1 -0
  15. package/dist/types/src/conversation/conversation.d.ts +29 -26
  16. package/dist/types/src/conversation/conversation.d.ts.map +1 -1
  17. package/dist/types/src/conversation/index.d.ts +1 -0
  18. package/dist/types/src/conversation/index.d.ts.map +1 -1
  19. package/dist/types/src/diff.d.ts +15 -0
  20. package/dist/types/src/diff.d.ts.map +1 -0
  21. package/dist/types/src/diff.test.d.ts +2 -0
  22. package/dist/types/src/diff.test.d.ts.map +1 -0
  23. package/dist/types/src/errors.d.ts +46 -13
  24. package/dist/types/src/errors.d.ts.map +1 -1
  25. package/dist/types/src/execution-graph.d.ts +85 -0
  26. package/dist/types/src/execution-graph.d.ts.map +1 -0
  27. package/dist/types/src/execution-graph.test.d.ts +2 -0
  28. package/dist/types/src/execution-graph.test.d.ts.map +1 -0
  29. package/dist/types/src/extraction/extraction-llm-function/extraction-llm-function.d.ts +1 -1
  30. package/dist/types/src/extraction/extraction-llm-function/extraction-llm-function.d.ts.map +1 -1
  31. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts +100 -57
  32. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts.map +1 -1
  33. package/dist/types/src/extraction/extraction-ner-function/named-entity-recognition.d.ts.map +1 -1
  34. package/dist/types/src/extraction/extraction.d.ts +262 -221
  35. package/dist/types/src/extraction/extraction.d.ts.map +1 -1
  36. package/dist/types/src/extraction/quotes.d.ts +1 -1
  37. package/dist/types/src/extraction/quotes.d.ts.map +1 -1
  38. package/dist/types/src/functions/services.d.ts +18 -4
  39. package/dist/types/src/functions/services.d.ts.map +1 -1
  40. package/dist/types/src/index.d.ts +3 -2
  41. package/dist/types/src/index.d.ts.map +1 -1
  42. package/dist/types/src/session/GenericToolkit.d.ts +84 -0
  43. package/dist/types/src/session/GenericToolkit.d.ts.map +1 -0
  44. package/dist/types/src/session/artifact-diff.d.ts +27 -0
  45. package/dist/types/src/session/artifact-diff.d.ts.map +1 -0
  46. package/dist/types/src/session/error-handling.d.ts +4 -0
  47. package/dist/types/src/session/error-handling.d.ts.map +1 -0
  48. package/dist/types/src/session/format.d.ts +12 -0
  49. package/dist/types/src/session/format.d.ts.map +1 -0
  50. package/dist/types/src/session/format.test.d.ts +2 -0
  51. package/dist/types/src/session/format.test.d.ts.map +1 -0
  52. package/dist/types/src/session/index.d.ts +4 -0
  53. package/dist/types/src/session/index.d.ts.map +1 -1
  54. package/dist/types/src/session/observer.d.ts +22 -0
  55. package/dist/types/src/session/observer.d.ts.map +1 -0
  56. package/dist/types/src/session/session.d.ts +28 -237
  57. package/dist/types/src/session/session.d.ts.map +1 -1
  58. package/dist/types/src/session/toolkit.d.ts +15 -0
  59. package/dist/types/src/session/toolkit.d.ts.map +1 -0
  60. package/dist/types/src/session/version-pin.d.ts +4 -4
  61. package/dist/types/src/session/version-pin.d.ts.map +1 -1
  62. package/dist/types/src/templates/index.d.ts +1 -1
  63. package/dist/types/src/templates/system.d.ts +18 -0
  64. package/dist/types/src/templates/system.d.ts.map +1 -0
  65. package/dist/types/src/types/artifact.d.ts +20 -0
  66. package/dist/types/src/types/artifact.d.ts.map +1 -0
  67. package/dist/types/src/types/index.d.ts +2 -0
  68. package/dist/types/src/types/index.d.ts.map +1 -0
  69. package/dist/types/tsconfig.tsbuildinfo +1 -1
  70. package/package.json +33 -36
  71. package/src/conversation/context.ts +186 -0
  72. package/src/conversation/conversation.ts +93 -61
  73. package/src/conversation/index.ts +1 -0
  74. package/src/diff.test.ts +43 -0
  75. package/src/diff.ts +84 -0
  76. package/src/errors.ts +6 -1
  77. package/src/execution-graph.test.ts +740 -0
  78. package/src/execution-graph.ts +509 -0
  79. package/src/extraction/extraction-llm-function/extraction-llm-function.test.ts +10 -9
  80. package/src/extraction/extraction-llm-function/extraction-llm-function.ts +48 -56
  81. package/src/extraction/extraction-ner-function/extraction-ner-function.test.ts +18 -17
  82. package/src/extraction/extraction-ner-function/extraction-ner-function.ts +42 -43
  83. package/src/extraction/extraction-ner-function/named-entity-recognition.test.ts +12 -6
  84. package/src/extraction/extraction-ner-function/named-entity-recognition.ts +2 -0
  85. package/src/extraction/extraction.ts +7 -6
  86. package/src/extraction/quotes.test.ts +3 -3
  87. package/src/extraction/quotes.ts +4 -4
  88. package/src/functions/services.ts +108 -45
  89. package/src/index.ts +3 -2
  90. package/src/session/GenericToolkit.ts +130 -0
  91. package/src/session/artifact-diff.ts +41 -0
  92. package/src/session/error-handling.ts +41 -0
  93. package/src/session/format.test.ts +61 -0
  94. package/src/session/format.ts +144 -0
  95. package/src/session/index.ts +5 -0
  96. package/src/session/observer.ts +59 -0
  97. package/src/session/session.conversations.json +1 -0
  98. package/src/session/session.test.ts +38 -199
  99. package/src/session/session.ts +128 -251
  100. package/src/session/toolkit.ts +48 -0
  101. package/src/session/version-pin.ts +7 -8
  102. package/src/templates/index.ts +1 -1
  103. package/src/templates/instructions/format.tpl +61 -0
  104. package/src/templates/instructions/system.tpl +48 -0
  105. package/src/templates/system.ts +41 -0
  106. package/src/{types.ts → types/artifact.ts} +31 -7
  107. package/src/types/index.ts +5 -0
  108. package/src/typings.d.ts +5 -0
  109. package/dist/lib/browser/chunk-6WRGDEMH.mjs +0 -89
  110. package/dist/lib/browser/chunk-6WRGDEMH.mjs.map +0 -7
  111. package/dist/lib/browser/chunk-SIXTNSGV.mjs +0 -250
  112. package/dist/lib/browser/chunk-SIXTNSGV.mjs.map +0 -7
  113. package/dist/lib/browser/named-entity-recognition-O46UTCLR.mjs +0 -13
  114. package/dist/lib/node-esm/chunk-3UU5V4FS.mjs +0 -91
  115. package/dist/lib/node-esm/chunk-3UU5V4FS.mjs.map +0 -7
  116. package/dist/lib/node-esm/chunk-FD5NXKDP.mjs +0 -252
  117. package/dist/lib/node-esm/chunk-FD5NXKDP.mjs.map +0 -7
  118. package/dist/lib/node-esm/named-entity-recognition-W4VMRCH6.mjs +0 -14
  119. package/dist/types/bin/chat.d.ts +0 -2
  120. package/dist/types/bin/chat.d.ts.map +0 -1
  121. package/dist/types/src/context/binder.d.ts +0 -34
  122. package/dist/types/src/context/binder.d.ts.map +0 -1
  123. package/dist/types/src/context/binding.d.ts.map +0 -1
  124. package/dist/types/src/context/index.d.ts +0 -3
  125. package/dist/types/src/context/index.d.ts.map +0 -1
  126. package/dist/types/src/research/exa.d.ts +0 -12
  127. package/dist/types/src/research/exa.d.ts.map +0 -1
  128. package/dist/types/src/research/graph.d.ts +0 -51
  129. package/dist/types/src/research/graph.d.ts.map +0 -1
  130. package/dist/types/src/research/graph.test.d.ts +0 -2
  131. package/dist/types/src/research/graph.test.d.ts.map +0 -1
  132. package/dist/types/src/research/index.d.ts +0 -4
  133. package/dist/types/src/research/index.d.ts.map +0 -1
  134. package/dist/types/src/research/research.d.ts +0 -10
  135. package/dist/types/src/research/research.d.ts.map +0 -1
  136. package/dist/types/src/research/research.test.d.ts +0 -2
  137. package/dist/types/src/research/research.test.d.ts.map +0 -1
  138. package/dist/types/src/session/version-pin.test.d.ts +0 -2
  139. package/dist/types/src/session/version-pin.test.d.ts.map +0 -1
  140. package/dist/types/src/summarization/summarization.test.d.ts +0 -2
  141. package/dist/types/src/summarization/summarization.test.d.ts.map +0 -1
  142. package/dist/types/src/templates/prompt.d.ts +0 -30
  143. package/dist/types/src/templates/prompt.d.ts.map +0 -1
  144. package/dist/types/src/testing/exa-search-1748337321991.d.ts +0 -38
  145. package/dist/types/src/testing/exa-search-1748337321991.d.ts.map +0 -1
  146. package/dist/types/src/testing/exa-search-1748337331526.d.ts +0 -37
  147. package/dist/types/src/testing/exa-search-1748337331526.d.ts.map +0 -1
  148. package/dist/types/src/testing/exa-search-1748337344119.d.ts +0 -58
  149. package/dist/types/src/testing/exa-search-1748337344119.d.ts.map +0 -1
  150. package/dist/types/src/testing/index.d.ts +0 -3
  151. package/dist/types/src/testing/index.d.ts.map +0 -1
  152. package/dist/types/src/types.d.ts +0 -13
  153. package/dist/types/src/types.d.ts.map +0 -1
  154. package/src/context/binder.ts +0 -103
  155. package/src/context/binding.ts +0 -32
  156. package/src/context/index.ts +0 -6
  157. package/src/research/exa.ts +0 -97
  158. package/src/research/graph.test.ts +0 -64
  159. package/src/research/graph.ts +0 -369
  160. package/src/research/index.ts +0 -7
  161. package/src/research/instructions-research.tpl +0 -98
  162. package/src/research/research.test.ts +0 -190
  163. package/src/research/research.ts +0 -87
  164. package/src/session/__snapshots__/session.test.ts.snap +0 -32
  165. package/src/session/version-pin.test.ts +0 -7
  166. package/src/summarization/summarization.test.ts +0 -199
  167. package/src/templates/assistant.tpl +0 -111
  168. package/src/templates/prompt.ts +0 -45
  169. package/src/testing/exa-search-1748337321991.ts +0 -131
  170. package/src/testing/exa-search-1748337331526.ts +0 -144
  171. package/src/testing/exa-search-1748337344119.ts +0 -133
  172. package/src/testing/index.ts +0 -11
  173. package/src/typedefs.d.ts +0 -8
  174. /package/dist/lib/browser/{named-entity-recognition-O46UTCLR.mjs.map → chunk-J5LGTIGS.mjs.map} +0 -0
  175. /package/dist/lib/node-esm/{named-entity-recognition-W4VMRCH6.mjs.map → chunk-HSLMI22Q.mjs.map} +0 -0
  176. /package/src/extraction/extraction-llm-function/{instructions.tpl → transcription-instructions.tpl} +0 -0
@@ -1,27 +1,30 @@
1
- export declare const extractionNerFn: import("@dxos/functions").FunctionDefinition<{
2
- readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
1
+ /**
2
+ * Named Entity Recognition model
3
+ */
4
+ export declare const extractionNerFunction: import("@dxos/functions").FunctionDefinition<{
5
+ readonly options?: {
6
+ readonly timeout?: number | undefined;
7
+ readonly fallbackToRaw?: boolean | undefined;
8
+ } | undefined;
9
+ readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
3
10
  id: string;
11
+ parentMessage?: string | undefined;
4
12
  created: string;
5
13
  sender: {
6
14
  name?: string | undefined;
7
- email?: string | undefined;
8
- contact?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
9
- fields?: {
10
- readonly value: string;
11
- readonly category?: string | undefined;
12
- readonly label: string;
13
- }[] | undefined;
15
+ contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
14
16
  image?: string | undefined;
15
17
  fullName?: string | undefined;
16
18
  preferredName?: string | undefined;
17
19
  nickname?: string | undefined;
18
- organization?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
20
+ organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
21
+ description?: string | undefined;
19
22
  id: string;
20
23
  name?: string | undefined;
21
- description?: string | undefined;
22
24
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
23
25
  image?: string | undefined;
24
26
  website?: string | undefined;
27
+ location?: readonly [number, number, (number | undefined)?] | undefined;
25
28
  }> | undefined;
26
29
  jobTitle?: string | undefined;
27
30
  department?: string | undefined;
@@ -55,10 +58,17 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
55
58
  readonly label?: string | undefined;
56
59
  }[] | undefined;
57
60
  birthday?: string | undefined;
61
+ fields?: {
62
+ readonly value: string;
63
+ readonly label: string;
64
+ readonly category?: string | undefined;
65
+ }[] | undefined;
66
+ location?: readonly [number, number, (number | undefined)?] | undefined;
58
67
  }> | undefined;
59
68
  identityDid?: string | undefined;
60
69
  identityKey?: string | undefined;
61
- role?: "user" | "assistant" | undefined;
70
+ email?: string | undefined;
71
+ role?: "user" | "assistant" | "tool" | undefined;
62
72
  };
63
73
  blocks: ({
64
74
  version: unknown;
@@ -66,23 +76,23 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
66
76
  pending?: boolean | undefined;
67
77
  objectId: string;
68
78
  } | {
69
- name?: string | undefined;
70
79
  _tag: "file";
71
80
  pending?: boolean | undefined;
72
81
  url: string;
82
+ name?: string | undefined;
73
83
  mediaType?: string | undefined;
74
84
  } | {
75
85
  id?: string | undefined;
86
+ _tag: "image";
87
+ pending?: boolean | undefined;
76
88
  source?: {
77
- type: "base64";
78
89
  mediaType: string;
90
+ type: "base64";
79
91
  data: string;
80
92
  } | {
81
- type: "http";
82
93
  url: string;
94
+ type: "http";
83
95
  } | undefined;
84
- _tag: "image";
85
- pending?: boolean | undefined;
86
96
  } | {
87
97
  _tag: "json";
88
98
  pending?: boolean | undefined;
@@ -99,7 +109,7 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
99
109
  redactedText?: string | undefined;
100
110
  signature?: string | undefined;
101
111
  } | {
102
- reference: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").Expando>;
112
+ reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
103
113
  _tag: "reference";
104
114
  pending?: boolean | undefined;
105
115
  } | {
@@ -112,8 +122,22 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
112
122
  statusText: string;
113
123
  } | {
114
124
  text: string;
115
- _tag: "suggest";
125
+ _tag: "suggestion";
126
+ pending?: boolean | undefined;
127
+ } | {
128
+ _tag: "summary";
116
129
  pending?: boolean | undefined;
130
+ mimeType?: string | undefined;
131
+ message?: string | undefined;
132
+ model?: string | undefined;
133
+ usage?: {
134
+ readonly inputTokens?: number | undefined;
135
+ readonly outputTokens?: number | undefined;
136
+ readonly totalTokens?: number | undefined;
137
+ } | undefined;
138
+ toolCalls?: number | undefined;
139
+ errors?: number | undefined;
140
+ duration?: number | undefined;
117
141
  } | {
118
142
  text: string;
119
143
  _tag: "text";
@@ -121,20 +145,23 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
121
145
  disposition?: string | undefined;
122
146
  mimeType?: string | undefined;
123
147
  } | {
124
- name: string;
125
- input: unknown;
126
- _tag: "toolCall";
148
+ _tag: "toolkit";
127
149
  pending?: boolean | undefined;
128
- toolCallId: string;
129
150
  } | {
130
- _tag: "toolList";
151
+ _tag: "toolCall";
131
152
  pending?: boolean | undefined;
132
- } | {
133
153
  name: string;
154
+ toolCallId: string;
155
+ input: string;
156
+ providerExecuted: boolean;
157
+ } | {
134
158
  _tag: "toolResult";
135
159
  pending?: boolean | undefined;
160
+ name: string;
136
161
  toolCallId: string;
137
- result: unknown;
162
+ providerExecuted: boolean;
163
+ result?: string | undefined;
164
+ error?: string | undefined;
138
165
  } | {
139
166
  text: string;
140
167
  _tag: "transcript";
@@ -145,35 +172,27 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
145
172
  [x: string]: any;
146
173
  } | undefined;
147
174
  };
148
- readonly objects?: readonly import("@dxos/echo-schema").Expando[] | undefined;
149
- readonly options?: {
150
- readonly timeout?: number | undefined;
151
- readonly fallbackToRaw?: boolean | undefined;
152
- } | undefined;
175
+ readonly objects?: readonly import("@dxos/echo/internal").Expando[] | undefined;
153
176
  }, {
154
- readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
177
+ readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
155
178
  id: string;
179
+ parentMessage?: string | undefined;
156
180
  created: string;
157
181
  sender: {
158
182
  name?: string | undefined;
159
- email?: string | undefined;
160
- contact?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
161
- fields?: {
162
- readonly value: string;
163
- readonly category?: string | undefined;
164
- readonly label: string;
165
- }[] | undefined;
183
+ contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
166
184
  image?: string | undefined;
167
185
  fullName?: string | undefined;
168
186
  preferredName?: string | undefined;
169
187
  nickname?: string | undefined;
170
- organization?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
188
+ organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
189
+ description?: string | undefined;
171
190
  id: string;
172
191
  name?: string | undefined;
173
- description?: string | undefined;
174
192
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
175
193
  image?: string | undefined;
176
194
  website?: string | undefined;
195
+ location?: readonly [number, number, (number | undefined)?] | undefined;
177
196
  }> | undefined;
178
197
  jobTitle?: string | undefined;
179
198
  department?: string | undefined;
@@ -207,10 +226,17 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
207
226
  readonly label?: string | undefined;
208
227
  }[] | undefined;
209
228
  birthday?: string | undefined;
229
+ fields?: {
230
+ readonly value: string;
231
+ readonly label: string;
232
+ readonly category?: string | undefined;
233
+ }[] | undefined;
234
+ location?: readonly [number, number, (number | undefined)?] | undefined;
210
235
  }> | undefined;
211
236
  identityDid?: string | undefined;
212
237
  identityKey?: string | undefined;
213
- role?: "user" | "assistant" | undefined;
238
+ email?: string | undefined;
239
+ role?: "user" | "assistant" | "tool" | undefined;
214
240
  };
215
241
  blocks: ({
216
242
  version: unknown;
@@ -218,23 +244,23 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
218
244
  pending?: boolean | undefined;
219
245
  objectId: string;
220
246
  } | {
221
- name?: string | undefined;
222
247
  _tag: "file";
223
248
  pending?: boolean | undefined;
224
249
  url: string;
250
+ name?: string | undefined;
225
251
  mediaType?: string | undefined;
226
252
  } | {
227
253
  id?: string | undefined;
254
+ _tag: "image";
255
+ pending?: boolean | undefined;
228
256
  source?: {
229
- type: "base64";
230
257
  mediaType: string;
258
+ type: "base64";
231
259
  data: string;
232
260
  } | {
233
- type: "http";
234
261
  url: string;
262
+ type: "http";
235
263
  } | undefined;
236
- _tag: "image";
237
- pending?: boolean | undefined;
238
264
  } | {
239
265
  _tag: "json";
240
266
  pending?: boolean | undefined;
@@ -251,7 +277,7 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
251
277
  redactedText?: string | undefined;
252
278
  signature?: string | undefined;
253
279
  } | {
254
- reference: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").Expando>;
280
+ reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
255
281
  _tag: "reference";
256
282
  pending?: boolean | undefined;
257
283
  } | {
@@ -264,8 +290,22 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
264
290
  statusText: string;
265
291
  } | {
266
292
  text: string;
267
- _tag: "suggest";
293
+ _tag: "suggestion";
294
+ pending?: boolean | undefined;
295
+ } | {
296
+ _tag: "summary";
268
297
  pending?: boolean | undefined;
298
+ mimeType?: string | undefined;
299
+ message?: string | undefined;
300
+ model?: string | undefined;
301
+ usage?: {
302
+ readonly inputTokens?: number | undefined;
303
+ readonly outputTokens?: number | undefined;
304
+ readonly totalTokens?: number | undefined;
305
+ } | undefined;
306
+ toolCalls?: number | undefined;
307
+ errors?: number | undefined;
308
+ duration?: number | undefined;
269
309
  } | {
270
310
  text: string;
271
311
  _tag: "text";
@@ -273,20 +313,23 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
273
313
  disposition?: string | undefined;
274
314
  mimeType?: string | undefined;
275
315
  } | {
276
- name: string;
277
- input: unknown;
278
- _tag: "toolCall";
316
+ _tag: "toolkit";
279
317
  pending?: boolean | undefined;
280
- toolCallId: string;
281
318
  } | {
282
- _tag: "toolList";
319
+ _tag: "toolCall";
283
320
  pending?: boolean | undefined;
284
- } | {
285
321
  name: string;
322
+ toolCallId: string;
323
+ input: string;
324
+ providerExecuted: boolean;
325
+ } | {
286
326
  _tag: "toolResult";
287
327
  pending?: boolean | undefined;
328
+ name: string;
288
329
  toolCallId: string;
289
- result: unknown;
330
+ providerExecuted: boolean;
331
+ result?: string | undefined;
332
+ error?: string | undefined;
290
333
  } | {
291
334
  text: string;
292
335
  _tag: "transcript";
@@ -298,5 +341,5 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
298
341
  } | undefined;
299
342
  };
300
343
  readonly timeElapsed: number;
301
- }>;
344
+ }, import("@dxos/functions").FunctionServices>;
302
345
  //# sourceMappingURL=extraction-ner-function.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-ner-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/extraction-ner-function.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsC1B,CAAC"}
1
+ {"version":3,"file":"extraction-ner-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/extraction-ner-function.ts"],"names":[],"mappings":"AAQA;;GAEG;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CA2ChC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"named-entity-recognition.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/named-entity-recognition.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,yBAAyB,EAE/B,MAAM,sBAAsB,CAAC;AAK9B;;;;GAIG;AACH,eAAO,MAAM,MAAM,gDAQlB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,yBAAyB,EAAE,CAM3F,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,yBAAyB,EAAE,KAAG,yBAAyB,EAAE,EAmClG,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,yBAAyB,EAAE,KAAG,yBAmBrE,CAAC"}
1
+ {"version":3,"file":"named-entity-recognition.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/named-entity-recognition.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,yBAAyB,EAE/B,MAAM,sBAAsB,CAAC;AAM9B;;;;GAIG;AACH,eAAO,MAAM,MAAM,gDASlB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,yBAAyB,EAAE,CAM3F,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,yBAAyB,EAAE,KAAG,yBAAyB,EAAE,EAmClG,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,yBAAyB,EAAE,KAAG,yBAmBrE,CAAC"}