@remnic/core 9.69.7 → 9.69.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +1 -1
- package/dist/access-admin-ops-surface.js +3 -3
- package/dist/access-authorization-probe.d.ts +1 -1
- package/dist/access-authorization-probe.js +4 -4
- package/dist/access-boundary.d.ts +1 -1
- package/dist/access-boundary.js +3 -3
- package/dist/access-cli.js +22 -22
- package/dist/access-extraction-force-flush.d.ts +1 -1
- package/dist/access-extraction-force-flush.js +3 -3
- package/dist/access-http-lcm-compaction.d.ts +1 -1
- package/dist/access-http-lifecycle-flush.d.ts +1 -1
- package/dist/access-http-offline-stream.d.ts +1 -1
- package/dist/access-http-query.js +3 -3
- package/dist/access-http.d.ts +2 -2
- package/dist/access-http.js +13 -13
- package/dist/access-identity-continuity-surface.js +3 -3
- package/dist/access-lcm-surface.d.ts +1 -1
- package/dist/access-lcm-surface.js +3 -3
- package/dist/access-mcp.d.ts +1 -1
- package/dist/access-mcp.js +9 -9
- package/dist/access-namespace-preflight.js +3 -3
- package/dist/access-observe-write-surface.d.ts +1 -1
- package/dist/access-observe-write-surface.js +3 -3
- package/dist/access-operations-batch.js +4 -4
- package/dist/access-operations.d.ts +6 -6
- package/dist/access-operations.js +8 -8
- package/dist/access-recall-concurrency.d.ts +1 -1
- package/dist/access-recall-concurrency.js +3 -3
- package/dist/access-recall-response.d.ts +1 -1
- package/dist/access-recall-response.js +3 -3
- package/dist/access-recall-surface.d.ts +1 -1
- package/dist/access-recall-surface.js +3 -3
- package/dist/access-schema.d.ts +89 -89
- package/dist/access-service-helpers.d.ts +1 -1
- package/dist/access-service.d.ts +1 -1
- package/dist/access-service.js +3 -3
- package/dist/access-surface-catalog.d.ts +1 -1
- package/dist/access-surface-catalog.js +5 -5
- package/dist/buffer.js +3 -3
- package/dist/{chunk-J2TT3RV6.js → chunk-3FXXFLVK.js} +2 -2
- package/dist/{chunk-DZNNWPQ7.js → chunk-3QWF54M4.js} +2 -2
- package/dist/{chunk-GH7UF5BV.js → chunk-44HBCMOA.js} +8 -8
- package/dist/{chunk-IE7N2YK6.js → chunk-4PJYD2L3.js} +2 -2
- package/dist/{chunk-MWLBRFLY.js → chunk-5PTS43CH.js} +2 -2
- package/dist/{chunk-N27L5IY2.js → chunk-754GA2UE.js} +2 -2
- package/dist/{chunk-EG6NUYY3.js → chunk-DKZR56A3.js} +2 -2
- package/dist/{chunk-XHGDFN7A.js → chunk-EN75MUTO.js} +2 -2
- package/dist/{chunk-OMA2B7GY.js → chunk-G4MCAHMF.js} +2 -2
- package/dist/{chunk-KLLSFJBJ.js → chunk-IIO4C3YL.js} +2 -2
- package/dist/{chunk-TB2MJRI6.js → chunk-J3NGQ5SC.js} +2 -2
- package/dist/chunk-J3NGQ5SC.js.map +1 -0
- package/dist/{chunk-MWHSWK4W.js → chunk-J55NAXDH.js} +5 -5
- package/dist/{chunk-UJMOG5LL.js → chunk-JAU4MRKB.js} +2 -2
- package/dist/{chunk-S6DX26S3.js → chunk-KAVQ5GYY.js} +4 -3
- package/dist/{chunk-S6DX26S3.js.map → chunk-KAVQ5GYY.js.map} +1 -1
- package/dist/{chunk-GTZLPFAT.js → chunk-KLL5SPER.js} +2 -2
- package/dist/{chunk-6EE5LJSZ.js → chunk-KZMFU7YL.js} +2 -2
- package/dist/{chunk-E6Z4LWNJ.js → chunk-LVYO2HZJ.js} +2 -2
- package/dist/{chunk-APGIIJRE.js → chunk-M5GBTETG.js} +2 -2
- package/dist/{chunk-N5VXPTXC.js → chunk-PEOFTEUC.js} +7 -7
- package/dist/{chunk-UJICQ77Y.js → chunk-UCNQV43K.js} +2 -2
- package/dist/{chunk-ZNXPGZJQ.js → chunk-VGTXHTWU.js} +2 -2
- package/dist/{chunk-QAITDA5B.js → chunk-YJPFTF57.js} +4 -4
- package/dist/{cli-CFpMhqz5.d.ts → cli-Bvy4jdBu.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +15 -15
- package/dist/external-wiki-access.d.ts +1 -1
- package/dist/external-wiki-access.js +4 -4
- package/dist/external-wiki-mcp-tools.d.ts +1 -1
- package/dist/extraction.js +4 -4
- package/dist/index.d.ts +680 -680
- package/dist/index.js +22 -22
- package/dist/location/index.js +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +1 -1
- package/dist/memory-subject-cli.d.ts +1 -1
- package/dist/memory-subject.d.ts +1 -1
- package/dist/orchestration/maintenance.js +4 -4
- package/dist/orchestrator.js +22 -22
- package/dist/{public-http-C9-CHc40.d.ts → public-http-2MyshWxl.d.ts} +1 -1
- package/dist/reconcile/cursor.js +7 -2
- package/dist/reconcile/cursor.js.map +1 -1
- package/dist/schemas.d.ts +176 -176
- package/dist/shared-context/manager.d.ts +6 -6
- package/dist/source-agent-qualifier.js +3 -3
- package/dist/support-passport/index.d.ts +4 -4
- package/dist/support-passport/index.js +6 -6
- package/dist/transfer/export-okf.d.ts +2 -1
- package/dist/transfer/export-okf.js +3 -1
- package/dist/transfer/types.d.ts +78 -78
- package/dist/who-knows-cli.d.ts +1 -1
- package/dist/who-knows.d.ts +1 -1
- package/package.json +2 -2
- package/src/location/matching.test.ts +31 -1
- package/src/location/matching.ts +6 -1
- package/src/reconcile/cursor.test.ts +18 -0
- package/src/reconcile/cursor.ts +13 -2
- package/src/transfer/export-okf.test.ts +22 -0
- package/src/transfer/export-okf.ts +6 -2
- package/dist/chunk-TB2MJRI6.js.map +0 -1
- package/dist/{access-service-DcfM0Vf0.d.ts → access-service-LbwWl05g.d.ts} +64 -64
- /package/dist/{chunk-J2TT3RV6.js.map → chunk-3FXXFLVK.js.map} +0 -0
- /package/dist/{chunk-DZNNWPQ7.js.map → chunk-3QWF54M4.js.map} +0 -0
- /package/dist/{chunk-GH7UF5BV.js.map → chunk-44HBCMOA.js.map} +0 -0
- /package/dist/{chunk-IE7N2YK6.js.map → chunk-4PJYD2L3.js.map} +0 -0
- /package/dist/{chunk-MWLBRFLY.js.map → chunk-5PTS43CH.js.map} +0 -0
- /package/dist/{chunk-N27L5IY2.js.map → chunk-754GA2UE.js.map} +0 -0
- /package/dist/{chunk-EG6NUYY3.js.map → chunk-DKZR56A3.js.map} +0 -0
- /package/dist/{chunk-XHGDFN7A.js.map → chunk-EN75MUTO.js.map} +0 -0
- /package/dist/{chunk-OMA2B7GY.js.map → chunk-G4MCAHMF.js.map} +0 -0
- /package/dist/{chunk-KLLSFJBJ.js.map → chunk-IIO4C3YL.js.map} +0 -0
- /package/dist/{chunk-MWHSWK4W.js.map → chunk-J55NAXDH.js.map} +0 -0
- /package/dist/{chunk-UJMOG5LL.js.map → chunk-JAU4MRKB.js.map} +0 -0
- /package/dist/{chunk-GTZLPFAT.js.map → chunk-KLL5SPER.js.map} +0 -0
- /package/dist/{chunk-6EE5LJSZ.js.map → chunk-KZMFU7YL.js.map} +0 -0
- /package/dist/{chunk-E6Z4LWNJ.js.map → chunk-LVYO2HZJ.js.map} +0 -0
- /package/dist/{chunk-APGIIJRE.js.map → chunk-M5GBTETG.js.map} +0 -0
- /package/dist/{chunk-N5VXPTXC.js.map → chunk-PEOFTEUC.js.map} +0 -0
- /package/dist/{chunk-UJICQ77Y.js.map → chunk-UCNQV43K.js.map} +0 -0
- /package/dist/{chunk-ZNXPGZJQ.js.map → chunk-VGTXHTWU.js.map} +0 -0
- /package/dist/{chunk-QAITDA5B.js.map → chunk-YJPFTF57.js.map} +0 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
|
|
|
7
7
|
importance: z.ZodNumber;
|
|
8
8
|
source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
|
-
source: "
|
|
10
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
11
11
|
confidence: number;
|
|
12
|
-
lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
|
|
13
12
|
importance: number;
|
|
13
|
+
lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
|
|
14
14
|
}, {
|
|
15
|
-
source: "
|
|
15
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
16
16
|
confidence: number;
|
|
17
|
-
lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
|
|
18
17
|
importance: number;
|
|
18
|
+
lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
|
|
19
19
|
}>;
|
|
20
20
|
declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
|
|
21
21
|
declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
|
|
@@ -63,11 +63,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
63
63
|
type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
|
|
64
64
|
value: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
66
67
|
value: string;
|
|
67
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
68
68
|
}, {
|
|
69
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
69
70
|
value: string;
|
|
70
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
71
71
|
}>, "many">>>;
|
|
72
72
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
73
73
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -113,11 +113,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
113
113
|
order: z.ZodNumber;
|
|
114
114
|
description: z.ZodString;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
order: number;
|
|
117
116
|
description: string;
|
|
118
|
-
}, {
|
|
119
117
|
order: number;
|
|
118
|
+
}, {
|
|
120
119
|
description: string;
|
|
120
|
+
order: number;
|
|
121
121
|
}>, "many">;
|
|
122
122
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
123
123
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -125,8 +125,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
125
125
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
steps: {
|
|
128
|
-
order: number;
|
|
129
128
|
description: string;
|
|
129
|
+
order: number;
|
|
130
130
|
}[];
|
|
131
131
|
finalAnswer?: string | null | undefined;
|
|
132
132
|
final_answer?: string | null | undefined;
|
|
@@ -134,8 +134,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
134
134
|
observed_outcome?: string | null | undefined;
|
|
135
135
|
}, {
|
|
136
136
|
steps: {
|
|
137
|
-
order: number;
|
|
138
137
|
description: string;
|
|
138
|
+
order: number;
|
|
139
139
|
}[];
|
|
140
140
|
finalAnswer?: string | null | undefined;
|
|
141
141
|
final_answer?: string | null | undefined;
|
|
@@ -143,8 +143,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
143
143
|
observed_outcome?: string | null | undefined;
|
|
144
144
|
}>, {
|
|
145
145
|
steps: {
|
|
146
|
-
order: number;
|
|
147
146
|
description: string;
|
|
147
|
+
order: number;
|
|
148
148
|
}[];
|
|
149
149
|
finalAnswer?: string | null | undefined;
|
|
150
150
|
final_answer?: string | null | undefined;
|
|
@@ -152,8 +152,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
152
152
|
observed_outcome?: string | null | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
steps: {
|
|
155
|
-
order: number;
|
|
156
155
|
description: string;
|
|
156
|
+
order: number;
|
|
157
157
|
}[];
|
|
158
158
|
finalAnswer?: string | null | undefined;
|
|
159
159
|
final_answer?: string | null | undefined;
|
|
@@ -163,17 +163,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
163
163
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
164
164
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
|
|
166
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
167
167
|
content: string;
|
|
168
168
|
confidence: number;
|
|
169
|
-
|
|
170
|
-
scope?: "project" | "global" | null | undefined;
|
|
169
|
+
tags: string[];
|
|
171
170
|
subject?: "user" | "agent" | null | undefined;
|
|
172
171
|
entityRef?: string | null | undefined;
|
|
173
172
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
173
|
+
scope?: "project" | "global" | null | undefined;
|
|
174
174
|
cueAnchors?: {
|
|
175
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
175
176
|
value: string;
|
|
176
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
177
177
|
}[] | null | undefined;
|
|
178
178
|
promptedByQuestion?: string | null | undefined;
|
|
179
179
|
quote?: string | null | undefined;
|
|
@@ -189,8 +189,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
189
189
|
}[] | null | undefined;
|
|
190
190
|
reasoningTrace?: {
|
|
191
191
|
steps: {
|
|
192
|
-
order: number;
|
|
193
192
|
description: string;
|
|
193
|
+
order: number;
|
|
194
194
|
}[];
|
|
195
195
|
finalAnswer?: string | null | undefined;
|
|
196
196
|
final_answer?: string | null | undefined;
|
|
@@ -200,17 +200,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
200
200
|
eventTime?: string | null | undefined;
|
|
201
201
|
event_time?: string | null | undefined;
|
|
202
202
|
}, {
|
|
203
|
-
|
|
203
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
204
204
|
content: string;
|
|
205
205
|
confidence: number;
|
|
206
|
-
|
|
207
|
-
scope?: "project" | "global" | null | undefined;
|
|
206
|
+
tags: string[];
|
|
208
207
|
subject?: "user" | "agent" | null | undefined;
|
|
209
208
|
entityRef?: string | null | undefined;
|
|
210
209
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
210
|
+
scope?: "project" | "global" | null | undefined;
|
|
211
211
|
cueAnchors?: {
|
|
212
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
212
213
|
value: string;
|
|
213
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
214
214
|
}[] | null | undefined;
|
|
215
215
|
promptedByQuestion?: string | null | undefined;
|
|
216
216
|
quote?: string | null | undefined;
|
|
@@ -226,8 +226,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
226
226
|
}[] | null | undefined;
|
|
227
227
|
reasoningTrace?: {
|
|
228
228
|
steps: {
|
|
229
|
-
order: number;
|
|
230
229
|
description: string;
|
|
230
|
+
order: number;
|
|
231
231
|
}[];
|
|
232
232
|
finalAnswer?: string | null | undefined;
|
|
233
233
|
final_answer?: string | null | undefined;
|
|
@@ -237,17 +237,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
237
237
|
eventTime?: string | null | undefined;
|
|
238
238
|
event_time?: string | null | undefined;
|
|
239
239
|
}>, {
|
|
240
|
-
|
|
240
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
241
241
|
content: string;
|
|
242
242
|
confidence: number;
|
|
243
|
-
|
|
244
|
-
scope?: "project" | "global" | null | undefined;
|
|
243
|
+
tags: string[];
|
|
245
244
|
subject?: "user" | "agent" | null | undefined;
|
|
246
245
|
entityRef?: string | null | undefined;
|
|
247
246
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
247
|
+
scope?: "project" | "global" | null | undefined;
|
|
248
248
|
cueAnchors?: {
|
|
249
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
249
250
|
value: string;
|
|
250
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
251
251
|
}[] | null | undefined;
|
|
252
252
|
promptedByQuestion?: string | null | undefined;
|
|
253
253
|
quote?: string | null | undefined;
|
|
@@ -263,8 +263,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
263
263
|
}[] | null | undefined;
|
|
264
264
|
reasoningTrace?: {
|
|
265
265
|
steps: {
|
|
266
|
-
order: number;
|
|
267
266
|
description: string;
|
|
267
|
+
order: number;
|
|
268
268
|
}[];
|
|
269
269
|
finalAnswer?: string | null | undefined;
|
|
270
270
|
final_answer?: string | null | undefined;
|
|
@@ -274,17 +274,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
274
274
|
eventTime?: string | null | undefined;
|
|
275
275
|
event_time?: string | null | undefined;
|
|
276
276
|
}, {
|
|
277
|
-
|
|
277
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
278
278
|
content: string;
|
|
279
279
|
confidence: number;
|
|
280
|
-
|
|
281
|
-
scope?: "project" | "global" | null | undefined;
|
|
280
|
+
tags: string[];
|
|
282
281
|
subject?: "user" | "agent" | null | undefined;
|
|
283
282
|
entityRef?: string | null | undefined;
|
|
284
283
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
284
|
+
scope?: "project" | "global" | null | undefined;
|
|
285
285
|
cueAnchors?: {
|
|
286
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
286
287
|
value: string;
|
|
287
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
288
288
|
}[] | null | undefined;
|
|
289
289
|
promptedByQuestion?: string | null | undefined;
|
|
290
290
|
quote?: string | null | undefined;
|
|
@@ -300,8 +300,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
300
300
|
}[] | null | undefined;
|
|
301
301
|
reasoningTrace?: {
|
|
302
302
|
steps: {
|
|
303
|
-
order: number;
|
|
304
303
|
description: string;
|
|
304
|
+
order: number;
|
|
305
305
|
}[];
|
|
306
306
|
finalAnswer?: string | null | undefined;
|
|
307
307
|
final_answer?: string | null | undefined;
|
|
@@ -321,32 +321,32 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
321
321
|
title: z.ZodString;
|
|
322
322
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
323
323
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
title: string;
|
|
325
324
|
key: string;
|
|
325
|
+
title: string;
|
|
326
326
|
facts: string[];
|
|
327
327
|
}, {
|
|
328
|
-
title: string;
|
|
329
328
|
key: string;
|
|
329
|
+
title: string;
|
|
330
330
|
facts: string[];
|
|
331
331
|
}>, "many">>>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
name: string;
|
|
334
333
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
334
|
+
name: string;
|
|
335
335
|
facts: string[];
|
|
336
336
|
promptedByQuestion?: string | null | undefined;
|
|
337
337
|
structuredSections?: {
|
|
338
|
-
title: string;
|
|
339
338
|
key: string;
|
|
339
|
+
title: string;
|
|
340
340
|
facts: string[];
|
|
341
341
|
}[] | null | undefined;
|
|
342
342
|
}, {
|
|
343
|
-
name: string;
|
|
344
343
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
344
|
+
name: string;
|
|
345
345
|
facts: string[];
|
|
346
346
|
promptedByQuestion?: string | null | undefined;
|
|
347
347
|
structuredSections?: {
|
|
348
|
-
title: string;
|
|
349
348
|
key: string;
|
|
349
|
+
title: string;
|
|
350
350
|
facts: string[];
|
|
351
351
|
}[] | null | undefined;
|
|
352
352
|
}>;
|
|
@@ -396,13 +396,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
396
396
|
label: z.ZodString;
|
|
397
397
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
source: string;
|
|
400
399
|
label: string;
|
|
400
|
+
source: string;
|
|
401
401
|
target: string;
|
|
402
402
|
promptedByQuestion?: string | null | undefined;
|
|
403
403
|
}, {
|
|
404
|
-
source: string;
|
|
405
404
|
label: string;
|
|
405
|
+
source: string;
|
|
406
406
|
target: string;
|
|
407
407
|
promptedByQuestion?: string | null | undefined;
|
|
408
408
|
}>;
|
|
@@ -417,11 +417,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
417
417
|
type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
|
|
418
418
|
value: z.ZodString;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
420
421
|
value: string;
|
|
421
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
422
422
|
}, {
|
|
423
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
423
424
|
value: string;
|
|
424
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
425
425
|
}>, "many">>>;
|
|
426
426
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
427
427
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -467,11 +467,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
467
467
|
order: z.ZodNumber;
|
|
468
468
|
description: z.ZodString;
|
|
469
469
|
}, "strip", z.ZodTypeAny, {
|
|
470
|
-
order: number;
|
|
471
470
|
description: string;
|
|
472
|
-
}, {
|
|
473
471
|
order: number;
|
|
472
|
+
}, {
|
|
474
473
|
description: string;
|
|
474
|
+
order: number;
|
|
475
475
|
}>, "many">;
|
|
476
476
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
477
477
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -479,8 +479,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
479
479
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
481
|
steps: {
|
|
482
|
-
order: number;
|
|
483
482
|
description: string;
|
|
483
|
+
order: number;
|
|
484
484
|
}[];
|
|
485
485
|
finalAnswer?: string | null | undefined;
|
|
486
486
|
final_answer?: string | null | undefined;
|
|
@@ -488,8 +488,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
488
488
|
observed_outcome?: string | null | undefined;
|
|
489
489
|
}, {
|
|
490
490
|
steps: {
|
|
491
|
-
order: number;
|
|
492
491
|
description: string;
|
|
492
|
+
order: number;
|
|
493
493
|
}[];
|
|
494
494
|
finalAnswer?: string | null | undefined;
|
|
495
495
|
final_answer?: string | null | undefined;
|
|
@@ -497,8 +497,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
497
497
|
observed_outcome?: string | null | undefined;
|
|
498
498
|
}>, {
|
|
499
499
|
steps: {
|
|
500
|
-
order: number;
|
|
501
500
|
description: string;
|
|
501
|
+
order: number;
|
|
502
502
|
}[];
|
|
503
503
|
finalAnswer?: string | null | undefined;
|
|
504
504
|
final_answer?: string | null | undefined;
|
|
@@ -506,8 +506,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
506
506
|
observed_outcome?: string | null | undefined;
|
|
507
507
|
}, {
|
|
508
508
|
steps: {
|
|
509
|
-
order: number;
|
|
510
509
|
description: string;
|
|
510
|
+
order: number;
|
|
511
511
|
}[];
|
|
512
512
|
finalAnswer?: string | null | undefined;
|
|
513
513
|
final_answer?: string | null | undefined;
|
|
@@ -517,17 +517,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
517
517
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
518
518
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
519
519
|
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
|
|
520
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
521
521
|
content: string;
|
|
522
522
|
confidence: number;
|
|
523
|
-
|
|
524
|
-
scope?: "project" | "global" | null | undefined;
|
|
523
|
+
tags: string[];
|
|
525
524
|
subject?: "user" | "agent" | null | undefined;
|
|
526
525
|
entityRef?: string | null | undefined;
|
|
527
526
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
527
|
+
scope?: "project" | "global" | null | undefined;
|
|
528
528
|
cueAnchors?: {
|
|
529
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
529
530
|
value: string;
|
|
530
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
531
531
|
}[] | null | undefined;
|
|
532
532
|
promptedByQuestion?: string | null | undefined;
|
|
533
533
|
quote?: string | null | undefined;
|
|
@@ -543,8 +543,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
543
543
|
}[] | null | undefined;
|
|
544
544
|
reasoningTrace?: {
|
|
545
545
|
steps: {
|
|
546
|
-
order: number;
|
|
547
546
|
description: string;
|
|
547
|
+
order: number;
|
|
548
548
|
}[];
|
|
549
549
|
finalAnswer?: string | null | undefined;
|
|
550
550
|
final_answer?: string | null | undefined;
|
|
@@ -554,17 +554,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
554
554
|
eventTime?: string | null | undefined;
|
|
555
555
|
event_time?: string | null | undefined;
|
|
556
556
|
}, {
|
|
557
|
-
|
|
557
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
558
558
|
content: string;
|
|
559
559
|
confidence: number;
|
|
560
|
-
|
|
561
|
-
scope?: "project" | "global" | null | undefined;
|
|
560
|
+
tags: string[];
|
|
562
561
|
subject?: "user" | "agent" | null | undefined;
|
|
563
562
|
entityRef?: string | null | undefined;
|
|
564
563
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
564
|
+
scope?: "project" | "global" | null | undefined;
|
|
565
565
|
cueAnchors?: {
|
|
566
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
566
567
|
value: string;
|
|
567
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
568
568
|
}[] | null | undefined;
|
|
569
569
|
promptedByQuestion?: string | null | undefined;
|
|
570
570
|
quote?: string | null | undefined;
|
|
@@ -580,8 +580,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
580
580
|
}[] | null | undefined;
|
|
581
581
|
reasoningTrace?: {
|
|
582
582
|
steps: {
|
|
583
|
-
order: number;
|
|
584
583
|
description: string;
|
|
584
|
+
order: number;
|
|
585
585
|
}[];
|
|
586
586
|
finalAnswer?: string | null | undefined;
|
|
587
587
|
final_answer?: string | null | undefined;
|
|
@@ -591,17 +591,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
591
591
|
eventTime?: string | null | undefined;
|
|
592
592
|
event_time?: string | null | undefined;
|
|
593
593
|
}>, {
|
|
594
|
-
|
|
594
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
595
595
|
content: string;
|
|
596
596
|
confidence: number;
|
|
597
|
-
|
|
598
|
-
scope?: "project" | "global" | null | undefined;
|
|
597
|
+
tags: string[];
|
|
599
598
|
subject?: "user" | "agent" | null | undefined;
|
|
600
599
|
entityRef?: string | null | undefined;
|
|
601
600
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
601
|
+
scope?: "project" | "global" | null | undefined;
|
|
602
602
|
cueAnchors?: {
|
|
603
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
603
604
|
value: string;
|
|
604
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
605
605
|
}[] | null | undefined;
|
|
606
606
|
promptedByQuestion?: string | null | undefined;
|
|
607
607
|
quote?: string | null | undefined;
|
|
@@ -617,8 +617,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
617
617
|
}[] | null | undefined;
|
|
618
618
|
reasoningTrace?: {
|
|
619
619
|
steps: {
|
|
620
|
-
order: number;
|
|
621
620
|
description: string;
|
|
621
|
+
order: number;
|
|
622
622
|
}[];
|
|
623
623
|
finalAnswer?: string | null | undefined;
|
|
624
624
|
final_answer?: string | null | undefined;
|
|
@@ -628,17 +628,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
628
628
|
eventTime?: string | null | undefined;
|
|
629
629
|
event_time?: string | null | undefined;
|
|
630
630
|
}, {
|
|
631
|
-
|
|
631
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
632
632
|
content: string;
|
|
633
633
|
confidence: number;
|
|
634
|
-
|
|
635
|
-
scope?: "project" | "global" | null | undefined;
|
|
634
|
+
tags: string[];
|
|
636
635
|
subject?: "user" | "agent" | null | undefined;
|
|
637
636
|
entityRef?: string | null | undefined;
|
|
638
637
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
638
|
+
scope?: "project" | "global" | null | undefined;
|
|
639
639
|
cueAnchors?: {
|
|
640
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
640
641
|
value: string;
|
|
641
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
642
642
|
}[] | null | undefined;
|
|
643
643
|
promptedByQuestion?: string | null | undefined;
|
|
644
644
|
quote?: string | null | undefined;
|
|
@@ -654,8 +654,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
654
654
|
}[] | null | undefined;
|
|
655
655
|
reasoningTrace?: {
|
|
656
656
|
steps: {
|
|
657
|
-
order: number;
|
|
658
657
|
description: string;
|
|
658
|
+
order: number;
|
|
659
659
|
}[];
|
|
660
660
|
finalAnswer?: string | null | undefined;
|
|
661
661
|
final_answer?: string | null | undefined;
|
|
@@ -676,32 +676,32 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
676
676
|
title: z.ZodString;
|
|
677
677
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
678
678
|
}, "strip", z.ZodTypeAny, {
|
|
679
|
-
title: string;
|
|
680
679
|
key: string;
|
|
680
|
+
title: string;
|
|
681
681
|
facts: string[];
|
|
682
682
|
}, {
|
|
683
|
-
title: string;
|
|
684
683
|
key: string;
|
|
684
|
+
title: string;
|
|
685
685
|
facts: string[];
|
|
686
686
|
}>, "many">>>;
|
|
687
687
|
}, "strip", z.ZodTypeAny, {
|
|
688
|
-
name: string;
|
|
689
688
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
689
|
+
name: string;
|
|
690
690
|
facts: string[];
|
|
691
691
|
promptedByQuestion?: string | null | undefined;
|
|
692
692
|
structuredSections?: {
|
|
693
|
-
title: string;
|
|
694
693
|
key: string;
|
|
694
|
+
title: string;
|
|
695
695
|
facts: string[];
|
|
696
696
|
}[] | null | undefined;
|
|
697
697
|
}, {
|
|
698
|
-
name: string;
|
|
699
698
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
699
|
+
name: string;
|
|
700
700
|
facts: string[];
|
|
701
701
|
promptedByQuestion?: string | null | undefined;
|
|
702
702
|
structuredSections?: {
|
|
703
|
-
title: string;
|
|
704
703
|
key: string;
|
|
704
|
+
title: string;
|
|
705
705
|
facts: string[];
|
|
706
706
|
}[] | null | undefined;
|
|
707
707
|
}>, "many">;
|
|
@@ -711,29 +711,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
711
711
|
label: z.ZodString;
|
|
712
712
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
713
713
|
}, "strip", z.ZodTypeAny, {
|
|
714
|
-
source: string;
|
|
715
714
|
label: string;
|
|
715
|
+
source: string;
|
|
716
716
|
target: string;
|
|
717
717
|
promptedByQuestion?: string | null | undefined;
|
|
718
718
|
}, {
|
|
719
|
-
source: string;
|
|
720
719
|
label: string;
|
|
720
|
+
source: string;
|
|
721
721
|
target: string;
|
|
722
722
|
promptedByQuestion?: string | null | undefined;
|
|
723
723
|
}>, "many">>>;
|
|
724
724
|
}, "strip", z.ZodTypeAny, {
|
|
725
725
|
facts: {
|
|
726
|
-
|
|
726
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
727
727
|
content: string;
|
|
728
728
|
confidence: number;
|
|
729
|
-
|
|
730
|
-
scope?: "project" | "global" | null | undefined;
|
|
729
|
+
tags: string[];
|
|
731
730
|
subject?: "user" | "agent" | null | undefined;
|
|
732
731
|
entityRef?: string | null | undefined;
|
|
733
732
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
733
|
+
scope?: "project" | "global" | null | undefined;
|
|
734
734
|
cueAnchors?: {
|
|
735
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
735
736
|
value: string;
|
|
736
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
737
737
|
}[] | null | undefined;
|
|
738
738
|
promptedByQuestion?: string | null | undefined;
|
|
739
739
|
quote?: string | null | undefined;
|
|
@@ -749,8 +749,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
749
749
|
}[] | null | undefined;
|
|
750
750
|
reasoningTrace?: {
|
|
751
751
|
steps: {
|
|
752
|
-
order: number;
|
|
753
752
|
description: string;
|
|
753
|
+
order: number;
|
|
754
754
|
}[];
|
|
755
755
|
finalAnswer?: string | null | undefined;
|
|
756
756
|
final_answer?: string | null | undefined;
|
|
@@ -761,36 +761,36 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
761
761
|
event_time?: string | null | undefined;
|
|
762
762
|
}[];
|
|
763
763
|
entities: {
|
|
764
|
-
name: string;
|
|
765
764
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
765
|
+
name: string;
|
|
766
766
|
facts: string[];
|
|
767
767
|
promptedByQuestion?: string | null | undefined;
|
|
768
768
|
structuredSections?: {
|
|
769
|
-
title: string;
|
|
770
769
|
key: string;
|
|
770
|
+
title: string;
|
|
771
771
|
facts: string[];
|
|
772
772
|
}[] | null | undefined;
|
|
773
773
|
}[];
|
|
774
774
|
profileUpdates: string[];
|
|
775
775
|
relationships?: {
|
|
776
|
-
source: string;
|
|
777
776
|
label: string;
|
|
777
|
+
source: string;
|
|
778
778
|
target: string;
|
|
779
779
|
promptedByQuestion?: string | null | undefined;
|
|
780
780
|
}[] | null | undefined;
|
|
781
781
|
}, {
|
|
782
782
|
facts: {
|
|
783
|
-
|
|
783
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
784
784
|
content: string;
|
|
785
785
|
confidence: number;
|
|
786
|
-
|
|
787
|
-
scope?: "project" | "global" | null | undefined;
|
|
786
|
+
tags: string[];
|
|
788
787
|
subject?: "user" | "agent" | null | undefined;
|
|
789
788
|
entityRef?: string | null | undefined;
|
|
790
789
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
790
|
+
scope?: "project" | "global" | null | undefined;
|
|
791
791
|
cueAnchors?: {
|
|
792
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
792
793
|
value: string;
|
|
793
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
794
794
|
}[] | null | undefined;
|
|
795
795
|
promptedByQuestion?: string | null | undefined;
|
|
796
796
|
quote?: string | null | undefined;
|
|
@@ -806,8 +806,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
806
806
|
}[] | null | undefined;
|
|
807
807
|
reasoningTrace?: {
|
|
808
808
|
steps: {
|
|
809
|
-
order: number;
|
|
810
809
|
description: string;
|
|
810
|
+
order: number;
|
|
811
811
|
}[];
|
|
812
812
|
finalAnswer?: string | null | undefined;
|
|
813
813
|
final_answer?: string | null | undefined;
|
|
@@ -818,37 +818,37 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
818
818
|
event_time?: string | null | undefined;
|
|
819
819
|
}[];
|
|
820
820
|
entities: {
|
|
821
|
-
name: string;
|
|
822
821
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
822
|
+
name: string;
|
|
823
823
|
facts: string[];
|
|
824
824
|
promptedByQuestion?: string | null | undefined;
|
|
825
825
|
structuredSections?: {
|
|
826
|
-
title: string;
|
|
827
826
|
key: string;
|
|
827
|
+
title: string;
|
|
828
828
|
facts: string[];
|
|
829
829
|
}[] | null | undefined;
|
|
830
830
|
}[];
|
|
831
831
|
profileUpdates: string[];
|
|
832
832
|
relationships?: {
|
|
833
|
-
source: string;
|
|
834
833
|
label: string;
|
|
834
|
+
source: string;
|
|
835
835
|
target: string;
|
|
836
836
|
promptedByQuestion?: string | null | undefined;
|
|
837
837
|
}[] | null | undefined;
|
|
838
838
|
}>;
|
|
839
839
|
declare const ExtractionResultSchema: z.ZodObject<{
|
|
840
840
|
facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
841
|
-
|
|
841
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
842
842
|
content: string;
|
|
843
843
|
confidence: number;
|
|
844
|
-
|
|
845
|
-
scope?: "project" | "global" | null | undefined;
|
|
844
|
+
tags: string[];
|
|
846
845
|
subject?: "user" | "agent" | null | undefined;
|
|
847
846
|
entityRef?: string | null | undefined;
|
|
848
847
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
848
|
+
scope?: "project" | "global" | null | undefined;
|
|
849
849
|
cueAnchors?: {
|
|
850
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
850
851
|
value: string;
|
|
851
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
852
852
|
}[] | null | undefined;
|
|
853
853
|
promptedByQuestion?: string | null | undefined;
|
|
854
854
|
quote?: string | null | undefined;
|
|
@@ -864,8 +864,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
864
864
|
}[] | null | undefined;
|
|
865
865
|
reasoningTrace?: {
|
|
866
866
|
steps: {
|
|
867
|
-
order: number;
|
|
868
867
|
description: string;
|
|
868
|
+
order: number;
|
|
869
869
|
}[];
|
|
870
870
|
finalAnswer?: string | null | undefined;
|
|
871
871
|
final_answer?: string | null | undefined;
|
|
@@ -877,13 +877,13 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
877
877
|
}[], unknown[]>;
|
|
878
878
|
profileUpdates: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, string[], unknown[]>;
|
|
879
879
|
entities: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
880
|
-
name: string;
|
|
881
880
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
881
|
+
name: string;
|
|
882
882
|
facts: string[];
|
|
883
883
|
promptedByQuestion?: string | null | undefined;
|
|
884
884
|
structuredSections?: {
|
|
885
|
-
title: string;
|
|
886
885
|
key: string;
|
|
886
|
+
title: string;
|
|
887
887
|
facts: string[];
|
|
888
888
|
}[] | null | undefined;
|
|
889
889
|
}[], unknown[]>;
|
|
@@ -895,8 +895,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
895
895
|
identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
896
896
|
episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
897
897
|
relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
898
|
-
source: string;
|
|
899
898
|
label: string;
|
|
899
|
+
source: string;
|
|
900
900
|
target: string;
|
|
901
901
|
promptedByQuestion?: string | null | undefined;
|
|
902
902
|
}[], unknown[]>>>;
|
|
@@ -907,17 +907,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
907
907
|
context: string;
|
|
908
908
|
}[];
|
|
909
909
|
facts: {
|
|
910
|
-
|
|
910
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
911
911
|
content: string;
|
|
912
912
|
confidence: number;
|
|
913
|
-
|
|
914
|
-
scope?: "project" | "global" | null | undefined;
|
|
913
|
+
tags: string[];
|
|
915
914
|
subject?: "user" | "agent" | null | undefined;
|
|
916
915
|
entityRef?: string | null | undefined;
|
|
917
916
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
917
|
+
scope?: "project" | "global" | null | undefined;
|
|
918
918
|
cueAnchors?: {
|
|
919
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
919
920
|
value: string;
|
|
920
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
921
921
|
}[] | null | undefined;
|
|
922
922
|
promptedByQuestion?: string | null | undefined;
|
|
923
923
|
quote?: string | null | undefined;
|
|
@@ -933,8 +933,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
933
933
|
}[] | null | undefined;
|
|
934
934
|
reasoningTrace?: {
|
|
935
935
|
steps: {
|
|
936
|
-
order: number;
|
|
937
936
|
description: string;
|
|
937
|
+
order: number;
|
|
938
938
|
}[];
|
|
939
939
|
finalAnswer?: string | null | undefined;
|
|
940
940
|
final_answer?: string | null | undefined;
|
|
@@ -945,20 +945,20 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
945
945
|
event_time?: string | null | undefined;
|
|
946
946
|
}[];
|
|
947
947
|
entities: {
|
|
948
|
-
name: string;
|
|
949
948
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
949
|
+
name: string;
|
|
950
950
|
facts: string[];
|
|
951
951
|
promptedByQuestion?: string | null | undefined;
|
|
952
952
|
structuredSections?: {
|
|
953
|
-
title: string;
|
|
954
953
|
key: string;
|
|
954
|
+
title: string;
|
|
955
955
|
facts: string[];
|
|
956
956
|
}[] | null | undefined;
|
|
957
957
|
}[];
|
|
958
958
|
profileUpdates: string[];
|
|
959
959
|
relationships?: {
|
|
960
|
-
source: string;
|
|
961
960
|
label: string;
|
|
961
|
+
source: string;
|
|
962
962
|
target: string;
|
|
963
963
|
promptedByQuestion?: string | null | undefined;
|
|
964
964
|
}[] | null | undefined;
|
|
@@ -990,11 +990,11 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
990
990
|
type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
|
|
991
991
|
value: z.ZodString;
|
|
992
992
|
}, "strip", z.ZodTypeAny, {
|
|
993
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
993
994
|
value: string;
|
|
994
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
995
995
|
}, {
|
|
996
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
996
997
|
value: string;
|
|
997
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
998
998
|
}>, "many">>>;
|
|
999
999
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1000
1000
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -1040,11 +1040,11 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1040
1040
|
order: z.ZodNumber;
|
|
1041
1041
|
description: z.ZodString;
|
|
1042
1042
|
}, "strip", z.ZodTypeAny, {
|
|
1043
|
-
order: number;
|
|
1044
1043
|
description: string;
|
|
1045
|
-
}, {
|
|
1046
1044
|
order: number;
|
|
1045
|
+
}, {
|
|
1047
1046
|
description: string;
|
|
1047
|
+
order: number;
|
|
1048
1048
|
}>, "many">;
|
|
1049
1049
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1050
1050
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1052,8 +1052,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1052
1052
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1053
1053
|
}, "strip", z.ZodTypeAny, {
|
|
1054
1054
|
steps: {
|
|
1055
|
-
order: number;
|
|
1056
1055
|
description: string;
|
|
1056
|
+
order: number;
|
|
1057
1057
|
}[];
|
|
1058
1058
|
finalAnswer?: string | null | undefined;
|
|
1059
1059
|
final_answer?: string | null | undefined;
|
|
@@ -1061,8 +1061,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1061
1061
|
observed_outcome?: string | null | undefined;
|
|
1062
1062
|
}, {
|
|
1063
1063
|
steps: {
|
|
1064
|
-
order: number;
|
|
1065
1064
|
description: string;
|
|
1065
|
+
order: number;
|
|
1066
1066
|
}[];
|
|
1067
1067
|
finalAnswer?: string | null | undefined;
|
|
1068
1068
|
final_answer?: string | null | undefined;
|
|
@@ -1070,8 +1070,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1070
1070
|
observed_outcome?: string | null | undefined;
|
|
1071
1071
|
}>, {
|
|
1072
1072
|
steps: {
|
|
1073
|
-
order: number;
|
|
1074
1073
|
description: string;
|
|
1074
|
+
order: number;
|
|
1075
1075
|
}[];
|
|
1076
1076
|
finalAnswer?: string | null | undefined;
|
|
1077
1077
|
final_answer?: string | null | undefined;
|
|
@@ -1079,8 +1079,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1079
1079
|
observed_outcome?: string | null | undefined;
|
|
1080
1080
|
}, {
|
|
1081
1081
|
steps: {
|
|
1082
|
-
order: number;
|
|
1083
1082
|
description: string;
|
|
1083
|
+
order: number;
|
|
1084
1084
|
}[];
|
|
1085
1085
|
finalAnswer?: string | null | undefined;
|
|
1086
1086
|
final_answer?: string | null | undefined;
|
|
@@ -1090,17 +1090,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1090
1090
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1091
1091
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1092
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1093
|
-
|
|
1093
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1094
1094
|
content: string;
|
|
1095
1095
|
confidence: number;
|
|
1096
|
-
|
|
1097
|
-
scope?: "project" | "global" | null | undefined;
|
|
1096
|
+
tags: string[];
|
|
1098
1097
|
subject?: "user" | "agent" | null | undefined;
|
|
1099
1098
|
entityRef?: string | null | undefined;
|
|
1100
1099
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1100
|
+
scope?: "project" | "global" | null | undefined;
|
|
1101
1101
|
cueAnchors?: {
|
|
1102
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1102
1103
|
value: string;
|
|
1103
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1104
1104
|
}[] | null | undefined;
|
|
1105
1105
|
promptedByQuestion?: string | null | undefined;
|
|
1106
1106
|
quote?: string | null | undefined;
|
|
@@ -1116,8 +1116,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1116
1116
|
}[] | null | undefined;
|
|
1117
1117
|
reasoningTrace?: {
|
|
1118
1118
|
steps: {
|
|
1119
|
-
order: number;
|
|
1120
1119
|
description: string;
|
|
1120
|
+
order: number;
|
|
1121
1121
|
}[];
|
|
1122
1122
|
finalAnswer?: string | null | undefined;
|
|
1123
1123
|
final_answer?: string | null | undefined;
|
|
@@ -1127,17 +1127,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1127
1127
|
eventTime?: string | null | undefined;
|
|
1128
1128
|
event_time?: string | null | undefined;
|
|
1129
1129
|
}, {
|
|
1130
|
-
|
|
1130
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1131
1131
|
content: string;
|
|
1132
1132
|
confidence: number;
|
|
1133
|
-
|
|
1134
|
-
scope?: "project" | "global" | null | undefined;
|
|
1133
|
+
tags: string[];
|
|
1135
1134
|
subject?: "user" | "agent" | null | undefined;
|
|
1136
1135
|
entityRef?: string | null | undefined;
|
|
1137
1136
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1137
|
+
scope?: "project" | "global" | null | undefined;
|
|
1138
1138
|
cueAnchors?: {
|
|
1139
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1139
1140
|
value: string;
|
|
1140
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1141
1141
|
}[] | null | undefined;
|
|
1142
1142
|
promptedByQuestion?: string | null | undefined;
|
|
1143
1143
|
quote?: string | null | undefined;
|
|
@@ -1153,8 +1153,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1153
1153
|
}[] | null | undefined;
|
|
1154
1154
|
reasoningTrace?: {
|
|
1155
1155
|
steps: {
|
|
1156
|
-
order: number;
|
|
1157
1156
|
description: string;
|
|
1157
|
+
order: number;
|
|
1158
1158
|
}[];
|
|
1159
1159
|
finalAnswer?: string | null | undefined;
|
|
1160
1160
|
final_answer?: string | null | undefined;
|
|
@@ -1164,17 +1164,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1164
1164
|
eventTime?: string | null | undefined;
|
|
1165
1165
|
event_time?: string | null | undefined;
|
|
1166
1166
|
}>, {
|
|
1167
|
-
|
|
1167
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1168
1168
|
content: string;
|
|
1169
1169
|
confidence: number;
|
|
1170
|
-
|
|
1171
|
-
scope?: "project" | "global" | null | undefined;
|
|
1170
|
+
tags: string[];
|
|
1172
1171
|
subject?: "user" | "agent" | null | undefined;
|
|
1173
1172
|
entityRef?: string | null | undefined;
|
|
1174
1173
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1174
|
+
scope?: "project" | "global" | null | undefined;
|
|
1175
1175
|
cueAnchors?: {
|
|
1176
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1176
1177
|
value: string;
|
|
1177
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1178
1178
|
}[] | null | undefined;
|
|
1179
1179
|
promptedByQuestion?: string | null | undefined;
|
|
1180
1180
|
quote?: string | null | undefined;
|
|
@@ -1190,8 +1190,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1190
1190
|
}[] | null | undefined;
|
|
1191
1191
|
reasoningTrace?: {
|
|
1192
1192
|
steps: {
|
|
1193
|
-
order: number;
|
|
1194
1193
|
description: string;
|
|
1194
|
+
order: number;
|
|
1195
1195
|
}[];
|
|
1196
1196
|
finalAnswer?: string | null | undefined;
|
|
1197
1197
|
final_answer?: string | null | undefined;
|
|
@@ -1201,17 +1201,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1201
1201
|
eventTime?: string | null | undefined;
|
|
1202
1202
|
event_time?: string | null | undefined;
|
|
1203
1203
|
}, {
|
|
1204
|
-
|
|
1204
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1205
1205
|
content: string;
|
|
1206
1206
|
confidence: number;
|
|
1207
|
-
|
|
1208
|
-
scope?: "project" | "global" | null | undefined;
|
|
1207
|
+
tags: string[];
|
|
1209
1208
|
subject?: "user" | "agent" | null | undefined;
|
|
1210
1209
|
entityRef?: string | null | undefined;
|
|
1211
1210
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1211
|
+
scope?: "project" | "global" | null | undefined;
|
|
1212
1212
|
cueAnchors?: {
|
|
1213
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1213
1214
|
value: string;
|
|
1214
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1215
1215
|
}[] | null | undefined;
|
|
1216
1216
|
promptedByQuestion?: string | null | undefined;
|
|
1217
1217
|
quote?: string | null | undefined;
|
|
@@ -1227,8 +1227,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1227
1227
|
}[] | null | undefined;
|
|
1228
1228
|
reasoningTrace?: {
|
|
1229
1229
|
steps: {
|
|
1230
|
-
order: number;
|
|
1231
1230
|
description: string;
|
|
1231
|
+
order: number;
|
|
1232
1232
|
}[];
|
|
1233
1233
|
finalAnswer?: string | null | undefined;
|
|
1234
1234
|
final_answer?: string | null | undefined;
|
|
@@ -1249,32 +1249,32 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1249
1249
|
title: z.ZodString;
|
|
1250
1250
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1251
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1252
|
-
title: string;
|
|
1253
1252
|
key: string;
|
|
1253
|
+
title: string;
|
|
1254
1254
|
facts: string[];
|
|
1255
1255
|
}, {
|
|
1256
|
-
title: string;
|
|
1257
1256
|
key: string;
|
|
1257
|
+
title: string;
|
|
1258
1258
|
facts: string[];
|
|
1259
1259
|
}>, "many">>>;
|
|
1260
1260
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
name: string;
|
|
1262
1261
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1262
|
+
name: string;
|
|
1263
1263
|
facts: string[];
|
|
1264
1264
|
promptedByQuestion?: string | null | undefined;
|
|
1265
1265
|
structuredSections?: {
|
|
1266
|
-
title: string;
|
|
1267
1266
|
key: string;
|
|
1267
|
+
title: string;
|
|
1268
1268
|
facts: string[];
|
|
1269
1269
|
}[] | null | undefined;
|
|
1270
1270
|
}, {
|
|
1271
|
-
name: string;
|
|
1272
1271
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1272
|
+
name: string;
|
|
1273
1273
|
facts: string[];
|
|
1274
1274
|
promptedByQuestion?: string | null | undefined;
|
|
1275
1275
|
structuredSections?: {
|
|
1276
|
-
title: string;
|
|
1277
1276
|
key: string;
|
|
1277
|
+
title: string;
|
|
1278
1278
|
facts: string[];
|
|
1279
1279
|
}[] | null | undefined;
|
|
1280
1280
|
}>, "many">;
|
|
@@ -1299,13 +1299,13 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1299
1299
|
label: z.ZodString;
|
|
1300
1300
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1301
1301
|
}, "strip", z.ZodTypeAny, {
|
|
1302
|
-
source: string;
|
|
1303
1302
|
label: string;
|
|
1303
|
+
source: string;
|
|
1304
1304
|
target: string;
|
|
1305
1305
|
promptedByQuestion?: string | null | undefined;
|
|
1306
1306
|
}, {
|
|
1307
|
-
source: string;
|
|
1308
1307
|
label: string;
|
|
1308
|
+
source: string;
|
|
1309
1309
|
target: string;
|
|
1310
1310
|
promptedByQuestion?: string | null | undefined;
|
|
1311
1311
|
}>, "many">>>;
|
|
@@ -1316,17 +1316,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1316
1316
|
context: string;
|
|
1317
1317
|
}[];
|
|
1318
1318
|
facts: {
|
|
1319
|
-
|
|
1319
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1320
1320
|
content: string;
|
|
1321
1321
|
confidence: number;
|
|
1322
|
-
|
|
1323
|
-
scope?: "project" | "global" | null | undefined;
|
|
1322
|
+
tags: string[];
|
|
1324
1323
|
subject?: "user" | "agent" | null | undefined;
|
|
1325
1324
|
entityRef?: string | null | undefined;
|
|
1326
1325
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1326
|
+
scope?: "project" | "global" | null | undefined;
|
|
1327
1327
|
cueAnchors?: {
|
|
1328
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1328
1329
|
value: string;
|
|
1329
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1330
1330
|
}[] | null | undefined;
|
|
1331
1331
|
promptedByQuestion?: string | null | undefined;
|
|
1332
1332
|
quote?: string | null | undefined;
|
|
@@ -1342,8 +1342,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1342
1342
|
}[] | null | undefined;
|
|
1343
1343
|
reasoningTrace?: {
|
|
1344
1344
|
steps: {
|
|
1345
|
-
order: number;
|
|
1346
1345
|
description: string;
|
|
1346
|
+
order: number;
|
|
1347
1347
|
}[];
|
|
1348
1348
|
finalAnswer?: string | null | undefined;
|
|
1349
1349
|
final_answer?: string | null | undefined;
|
|
@@ -1354,20 +1354,20 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1354
1354
|
event_time?: string | null | undefined;
|
|
1355
1355
|
}[];
|
|
1356
1356
|
entities: {
|
|
1357
|
-
name: string;
|
|
1358
1357
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1358
|
+
name: string;
|
|
1359
1359
|
facts: string[];
|
|
1360
1360
|
promptedByQuestion?: string | null | undefined;
|
|
1361
1361
|
structuredSections?: {
|
|
1362
|
-
title: string;
|
|
1363
1362
|
key: string;
|
|
1363
|
+
title: string;
|
|
1364
1364
|
facts: string[];
|
|
1365
1365
|
}[] | null | undefined;
|
|
1366
1366
|
}[];
|
|
1367
1367
|
profileUpdates: string[];
|
|
1368
1368
|
relationships?: {
|
|
1369
|
-
source: string;
|
|
1370
1369
|
label: string;
|
|
1370
|
+
source: string;
|
|
1371
1371
|
target: string;
|
|
1372
1372
|
promptedByQuestion?: string | null | undefined;
|
|
1373
1373
|
}[] | null | undefined;
|
|
@@ -1380,17 +1380,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1380
1380
|
context: string;
|
|
1381
1381
|
}[];
|
|
1382
1382
|
facts: {
|
|
1383
|
-
|
|
1383
|
+
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1384
1384
|
content: string;
|
|
1385
1385
|
confidence: number;
|
|
1386
|
-
|
|
1387
|
-
scope?: "project" | "global" | null | undefined;
|
|
1386
|
+
tags: string[];
|
|
1388
1387
|
subject?: "user" | "agent" | null | undefined;
|
|
1389
1388
|
entityRef?: string | null | undefined;
|
|
1390
1389
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1390
|
+
scope?: "project" | "global" | null | undefined;
|
|
1391
1391
|
cueAnchors?: {
|
|
1392
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1392
1393
|
value: string;
|
|
1393
|
-
type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
|
|
1394
1394
|
}[] | null | undefined;
|
|
1395
1395
|
promptedByQuestion?: string | null | undefined;
|
|
1396
1396
|
quote?: string | null | undefined;
|
|
@@ -1406,8 +1406,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1406
1406
|
}[] | null | undefined;
|
|
1407
1407
|
reasoningTrace?: {
|
|
1408
1408
|
steps: {
|
|
1409
|
-
order: number;
|
|
1410
1409
|
description: string;
|
|
1410
|
+
order: number;
|
|
1411
1411
|
}[];
|
|
1412
1412
|
finalAnswer?: string | null | undefined;
|
|
1413
1413
|
final_answer?: string | null | undefined;
|
|
@@ -1418,20 +1418,20 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
|
|
|
1418
1418
|
event_time?: string | null | undefined;
|
|
1419
1419
|
}[];
|
|
1420
1420
|
entities: {
|
|
1421
|
-
name: string;
|
|
1422
1421
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1422
|
+
name: string;
|
|
1423
1423
|
facts: string[];
|
|
1424
1424
|
promptedByQuestion?: string | null | undefined;
|
|
1425
1425
|
structuredSections?: {
|
|
1426
|
-
title: string;
|
|
1427
1426
|
key: string;
|
|
1427
|
+
title: string;
|
|
1428
1428
|
facts: string[];
|
|
1429
1429
|
}[] | null | undefined;
|
|
1430
1430
|
}[];
|
|
1431
1431
|
profileUpdates: string[];
|
|
1432
1432
|
relationships?: {
|
|
1433
|
-
source: string;
|
|
1434
1433
|
label: string;
|
|
1434
|
+
source: string;
|
|
1435
1435
|
target: string;
|
|
1436
1436
|
promptedByQuestion?: string | null | undefined;
|
|
1437
1437
|
}[] | null | undefined;
|
|
@@ -1445,14 +1445,14 @@ declare const ConsolidationItemSchema: z.ZodObject<{
|
|
|
1445
1445
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1446
1446
|
reason: z.ZodString;
|
|
1447
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
-
reason: string;
|
|
1449
1448
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1449
|
+
reason: string;
|
|
1450
1450
|
existingId: string;
|
|
1451
1451
|
mergeWith?: string | null | undefined;
|
|
1452
1452
|
updatedContent?: string | null | undefined;
|
|
1453
1453
|
}, {
|
|
1454
|
-
reason: string;
|
|
1455
1454
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1455
|
+
reason: string;
|
|
1456
1456
|
existingId: string;
|
|
1457
1457
|
mergeWith?: string | null | undefined;
|
|
1458
1458
|
updatedContent?: string | null | undefined;
|
|
@@ -1465,14 +1465,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1465
1465
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1466
1466
|
reason: z.ZodString;
|
|
1467
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1468
|
-
reason: string;
|
|
1469
1468
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1469
|
+
reason: string;
|
|
1470
1470
|
existingId: string;
|
|
1471
1471
|
mergeWith?: string | null | undefined;
|
|
1472
1472
|
updatedContent?: string | null | undefined;
|
|
1473
1473
|
}, {
|
|
1474
|
-
reason: string;
|
|
1475
1474
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1475
|
+
reason: string;
|
|
1476
1476
|
existingId: string;
|
|
1477
1477
|
mergeWith?: string | null | undefined;
|
|
1478
1478
|
updatedContent?: string | null | undefined;
|
|
@@ -1488,72 +1488,72 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1488
1488
|
title: z.ZodString;
|
|
1489
1489
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1490
1490
|
}, "strip", z.ZodTypeAny, {
|
|
1491
|
-
title: string;
|
|
1492
1491
|
key: string;
|
|
1492
|
+
title: string;
|
|
1493
1493
|
facts: string[];
|
|
1494
1494
|
}, {
|
|
1495
|
-
title: string;
|
|
1496
1495
|
key: string;
|
|
1496
|
+
title: string;
|
|
1497
1497
|
facts: string[];
|
|
1498
1498
|
}>, "many">>>;
|
|
1499
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1500
|
-
name: string;
|
|
1501
1500
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1501
|
+
name: string;
|
|
1502
1502
|
facts: string[];
|
|
1503
1503
|
promptedByQuestion?: string | null | undefined;
|
|
1504
1504
|
structuredSections?: {
|
|
1505
|
-
title: string;
|
|
1506
1505
|
key: string;
|
|
1506
|
+
title: string;
|
|
1507
1507
|
facts: string[];
|
|
1508
1508
|
}[] | null | undefined;
|
|
1509
1509
|
}, {
|
|
1510
|
-
name: string;
|
|
1511
1510
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1511
|
+
name: string;
|
|
1512
1512
|
facts: string[];
|
|
1513
1513
|
promptedByQuestion?: string | null | undefined;
|
|
1514
1514
|
structuredSections?: {
|
|
1515
|
-
title: string;
|
|
1516
1515
|
key: string;
|
|
1516
|
+
title: string;
|
|
1517
1517
|
facts: string[];
|
|
1518
1518
|
}[] | null | undefined;
|
|
1519
1519
|
}>, "many">;
|
|
1520
1520
|
}, "strip", z.ZodTypeAny, {
|
|
1521
1521
|
items: {
|
|
1522
|
-
reason: string;
|
|
1523
1522
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1523
|
+
reason: string;
|
|
1524
1524
|
existingId: string;
|
|
1525
1525
|
mergeWith?: string | null | undefined;
|
|
1526
1526
|
updatedContent?: string | null | undefined;
|
|
1527
1527
|
}[];
|
|
1528
1528
|
profileUpdates: string[];
|
|
1529
1529
|
entityUpdates: {
|
|
1530
|
-
name: string;
|
|
1531
1530
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1531
|
+
name: string;
|
|
1532
1532
|
facts: string[];
|
|
1533
1533
|
promptedByQuestion?: string | null | undefined;
|
|
1534
1534
|
structuredSections?: {
|
|
1535
|
-
title: string;
|
|
1536
1535
|
key: string;
|
|
1536
|
+
title: string;
|
|
1537
1537
|
facts: string[];
|
|
1538
1538
|
}[] | null | undefined;
|
|
1539
1539
|
}[];
|
|
1540
1540
|
}, {
|
|
1541
1541
|
items: {
|
|
1542
|
-
reason: string;
|
|
1543
1542
|
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1543
|
+
reason: string;
|
|
1544
1544
|
existingId: string;
|
|
1545
1545
|
mergeWith?: string | null | undefined;
|
|
1546
1546
|
updatedContent?: string | null | undefined;
|
|
1547
1547
|
}[];
|
|
1548
1548
|
profileUpdates: string[];
|
|
1549
1549
|
entityUpdates: {
|
|
1550
|
-
name: string;
|
|
1551
1550
|
type: "project" | "other" | "tool" | "person" | "company" | "place";
|
|
1551
|
+
name: string;
|
|
1552
1552
|
facts: string[];
|
|
1553
1553
|
promptedByQuestion?: string | null | undefined;
|
|
1554
1554
|
structuredSections?: {
|
|
1555
|
-
title: string;
|
|
1556
1555
|
key: string;
|
|
1556
|
+
title: string;
|
|
1557
1557
|
facts: string[];
|
|
1558
1558
|
}[] | null | undefined;
|
|
1559
1559
|
}[];
|