@tenphi/akno-protocol 0.5.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 +393 -5
- package/dist/common.d.ts.map +1 -1
- package/dist/common.js +180 -1
- package/dist/common.js.map +1 -1
- package/dist/ops/answer.d.ts +118 -2
- package/dist/ops/answer.d.ts.map +1 -1
- package/dist/ops/context.d.ts +257 -2
- package/dist/ops/context.d.ts.map +1 -1
- package/dist/ops/folder.d.ts +2 -0
- package/dist/ops/folder.d.ts.map +1 -1
- package/dist/ops/graph.d.ts +2 -0
- package/dist/ops/graph.d.ts.map +1 -1
- package/dist/ops/list.d.ts +2 -0
- package/dist/ops/list.d.ts.map +1 -1
- package/dist/ops/mutate.d.ts +13 -1
- package/dist/ops/mutate.d.ts.map +1 -1
- package/dist/ops/read.d.ts +118 -2
- package/dist/ops/read.d.ts.map +1 -1
- package/dist/ops/recall.d.ts +60 -1
- package/dist/ops/recall.d.ts.map +1 -1
- package/dist/ops/retain.d.ts +18 -57
- package/dist/ops/retain.d.ts.map +1 -1
- package/dist/ops/retain.js +2 -106
- package/dist/ops/retain.js.map +1 -1
- package/dist/ops/timeline.d.ts +537 -1
- 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 +2 -0
- package/dist/ops/write.d.ts.map +1 -1
- package/dist/registry.d.ts +702 -10
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +3 -3
- 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/README.md
CHANGED
|
@@ -17,6 +17,11 @@ This package exists so `@tenphi/akno-client` can share schemas with `@tenphi/akn
|
|
|
17
17
|
import { OPS, OP_NAMES, AknoError } from '@tenphi/akno-protocol';
|
|
18
18
|
|
|
19
19
|
OPS.recall.input.parse({ query: 'car insurance renewal' });
|
|
20
|
+
OPS.timeline.input.parse({
|
|
21
|
+
as_of: '2031-04-12T10:00:00+02:00',
|
|
22
|
+
timezone: 'Europe/Amsterdam',
|
|
23
|
+
view: 'actionable',
|
|
24
|
+
});
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
Full documentation: [github.com/tenphi/akno](https://github.com/tenphi/akno#readme)
|
package/dist/common.d.ts
CHANGED
|
@@ -65,6 +65,105 @@ export declare const ResultStatus: z.ZodEnum<{
|
|
|
65
65
|
unavailable: "unavailable";
|
|
66
66
|
}>;
|
|
67
67
|
export type ResultStatus = z.infer<typeof ResultStatus>;
|
|
68
|
+
export declare const TemporalPrecision: z.ZodEnum<{
|
|
69
|
+
instant: "instant";
|
|
70
|
+
day: "day";
|
|
71
|
+
month: "month";
|
|
72
|
+
year: "year";
|
|
73
|
+
unknown: "unknown";
|
|
74
|
+
}>;
|
|
75
|
+
export type TemporalPrecision = z.infer<typeof TemporalPrecision>;
|
|
76
|
+
export declare const TemporalRelation: z.ZodEnum<{
|
|
77
|
+
occurred: "occurred";
|
|
78
|
+
valid: "valid";
|
|
79
|
+
scheduled: "scheduled";
|
|
80
|
+
due: "due";
|
|
81
|
+
}>;
|
|
82
|
+
export type TemporalRelation = z.infer<typeof TemporalRelation>;
|
|
83
|
+
export declare const TemporalStatus: z.ZodEnum<{
|
|
84
|
+
scheduled: "scheduled";
|
|
85
|
+
actual: "actual";
|
|
86
|
+
planned: "planned";
|
|
87
|
+
tentative: "tentative";
|
|
88
|
+
}>;
|
|
89
|
+
export type TemporalStatus = z.infer<typeof TemporalStatus>;
|
|
90
|
+
export declare const IanaTimezone: z.ZodString;
|
|
91
|
+
export type IanaTimezone = z.infer<typeof IanaTimezone>;
|
|
92
|
+
export declare const TemporalRecurrence: z.ZodObject<{
|
|
93
|
+
frequency: z.ZodEnum<{
|
|
94
|
+
daily: "daily";
|
|
95
|
+
weekly: "weekly";
|
|
96
|
+
monthly: "monthly";
|
|
97
|
+
yearly: "yearly";
|
|
98
|
+
}>;
|
|
99
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
101
|
+
mo: "mo";
|
|
102
|
+
tu: "tu";
|
|
103
|
+
we: "we";
|
|
104
|
+
th: "th";
|
|
105
|
+
fr: "fr";
|
|
106
|
+
sa: "sa";
|
|
107
|
+
su: "su";
|
|
108
|
+
}>>>;
|
|
109
|
+
until: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
export type TemporalRecurrence = z.infer<typeof TemporalRecurrence>;
|
|
112
|
+
export declare const RetainedTime: z.ZodObject<{
|
|
113
|
+
start: z.ZodOptional<z.ZodString>;
|
|
114
|
+
until: z.ZodOptional<z.ZodString>;
|
|
115
|
+
precision: z.ZodEnum<{
|
|
116
|
+
instant: "instant";
|
|
117
|
+
day: "day";
|
|
118
|
+
month: "month";
|
|
119
|
+
year: "year";
|
|
120
|
+
unknown: "unknown";
|
|
121
|
+
}>;
|
|
122
|
+
relation: z.ZodEnum<{
|
|
123
|
+
occurred: "occurred";
|
|
124
|
+
valid: "valid";
|
|
125
|
+
scheduled: "scheduled";
|
|
126
|
+
due: "due";
|
|
127
|
+
}>;
|
|
128
|
+
status: z.ZodEnum<{
|
|
129
|
+
scheduled: "scheduled";
|
|
130
|
+
actual: "actual";
|
|
131
|
+
planned: "planned";
|
|
132
|
+
tentative: "tentative";
|
|
133
|
+
}>;
|
|
134
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
135
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
136
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
137
|
+
frequency: z.ZodEnum<{
|
|
138
|
+
daily: "daily";
|
|
139
|
+
weekly: "weekly";
|
|
140
|
+
monthly: "monthly";
|
|
141
|
+
yearly: "yearly";
|
|
142
|
+
}>;
|
|
143
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
145
|
+
mo: "mo";
|
|
146
|
+
tu: "tu";
|
|
147
|
+
we: "we";
|
|
148
|
+
th: "th";
|
|
149
|
+
fr: "fr";
|
|
150
|
+
sa: "sa";
|
|
151
|
+
su: "su";
|
|
152
|
+
}>>>;
|
|
153
|
+
until: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
export type RetainedTime = z.infer<typeof RetainedTime>;
|
|
157
|
+
export declare const ClockRelation: z.ZodEnum<{
|
|
158
|
+
past: "past";
|
|
159
|
+
today: "today";
|
|
160
|
+
current_period: "current_period";
|
|
161
|
+
ongoing: "ongoing";
|
|
162
|
+
future: "future";
|
|
163
|
+
overdue: "overdue";
|
|
164
|
+
undated: "undated";
|
|
165
|
+
}>;
|
|
166
|
+
export type ClockRelation = z.infer<typeof ClockRelation>;
|
|
68
167
|
/**
|
|
69
168
|
* Semantic qualification for an Akno-managed level-one memory item.
|
|
70
169
|
*
|
|
@@ -95,8 +194,8 @@ export declare const MemoryQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
95
194
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
96
195
|
commitment: z.ZodEnum<{
|
|
97
196
|
none: "none";
|
|
98
|
-
asserted: "asserted";
|
|
99
197
|
tentative: "tentative";
|
|
198
|
+
asserted: "asserted";
|
|
100
199
|
hypothetical: "hypothetical";
|
|
101
200
|
counterfactual: "counterfactual";
|
|
102
201
|
}>;
|
|
@@ -121,6 +220,63 @@ export declare const MemoryQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
121
220
|
system_record: "system_record";
|
|
122
221
|
}>;
|
|
123
222
|
answer_eligible: z.ZodBoolean;
|
|
223
|
+
current_eligible: z.ZodBoolean;
|
|
224
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
time: z.ZodObject<{
|
|
226
|
+
start: z.ZodOptional<z.ZodString>;
|
|
227
|
+
until: z.ZodOptional<z.ZodString>;
|
|
228
|
+
precision: z.ZodEnum<{
|
|
229
|
+
instant: "instant";
|
|
230
|
+
day: "day";
|
|
231
|
+
month: "month";
|
|
232
|
+
year: "year";
|
|
233
|
+
unknown: "unknown";
|
|
234
|
+
}>;
|
|
235
|
+
relation: z.ZodEnum<{
|
|
236
|
+
occurred: "occurred";
|
|
237
|
+
valid: "valid";
|
|
238
|
+
scheduled: "scheduled";
|
|
239
|
+
due: "due";
|
|
240
|
+
}>;
|
|
241
|
+
status: z.ZodEnum<{
|
|
242
|
+
scheduled: "scheduled";
|
|
243
|
+
actual: "actual";
|
|
244
|
+
planned: "planned";
|
|
245
|
+
tentative: "tentative";
|
|
246
|
+
}>;
|
|
247
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
248
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
249
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
250
|
+
frequency: z.ZodEnum<{
|
|
251
|
+
daily: "daily";
|
|
252
|
+
weekly: "weekly";
|
|
253
|
+
monthly: "monthly";
|
|
254
|
+
yearly: "yearly";
|
|
255
|
+
}>;
|
|
256
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
257
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
258
|
+
mo: "mo";
|
|
259
|
+
tu: "tu";
|
|
260
|
+
we: "we";
|
|
261
|
+
th: "th";
|
|
262
|
+
fr: "fr";
|
|
263
|
+
sa: "sa";
|
|
264
|
+
su: "su";
|
|
265
|
+
}>>>;
|
|
266
|
+
until: z.ZodOptional<z.ZodString>;
|
|
267
|
+
}, z.core.$strip>>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
clock_relation: z.ZodEnum<{
|
|
270
|
+
past: "past";
|
|
271
|
+
today: "today";
|
|
272
|
+
current_period: "current_period";
|
|
273
|
+
ongoing: "ongoing";
|
|
274
|
+
future: "future";
|
|
275
|
+
overdue: "overdue";
|
|
276
|
+
undated: "undated";
|
|
277
|
+
}>;
|
|
278
|
+
actionable: z.ZodBoolean;
|
|
279
|
+
}, z.core.$strip>>;
|
|
124
280
|
}, z.core.$strip>, z.ZodObject<{
|
|
125
281
|
status: z.ZodLiteral<"unavailable">;
|
|
126
282
|
id: z.ZodString;
|
|
@@ -159,8 +315,8 @@ export declare const Line: z.ZodObject<{
|
|
|
159
315
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
160
316
|
commitment: z.ZodEnum<{
|
|
161
317
|
none: "none";
|
|
162
|
-
asserted: "asserted";
|
|
163
318
|
tentative: "tentative";
|
|
319
|
+
asserted: "asserted";
|
|
164
320
|
hypothetical: "hypothetical";
|
|
165
321
|
counterfactual: "counterfactual";
|
|
166
322
|
}>;
|
|
@@ -185,6 +341,63 @@ export declare const Line: z.ZodObject<{
|
|
|
185
341
|
system_record: "system_record";
|
|
186
342
|
}>;
|
|
187
343
|
answer_eligible: z.ZodBoolean;
|
|
344
|
+
current_eligible: z.ZodBoolean;
|
|
345
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
time: z.ZodObject<{
|
|
347
|
+
start: z.ZodOptional<z.ZodString>;
|
|
348
|
+
until: z.ZodOptional<z.ZodString>;
|
|
349
|
+
precision: z.ZodEnum<{
|
|
350
|
+
instant: "instant";
|
|
351
|
+
day: "day";
|
|
352
|
+
month: "month";
|
|
353
|
+
year: "year";
|
|
354
|
+
unknown: "unknown";
|
|
355
|
+
}>;
|
|
356
|
+
relation: z.ZodEnum<{
|
|
357
|
+
occurred: "occurred";
|
|
358
|
+
valid: "valid";
|
|
359
|
+
scheduled: "scheduled";
|
|
360
|
+
due: "due";
|
|
361
|
+
}>;
|
|
362
|
+
status: z.ZodEnum<{
|
|
363
|
+
scheduled: "scheduled";
|
|
364
|
+
actual: "actual";
|
|
365
|
+
planned: "planned";
|
|
366
|
+
tentative: "tentative";
|
|
367
|
+
}>;
|
|
368
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
369
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
370
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
frequency: z.ZodEnum<{
|
|
372
|
+
daily: "daily";
|
|
373
|
+
weekly: "weekly";
|
|
374
|
+
monthly: "monthly";
|
|
375
|
+
yearly: "yearly";
|
|
376
|
+
}>;
|
|
377
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
379
|
+
mo: "mo";
|
|
380
|
+
tu: "tu";
|
|
381
|
+
we: "we";
|
|
382
|
+
th: "th";
|
|
383
|
+
fr: "fr";
|
|
384
|
+
sa: "sa";
|
|
385
|
+
su: "su";
|
|
386
|
+
}>>>;
|
|
387
|
+
until: z.ZodOptional<z.ZodString>;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
}, z.core.$strip>;
|
|
390
|
+
clock_relation: z.ZodEnum<{
|
|
391
|
+
past: "past";
|
|
392
|
+
today: "today";
|
|
393
|
+
current_period: "current_period";
|
|
394
|
+
ongoing: "ongoing";
|
|
395
|
+
future: "future";
|
|
396
|
+
overdue: "overdue";
|
|
397
|
+
undated: "undated";
|
|
398
|
+
}>;
|
|
399
|
+
actionable: z.ZodBoolean;
|
|
400
|
+
}, z.core.$strip>>;
|
|
188
401
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
402
|
status: z.ZodLiteral<"unavailable">;
|
|
190
403
|
id: z.ZodString;
|
|
@@ -556,8 +769,8 @@ export declare const Card: z.ZodObject<{
|
|
|
556
769
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
557
770
|
commitment: z.ZodEnum<{
|
|
558
771
|
none: "none";
|
|
559
|
-
asserted: "asserted";
|
|
560
772
|
tentative: "tentative";
|
|
773
|
+
asserted: "asserted";
|
|
561
774
|
hypothetical: "hypothetical";
|
|
562
775
|
counterfactual: "counterfactual";
|
|
563
776
|
}>;
|
|
@@ -582,6 +795,63 @@ export declare const Card: z.ZodObject<{
|
|
|
582
795
|
system_record: "system_record";
|
|
583
796
|
}>;
|
|
584
797
|
answer_eligible: z.ZodBoolean;
|
|
798
|
+
current_eligible: z.ZodBoolean;
|
|
799
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
time: z.ZodObject<{
|
|
801
|
+
start: z.ZodOptional<z.ZodString>;
|
|
802
|
+
until: z.ZodOptional<z.ZodString>;
|
|
803
|
+
precision: z.ZodEnum<{
|
|
804
|
+
instant: "instant";
|
|
805
|
+
day: "day";
|
|
806
|
+
month: "month";
|
|
807
|
+
year: "year";
|
|
808
|
+
unknown: "unknown";
|
|
809
|
+
}>;
|
|
810
|
+
relation: z.ZodEnum<{
|
|
811
|
+
occurred: "occurred";
|
|
812
|
+
valid: "valid";
|
|
813
|
+
scheduled: "scheduled";
|
|
814
|
+
due: "due";
|
|
815
|
+
}>;
|
|
816
|
+
status: z.ZodEnum<{
|
|
817
|
+
scheduled: "scheduled";
|
|
818
|
+
actual: "actual";
|
|
819
|
+
planned: "planned";
|
|
820
|
+
tentative: "tentative";
|
|
821
|
+
}>;
|
|
822
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
823
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
824
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
825
|
+
frequency: z.ZodEnum<{
|
|
826
|
+
daily: "daily";
|
|
827
|
+
weekly: "weekly";
|
|
828
|
+
monthly: "monthly";
|
|
829
|
+
yearly: "yearly";
|
|
830
|
+
}>;
|
|
831
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
832
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
833
|
+
mo: "mo";
|
|
834
|
+
tu: "tu";
|
|
835
|
+
we: "we";
|
|
836
|
+
th: "th";
|
|
837
|
+
fr: "fr";
|
|
838
|
+
sa: "sa";
|
|
839
|
+
su: "su";
|
|
840
|
+
}>>>;
|
|
841
|
+
until: z.ZodOptional<z.ZodString>;
|
|
842
|
+
}, z.core.$strip>>;
|
|
843
|
+
}, z.core.$strip>;
|
|
844
|
+
clock_relation: z.ZodEnum<{
|
|
845
|
+
past: "past";
|
|
846
|
+
today: "today";
|
|
847
|
+
current_period: "current_period";
|
|
848
|
+
ongoing: "ongoing";
|
|
849
|
+
future: "future";
|
|
850
|
+
overdue: "overdue";
|
|
851
|
+
undated: "undated";
|
|
852
|
+
}>;
|
|
853
|
+
actionable: z.ZodBoolean;
|
|
854
|
+
}, z.core.$strip>>;
|
|
585
855
|
}, z.core.$strip>, z.ZodObject<{
|
|
586
856
|
status: z.ZodLiteral<"unavailable">;
|
|
587
857
|
id: z.ZodString;
|
|
@@ -815,8 +1085,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
815
1085
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
816
1086
|
commitment: z.ZodEnum<{
|
|
817
1087
|
none: "none";
|
|
818
|
-
asserted: "asserted";
|
|
819
1088
|
tentative: "tentative";
|
|
1089
|
+
asserted: "asserted";
|
|
820
1090
|
hypothetical: "hypothetical";
|
|
821
1091
|
counterfactual: "counterfactual";
|
|
822
1092
|
}>;
|
|
@@ -841,6 +1111,63 @@ export declare const PageCard: z.ZodObject<{
|
|
|
841
1111
|
system_record: "system_record";
|
|
842
1112
|
}>;
|
|
843
1113
|
answer_eligible: z.ZodBoolean;
|
|
1114
|
+
current_eligible: z.ZodBoolean;
|
|
1115
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
1116
|
+
time: z.ZodObject<{
|
|
1117
|
+
start: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
precision: z.ZodEnum<{
|
|
1120
|
+
instant: "instant";
|
|
1121
|
+
day: "day";
|
|
1122
|
+
month: "month";
|
|
1123
|
+
year: "year";
|
|
1124
|
+
unknown: "unknown";
|
|
1125
|
+
}>;
|
|
1126
|
+
relation: z.ZodEnum<{
|
|
1127
|
+
occurred: "occurred";
|
|
1128
|
+
valid: "valid";
|
|
1129
|
+
scheduled: "scheduled";
|
|
1130
|
+
due: "due";
|
|
1131
|
+
}>;
|
|
1132
|
+
status: z.ZodEnum<{
|
|
1133
|
+
scheduled: "scheduled";
|
|
1134
|
+
actual: "actual";
|
|
1135
|
+
planned: "planned";
|
|
1136
|
+
tentative: "tentative";
|
|
1137
|
+
}>;
|
|
1138
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
1141
|
+
frequency: z.ZodEnum<{
|
|
1142
|
+
daily: "daily";
|
|
1143
|
+
weekly: "weekly";
|
|
1144
|
+
monthly: "monthly";
|
|
1145
|
+
yearly: "yearly";
|
|
1146
|
+
}>;
|
|
1147
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
1148
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1149
|
+
mo: "mo";
|
|
1150
|
+
tu: "tu";
|
|
1151
|
+
we: "we";
|
|
1152
|
+
th: "th";
|
|
1153
|
+
fr: "fr";
|
|
1154
|
+
sa: "sa";
|
|
1155
|
+
su: "su";
|
|
1156
|
+
}>>>;
|
|
1157
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
}, z.core.$strip>>;
|
|
1159
|
+
}, z.core.$strip>;
|
|
1160
|
+
clock_relation: z.ZodEnum<{
|
|
1161
|
+
past: "past";
|
|
1162
|
+
today: "today";
|
|
1163
|
+
current_period: "current_period";
|
|
1164
|
+
ongoing: "ongoing";
|
|
1165
|
+
future: "future";
|
|
1166
|
+
overdue: "overdue";
|
|
1167
|
+
undated: "undated";
|
|
1168
|
+
}>;
|
|
1169
|
+
actionable: z.ZodBoolean;
|
|
1170
|
+
}, z.core.$strip>>;
|
|
844
1171
|
}, z.core.$strip>, z.ZodObject<{
|
|
845
1172
|
status: z.ZodLiteral<"unavailable">;
|
|
846
1173
|
id: z.ZodString;
|
|
@@ -1286,8 +1613,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1286
1613
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
1287
1614
|
commitment: z.ZodEnum<{
|
|
1288
1615
|
none: "none";
|
|
1289
|
-
asserted: "asserted";
|
|
1290
1616
|
tentative: "tentative";
|
|
1617
|
+
asserted: "asserted";
|
|
1291
1618
|
hypothetical: "hypothetical";
|
|
1292
1619
|
counterfactual: "counterfactual";
|
|
1293
1620
|
}>;
|
|
@@ -1312,6 +1639,63 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1312
1639
|
system_record: "system_record";
|
|
1313
1640
|
}>;
|
|
1314
1641
|
answer_eligible: z.ZodBoolean;
|
|
1642
|
+
current_eligible: z.ZodBoolean;
|
|
1643
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
1644
|
+
time: z.ZodObject<{
|
|
1645
|
+
start: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1647
|
+
precision: z.ZodEnum<{
|
|
1648
|
+
instant: "instant";
|
|
1649
|
+
day: "day";
|
|
1650
|
+
month: "month";
|
|
1651
|
+
year: "year";
|
|
1652
|
+
unknown: "unknown";
|
|
1653
|
+
}>;
|
|
1654
|
+
relation: z.ZodEnum<{
|
|
1655
|
+
occurred: "occurred";
|
|
1656
|
+
valid: "valid";
|
|
1657
|
+
scheduled: "scheduled";
|
|
1658
|
+
due: "due";
|
|
1659
|
+
}>;
|
|
1660
|
+
status: z.ZodEnum<{
|
|
1661
|
+
scheduled: "scheduled";
|
|
1662
|
+
actual: "actual";
|
|
1663
|
+
planned: "planned";
|
|
1664
|
+
tentative: "tentative";
|
|
1665
|
+
}>;
|
|
1666
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
1669
|
+
frequency: z.ZodEnum<{
|
|
1670
|
+
daily: "daily";
|
|
1671
|
+
weekly: "weekly";
|
|
1672
|
+
monthly: "monthly";
|
|
1673
|
+
yearly: "yearly";
|
|
1674
|
+
}>;
|
|
1675
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
1676
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1677
|
+
mo: "mo";
|
|
1678
|
+
tu: "tu";
|
|
1679
|
+
we: "we";
|
|
1680
|
+
th: "th";
|
|
1681
|
+
fr: "fr";
|
|
1682
|
+
sa: "sa";
|
|
1683
|
+
su: "su";
|
|
1684
|
+
}>>>;
|
|
1685
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
}, z.core.$strip>>;
|
|
1687
|
+
}, z.core.$strip>;
|
|
1688
|
+
clock_relation: z.ZodEnum<{
|
|
1689
|
+
past: "past";
|
|
1690
|
+
today: "today";
|
|
1691
|
+
current_period: "current_period";
|
|
1692
|
+
ongoing: "ongoing";
|
|
1693
|
+
future: "future";
|
|
1694
|
+
overdue: "overdue";
|
|
1695
|
+
undated: "undated";
|
|
1696
|
+
}>;
|
|
1697
|
+
actionable: z.ZodBoolean;
|
|
1698
|
+
}, z.core.$strip>>;
|
|
1315
1699
|
}, z.core.$strip>, z.ZodObject<{
|
|
1316
1700
|
status: z.ZodLiteral<"unavailable">;
|
|
1317
1701
|
id: z.ZodString;
|
|
@@ -1730,6 +2114,8 @@ export declare const DegradedReason: z.ZodEnum<{
|
|
|
1730
2114
|
derive_failed: "derive_failed";
|
|
1731
2115
|
retain_verification_failed: "retain_verification_failed";
|
|
1732
2116
|
retain_apply_failed: "retain_apply_failed";
|
|
2117
|
+
partial_temporal_index: "partial_temporal_index";
|
|
2118
|
+
timeline_range_limited: "timeline_range_limited";
|
|
1733
2119
|
expansion_failed: "expansion_failed";
|
|
1734
2120
|
no_vector_index: "no_vector_index";
|
|
1735
2121
|
partial_index: "partial_index";
|
|
@@ -1764,6 +2150,8 @@ export declare const ResultEnvelope: z.ZodObject<{
|
|
|
1764
2150
|
derive_failed: "derive_failed";
|
|
1765
2151
|
retain_verification_failed: "retain_verification_failed";
|
|
1766
2152
|
retain_apply_failed: "retain_apply_failed";
|
|
2153
|
+
partial_temporal_index: "partial_temporal_index";
|
|
2154
|
+
timeline_range_limited: "timeline_range_limited";
|
|
1767
2155
|
expansion_failed: "expansion_failed";
|
|
1768
2156
|
no_vector_index: "no_vector_index";
|
|
1769
2157
|
partial_index: "partial_index";
|
package/dist/common.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;EAA0D,CAAC;AAChF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB;;;EAAgC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,eAAe;;;;EAA4C,CAAC;AACzE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,eAAO,MAAM,cAAc;;;;;;;;;;iBAGzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;EAA4C,CAAC;AACpE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,K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