@remnic/core 9.62.2 → 9.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +1 -1
- package/dist/access-admin-ops-surface.js +13 -13
- package/dist/access-authorization-probe.d.ts +1 -1
- package/dist/access-authorization-probe.js +14 -14
- package/dist/access-boundary.d.ts +1 -1
- package/dist/access-boundary.js +13 -13
- package/dist/access-cli.js +43 -43
- package/dist/access-extraction-force-flush.d.ts +1 -1
- package/dist/access-extraction-force-flush.js +13 -13
- 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 +13 -13
- package/dist/access-http.d.ts +2 -2
- package/dist/access-http.js +22 -22
- package/dist/access-identity-continuity-surface.js +13 -13
- package/dist/access-lcm-surface.d.ts +1 -1
- package/dist/access-lcm-surface.js +13 -13
- package/dist/access-mcp.d.ts +1 -1
- package/dist/access-mcp.js +18 -18
- package/dist/access-namespace-preflight.js +13 -13
- package/dist/access-observe-write-surface.d.ts +1 -1
- package/dist/access-observe-write-surface.js +13 -13
- package/dist/access-operations-batch.js +14 -14
- package/dist/access-operations.d.ts +4 -4
- package/dist/access-operations.js +17 -17
- package/dist/access-recall-concurrency.d.ts +1 -1
- package/dist/access-recall-concurrency.js +13 -13
- package/dist/access-recall-response.d.ts +1 -1
- package/dist/access-recall-response.js +13 -13
- package/dist/access-recall-surface.d.ts +1 -1
- package/dist/access-recall-surface.js +13 -13
- package/dist/access-schema.d.ts +88 -88
- package/dist/access-service-helpers.d.ts +1 -1
- package/dist/access-service.d.ts +1 -1
- package/dist/access-service.js +13 -13
- package/dist/access-surface-catalog.d.ts +1 -1
- package/dist/access-surface-catalog.js +15 -15
- package/dist/briefing.js +5 -5
- package/dist/buffer.js +3 -3
- package/dist/causal-consolidation.js +6 -6
- package/dist/{chunk-CH627RRV.js → chunk-2AZBPQLK.js} +3 -3
- package/dist/{chunk-WFLBP5GC.js → chunk-4NZHHGVL.js} +25 -6
- package/dist/chunk-4NZHHGVL.js.map +1 -0
- package/dist/{chunk-LTJTP5YQ.js → chunk-4WW5FMUD.js} +2 -2
- package/dist/{chunk-HSBQJRV2.js → chunk-5LVSFKQB.js} +2 -2
- package/dist/{chunk-RFH7U5LT.js → chunk-5S7Y7AC6.js} +2 -2
- package/dist/{chunk-7BJYTX6Q.js → chunk-6VX2ZZH2.js} +2 -2
- package/dist/{chunk-4FFROSFG.js → chunk-7CJO52ET.js} +8 -8
- package/dist/{chunk-JFLKSD5V.js → chunk-A5BYPCDI.js} +2 -2
- package/dist/{chunk-EFWHCTYJ.js → chunk-ALKRPLWB.js} +2 -2
- package/dist/{chunk-JDI7G6EA.js → chunk-AUIAHNO7.js} +2 -2
- package/dist/{chunk-BHO6RHE5.js → chunk-BE5SVRFC.js} +2 -2
- package/dist/{chunk-QCECHYZL.js → chunk-E2GYBTSP.js} +24 -4
- package/dist/chunk-E2GYBTSP.js.map +1 -0
- package/dist/{chunk-3MA7JVXN.js → chunk-EJYAE2U7.js} +4 -4
- package/dist/{chunk-IZRNVNPV.js → chunk-F2FZEVDE.js} +2 -2
- package/dist/{chunk-AYIHDC5S.js → chunk-FNYIMSKI.js} +2 -2
- package/dist/{chunk-ZPGHA7EO.js → chunk-FU7OICXE.js} +7 -7
- package/dist/{chunk-4Y2RHVCV.js → chunk-GL4RHVHX.js} +2 -2
- package/dist/{chunk-HVKMJAEF.js → chunk-GUBT77YC.js} +2 -2
- package/dist/{chunk-4IZ2IT7D.js → chunk-J5AFG5JN.js} +3 -3
- package/dist/{chunk-QCI73Z7C.js → chunk-KP36WQBJ.js} +2 -2
- package/dist/{chunk-H23GIXJC.js → chunk-LAX6S5WS.js} +2 -2
- package/dist/{chunk-DTLF2SLZ.js → chunk-MMM7SDOJ.js} +2 -2
- package/dist/{chunk-KPML4Q3M.js → chunk-MQFFR6QB.js} +2 -2
- package/dist/{chunk-BBHFAVMP.js → chunk-NVSTZ2PN.js} +7 -7
- package/dist/{chunk-CALURYWR.js → chunk-OF6KQJ35.js} +2 -2
- package/dist/{chunk-JCJGYNIS.js → chunk-ORB56L3Y.js} +3 -3
- package/dist/{chunk-YIIC5IDU.js → chunk-P2BT5ALE.js} +1 -1
- package/dist/{chunk-BP6WMYLP.js → chunk-R7R4FSV2.js} +2 -2
- package/dist/{chunk-CLJ5QS6J.js → chunk-RBBYKXXK.js} +30 -24
- package/dist/{chunk-CLJ5QS6J.js.map → chunk-RBBYKXXK.js.map} +1 -1
- package/dist/{chunk-FF6E6HOT.js → chunk-RBJKE5LV.js} +16 -16
- package/dist/{chunk-PSNN25DW.js → chunk-S4MF77NV.js} +2 -2
- package/dist/{chunk-4HO3542O.js → chunk-S52C2DEM.js} +2 -2
- package/dist/{chunk-WMOJIOIG.js → chunk-SHSJP4D6.js} +2 -2
- package/dist/{chunk-CK3NQUSQ.js → chunk-U4CCRHN6.js} +2 -2
- package/dist/{chunk-TGSMU3F2.js → chunk-U5LYM2NS.js} +2 -2
- package/dist/{chunk-X6E7TT3A.js → chunk-UDL4DNBM.js} +2 -2
- package/dist/{chunk-WR2YKUIW.js → chunk-UKBIB3FP.js} +2 -2
- package/dist/{chunk-347ZR6D4.js → chunk-UM7A4CPT.js} +2 -2
- package/dist/{chunk-TIRJV2LW.js → chunk-USKANB65.js} +2 -2
- package/dist/{chunk-UDTME32W.js → chunk-UW74LP76.js} +2 -2
- package/dist/{chunk-YSR3DXGC.js → chunk-WLITCQAC.js} +2 -2
- package/dist/{chunk-LLGDVG52.js → chunk-ZSH6GJ2V.js} +3 -3
- package/dist/{chunk-DROAPP6N.js → chunk-ZXMNT75M.js} +3 -3
- package/dist/{cli-Bw9z-KqX.d.ts → cli-DJwNNDL1.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +32 -32
- package/dist/compounding/engine.js +5 -5
- package/dist/connectors/codex-materialize-runner.js +5 -5
- package/dist/connectors/index.js +5 -5
- package/dist/convergence-refresh.js +7 -7
- package/dist/corpus-watermark.js +7 -7
- package/dist/entity-retrieval.js +5 -5
- package/dist/external-wiki-access.d.ts +1 -1
- package/dist/external-wiki-access.js +14 -14
- package/dist/external-wiki-mcp-tools.d.ts +1 -1
- package/dist/extraction.js +9 -9
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/index.d.ts +681 -681
- package/dist/index.js +43 -43
- package/dist/maintenance/memory-governance.js +5 -5
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
- package/dist/maintenance/rebuild-memory-projection.js +6 -6
- package/dist/mcp-memory-inspector-app.d.ts +1 -1
- package/dist/namespaces/migrate.js +6 -6
- package/dist/namespaces/search.js +3 -3
- package/dist/namespaces/storage.js +5 -5
- package/dist/operator-doctor-corpus.js +8 -8
- package/dist/operator-toolkit.js +12 -12
- package/dist/orchestration/maintenance.js +10 -10
- package/dist/orchestrator.js +43 -43
- package/dist/{public-http-DK-QwaBu.d.ts → public-http-43z1YT-k.d.ts} +1 -1
- package/dist/{qmd-D_62bYNl.d.ts → qmd-CBSxevyb.d.ts} +12 -1
- package/dist/qmd-preflight.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/qmd.js +3 -1
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/schemas.d.ts +117 -434
- package/dist/schemas.js +1 -1
- package/dist/search/factory.js +2 -2
- package/dist/search/index.js +2 -2
- package/dist/semantic-consolidation.js +6 -6
- package/dist/semantic-rule-promotion.js +5 -5
- package/dist/semantic-rule-verifier.js +5 -5
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/source-agent-qualifier.js +7 -7
- package/dist/storage.js +4 -4
- package/dist/support-passport/index.d.ts +4 -4
- package/dist/support-passport/index.js +16 -16
- package/dist/transfer/types.d.ts +66 -66
- package/dist/verified-recall.js +5 -5
- package/package.json +2 -2
- package/src/orchestration/turn-ingestion.ts +24 -1
- package/src/orchestrator-flush.test.ts +142 -1
- package/src/qmd-process-group.test.ts +125 -0
- package/src/qmd.ts +30 -2
- package/src/schemas.test.ts +158 -0
- package/src/schemas.ts +45 -22
- package/dist/chunk-QCECHYZL.js.map +0 -1
- package/dist/chunk-WFLBP5GC.js.map +0 -1
- package/dist/{access-service-M4LgO141.d.ts → access-service-DBpEnlzA.d.ts} +64 -64
- /package/dist/{chunk-CH627RRV.js.map → chunk-2AZBPQLK.js.map} +0 -0
- /package/dist/{chunk-LTJTP5YQ.js.map → chunk-4WW5FMUD.js.map} +0 -0
- /package/dist/{chunk-HSBQJRV2.js.map → chunk-5LVSFKQB.js.map} +0 -0
- /package/dist/{chunk-RFH7U5LT.js.map → chunk-5S7Y7AC6.js.map} +0 -0
- /package/dist/{chunk-7BJYTX6Q.js.map → chunk-6VX2ZZH2.js.map} +0 -0
- /package/dist/{chunk-4FFROSFG.js.map → chunk-7CJO52ET.js.map} +0 -0
- /package/dist/{chunk-JFLKSD5V.js.map → chunk-A5BYPCDI.js.map} +0 -0
- /package/dist/{chunk-EFWHCTYJ.js.map → chunk-ALKRPLWB.js.map} +0 -0
- /package/dist/{chunk-JDI7G6EA.js.map → chunk-AUIAHNO7.js.map} +0 -0
- /package/dist/{chunk-BHO6RHE5.js.map → chunk-BE5SVRFC.js.map} +0 -0
- /package/dist/{chunk-3MA7JVXN.js.map → chunk-EJYAE2U7.js.map} +0 -0
- /package/dist/{chunk-IZRNVNPV.js.map → chunk-F2FZEVDE.js.map} +0 -0
- /package/dist/{chunk-AYIHDC5S.js.map → chunk-FNYIMSKI.js.map} +0 -0
- /package/dist/{chunk-ZPGHA7EO.js.map → chunk-FU7OICXE.js.map} +0 -0
- /package/dist/{chunk-4Y2RHVCV.js.map → chunk-GL4RHVHX.js.map} +0 -0
- /package/dist/{chunk-HVKMJAEF.js.map → chunk-GUBT77YC.js.map} +0 -0
- /package/dist/{chunk-4IZ2IT7D.js.map → chunk-J5AFG5JN.js.map} +0 -0
- /package/dist/{chunk-QCI73Z7C.js.map → chunk-KP36WQBJ.js.map} +0 -0
- /package/dist/{chunk-H23GIXJC.js.map → chunk-LAX6S5WS.js.map} +0 -0
- /package/dist/{chunk-DTLF2SLZ.js.map → chunk-MMM7SDOJ.js.map} +0 -0
- /package/dist/{chunk-KPML4Q3M.js.map → chunk-MQFFR6QB.js.map} +0 -0
- /package/dist/{chunk-BBHFAVMP.js.map → chunk-NVSTZ2PN.js.map} +0 -0
- /package/dist/{chunk-CALURYWR.js.map → chunk-OF6KQJ35.js.map} +0 -0
- /package/dist/{chunk-JCJGYNIS.js.map → chunk-ORB56L3Y.js.map} +0 -0
- /package/dist/{chunk-YIIC5IDU.js.map → chunk-P2BT5ALE.js.map} +0 -0
- /package/dist/{chunk-BP6WMYLP.js.map → chunk-R7R4FSV2.js.map} +0 -0
- /package/dist/{chunk-FF6E6HOT.js.map → chunk-RBJKE5LV.js.map} +0 -0
- /package/dist/{chunk-PSNN25DW.js.map → chunk-S4MF77NV.js.map} +0 -0
- /package/dist/{chunk-4HO3542O.js.map → chunk-S52C2DEM.js.map} +0 -0
- /package/dist/{chunk-WMOJIOIG.js.map → chunk-SHSJP4D6.js.map} +0 -0
- /package/dist/{chunk-CK3NQUSQ.js.map → chunk-U4CCRHN6.js.map} +0 -0
- /package/dist/{chunk-TGSMU3F2.js.map → chunk-U5LYM2NS.js.map} +0 -0
- /package/dist/{chunk-X6E7TT3A.js.map → chunk-UDL4DNBM.js.map} +0 -0
- /package/dist/{chunk-WR2YKUIW.js.map → chunk-UKBIB3FP.js.map} +0 -0
- /package/dist/{chunk-347ZR6D4.js.map → chunk-UM7A4CPT.js.map} +0 -0
- /package/dist/{chunk-TIRJV2LW.js.map → chunk-USKANB65.js.map} +0 -0
- /package/dist/{chunk-UDTME32W.js.map → chunk-UW74LP76.js.map} +0 -0
- /package/dist/{chunk-YSR3DXGC.js.map → chunk-WLITCQAC.js.map} +0 -0
- /package/dist/{chunk-LLGDVG52.js.map → chunk-ZSH6GJ2V.js.map} +0 -0
- /package/dist/{chunk-DROAPP6N.js.map → chunk-ZXMNT75M.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: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
11
10
|
confidence: number;
|
|
12
|
-
|
|
11
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
13
12
|
importance: number;
|
|
13
|
+
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
14
14
|
}, {
|
|
15
|
-
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
16
15
|
confidence: number;
|
|
17
|
-
|
|
16
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
18
17
|
importance: number;
|
|
18
|
+
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
19
19
|
}>;
|
|
20
20
|
declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
|
|
21
21
|
declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
|
|
@@ -64,10 +64,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
64
64
|
value: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
value: string;
|
|
67
|
-
type: "
|
|
67
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
68
68
|
}, {
|
|
69
69
|
value: string;
|
|
70
|
-
type: "
|
|
70
|
+
type: "entity" | "constraint" | "file" | "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"]>>>;
|
|
@@ -112,11 +112,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
112
112
|
order: z.ZodNumber;
|
|
113
113
|
description: z.ZodString;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
order: number;
|
|
116
115
|
description: string;
|
|
117
|
-
}, {
|
|
118
116
|
order: number;
|
|
117
|
+
}, {
|
|
119
118
|
description: string;
|
|
119
|
+
order: number;
|
|
120
120
|
}>, "many">;
|
|
121
121
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
122
122
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -124,8 +124,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
124
124
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
steps: {
|
|
127
|
-
order: number;
|
|
128
127
|
description: string;
|
|
128
|
+
order: number;
|
|
129
129
|
}[];
|
|
130
130
|
finalAnswer?: string | null | undefined;
|
|
131
131
|
final_answer?: string | null | undefined;
|
|
@@ -133,8 +133,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
133
133
|
observed_outcome?: string | null | undefined;
|
|
134
134
|
}, {
|
|
135
135
|
steps: {
|
|
136
|
-
order: number;
|
|
137
136
|
description: string;
|
|
137
|
+
order: number;
|
|
138
138
|
}[];
|
|
139
139
|
finalAnswer?: string | null | undefined;
|
|
140
140
|
final_answer?: string | null | undefined;
|
|
@@ -142,8 +142,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
142
142
|
observed_outcome?: string | null | undefined;
|
|
143
143
|
}>, {
|
|
144
144
|
steps: {
|
|
145
|
-
order: number;
|
|
146
145
|
description: string;
|
|
146
|
+
order: number;
|
|
147
147
|
}[];
|
|
148
148
|
finalAnswer?: string | null | undefined;
|
|
149
149
|
final_answer?: string | null | undefined;
|
|
@@ -151,8 +151,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
151
151
|
observed_outcome?: string | null | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
steps: {
|
|
154
|
-
order: number;
|
|
155
154
|
description: string;
|
|
155
|
+
order: number;
|
|
156
156
|
}[];
|
|
157
157
|
finalAnswer?: string | null | undefined;
|
|
158
158
|
final_answer?: string | null | undefined;
|
|
@@ -162,15 +162,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
162
162
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
163
163
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
tags: string[];
|
|
166
|
-
content: string;
|
|
167
165
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
166
|
+
content: string;
|
|
168
167
|
confidence: number;
|
|
168
|
+
tags: string[];
|
|
169
169
|
entityRef?: string | null | undefined;
|
|
170
170
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
171
171
|
cueAnchors?: {
|
|
172
172
|
value: string;
|
|
173
|
-
type: "
|
|
173
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
174
174
|
}[] | null | undefined;
|
|
175
175
|
promptedByQuestion?: string | null | undefined;
|
|
176
176
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -187,8 +187,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
187
187
|
}[] | null | undefined;
|
|
188
188
|
reasoningTrace?: {
|
|
189
189
|
steps: {
|
|
190
|
-
order: number;
|
|
191
190
|
description: string;
|
|
191
|
+
order: number;
|
|
192
192
|
}[];
|
|
193
193
|
finalAnswer?: string | null | undefined;
|
|
194
194
|
final_answer?: string | null | undefined;
|
|
@@ -198,15 +198,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
198
198
|
eventTime?: string | null | undefined;
|
|
199
199
|
event_time?: string | null | undefined;
|
|
200
200
|
}, {
|
|
201
|
-
tags: string[];
|
|
202
|
-
content: string;
|
|
203
201
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
202
|
+
content: string;
|
|
204
203
|
confidence: number;
|
|
204
|
+
tags: string[];
|
|
205
205
|
entityRef?: string | null | undefined;
|
|
206
206
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
207
207
|
cueAnchors?: {
|
|
208
208
|
value: string;
|
|
209
|
-
type: "
|
|
209
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
210
210
|
}[] | null | undefined;
|
|
211
211
|
promptedByQuestion?: string | null | undefined;
|
|
212
212
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -223,8 +223,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
223
223
|
}[] | null | undefined;
|
|
224
224
|
reasoningTrace?: {
|
|
225
225
|
steps: {
|
|
226
|
-
order: number;
|
|
227
226
|
description: string;
|
|
227
|
+
order: number;
|
|
228
228
|
}[];
|
|
229
229
|
finalAnswer?: string | null | undefined;
|
|
230
230
|
final_answer?: string | null | undefined;
|
|
@@ -234,15 +234,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
234
234
|
eventTime?: string | null | undefined;
|
|
235
235
|
event_time?: string | null | undefined;
|
|
236
236
|
}>, {
|
|
237
|
-
tags: string[];
|
|
238
|
-
content: string;
|
|
239
237
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
238
|
+
content: string;
|
|
240
239
|
confidence: number;
|
|
240
|
+
tags: string[];
|
|
241
241
|
entityRef?: string | null | undefined;
|
|
242
242
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
243
243
|
cueAnchors?: {
|
|
244
244
|
value: string;
|
|
245
|
-
type: "
|
|
245
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
246
246
|
}[] | null | undefined;
|
|
247
247
|
promptedByQuestion?: string | null | undefined;
|
|
248
248
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -259,8 +259,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
259
259
|
}[] | null | undefined;
|
|
260
260
|
reasoningTrace?: {
|
|
261
261
|
steps: {
|
|
262
|
-
order: number;
|
|
263
262
|
description: string;
|
|
263
|
+
order: number;
|
|
264
264
|
}[];
|
|
265
265
|
finalAnswer?: string | null | undefined;
|
|
266
266
|
final_answer?: string | null | undefined;
|
|
@@ -270,15 +270,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
270
270
|
eventTime?: string | null | undefined;
|
|
271
271
|
event_time?: string | null | undefined;
|
|
272
272
|
}, {
|
|
273
|
-
tags: string[];
|
|
274
|
-
content: string;
|
|
275
273
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
274
|
+
content: string;
|
|
276
275
|
confidence: number;
|
|
276
|
+
tags: string[];
|
|
277
277
|
entityRef?: string | null | undefined;
|
|
278
278
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
279
279
|
cueAnchors?: {
|
|
280
280
|
value: string;
|
|
281
|
-
type: "
|
|
281
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
282
282
|
}[] | null | undefined;
|
|
283
283
|
promptedByQuestion?: string | null | undefined;
|
|
284
284
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -295,8 +295,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
295
295
|
}[] | null | undefined;
|
|
296
296
|
reasoningTrace?: {
|
|
297
297
|
steps: {
|
|
298
|
-
order: number;
|
|
299
298
|
description: string;
|
|
299
|
+
order: number;
|
|
300
300
|
}[];
|
|
301
301
|
finalAnswer?: string | null | undefined;
|
|
302
302
|
final_answer?: string | null | undefined;
|
|
@@ -316,12 +316,12 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
316
316
|
title: z.ZodString;
|
|
317
317
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
318
318
|
}, "strip", z.ZodTypeAny, {
|
|
319
|
-
title: string;
|
|
320
319
|
key: string;
|
|
320
|
+
title: string;
|
|
321
321
|
facts: string[];
|
|
322
322
|
}, {
|
|
323
|
-
title: string;
|
|
324
323
|
key: string;
|
|
324
|
+
title: string;
|
|
325
325
|
facts: string[];
|
|
326
326
|
}>, "many">>>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -330,8 +330,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
330
330
|
facts: string[];
|
|
331
331
|
promptedByQuestion?: string | null | undefined;
|
|
332
332
|
structuredSections?: {
|
|
333
|
-
title: string;
|
|
334
333
|
key: string;
|
|
334
|
+
title: string;
|
|
335
335
|
facts: string[];
|
|
336
336
|
}[] | null | undefined;
|
|
337
337
|
}, {
|
|
@@ -340,8 +340,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
340
340
|
facts: string[];
|
|
341
341
|
promptedByQuestion?: string | null | undefined;
|
|
342
342
|
structuredSections?: {
|
|
343
|
-
title: string;
|
|
344
343
|
key: string;
|
|
344
|
+
title: string;
|
|
345
345
|
facts: string[];
|
|
346
346
|
}[] | null | undefined;
|
|
347
347
|
}>;
|
|
@@ -391,13 +391,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
391
391
|
label: z.ZodString;
|
|
392
392
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
-
source: string;
|
|
395
394
|
label: string;
|
|
395
|
+
source: string;
|
|
396
396
|
target: string;
|
|
397
397
|
promptedByQuestion?: string | null | undefined;
|
|
398
398
|
}, {
|
|
399
|
-
source: string;
|
|
400
399
|
label: string;
|
|
400
|
+
source: string;
|
|
401
401
|
target: string;
|
|
402
402
|
promptedByQuestion?: string | null | undefined;
|
|
403
403
|
}>;
|
|
@@ -413,10 +413,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
413
413
|
value: z.ZodString;
|
|
414
414
|
}, "strip", z.ZodTypeAny, {
|
|
415
415
|
value: string;
|
|
416
|
-
type: "
|
|
416
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
417
417
|
}, {
|
|
418
418
|
value: string;
|
|
419
|
-
type: "
|
|
419
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
420
420
|
}>, "many">>>;
|
|
421
421
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
422
422
|
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
@@ -461,11 +461,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
461
461
|
order: z.ZodNumber;
|
|
462
462
|
description: z.ZodString;
|
|
463
463
|
}, "strip", z.ZodTypeAny, {
|
|
464
|
-
order: number;
|
|
465
464
|
description: string;
|
|
466
|
-
}, {
|
|
467
465
|
order: number;
|
|
466
|
+
}, {
|
|
468
467
|
description: string;
|
|
468
|
+
order: number;
|
|
469
469
|
}>, "many">;
|
|
470
470
|
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
471
471
|
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -473,8 +473,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
473
473
|
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
474
474
|
}, "strip", z.ZodTypeAny, {
|
|
475
475
|
steps: {
|
|
476
|
-
order: number;
|
|
477
476
|
description: string;
|
|
477
|
+
order: number;
|
|
478
478
|
}[];
|
|
479
479
|
finalAnswer?: string | null | undefined;
|
|
480
480
|
final_answer?: string | null | undefined;
|
|
@@ -482,8 +482,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
482
482
|
observed_outcome?: string | null | undefined;
|
|
483
483
|
}, {
|
|
484
484
|
steps: {
|
|
485
|
-
order: number;
|
|
486
485
|
description: string;
|
|
486
|
+
order: number;
|
|
487
487
|
}[];
|
|
488
488
|
finalAnswer?: string | null | undefined;
|
|
489
489
|
final_answer?: string | null | undefined;
|
|
@@ -491,8 +491,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
491
491
|
observed_outcome?: string | null | undefined;
|
|
492
492
|
}>, {
|
|
493
493
|
steps: {
|
|
494
|
-
order: number;
|
|
495
494
|
description: string;
|
|
495
|
+
order: number;
|
|
496
496
|
}[];
|
|
497
497
|
finalAnswer?: string | null | undefined;
|
|
498
498
|
final_answer?: string | null | undefined;
|
|
@@ -500,8 +500,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
500
500
|
observed_outcome?: string | null | undefined;
|
|
501
501
|
}, {
|
|
502
502
|
steps: {
|
|
503
|
-
order: number;
|
|
504
503
|
description: string;
|
|
504
|
+
order: number;
|
|
505
505
|
}[];
|
|
506
506
|
finalAnswer?: string | null | undefined;
|
|
507
507
|
final_answer?: string | null | undefined;
|
|
@@ -511,15 +511,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
511
511
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
512
512
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
513
513
|
}, "strip", z.ZodTypeAny, {
|
|
514
|
-
tags: string[];
|
|
515
|
-
content: string;
|
|
516
514
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
515
|
+
content: string;
|
|
517
516
|
confidence: number;
|
|
517
|
+
tags: string[];
|
|
518
518
|
entityRef?: string | null | undefined;
|
|
519
519
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
520
520
|
cueAnchors?: {
|
|
521
521
|
value: string;
|
|
522
|
-
type: "
|
|
522
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
523
523
|
}[] | null | undefined;
|
|
524
524
|
promptedByQuestion?: string | null | undefined;
|
|
525
525
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -536,8 +536,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
536
536
|
}[] | null | undefined;
|
|
537
537
|
reasoningTrace?: {
|
|
538
538
|
steps: {
|
|
539
|
-
order: number;
|
|
540
539
|
description: string;
|
|
540
|
+
order: number;
|
|
541
541
|
}[];
|
|
542
542
|
finalAnswer?: string | null | undefined;
|
|
543
543
|
final_answer?: string | null | undefined;
|
|
@@ -547,15 +547,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
547
547
|
eventTime?: string | null | undefined;
|
|
548
548
|
event_time?: string | null | undefined;
|
|
549
549
|
}, {
|
|
550
|
-
tags: string[];
|
|
551
|
-
content: string;
|
|
552
550
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
551
|
+
content: string;
|
|
553
552
|
confidence: number;
|
|
553
|
+
tags: string[];
|
|
554
554
|
entityRef?: string | null | undefined;
|
|
555
555
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
556
556
|
cueAnchors?: {
|
|
557
557
|
value: string;
|
|
558
|
-
type: "
|
|
558
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
559
559
|
}[] | null | undefined;
|
|
560
560
|
promptedByQuestion?: string | null | undefined;
|
|
561
561
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -572,8 +572,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
572
572
|
}[] | null | undefined;
|
|
573
573
|
reasoningTrace?: {
|
|
574
574
|
steps: {
|
|
575
|
-
order: number;
|
|
576
575
|
description: string;
|
|
576
|
+
order: number;
|
|
577
577
|
}[];
|
|
578
578
|
finalAnswer?: string | null | undefined;
|
|
579
579
|
final_answer?: string | null | undefined;
|
|
@@ -583,15 +583,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
583
583
|
eventTime?: string | null | undefined;
|
|
584
584
|
event_time?: string | null | undefined;
|
|
585
585
|
}>, {
|
|
586
|
-
tags: string[];
|
|
587
|
-
content: string;
|
|
588
586
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
587
|
+
content: string;
|
|
589
588
|
confidence: number;
|
|
589
|
+
tags: string[];
|
|
590
590
|
entityRef?: string | null | undefined;
|
|
591
591
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
592
592
|
cueAnchors?: {
|
|
593
593
|
value: string;
|
|
594
|
-
type: "
|
|
594
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
595
595
|
}[] | null | undefined;
|
|
596
596
|
promptedByQuestion?: string | null | undefined;
|
|
597
597
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -608,8 +608,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
608
608
|
}[] | null | undefined;
|
|
609
609
|
reasoningTrace?: {
|
|
610
610
|
steps: {
|
|
611
|
-
order: number;
|
|
612
611
|
description: string;
|
|
612
|
+
order: number;
|
|
613
613
|
}[];
|
|
614
614
|
finalAnswer?: string | null | undefined;
|
|
615
615
|
final_answer?: string | null | undefined;
|
|
@@ -619,15 +619,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
619
619
|
eventTime?: string | null | undefined;
|
|
620
620
|
event_time?: string | null | undefined;
|
|
621
621
|
}, {
|
|
622
|
-
tags: string[];
|
|
623
|
-
content: string;
|
|
624
622
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
623
|
+
content: string;
|
|
625
624
|
confidence: number;
|
|
625
|
+
tags: string[];
|
|
626
626
|
entityRef?: string | null | undefined;
|
|
627
627
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
628
628
|
cueAnchors?: {
|
|
629
629
|
value: string;
|
|
630
|
-
type: "
|
|
630
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
631
631
|
}[] | null | undefined;
|
|
632
632
|
promptedByQuestion?: string | null | undefined;
|
|
633
633
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -644,8 +644,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
644
644
|
}[] | null | undefined;
|
|
645
645
|
reasoningTrace?: {
|
|
646
646
|
steps: {
|
|
647
|
-
order: number;
|
|
648
647
|
description: string;
|
|
648
|
+
order: number;
|
|
649
649
|
}[];
|
|
650
650
|
finalAnswer?: string | null | undefined;
|
|
651
651
|
final_answer?: string | null | undefined;
|
|
@@ -666,12 +666,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
666
666
|
title: z.ZodString;
|
|
667
667
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
title: string;
|
|
670
669
|
key: string;
|
|
670
|
+
title: string;
|
|
671
671
|
facts: string[];
|
|
672
672
|
}, {
|
|
673
|
-
title: string;
|
|
674
673
|
key: string;
|
|
674
|
+
title: string;
|
|
675
675
|
facts: string[];
|
|
676
676
|
}>, "many">>>;
|
|
677
677
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -680,8 +680,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
680
680
|
facts: string[];
|
|
681
681
|
promptedByQuestion?: string | null | undefined;
|
|
682
682
|
structuredSections?: {
|
|
683
|
-
title: string;
|
|
684
683
|
key: string;
|
|
684
|
+
title: string;
|
|
685
685
|
facts: string[];
|
|
686
686
|
}[] | null | undefined;
|
|
687
687
|
}, {
|
|
@@ -690,8 +690,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
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
|
}>, "many">;
|
|
@@ -701,27 +701,27 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
701
701
|
label: z.ZodString;
|
|
702
702
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
source: string;
|
|
705
704
|
label: string;
|
|
705
|
+
source: string;
|
|
706
706
|
target: string;
|
|
707
707
|
promptedByQuestion?: string | null | undefined;
|
|
708
708
|
}, {
|
|
709
|
-
source: string;
|
|
710
709
|
label: string;
|
|
710
|
+
source: string;
|
|
711
711
|
target: string;
|
|
712
712
|
promptedByQuestion?: string | null | undefined;
|
|
713
713
|
}>, "many">>>;
|
|
714
714
|
}, "strip", z.ZodTypeAny, {
|
|
715
715
|
facts: {
|
|
716
|
-
tags: string[];
|
|
717
|
-
content: string;
|
|
718
716
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
717
|
+
content: string;
|
|
719
718
|
confidence: number;
|
|
719
|
+
tags: string[];
|
|
720
720
|
entityRef?: string | null | undefined;
|
|
721
721
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
722
722
|
cueAnchors?: {
|
|
723
723
|
value: string;
|
|
724
|
-
type: "
|
|
724
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
725
725
|
}[] | null | undefined;
|
|
726
726
|
promptedByQuestion?: string | null | undefined;
|
|
727
727
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -738,8 +738,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
738
738
|
}[] | null | undefined;
|
|
739
739
|
reasoningTrace?: {
|
|
740
740
|
steps: {
|
|
741
|
-
order: number;
|
|
742
741
|
description: string;
|
|
742
|
+
order: number;
|
|
743
743
|
}[];
|
|
744
744
|
finalAnswer?: string | null | undefined;
|
|
745
745
|
final_answer?: string | null | undefined;
|
|
@@ -755,29 +755,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
755
755
|
facts: string[];
|
|
756
756
|
promptedByQuestion?: string | null | undefined;
|
|
757
757
|
structuredSections?: {
|
|
758
|
-
title: string;
|
|
759
758
|
key: string;
|
|
759
|
+
title: string;
|
|
760
760
|
facts: string[];
|
|
761
761
|
}[] | null | undefined;
|
|
762
762
|
}[];
|
|
763
763
|
profileUpdates: string[];
|
|
764
764
|
relationships?: {
|
|
765
|
-
source: string;
|
|
766
765
|
label: string;
|
|
766
|
+
source: string;
|
|
767
767
|
target: string;
|
|
768
768
|
promptedByQuestion?: string | null | undefined;
|
|
769
769
|
}[] | null | undefined;
|
|
770
770
|
}, {
|
|
771
771
|
facts: {
|
|
772
|
-
tags: string[];
|
|
773
|
-
content: string;
|
|
774
772
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
773
|
+
content: string;
|
|
775
774
|
confidence: number;
|
|
775
|
+
tags: string[];
|
|
776
776
|
entityRef?: string | null | undefined;
|
|
777
777
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
778
778
|
cueAnchors?: {
|
|
779
779
|
value: string;
|
|
780
|
-
type: "
|
|
780
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
781
781
|
}[] | null | undefined;
|
|
782
782
|
promptedByQuestion?: string | null | undefined;
|
|
783
783
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -794,8 +794,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
794
794
|
}[] | null | undefined;
|
|
795
795
|
reasoningTrace?: {
|
|
796
796
|
steps: {
|
|
797
|
-
order: number;
|
|
798
797
|
description: string;
|
|
798
|
+
order: number;
|
|
799
799
|
}[];
|
|
800
800
|
finalAnswer?: string | null | undefined;
|
|
801
801
|
final_answer?: string | null | undefined;
|
|
@@ -811,210 +811,30 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
811
811
|
facts: string[];
|
|
812
812
|
promptedByQuestion?: string | null | undefined;
|
|
813
813
|
structuredSections?: {
|
|
814
|
-
title: string;
|
|
815
814
|
key: string;
|
|
815
|
+
title: string;
|
|
816
816
|
facts: string[];
|
|
817
817
|
}[] | null | undefined;
|
|
818
818
|
}[];
|
|
819
819
|
profileUpdates: string[];
|
|
820
820
|
relationships?: {
|
|
821
|
-
source: string;
|
|
822
821
|
label: string;
|
|
822
|
+
source: string;
|
|
823
823
|
target: string;
|
|
824
824
|
promptedByQuestion?: string | null | undefined;
|
|
825
825
|
}[] | null | undefined;
|
|
826
826
|
}>;
|
|
827
827
|
declare const ExtractionResultSchema: z.ZodObject<{
|
|
828
|
-
facts: z.
|
|
829
|
-
category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure", "reasoning_trace"]>;
|
|
830
|
-
content: z.ZodString;
|
|
831
|
-
confidence: z.ZodNumber;
|
|
832
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
833
|
-
entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
834
|
-
cueAnchors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
835
|
-
type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
|
|
836
|
-
value: z.ZodString;
|
|
837
|
-
}, "strip", z.ZodTypeAny, {
|
|
838
|
-
value: string;
|
|
839
|
-
type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
|
|
840
|
-
}, {
|
|
841
|
-
value: string;
|
|
842
|
-
type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
|
|
843
|
-
}>, "many">>>;
|
|
844
|
-
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
845
|
-
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
846
|
-
quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
847
|
-
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
848
|
-
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
849
|
-
order: z.ZodNumber;
|
|
850
|
-
intent: z.ZodString;
|
|
851
|
-
toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
852
|
-
kind: z.ZodString;
|
|
853
|
-
signature: z.ZodString;
|
|
854
|
-
}, "strip", z.ZodTypeAny, {
|
|
855
|
-
kind: string;
|
|
856
|
-
signature: string;
|
|
857
|
-
}, {
|
|
858
|
-
kind: string;
|
|
859
|
-
signature: string;
|
|
860
|
-
}>>>;
|
|
861
|
-
expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
862
|
-
optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
863
|
-
}, "strip", z.ZodTypeAny, {
|
|
864
|
-
intent: string;
|
|
865
|
-
order: number;
|
|
866
|
-
toolCall?: {
|
|
867
|
-
kind: string;
|
|
868
|
-
signature: string;
|
|
869
|
-
} | null | undefined;
|
|
870
|
-
expectedOutcome?: string | null | undefined;
|
|
871
|
-
optional?: boolean | null | undefined;
|
|
872
|
-
}, {
|
|
873
|
-
intent: string;
|
|
874
|
-
order: number;
|
|
875
|
-
toolCall?: {
|
|
876
|
-
kind: string;
|
|
877
|
-
signature: string;
|
|
878
|
-
} | null | undefined;
|
|
879
|
-
expectedOutcome?: string | null | undefined;
|
|
880
|
-
optional?: boolean | null | undefined;
|
|
881
|
-
}>, "many">>>;
|
|
882
|
-
reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
883
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
884
|
-
order: z.ZodNumber;
|
|
885
|
-
description: z.ZodString;
|
|
886
|
-
}, "strip", z.ZodTypeAny, {
|
|
887
|
-
order: number;
|
|
888
|
-
description: string;
|
|
889
|
-
}, {
|
|
890
|
-
order: number;
|
|
891
|
-
description: string;
|
|
892
|
-
}>, "many">;
|
|
893
|
-
finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
894
|
-
final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
895
|
-
observedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
896
|
-
observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
897
|
-
}, "strip", z.ZodTypeAny, {
|
|
898
|
-
steps: {
|
|
899
|
-
order: number;
|
|
900
|
-
description: string;
|
|
901
|
-
}[];
|
|
902
|
-
finalAnswer?: string | null | undefined;
|
|
903
|
-
final_answer?: string | null | undefined;
|
|
904
|
-
observedOutcome?: string | null | undefined;
|
|
905
|
-
observed_outcome?: string | null | undefined;
|
|
906
|
-
}, {
|
|
907
|
-
steps: {
|
|
908
|
-
order: number;
|
|
909
|
-
description: string;
|
|
910
|
-
}[];
|
|
911
|
-
finalAnswer?: string | null | undefined;
|
|
912
|
-
final_answer?: string | null | undefined;
|
|
913
|
-
observedOutcome?: string | null | undefined;
|
|
914
|
-
observed_outcome?: string | null | undefined;
|
|
915
|
-
}>, {
|
|
916
|
-
steps: {
|
|
917
|
-
order: number;
|
|
918
|
-
description: string;
|
|
919
|
-
}[];
|
|
920
|
-
finalAnswer?: string | null | undefined;
|
|
921
|
-
final_answer?: string | null | undefined;
|
|
922
|
-
observedOutcome?: string | null | undefined;
|
|
923
|
-
observed_outcome?: string | null | undefined;
|
|
924
|
-
}, {
|
|
925
|
-
steps: {
|
|
926
|
-
order: number;
|
|
927
|
-
description: string;
|
|
928
|
-
}[];
|
|
929
|
-
finalAnswer?: string | null | undefined;
|
|
930
|
-
final_answer?: string | null | undefined;
|
|
931
|
-
observedOutcome?: string | null | undefined;
|
|
932
|
-
observed_outcome?: string | null | undefined;
|
|
933
|
-
}>>>;
|
|
934
|
-
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
935
|
-
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
936
|
-
}, "strip", z.ZodTypeAny, {
|
|
937
|
-
tags: string[];
|
|
938
|
-
content: string;
|
|
828
|
+
facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
939
829
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
940
|
-
confidence: number;
|
|
941
|
-
entityRef?: string | null | undefined;
|
|
942
|
-
structuredAttributes?: Record<string, string> | null | undefined;
|
|
943
|
-
cueAnchors?: {
|
|
944
|
-
value: string;
|
|
945
|
-
type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
|
|
946
|
-
}[] | null | undefined;
|
|
947
|
-
promptedByQuestion?: string | null | undefined;
|
|
948
|
-
scope?: "project" | "global" | null | undefined;
|
|
949
|
-
quote?: string | null | undefined;
|
|
950
|
-
procedureSteps?: {
|
|
951
|
-
intent: string;
|
|
952
|
-
order: number;
|
|
953
|
-
toolCall?: {
|
|
954
|
-
kind: string;
|
|
955
|
-
signature: string;
|
|
956
|
-
} | null | undefined;
|
|
957
|
-
expectedOutcome?: string | null | undefined;
|
|
958
|
-
optional?: boolean | null | undefined;
|
|
959
|
-
}[] | null | undefined;
|
|
960
|
-
reasoningTrace?: {
|
|
961
|
-
steps: {
|
|
962
|
-
order: number;
|
|
963
|
-
description: string;
|
|
964
|
-
}[];
|
|
965
|
-
finalAnswer?: string | null | undefined;
|
|
966
|
-
final_answer?: string | null | undefined;
|
|
967
|
-
observedOutcome?: string | null | undefined;
|
|
968
|
-
observed_outcome?: string | null | undefined;
|
|
969
|
-
} | null | undefined;
|
|
970
|
-
eventTime?: string | null | undefined;
|
|
971
|
-
event_time?: string | null | undefined;
|
|
972
|
-
}, {
|
|
973
|
-
tags: string[];
|
|
974
830
|
content: string;
|
|
975
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
976
831
|
confidence: number;
|
|
977
|
-
entityRef?: string | null | undefined;
|
|
978
|
-
structuredAttributes?: Record<string, string> | null | undefined;
|
|
979
|
-
cueAnchors?: {
|
|
980
|
-
value: string;
|
|
981
|
-
type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
|
|
982
|
-
}[] | null | undefined;
|
|
983
|
-
promptedByQuestion?: string | null | undefined;
|
|
984
|
-
scope?: "project" | "global" | null | undefined;
|
|
985
|
-
quote?: string | null | undefined;
|
|
986
|
-
procedureSteps?: {
|
|
987
|
-
intent: string;
|
|
988
|
-
order: number;
|
|
989
|
-
toolCall?: {
|
|
990
|
-
kind: string;
|
|
991
|
-
signature: string;
|
|
992
|
-
} | null | undefined;
|
|
993
|
-
expectedOutcome?: string | null | undefined;
|
|
994
|
-
optional?: boolean | null | undefined;
|
|
995
|
-
}[] | null | undefined;
|
|
996
|
-
reasoningTrace?: {
|
|
997
|
-
steps: {
|
|
998
|
-
order: number;
|
|
999
|
-
description: string;
|
|
1000
|
-
}[];
|
|
1001
|
-
finalAnswer?: string | null | undefined;
|
|
1002
|
-
final_answer?: string | null | undefined;
|
|
1003
|
-
observedOutcome?: string | null | undefined;
|
|
1004
|
-
observed_outcome?: string | null | undefined;
|
|
1005
|
-
} | null | undefined;
|
|
1006
|
-
eventTime?: string | null | undefined;
|
|
1007
|
-
event_time?: string | null | undefined;
|
|
1008
|
-
}>, {
|
|
1009
832
|
tags: string[];
|
|
1010
|
-
content: string;
|
|
1011
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1012
|
-
confidence: number;
|
|
1013
833
|
entityRef?: string | null | undefined;
|
|
1014
834
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1015
835
|
cueAnchors?: {
|
|
1016
836
|
value: string;
|
|
1017
|
-
type: "
|
|
837
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1018
838
|
}[] | null | undefined;
|
|
1019
839
|
promptedByQuestion?: string | null | undefined;
|
|
1020
840
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -1031,44 +851,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1031
851
|
}[] | null | undefined;
|
|
1032
852
|
reasoningTrace?: {
|
|
1033
853
|
steps: {
|
|
1034
|
-
order: number;
|
|
1035
854
|
description: string;
|
|
1036
|
-
}[];
|
|
1037
|
-
finalAnswer?: string | null | undefined;
|
|
1038
|
-
final_answer?: string | null | undefined;
|
|
1039
|
-
observedOutcome?: string | null | undefined;
|
|
1040
|
-
observed_outcome?: string | null | undefined;
|
|
1041
|
-
} | null | undefined;
|
|
1042
|
-
eventTime?: string | null | undefined;
|
|
1043
|
-
event_time?: string | null | undefined;
|
|
1044
|
-
}, {
|
|
1045
|
-
tags: string[];
|
|
1046
|
-
content: string;
|
|
1047
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1048
|
-
confidence: number;
|
|
1049
|
-
entityRef?: string | null | undefined;
|
|
1050
|
-
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1051
|
-
cueAnchors?: {
|
|
1052
|
-
value: string;
|
|
1053
|
-
type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
|
|
1054
|
-
}[] | null | undefined;
|
|
1055
|
-
promptedByQuestion?: string | null | undefined;
|
|
1056
|
-
scope?: "project" | "global" | null | undefined;
|
|
1057
|
-
quote?: string | null | undefined;
|
|
1058
|
-
procedureSteps?: {
|
|
1059
|
-
intent: string;
|
|
1060
|
-
order: number;
|
|
1061
|
-
toolCall?: {
|
|
1062
|
-
kind: string;
|
|
1063
|
-
signature: string;
|
|
1064
|
-
} | null | undefined;
|
|
1065
|
-
expectedOutcome?: string | null | undefined;
|
|
1066
|
-
optional?: boolean | null | undefined;
|
|
1067
|
-
}[] | null | undefined;
|
|
1068
|
-
reasoningTrace?: {
|
|
1069
|
-
steps: {
|
|
1070
855
|
order: number;
|
|
1071
|
-
description: string;
|
|
1072
856
|
}[];
|
|
1073
857
|
finalAnswer?: string | null | undefined;
|
|
1074
858
|
final_answer?: string | null | undefined;
|
|
@@ -1077,78 +861,32 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1077
861
|
} | null | undefined;
|
|
1078
862
|
eventTime?: string | null | undefined;
|
|
1079
863
|
event_time?: string | null | undefined;
|
|
1080
|
-
}
|
|
1081
|
-
profileUpdates: z.ZodArray<z.
|
|
1082
|
-
entities: z.ZodArray<z.
|
|
1083
|
-
name: z.ZodString;
|
|
1084
|
-
type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
|
|
1085
|
-
facts: z.ZodArray<z.ZodString, "many">;
|
|
1086
|
-
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1087
|
-
structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1088
|
-
key: z.ZodString;
|
|
1089
|
-
title: z.ZodString;
|
|
1090
|
-
facts: z.ZodArray<z.ZodString, "many">;
|
|
1091
|
-
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
title: string;
|
|
1093
|
-
key: string;
|
|
1094
|
-
facts: string[];
|
|
1095
|
-
}, {
|
|
1096
|
-
title: string;
|
|
1097
|
-
key: string;
|
|
1098
|
-
facts: string[];
|
|
1099
|
-
}>, "many">>>;
|
|
1100
|
-
}, "strip", z.ZodTypeAny, {
|
|
864
|
+
}[], unknown[]>;
|
|
865
|
+
profileUpdates: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, string[], unknown[]>;
|
|
866
|
+
entities: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
1101
867
|
type: "project" | "other" | "person" | "tool" | "company" | "place";
|
|
1102
868
|
name: string;
|
|
1103
869
|
facts: string[];
|
|
1104
870
|
promptedByQuestion?: string | null | undefined;
|
|
1105
871
|
structuredSections?: {
|
|
1106
|
-
title: string;
|
|
1107
872
|
key: string;
|
|
1108
|
-
facts: string[];
|
|
1109
|
-
}[] | null | undefined;
|
|
1110
|
-
}, {
|
|
1111
|
-
type: "project" | "other" | "person" | "tool" | "company" | "place";
|
|
1112
|
-
name: string;
|
|
1113
|
-
facts: string[];
|
|
1114
|
-
promptedByQuestion?: string | null | undefined;
|
|
1115
|
-
structuredSections?: {
|
|
1116
873
|
title: string;
|
|
1117
|
-
key: string;
|
|
1118
874
|
facts: string[];
|
|
1119
875
|
}[] | null | undefined;
|
|
1120
|
-
}
|
|
1121
|
-
questions: z.ZodArray<z.
|
|
1122
|
-
question: z.ZodString;
|
|
1123
|
-
context: z.ZodString;
|
|
1124
|
-
priority: z.ZodNumber;
|
|
1125
|
-
}, "strip", z.ZodTypeAny, {
|
|
876
|
+
}[], unknown[]>;
|
|
877
|
+
questions: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
1126
878
|
question: string;
|
|
1127
879
|
priority: number;
|
|
1128
880
|
context: string;
|
|
1129
|
-
},
|
|
1130
|
-
question: string;
|
|
1131
|
-
priority: number;
|
|
1132
|
-
context: string;
|
|
1133
|
-
}>, "many">;
|
|
881
|
+
}[], unknown[]>;
|
|
1134
882
|
identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1135
883
|
episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1136
|
-
relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
1137
|
-
source: z.ZodString;
|
|
1138
|
-
target: z.ZodString;
|
|
1139
|
-
label: z.ZodString;
|
|
1140
|
-
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1141
|
-
}, "strip", z.ZodTypeAny, {
|
|
1142
|
-
source: string;
|
|
884
|
+
relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
|
|
1143
885
|
label: string;
|
|
1144
|
-
target: string;
|
|
1145
|
-
promptedByQuestion?: string | null | undefined;
|
|
1146
|
-
}, {
|
|
1147
886
|
source: string;
|
|
1148
|
-
label: string;
|
|
1149
887
|
target: string;
|
|
1150
888
|
promptedByQuestion?: string | null | undefined;
|
|
1151
|
-
}
|
|
889
|
+
}[], unknown[]>>>;
|
|
1152
890
|
}, "strip", z.ZodTypeAny, {
|
|
1153
891
|
questions: {
|
|
1154
892
|
question: string;
|
|
@@ -1156,15 +894,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1156
894
|
context: string;
|
|
1157
895
|
}[];
|
|
1158
896
|
facts: {
|
|
1159
|
-
tags: string[];
|
|
1160
|
-
content: string;
|
|
1161
897
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
898
|
+
content: string;
|
|
1162
899
|
confidence: number;
|
|
900
|
+
tags: string[];
|
|
1163
901
|
entityRef?: string | null | undefined;
|
|
1164
902
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1165
903
|
cueAnchors?: {
|
|
1166
904
|
value: string;
|
|
1167
|
-
type: "
|
|
905
|
+
type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
|
|
1168
906
|
}[] | null | undefined;
|
|
1169
907
|
promptedByQuestion?: string | null | undefined;
|
|
1170
908
|
scope?: "project" | "global" | null | undefined;
|
|
@@ -1181,8 +919,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1181
919
|
}[] | null | undefined;
|
|
1182
920
|
reasoningTrace?: {
|
|
1183
921
|
steps: {
|
|
1184
|
-
order: number;
|
|
1185
922
|
description: string;
|
|
923
|
+
order: number;
|
|
1186
924
|
}[];
|
|
1187
925
|
finalAnswer?: string | null | undefined;
|
|
1188
926
|
final_answer?: string | null | undefined;
|
|
@@ -1198,81 +936,26 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1198
936
|
facts: string[];
|
|
1199
937
|
promptedByQuestion?: string | null | undefined;
|
|
1200
938
|
structuredSections?: {
|
|
1201
|
-
title: string;
|
|
1202
939
|
key: string;
|
|
940
|
+
title: string;
|
|
1203
941
|
facts: string[];
|
|
1204
942
|
}[] | null | undefined;
|
|
1205
943
|
}[];
|
|
1206
944
|
profileUpdates: string[];
|
|
1207
945
|
relationships?: {
|
|
1208
|
-
source: string;
|
|
1209
946
|
label: string;
|
|
947
|
+
source: string;
|
|
1210
948
|
target: string;
|
|
1211
949
|
promptedByQuestion?: string | null | undefined;
|
|
1212
950
|
}[] | null | undefined;
|
|
1213
951
|
identityReflection?: string | null | undefined;
|
|
1214
952
|
episodeTitle?: string | null | undefined;
|
|
1215
953
|
}, {
|
|
1216
|
-
questions:
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
facts: {
|
|
1222
|
-
tags: string[];
|
|
1223
|
-
content: string;
|
|
1224
|
-
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1225
|
-
confidence: number;
|
|
1226
|
-
entityRef?: string | null | undefined;
|
|
1227
|
-
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1228
|
-
cueAnchors?: {
|
|
1229
|
-
value: string;
|
|
1230
|
-
type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
|
|
1231
|
-
}[] | null | undefined;
|
|
1232
|
-
promptedByQuestion?: string | null | undefined;
|
|
1233
|
-
scope?: "project" | "global" | null | undefined;
|
|
1234
|
-
quote?: string | null | undefined;
|
|
1235
|
-
procedureSteps?: {
|
|
1236
|
-
intent: string;
|
|
1237
|
-
order: number;
|
|
1238
|
-
toolCall?: {
|
|
1239
|
-
kind: string;
|
|
1240
|
-
signature: string;
|
|
1241
|
-
} | null | undefined;
|
|
1242
|
-
expectedOutcome?: string | null | undefined;
|
|
1243
|
-
optional?: boolean | null | undefined;
|
|
1244
|
-
}[] | null | undefined;
|
|
1245
|
-
reasoningTrace?: {
|
|
1246
|
-
steps: {
|
|
1247
|
-
order: number;
|
|
1248
|
-
description: string;
|
|
1249
|
-
}[];
|
|
1250
|
-
finalAnswer?: string | null | undefined;
|
|
1251
|
-
final_answer?: string | null | undefined;
|
|
1252
|
-
observedOutcome?: string | null | undefined;
|
|
1253
|
-
observed_outcome?: string | null | undefined;
|
|
1254
|
-
} | null | undefined;
|
|
1255
|
-
eventTime?: string | null | undefined;
|
|
1256
|
-
event_time?: string | null | undefined;
|
|
1257
|
-
}[];
|
|
1258
|
-
entities: {
|
|
1259
|
-
type: "project" | "other" | "person" | "tool" | "company" | "place";
|
|
1260
|
-
name: string;
|
|
1261
|
-
facts: string[];
|
|
1262
|
-
promptedByQuestion?: string | null | undefined;
|
|
1263
|
-
structuredSections?: {
|
|
1264
|
-
title: string;
|
|
1265
|
-
key: string;
|
|
1266
|
-
facts: string[];
|
|
1267
|
-
}[] | null | undefined;
|
|
1268
|
-
}[];
|
|
1269
|
-
profileUpdates: string[];
|
|
1270
|
-
relationships?: {
|
|
1271
|
-
source: string;
|
|
1272
|
-
label: string;
|
|
1273
|
-
target: string;
|
|
1274
|
-
promptedByQuestion?: string | null | undefined;
|
|
1275
|
-
}[] | null | undefined;
|
|
954
|
+
questions: unknown[];
|
|
955
|
+
facts: unknown[];
|
|
956
|
+
entities: unknown[];
|
|
957
|
+
profileUpdates: unknown[];
|
|
958
|
+
relationships?: unknown[] | null | undefined;
|
|
1276
959
|
identityReflection?: string | null | undefined;
|
|
1277
960
|
episodeTitle?: string | null | undefined;
|
|
1278
961
|
}>;
|
|
@@ -1283,15 +966,15 @@ declare const ConsolidationItemSchema: z.ZodObject<{
|
|
|
1283
966
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1284
967
|
reason: z.ZodString;
|
|
1285
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1286
970
|
reason: string;
|
|
1287
971
|
existingId: string;
|
|
1288
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1289
972
|
mergeWith?: string | null | undefined;
|
|
1290
973
|
updatedContent?: string | null | undefined;
|
|
1291
974
|
}, {
|
|
975
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1292
976
|
reason: string;
|
|
1293
977
|
existingId: string;
|
|
1294
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1295
978
|
mergeWith?: string | null | undefined;
|
|
1296
979
|
updatedContent?: string | null | undefined;
|
|
1297
980
|
}>;
|
|
@@ -1303,15 +986,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1303
986
|
updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1304
987
|
reason: z.ZodString;
|
|
1305
988
|
}, "strip", z.ZodTypeAny, {
|
|
989
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1306
990
|
reason: string;
|
|
1307
991
|
existingId: string;
|
|
1308
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1309
992
|
mergeWith?: string | null | undefined;
|
|
1310
993
|
updatedContent?: string | null | undefined;
|
|
1311
994
|
}, {
|
|
995
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1312
996
|
reason: string;
|
|
1313
997
|
existingId: string;
|
|
1314
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1315
998
|
mergeWith?: string | null | undefined;
|
|
1316
999
|
updatedContent?: string | null | undefined;
|
|
1317
1000
|
}>, "many">;
|
|
@@ -1326,12 +1009,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1326
1009
|
title: z.ZodString;
|
|
1327
1010
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1328
1011
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
-
title: string;
|
|
1330
1012
|
key: string;
|
|
1013
|
+
title: string;
|
|
1331
1014
|
facts: string[];
|
|
1332
1015
|
}, {
|
|
1333
|
-
title: string;
|
|
1334
1016
|
key: string;
|
|
1017
|
+
title: string;
|
|
1335
1018
|
facts: string[];
|
|
1336
1019
|
}>, "many">>>;
|
|
1337
1020
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1340,8 +1023,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1340
1023
|
facts: string[];
|
|
1341
1024
|
promptedByQuestion?: string | null | undefined;
|
|
1342
1025
|
structuredSections?: {
|
|
1343
|
-
title: string;
|
|
1344
1026
|
key: string;
|
|
1027
|
+
title: string;
|
|
1345
1028
|
facts: string[];
|
|
1346
1029
|
}[] | null | undefined;
|
|
1347
1030
|
}, {
|
|
@@ -1350,16 +1033,16 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1350
1033
|
facts: string[];
|
|
1351
1034
|
promptedByQuestion?: string | null | undefined;
|
|
1352
1035
|
structuredSections?: {
|
|
1353
|
-
title: string;
|
|
1354
1036
|
key: string;
|
|
1037
|
+
title: string;
|
|
1355
1038
|
facts: string[];
|
|
1356
1039
|
}[] | null | undefined;
|
|
1357
1040
|
}>, "many">;
|
|
1358
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1359
1042
|
items: {
|
|
1043
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1360
1044
|
reason: string;
|
|
1361
1045
|
existingId: string;
|
|
1362
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1363
1046
|
mergeWith?: string | null | undefined;
|
|
1364
1047
|
updatedContent?: string | null | undefined;
|
|
1365
1048
|
}[];
|
|
@@ -1370,16 +1053,16 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1370
1053
|
facts: string[];
|
|
1371
1054
|
promptedByQuestion?: string | null | undefined;
|
|
1372
1055
|
structuredSections?: {
|
|
1373
|
-
title: string;
|
|
1374
1056
|
key: string;
|
|
1057
|
+
title: string;
|
|
1375
1058
|
facts: string[];
|
|
1376
1059
|
}[] | null | undefined;
|
|
1377
1060
|
}[];
|
|
1378
1061
|
}, {
|
|
1379
1062
|
items: {
|
|
1063
|
+
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1380
1064
|
reason: string;
|
|
1381
1065
|
existingId: string;
|
|
1382
|
-
action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
|
|
1383
1066
|
mergeWith?: string | null | undefined;
|
|
1384
1067
|
updatedContent?: string | null | undefined;
|
|
1385
1068
|
}[];
|
|
@@ -1390,8 +1073,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1390
1073
|
facts: string[];
|
|
1391
1074
|
promptedByQuestion?: string | null | undefined;
|
|
1392
1075
|
structuredSections?: {
|
|
1393
|
-
title: string;
|
|
1394
1076
|
key: string;
|
|
1077
|
+
title: string;
|
|
1395
1078
|
facts: string[];
|
|
1396
1079
|
}[] | null | undefined;
|
|
1397
1080
|
}[];
|
|
@@ -1439,13 +1122,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
|
|
|
1439
1122
|
reasoning: z.ZodString;
|
|
1440
1123
|
whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
|
|
1441
1124
|
}, "strip", z.ZodTypeAny, {
|
|
1442
|
-
reasoning: string;
|
|
1443
1125
|
confidence: number;
|
|
1126
|
+
reasoning: string;
|
|
1444
1127
|
isContradiction: boolean;
|
|
1445
1128
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1446
1129
|
}, {
|
|
1447
|
-
reasoning: string;
|
|
1448
1130
|
confidence: number;
|
|
1131
|
+
reasoning: string;
|
|
1449
1132
|
isContradiction: boolean;
|
|
1450
1133
|
whichIsNewer: "first" | "second" | "unclear";
|
|
1451
1134
|
}>;
|
|
@@ -1540,8 +1223,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1540
1223
|
reason: z.ZodString;
|
|
1541
1224
|
appliedAt: z.ZodString;
|
|
1542
1225
|
}, "strip", z.ZodTypeAny, {
|
|
1543
|
-
confidence: number;
|
|
1544
1226
|
reason: string;
|
|
1227
|
+
confidence: number;
|
|
1545
1228
|
parameter: string;
|
|
1546
1229
|
previousValue: number;
|
|
1547
1230
|
nextValue: number;
|
|
@@ -1549,8 +1232,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1549
1232
|
evidenceCount: number;
|
|
1550
1233
|
appliedAt: string;
|
|
1551
1234
|
}, {
|
|
1552
|
-
confidence: number;
|
|
1553
1235
|
reason: string;
|
|
1236
|
+
confidence: number;
|
|
1554
1237
|
parameter: string;
|
|
1555
1238
|
previousValue: number;
|
|
1556
1239
|
nextValue: number;
|
|
@@ -1574,8 +1257,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1574
1257
|
reason: z.ZodString;
|
|
1575
1258
|
appliedAt: z.ZodString;
|
|
1576
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1577
|
-
confidence: number;
|
|
1578
1260
|
reason: string;
|
|
1261
|
+
confidence: number;
|
|
1579
1262
|
parameter: string;
|
|
1580
1263
|
previousValue: number;
|
|
1581
1264
|
nextValue: number;
|
|
@@ -1583,8 +1266,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1583
1266
|
evidenceCount: number;
|
|
1584
1267
|
appliedAt: string;
|
|
1585
1268
|
}, {
|
|
1586
|
-
confidence: number;
|
|
1587
1269
|
reason: string;
|
|
1270
|
+
confidence: number;
|
|
1588
1271
|
parameter: string;
|
|
1589
1272
|
previousValue: number;
|
|
1590
1273
|
nextValue: number;
|
|
@@ -1600,8 +1283,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1600
1283
|
maxDeltaPerCycle: number;
|
|
1601
1284
|
protectedParams: string[];
|
|
1602
1285
|
adjustments: {
|
|
1603
|
-
confidence: number;
|
|
1604
1286
|
reason: string;
|
|
1287
|
+
confidence: number;
|
|
1605
1288
|
parameter: string;
|
|
1606
1289
|
previousValue: number;
|
|
1607
1290
|
nextValue: number;
|
|
@@ -1617,8 +1300,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1617
1300
|
maxDeltaPerCycle: number;
|
|
1618
1301
|
protectedParams: string[];
|
|
1619
1302
|
adjustments: {
|
|
1620
|
-
confidence: number;
|
|
1621
1303
|
reason: string;
|
|
1304
|
+
confidence: number;
|
|
1622
1305
|
parameter: string;
|
|
1623
1306
|
previousValue: number;
|
|
1624
1307
|
nextValue: number;
|