@tenphi/akno-protocol 0.4.0 → 0.6.0
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/README.md +5 -0
- package/dist/common.d.ts +686 -20
- package/dist/common.d.ts.map +1 -1
- package/dist/common.js +224 -1
- package/dist/common.js.map +1 -1
- package/dist/ops/answer.d.ts +224 -0
- package/dist/ops/answer.d.ts.map +1 -1
- package/dist/ops/context.d.ts +374 -11
- package/dist/ops/context.d.ts.map +1 -1
- package/dist/ops/folder.d.ts +4 -0
- package/dist/ops/folder.d.ts.map +1 -1
- package/dist/ops/graph.d.ts +7 -3
- package/dist/ops/graph.d.ts.map +1 -1
- package/dist/ops/list.d.ts +4 -0
- package/dist/ops/list.d.ts.map +1 -1
- package/dist/ops/mutate.d.ts +28 -4
- package/dist/ops/mutate.d.ts.map +1 -1
- package/dist/ops/read.d.ts +224 -0
- package/dist/ops/read.d.ts.map +1 -1
- package/dist/ops/recall.d.ts +120 -6
- package/dist/ops/recall.d.ts.map +1 -1
- package/dist/ops/retain.d.ts +258 -81
- package/dist/ops/retain.d.ts.map +1 -1
- package/dist/ops/retain.js +72 -119
- package/dist/ops/retain.js.map +1 -1
- package/dist/ops/timeline.d.ts +540 -2
- package/dist/ops/timeline.d.ts.map +1 -1
- package/dist/ops/timeline.js +143 -11
- package/dist/ops/timeline.js.map +1 -1
- package/dist/ops/write.d.ts +4 -0
- package/dist/ops/write.d.ts.map +1 -1
- package/dist/registry.d.ts +1113 -36
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +9 -8
- package/dist/registry.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +3 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/dist/ops/mutate.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export declare const RememberOutput: z.ZodObject<{
|
|
|
28
28
|
embedding_failed: "embedding_failed";
|
|
29
29
|
rerank_failed: "rerank_failed";
|
|
30
30
|
derive_failed: "derive_failed";
|
|
31
|
+
retain_verification_failed: "retain_verification_failed";
|
|
32
|
+
retain_apply_failed: "retain_apply_failed";
|
|
33
|
+
partial_temporal_index: "partial_temporal_index";
|
|
34
|
+
timeline_range_limited: "timeline_range_limited";
|
|
31
35
|
expansion_failed: "expansion_failed";
|
|
32
36
|
no_vector_index: "no_vector_index";
|
|
33
37
|
partial_index: "partial_index";
|
|
@@ -137,6 +141,10 @@ export declare const ForgetOutput: z.ZodObject<{
|
|
|
137
141
|
embedding_failed: "embedding_failed";
|
|
138
142
|
rerank_failed: "rerank_failed";
|
|
139
143
|
derive_failed: "derive_failed";
|
|
144
|
+
retain_verification_failed: "retain_verification_failed";
|
|
145
|
+
retain_apply_failed: "retain_apply_failed";
|
|
146
|
+
partial_temporal_index: "partial_temporal_index";
|
|
147
|
+
timeline_range_limited: "timeline_range_limited";
|
|
140
148
|
expansion_failed: "expansion_failed";
|
|
141
149
|
no_vector_index: "no_vector_index";
|
|
142
150
|
partial_index: "partial_index";
|
|
@@ -178,6 +186,10 @@ export declare const UndoOutput: z.ZodObject<{
|
|
|
178
186
|
embedding_failed: "embedding_failed";
|
|
179
187
|
rerank_failed: "rerank_failed";
|
|
180
188
|
derive_failed: "derive_failed";
|
|
189
|
+
retain_verification_failed: "retain_verification_failed";
|
|
190
|
+
retain_apply_failed: "retain_apply_failed";
|
|
191
|
+
partial_temporal_index: "partial_temporal_index";
|
|
192
|
+
timeline_range_limited: "timeline_range_limited";
|
|
181
193
|
expansion_failed: "expansion_failed";
|
|
182
194
|
no_vector_index: "no_vector_index";
|
|
183
195
|
partial_index: "partial_index";
|
|
@@ -220,6 +232,10 @@ export declare const MoveOutput: z.ZodObject<{
|
|
|
220
232
|
embedding_failed: "embedding_failed";
|
|
221
233
|
rerank_failed: "rerank_failed";
|
|
222
234
|
derive_failed: "derive_failed";
|
|
235
|
+
retain_verification_failed: "retain_verification_failed";
|
|
236
|
+
retain_apply_failed: "retain_apply_failed";
|
|
237
|
+
partial_temporal_index: "partial_temporal_index";
|
|
238
|
+
timeline_range_limited: "timeline_range_limited";
|
|
223
239
|
expansion_failed: "expansion_failed";
|
|
224
240
|
no_vector_index: "no_vector_index";
|
|
225
241
|
partial_index: "partial_index";
|
|
@@ -277,6 +293,10 @@ export declare const IngestOutput: z.ZodObject<{
|
|
|
277
293
|
embedding_failed: "embedding_failed";
|
|
278
294
|
rerank_failed: "rerank_failed";
|
|
279
295
|
derive_failed: "derive_failed";
|
|
296
|
+
retain_verification_failed: "retain_verification_failed";
|
|
297
|
+
retain_apply_failed: "retain_apply_failed";
|
|
298
|
+
partial_temporal_index: "partial_temporal_index";
|
|
299
|
+
timeline_range_limited: "timeline_range_limited";
|
|
280
300
|
expansion_failed: "expansion_failed";
|
|
281
301
|
no_vector_index: "no_vector_index";
|
|
282
302
|
partial_index: "partial_index";
|
|
@@ -367,6 +387,10 @@ export declare const AdoptOutput: z.ZodObject<{
|
|
|
367
387
|
embedding_failed: "embedding_failed";
|
|
368
388
|
rerank_failed: "rerank_failed";
|
|
369
389
|
derive_failed: "derive_failed";
|
|
390
|
+
retain_verification_failed: "retain_verification_failed";
|
|
391
|
+
retain_apply_failed: "retain_apply_failed";
|
|
392
|
+
partial_temporal_index: "partial_temporal_index";
|
|
393
|
+
timeline_range_limited: "timeline_range_limited";
|
|
370
394
|
expansion_failed: "expansion_failed";
|
|
371
395
|
no_vector_index: "no_vector_index";
|
|
372
396
|
partial_index: "partial_index";
|
|
@@ -384,11 +408,11 @@ export declare const AdoptOutput: z.ZodObject<{
|
|
|
384
408
|
}>>>;
|
|
385
409
|
note: z.ZodOptional<z.ZodString>;
|
|
386
410
|
outcome: z.ZodEnum<{
|
|
411
|
+
planned: "planned";
|
|
387
412
|
rejected: "rejected";
|
|
388
413
|
disabled: "disabled";
|
|
389
414
|
created: "created";
|
|
390
415
|
noop: "noop";
|
|
391
|
-
planned: "planned";
|
|
392
416
|
requires_review: "requires_review";
|
|
393
417
|
verification_pending: "verification_pending";
|
|
394
418
|
blocked: "blocked";
|
|
@@ -407,25 +431,25 @@ export declare const AdoptOutput: z.ZodObject<{
|
|
|
407
431
|
review: "review";
|
|
408
432
|
}>;
|
|
409
433
|
status: z.ZodEnum<{
|
|
434
|
+
completed: "completed";
|
|
410
435
|
superseded: "superseded";
|
|
411
436
|
ready: "ready";
|
|
412
437
|
awaiting_review: "awaiting_review";
|
|
413
438
|
deciding: "deciding";
|
|
414
439
|
approved: "approved";
|
|
415
440
|
applying: "applying";
|
|
416
|
-
completed: "completed";
|
|
417
441
|
partially_completed: "partially_completed";
|
|
418
442
|
failed: "failed";
|
|
419
443
|
}>;
|
|
420
444
|
item_id: z.ZodString;
|
|
421
445
|
item_status: z.ZodEnum<{
|
|
422
|
-
|
|
446
|
+
proposed: "proposed";
|
|
423
447
|
rejected: "rejected";
|
|
448
|
+
applied: "applied";
|
|
424
449
|
verification_pending: "verification_pending";
|
|
425
450
|
blocked: "blocked";
|
|
426
451
|
approved: "approved";
|
|
427
452
|
applying: "applying";
|
|
428
|
-
proposed: "proposed";
|
|
429
453
|
stale: "stale";
|
|
430
454
|
verification_failed: "verification_failed";
|
|
431
455
|
}>;
|
package/dist/ops/mutate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutate.d.ts","sourceRoot":"","sources":["../../src/ops/mutate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;iBAsBxB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"mutate.d.ts","sourceRoot":"","sources":["../../src/ops/mutate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;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CAAC,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;iBAkBkE,CAAC;AAC3F,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCvB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,8FAA8F;AAC9F,eAAO,MAAM,UAAU;;iBAGrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgDtB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
package/dist/ops/read.d.ts
CHANGED
|
@@ -40,6 +40,116 @@ export declare const PageBody: z.ZodObject<{
|
|
|
40
40
|
n: z.ZodNumber;
|
|
41
41
|
text: z.ZodString;
|
|
42
42
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
+
status: z.ZodLiteral<"qualified">;
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
level: z.ZodLiteral<1>;
|
|
47
|
+
kind: z.ZodEnum<{
|
|
48
|
+
question: "question";
|
|
49
|
+
claim: "claim";
|
|
50
|
+
decision: "decision";
|
|
51
|
+
preference: "preference";
|
|
52
|
+
plan: "plan";
|
|
53
|
+
event: "event";
|
|
54
|
+
}>;
|
|
55
|
+
subject: z.ZodString;
|
|
56
|
+
source_role: z.ZodEnum<{
|
|
57
|
+
unknown: "unknown";
|
|
58
|
+
user: "user";
|
|
59
|
+
assistant: "assistant";
|
|
60
|
+
external: "external";
|
|
61
|
+
}>;
|
|
62
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
63
|
+
commitment: z.ZodEnum<{
|
|
64
|
+
none: "none";
|
|
65
|
+
tentative: "tentative";
|
|
66
|
+
asserted: "asserted";
|
|
67
|
+
hypothetical: "hypothetical";
|
|
68
|
+
counterfactual: "counterfactual";
|
|
69
|
+
}>;
|
|
70
|
+
disposition: z.ZodEnum<{
|
|
71
|
+
active: "active";
|
|
72
|
+
proposed: "proposed";
|
|
73
|
+
accepted: "accepted";
|
|
74
|
+
rejected: "rejected";
|
|
75
|
+
resolved: "resolved";
|
|
76
|
+
cancelled: "cancelled";
|
|
77
|
+
completed: "completed";
|
|
78
|
+
superseded: "superseded";
|
|
79
|
+
}>;
|
|
80
|
+
polarity: z.ZodEnum<{
|
|
81
|
+
affirmed: "affirmed";
|
|
82
|
+
negated: "negated";
|
|
83
|
+
}>;
|
|
84
|
+
basis: z.ZodEnum<{
|
|
85
|
+
self_attested: "self_attested";
|
|
86
|
+
source_report: "source_report";
|
|
87
|
+
cited_evidence: "cited_evidence";
|
|
88
|
+
system_record: "system_record";
|
|
89
|
+
}>;
|
|
90
|
+
answer_eligible: z.ZodBoolean;
|
|
91
|
+
current_eligible: z.ZodBoolean;
|
|
92
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
time: z.ZodObject<{
|
|
94
|
+
start: z.ZodOptional<z.ZodString>;
|
|
95
|
+
until: z.ZodOptional<z.ZodString>;
|
|
96
|
+
precision: z.ZodEnum<{
|
|
97
|
+
instant: "instant";
|
|
98
|
+
day: "day";
|
|
99
|
+
month: "month";
|
|
100
|
+
year: "year";
|
|
101
|
+
unknown: "unknown";
|
|
102
|
+
}>;
|
|
103
|
+
relation: z.ZodEnum<{
|
|
104
|
+
occurred: "occurred";
|
|
105
|
+
valid: "valid";
|
|
106
|
+
scheduled: "scheduled";
|
|
107
|
+
due: "due";
|
|
108
|
+
}>;
|
|
109
|
+
status: z.ZodEnum<{
|
|
110
|
+
scheduled: "scheduled";
|
|
111
|
+
actual: "actual";
|
|
112
|
+
planned: "planned";
|
|
113
|
+
tentative: "tentative";
|
|
114
|
+
}>;
|
|
115
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
116
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
117
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
frequency: z.ZodEnum<{
|
|
119
|
+
daily: "daily";
|
|
120
|
+
weekly: "weekly";
|
|
121
|
+
monthly: "monthly";
|
|
122
|
+
yearly: "yearly";
|
|
123
|
+
}>;
|
|
124
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
125
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
126
|
+
mo: "mo";
|
|
127
|
+
tu: "tu";
|
|
128
|
+
we: "we";
|
|
129
|
+
th: "th";
|
|
130
|
+
fr: "fr";
|
|
131
|
+
sa: "sa";
|
|
132
|
+
su: "su";
|
|
133
|
+
}>>>;
|
|
134
|
+
until: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
clock_relation: z.ZodEnum<{
|
|
138
|
+
past: "past";
|
|
139
|
+
today: "today";
|
|
140
|
+
current_period: "current_period";
|
|
141
|
+
ongoing: "ongoing";
|
|
142
|
+
future: "future";
|
|
143
|
+
overdue: "overdue";
|
|
144
|
+
undated: "undated";
|
|
145
|
+
}>;
|
|
146
|
+
actionable: z.ZodBoolean;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
status: z.ZodLiteral<"unavailable">;
|
|
150
|
+
id: z.ZodString;
|
|
151
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
152
|
+
}, z.core.$strip>], "status">>;
|
|
43
153
|
fact: z.ZodOptional<z.ZodString>;
|
|
44
154
|
}, z.core.$strip>>;
|
|
45
155
|
source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -123,6 +233,10 @@ export declare const ReadOutput: z.ZodObject<{
|
|
|
123
233
|
embedding_failed: "embedding_failed";
|
|
124
234
|
rerank_failed: "rerank_failed";
|
|
125
235
|
derive_failed: "derive_failed";
|
|
236
|
+
retain_verification_failed: "retain_verification_failed";
|
|
237
|
+
retain_apply_failed: "retain_apply_failed";
|
|
238
|
+
partial_temporal_index: "partial_temporal_index";
|
|
239
|
+
timeline_range_limited: "timeline_range_limited";
|
|
126
240
|
expansion_failed: "expansion_failed";
|
|
127
241
|
no_vector_index: "no_vector_index";
|
|
128
242
|
partial_index: "partial_index";
|
|
@@ -171,6 +285,116 @@ export declare const ReadOutput: z.ZodObject<{
|
|
|
171
285
|
n: z.ZodNumber;
|
|
172
286
|
text: z.ZodString;
|
|
173
287
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
288
|
+
memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
289
|
+
status: z.ZodLiteral<"qualified">;
|
|
290
|
+
id: z.ZodString;
|
|
291
|
+
level: z.ZodLiteral<1>;
|
|
292
|
+
kind: z.ZodEnum<{
|
|
293
|
+
question: "question";
|
|
294
|
+
claim: "claim";
|
|
295
|
+
decision: "decision";
|
|
296
|
+
preference: "preference";
|
|
297
|
+
plan: "plan";
|
|
298
|
+
event: "event";
|
|
299
|
+
}>;
|
|
300
|
+
subject: z.ZodString;
|
|
301
|
+
source_role: z.ZodEnum<{
|
|
302
|
+
unknown: "unknown";
|
|
303
|
+
user: "user";
|
|
304
|
+
assistant: "assistant";
|
|
305
|
+
external: "external";
|
|
306
|
+
}>;
|
|
307
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
308
|
+
commitment: z.ZodEnum<{
|
|
309
|
+
none: "none";
|
|
310
|
+
tentative: "tentative";
|
|
311
|
+
asserted: "asserted";
|
|
312
|
+
hypothetical: "hypothetical";
|
|
313
|
+
counterfactual: "counterfactual";
|
|
314
|
+
}>;
|
|
315
|
+
disposition: z.ZodEnum<{
|
|
316
|
+
active: "active";
|
|
317
|
+
proposed: "proposed";
|
|
318
|
+
accepted: "accepted";
|
|
319
|
+
rejected: "rejected";
|
|
320
|
+
resolved: "resolved";
|
|
321
|
+
cancelled: "cancelled";
|
|
322
|
+
completed: "completed";
|
|
323
|
+
superseded: "superseded";
|
|
324
|
+
}>;
|
|
325
|
+
polarity: z.ZodEnum<{
|
|
326
|
+
affirmed: "affirmed";
|
|
327
|
+
negated: "negated";
|
|
328
|
+
}>;
|
|
329
|
+
basis: z.ZodEnum<{
|
|
330
|
+
self_attested: "self_attested";
|
|
331
|
+
source_report: "source_report";
|
|
332
|
+
cited_evidence: "cited_evidence";
|
|
333
|
+
system_record: "system_record";
|
|
334
|
+
}>;
|
|
335
|
+
answer_eligible: z.ZodBoolean;
|
|
336
|
+
current_eligible: z.ZodBoolean;
|
|
337
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
time: z.ZodObject<{
|
|
339
|
+
start: z.ZodOptional<z.ZodString>;
|
|
340
|
+
until: z.ZodOptional<z.ZodString>;
|
|
341
|
+
precision: z.ZodEnum<{
|
|
342
|
+
instant: "instant";
|
|
343
|
+
day: "day";
|
|
344
|
+
month: "month";
|
|
345
|
+
year: "year";
|
|
346
|
+
unknown: "unknown";
|
|
347
|
+
}>;
|
|
348
|
+
relation: z.ZodEnum<{
|
|
349
|
+
occurred: "occurred";
|
|
350
|
+
valid: "valid";
|
|
351
|
+
scheduled: "scheduled";
|
|
352
|
+
due: "due";
|
|
353
|
+
}>;
|
|
354
|
+
status: z.ZodEnum<{
|
|
355
|
+
scheduled: "scheduled";
|
|
356
|
+
actual: "actual";
|
|
357
|
+
planned: "planned";
|
|
358
|
+
tentative: "tentative";
|
|
359
|
+
}>;
|
|
360
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
361
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
362
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
frequency: z.ZodEnum<{
|
|
364
|
+
daily: "daily";
|
|
365
|
+
weekly: "weekly";
|
|
366
|
+
monthly: "monthly";
|
|
367
|
+
yearly: "yearly";
|
|
368
|
+
}>;
|
|
369
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
371
|
+
mo: "mo";
|
|
372
|
+
tu: "tu";
|
|
373
|
+
we: "we";
|
|
374
|
+
th: "th";
|
|
375
|
+
fr: "fr";
|
|
376
|
+
sa: "sa";
|
|
377
|
+
su: "su";
|
|
378
|
+
}>>>;
|
|
379
|
+
until: z.ZodOptional<z.ZodString>;
|
|
380
|
+
}, z.core.$strip>>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
clock_relation: z.ZodEnum<{
|
|
383
|
+
past: "past";
|
|
384
|
+
today: "today";
|
|
385
|
+
current_period: "current_period";
|
|
386
|
+
ongoing: "ongoing";
|
|
387
|
+
future: "future";
|
|
388
|
+
overdue: "overdue";
|
|
389
|
+
undated: "undated";
|
|
390
|
+
}>;
|
|
391
|
+
actionable: z.ZodBoolean;
|
|
392
|
+
}, z.core.$strip>>;
|
|
393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
|
+
status: z.ZodLiteral<"unavailable">;
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
397
|
+
}, z.core.$strip>], "status">>;
|
|
174
398
|
fact: z.ZodOptional<z.ZodString>;
|
|
175
399
|
}, z.core.$strip>>;
|
|
176
400
|
source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
package/dist/ops/read.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../src/ops/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,oFAAoF;AACpF,eAAO,MAAM,SAAS;;;;;;iBAelB,CAAC;AACL,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../src/ops/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,oFAAoF;AACpF,eAAO,MAAM,SAAS;;;;;;iBAelB,CAAC;AACL,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;iBAavB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
package/dist/ops/recall.d.ts
CHANGED
|
@@ -62,6 +62,10 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
62
62
|
embedding_failed: "embedding_failed";
|
|
63
63
|
rerank_failed: "rerank_failed";
|
|
64
64
|
derive_failed: "derive_failed";
|
|
65
|
+
retain_verification_failed: "retain_verification_failed";
|
|
66
|
+
retain_apply_failed: "retain_apply_failed";
|
|
67
|
+
partial_temporal_index: "partial_temporal_index";
|
|
68
|
+
timeline_range_limited: "timeline_range_limited";
|
|
65
69
|
expansion_failed: "expansion_failed";
|
|
66
70
|
no_vector_index: "no_vector_index";
|
|
67
71
|
partial_index: "partial_index";
|
|
@@ -96,6 +100,116 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
96
100
|
n: z.ZodNumber;
|
|
97
101
|
text: z.ZodString;
|
|
98
102
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
104
|
+
status: z.ZodLiteral<"qualified">;
|
|
105
|
+
id: z.ZodString;
|
|
106
|
+
level: z.ZodLiteral<1>;
|
|
107
|
+
kind: z.ZodEnum<{
|
|
108
|
+
question: "question";
|
|
109
|
+
claim: "claim";
|
|
110
|
+
decision: "decision";
|
|
111
|
+
preference: "preference";
|
|
112
|
+
plan: "plan";
|
|
113
|
+
event: "event";
|
|
114
|
+
}>;
|
|
115
|
+
subject: z.ZodString;
|
|
116
|
+
source_role: z.ZodEnum<{
|
|
117
|
+
unknown: "unknown";
|
|
118
|
+
user: "user";
|
|
119
|
+
assistant: "assistant";
|
|
120
|
+
external: "external";
|
|
121
|
+
}>;
|
|
122
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
123
|
+
commitment: z.ZodEnum<{
|
|
124
|
+
none: "none";
|
|
125
|
+
tentative: "tentative";
|
|
126
|
+
asserted: "asserted";
|
|
127
|
+
hypothetical: "hypothetical";
|
|
128
|
+
counterfactual: "counterfactual";
|
|
129
|
+
}>;
|
|
130
|
+
disposition: z.ZodEnum<{
|
|
131
|
+
active: "active";
|
|
132
|
+
proposed: "proposed";
|
|
133
|
+
accepted: "accepted";
|
|
134
|
+
rejected: "rejected";
|
|
135
|
+
resolved: "resolved";
|
|
136
|
+
cancelled: "cancelled";
|
|
137
|
+
completed: "completed";
|
|
138
|
+
superseded: "superseded";
|
|
139
|
+
}>;
|
|
140
|
+
polarity: z.ZodEnum<{
|
|
141
|
+
affirmed: "affirmed";
|
|
142
|
+
negated: "negated";
|
|
143
|
+
}>;
|
|
144
|
+
basis: z.ZodEnum<{
|
|
145
|
+
self_attested: "self_attested";
|
|
146
|
+
source_report: "source_report";
|
|
147
|
+
cited_evidence: "cited_evidence";
|
|
148
|
+
system_record: "system_record";
|
|
149
|
+
}>;
|
|
150
|
+
answer_eligible: z.ZodBoolean;
|
|
151
|
+
current_eligible: z.ZodBoolean;
|
|
152
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
time: z.ZodObject<{
|
|
154
|
+
start: z.ZodOptional<z.ZodString>;
|
|
155
|
+
until: z.ZodOptional<z.ZodString>;
|
|
156
|
+
precision: z.ZodEnum<{
|
|
157
|
+
instant: "instant";
|
|
158
|
+
day: "day";
|
|
159
|
+
month: "month";
|
|
160
|
+
year: "year";
|
|
161
|
+
unknown: "unknown";
|
|
162
|
+
}>;
|
|
163
|
+
relation: z.ZodEnum<{
|
|
164
|
+
occurred: "occurred";
|
|
165
|
+
valid: "valid";
|
|
166
|
+
scheduled: "scheduled";
|
|
167
|
+
due: "due";
|
|
168
|
+
}>;
|
|
169
|
+
status: z.ZodEnum<{
|
|
170
|
+
scheduled: "scheduled";
|
|
171
|
+
actual: "actual";
|
|
172
|
+
planned: "planned";
|
|
173
|
+
tentative: "tentative";
|
|
174
|
+
}>;
|
|
175
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
176
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
177
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
frequency: z.ZodEnum<{
|
|
179
|
+
daily: "daily";
|
|
180
|
+
weekly: "weekly";
|
|
181
|
+
monthly: "monthly";
|
|
182
|
+
yearly: "yearly";
|
|
183
|
+
}>;
|
|
184
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
186
|
+
mo: "mo";
|
|
187
|
+
tu: "tu";
|
|
188
|
+
we: "we";
|
|
189
|
+
th: "th";
|
|
190
|
+
fr: "fr";
|
|
191
|
+
sa: "sa";
|
|
192
|
+
su: "su";
|
|
193
|
+
}>>>;
|
|
194
|
+
until: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
clock_relation: z.ZodEnum<{
|
|
198
|
+
past: "past";
|
|
199
|
+
today: "today";
|
|
200
|
+
current_period: "current_period";
|
|
201
|
+
ongoing: "ongoing";
|
|
202
|
+
future: "future";
|
|
203
|
+
overdue: "overdue";
|
|
204
|
+
undated: "undated";
|
|
205
|
+
}>;
|
|
206
|
+
actionable: z.ZodBoolean;
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
status: z.ZodLiteral<"unavailable">;
|
|
210
|
+
id: z.ZodString;
|
|
211
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
212
|
+
}, z.core.$strip>], "status">>;
|
|
99
213
|
fact: z.ZodOptional<z.ZodString>;
|
|
100
214
|
}, z.core.$strip>>;
|
|
101
215
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -139,11 +253,11 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
139
253
|
seed: z.ZodObject<{
|
|
140
254
|
id: z.ZodString;
|
|
141
255
|
kind: z.ZodEnum<{
|
|
256
|
+
event: "event";
|
|
142
257
|
fact: "fact";
|
|
143
258
|
entity: "entity";
|
|
144
259
|
page: "page";
|
|
145
260
|
document: "document";
|
|
146
|
-
event: "event";
|
|
147
261
|
}>;
|
|
148
262
|
slug: z.ZodOptional<z.ZodString>;
|
|
149
263
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -178,11 +292,11 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
178
292
|
target: z.ZodObject<{
|
|
179
293
|
id: z.ZodString;
|
|
180
294
|
kind: z.ZodEnum<{
|
|
295
|
+
event: "event";
|
|
181
296
|
fact: "fact";
|
|
182
297
|
entity: "entity";
|
|
183
298
|
page: "page";
|
|
184
299
|
document: "document";
|
|
185
|
-
event: "event";
|
|
186
300
|
}>;
|
|
187
301
|
slug: z.ZodOptional<z.ZodString>;
|
|
188
302
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -217,11 +331,11 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
217
331
|
nodes: z.ZodArray<z.ZodObject<{
|
|
218
332
|
id: z.ZodString;
|
|
219
333
|
kind: z.ZodEnum<{
|
|
334
|
+
event: "event";
|
|
220
335
|
fact: "fact";
|
|
221
336
|
entity: "entity";
|
|
222
337
|
page: "page";
|
|
223
338
|
document: "document";
|
|
224
|
-
event: "event";
|
|
225
339
|
}>;
|
|
226
340
|
slug: z.ZodOptional<z.ZodString>;
|
|
227
341
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -349,11 +463,11 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
349
463
|
seed: z.ZodObject<{
|
|
350
464
|
id: z.ZodString;
|
|
351
465
|
kind: z.ZodEnum<{
|
|
466
|
+
event: "event";
|
|
352
467
|
fact: "fact";
|
|
353
468
|
entity: "entity";
|
|
354
469
|
page: "page";
|
|
355
470
|
document: "document";
|
|
356
|
-
event: "event";
|
|
357
471
|
}>;
|
|
358
472
|
slug: z.ZodOptional<z.ZodString>;
|
|
359
473
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -388,11 +502,11 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
388
502
|
target: z.ZodObject<{
|
|
389
503
|
id: z.ZodString;
|
|
390
504
|
kind: z.ZodEnum<{
|
|
505
|
+
event: "event";
|
|
391
506
|
fact: "fact";
|
|
392
507
|
entity: "entity";
|
|
393
508
|
page: "page";
|
|
394
509
|
document: "document";
|
|
395
|
-
event: "event";
|
|
396
510
|
}>;
|
|
397
511
|
slug: z.ZodOptional<z.ZodString>;
|
|
398
512
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -427,11 +541,11 @@ export declare const RecallOutput: z.ZodObject<{
|
|
|
427
541
|
nodes: z.ZodArray<z.ZodObject<{
|
|
428
542
|
id: z.ZodString;
|
|
429
543
|
kind: z.ZodEnum<{
|
|
544
|
+
event: "event";
|
|
430
545
|
fact: "fact";
|
|
431
546
|
entity: "entity";
|
|
432
547
|
page: "page";
|
|
433
548
|
document: "document";
|
|
434
|
-
event: "event";
|
|
435
549
|
}>;
|
|
436
550
|
slug: z.ZodOptional<z.ZodString>;
|
|
437
551
|
label: z.ZodOptional<z.ZodString>;
|
package/dist/ops/recall.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recall.d.ts","sourceRoot":"","sources":["../../src/ops/recall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BtB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":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