@lore-co/core 0.2.20 → 0.2.22
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/approaches.d.ts +431 -36
- package/dist/approaches.d.ts.map +1 -1
- package/dist/approaches.js +68 -7
- package/dist/approaches.js.map +1 -1
- package/dist/cloud-recovery-schemas.d.ts +2 -2
- package/dist/connector-review.d.ts +11 -0
- package/dist/connector-review.d.ts.map +1 -0
- package/dist/connector-review.js +36 -0
- package/dist/connector-review.js.map +1 -0
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +17 -10
- package/dist/engine.js.map +1 -1
- package/dist/guard-schemas.d.ts +4 -4
- package/dist/host-envelopes.d.ts +110 -0
- package/dist/host-envelopes.d.ts.map +1 -0
- package/dist/host-envelopes.js +282 -0
- package/dist/host-envelopes.js.map +1 -0
- package/dist/in-memory-repository.d.ts +8 -1
- package/dist/in-memory-repository.d.ts.map +1 -1
- package/dist/in-memory-repository.js +49 -3
- package/dist/in-memory-repository.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/integration-contract.d.ts +32 -32
- package/dist/knowledge-quality.d.ts +19 -0
- package/dist/knowledge-quality.d.ts.map +1 -1
- package/dist/knowledge-quality.js +76 -1
- package/dist/knowledge-quality.js.map +1 -1
- package/dist/learning-drafts.d.ts +1 -1
- package/dist/pilot-schemas.d.ts +68 -47
- package/dist/pilot-schemas.d.ts.map +1 -1
- package/dist/pilot-schemas.js +16 -0
- package/dist/pilot-schemas.js.map +1 -1
- package/dist/ports.d.ts +7 -1
- package/dist/ports.d.ts.map +1 -1
- package/dist/ports.js.map +1 -1
- package/dist/prepared-context.d.ts +2 -0
- package/dist/prepared-context.d.ts.map +1 -1
- package/dist/prepared-context.js +10 -7
- package/dist/prepared-context.js.map +1 -1
- package/dist/product-usage.d.ts +6 -6
- package/dist/reliability-schemas.d.ts +28 -7
- package/dist/reliability-schemas.d.ts.map +1 -1
- package/dist/reliability-schemas.js +28 -3
- package/dist/reliability-schemas.js.map +1 -1
- package/dist/repository-location.d.ts +7 -0
- package/dist/repository-location.d.ts.map +1 -1
- package/dist/repository-location.js +12 -3
- package/dist/repository-location.js.map +1 -1
- package/dist/schemas.d.ts +71 -53
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +24 -0
- package/dist/schemas.js.map +1 -1
- package/dist/search-schemas.d.ts +5 -5
- package/dist/session-purpose.d.ts.map +1 -1
- package/dist/session-purpose.js +6 -2
- package/dist/session-purpose.js.map +1 -1
- package/dist/session-schemas.d.ts +24 -10
- package/dist/session-schemas.d.ts.map +1 -1
- package/dist/session-schemas.js +11 -0
- package/dist/session-schemas.js.map +1 -1
- package/dist/session-titles.d.ts +34 -0
- package/dist/session-titles.d.ts.map +1 -0
- package/dist/session-titles.js +31 -0
- package/dist/session-titles.js.map +1 -0
- package/dist/skill-context.d.ts +5 -0
- package/dist/skill-context.d.ts.map +1 -1
- package/dist/skill-context.js +16 -0
- package/dist/skill-context.js.map +1 -1
- package/dist/skills.d.ts +8 -8
- package/dist/snapshot-schemas.d.ts +32 -32
- package/dist/turn-context-request.d.ts +10 -0
- package/dist/turn-context-request.d.ts.map +1 -0
- package/dist/turn-context-request.js +28 -0
- package/dist/turn-context-request.js.map +1 -0
- package/dist/user-message.d.ts +9 -1
- package/dist/user-message.d.ts.map +1 -1
- package/dist/user-message.js +26 -36
- package/dist/user-message.js.map +1 -1
- package/package.json +9 -1
package/dist/pilot-schemas.d.ts
CHANGED
|
@@ -41,9 +41,9 @@ export declare const ConfirmationLevelSchema: z.ZodEnum<{
|
|
|
41
41
|
}>;
|
|
42
42
|
export type ConfirmationLevel = z.infer<typeof ConfirmationLevelSchema>;
|
|
43
43
|
export declare const TurnScopeSchema: z.ZodObject<{
|
|
44
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
44
45
|
repo: z.ZodOptional<z.ZodString>;
|
|
45
46
|
agent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
46
|
-
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
47
47
|
project: z.ZodOptional<z.ZodString>;
|
|
48
48
|
component: z.ZodOptional<z.ZodString>;
|
|
49
49
|
}, z.core.$strict>;
|
|
@@ -93,16 +93,16 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
93
93
|
}>>>;
|
|
94
94
|
currentUserPrompt: z.ZodOptional<z.ZodString>;
|
|
95
95
|
scope: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
96
97
|
repo: z.ZodOptional<z.ZodString>;
|
|
97
98
|
agent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
98
|
-
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
99
99
|
project: z.ZodOptional<z.ZodString>;
|
|
100
100
|
component: z.ZodOptional<z.ZodString>;
|
|
101
101
|
}, z.core.$strict>>;
|
|
102
102
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
103
104
|
repo: z.ZodOptional<z.ZodString>;
|
|
104
105
|
agent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
105
|
-
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
106
106
|
project: z.ZodOptional<z.ZodString>;
|
|
107
107
|
component: z.ZodOptional<z.ZodString>;
|
|
108
108
|
}, z.core.$strict>>;
|
|
@@ -126,9 +126,9 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
126
126
|
diff?: string;
|
|
127
127
|
task?: string;
|
|
128
128
|
learningScope?: {
|
|
129
|
+
path?: string | undefined;
|
|
129
130
|
repo?: string | undefined;
|
|
130
131
|
agent?: string | undefined;
|
|
131
|
-
path?: string | undefined;
|
|
132
132
|
project?: string | undefined;
|
|
133
133
|
component?: string | undefined;
|
|
134
134
|
};
|
|
@@ -175,16 +175,16 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
175
175
|
} | undefined;
|
|
176
176
|
currentUserPrompt?: string | undefined;
|
|
177
177
|
scope?: {
|
|
178
|
+
path?: string | undefined;
|
|
178
179
|
repo?: string | undefined;
|
|
179
180
|
agent?: string | undefined;
|
|
180
|
-
path?: string | undefined;
|
|
181
181
|
project?: string | undefined;
|
|
182
182
|
component?: string | undefined;
|
|
183
183
|
} | undefined;
|
|
184
184
|
learningScope?: {
|
|
185
|
+
path?: string | undefined;
|
|
185
186
|
repo?: string | undefined;
|
|
186
187
|
agent?: string | undefined;
|
|
187
|
-
path?: string | undefined;
|
|
188
188
|
project?: string | undefined;
|
|
189
189
|
component?: string | undefined;
|
|
190
190
|
} | undefined;
|
|
@@ -237,16 +237,16 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
237
237
|
}>>>;
|
|
238
238
|
currentUserPrompt: z.ZodOptional<z.ZodString>;
|
|
239
239
|
scope: z.ZodOptional<z.ZodObject<{
|
|
240
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
240
241
|
repo: z.ZodOptional<z.ZodString>;
|
|
241
242
|
agent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
242
|
-
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
243
243
|
project: z.ZodOptional<z.ZodString>;
|
|
244
244
|
component: z.ZodOptional<z.ZodString>;
|
|
245
245
|
}, z.core.$strict>>;
|
|
246
246
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
247
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
247
248
|
repo: z.ZodOptional<z.ZodString>;
|
|
248
249
|
agent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
249
|
-
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
250
250
|
project: z.ZodOptional<z.ZodString>;
|
|
251
251
|
component: z.ZodOptional<z.ZodString>;
|
|
252
252
|
}, z.core.$strict>>;
|
|
@@ -270,9 +270,9 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
270
270
|
diff?: string;
|
|
271
271
|
task?: string;
|
|
272
272
|
learningScope?: {
|
|
273
|
+
path?: string | undefined;
|
|
273
274
|
repo?: string | undefined;
|
|
274
275
|
agent?: string | undefined;
|
|
275
|
-
path?: string | undefined;
|
|
276
276
|
project?: string | undefined;
|
|
277
277
|
component?: string | undefined;
|
|
278
278
|
};
|
|
@@ -319,16 +319,16 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
319
319
|
} | undefined;
|
|
320
320
|
currentUserPrompt?: string | undefined;
|
|
321
321
|
scope?: {
|
|
322
|
+
path?: string | undefined;
|
|
322
323
|
repo?: string | undefined;
|
|
323
324
|
agent?: string | undefined;
|
|
324
|
-
path?: string | undefined;
|
|
325
325
|
project?: string | undefined;
|
|
326
326
|
component?: string | undefined;
|
|
327
327
|
} | undefined;
|
|
328
328
|
learningScope?: {
|
|
329
|
+
path?: string | undefined;
|
|
329
330
|
repo?: string | undefined;
|
|
330
331
|
agent?: string | undefined;
|
|
331
|
-
path?: string | undefined;
|
|
332
332
|
project?: string | undefined;
|
|
333
333
|
component?: string | undefined;
|
|
334
334
|
} | undefined;
|
|
@@ -353,16 +353,16 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
353
353
|
sessionId: z.ZodString;
|
|
354
354
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
355
355
|
scope: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
356
357
|
repo: z.ZodOptional<z.ZodString>;
|
|
357
358
|
agent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
358
|
-
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
359
359
|
project: z.ZodOptional<z.ZodString>;
|
|
360
360
|
component: z.ZodOptional<z.ZodString>;
|
|
361
361
|
}, z.core.$strict>>;
|
|
362
362
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
363
364
|
repo: z.ZodOptional<z.ZodString>;
|
|
364
365
|
agent: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
365
|
-
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
366
366
|
project: z.ZodOptional<z.ZodString>;
|
|
367
367
|
component: z.ZodOptional<z.ZodString>;
|
|
368
368
|
}, z.core.$strict>>;
|
|
@@ -371,9 +371,9 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
371
371
|
files: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
372
372
|
messages: z.ZodArray<z.ZodObject<{
|
|
373
373
|
role: z.ZodEnum<{
|
|
374
|
+
system: "system";
|
|
374
375
|
user: "user";
|
|
375
376
|
assistant: "assistant";
|
|
376
|
-
system: "system";
|
|
377
377
|
tool: "tool";
|
|
378
378
|
}>;
|
|
379
379
|
content: z.ZodString;
|
|
@@ -385,9 +385,9 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
385
385
|
}, z.core.$strict>, z.ZodTransform<{
|
|
386
386
|
eventId: string;
|
|
387
387
|
learningScope: {
|
|
388
|
+
path?: string | undefined;
|
|
388
389
|
repo?: string | undefined;
|
|
389
390
|
agent?: string | undefined;
|
|
390
|
-
path?: string | undefined;
|
|
391
391
|
project?: string | undefined;
|
|
392
392
|
component?: string | undefined;
|
|
393
393
|
};
|
|
@@ -395,7 +395,7 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
395
395
|
agent: string;
|
|
396
396
|
sessionId: string;
|
|
397
397
|
messages: {
|
|
398
|
-
role: "
|
|
398
|
+
role: "system" | "user" | "assistant" | "tool";
|
|
399
399
|
content: string;
|
|
400
400
|
id?: string | undefined;
|
|
401
401
|
timestamp?: string | undefined;
|
|
@@ -403,9 +403,9 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
403
403
|
occurredAt: string;
|
|
404
404
|
conversationId?: string | undefined;
|
|
405
405
|
scope?: {
|
|
406
|
+
path?: string | undefined;
|
|
406
407
|
repo?: string | undefined;
|
|
407
408
|
agent?: string | undefined;
|
|
408
|
-
path?: string | undefined;
|
|
409
409
|
project?: string | undefined;
|
|
410
410
|
component?: string | undefined;
|
|
411
411
|
} | undefined;
|
|
@@ -418,7 +418,7 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
418
418
|
agent: string;
|
|
419
419
|
sessionId: string;
|
|
420
420
|
messages: {
|
|
421
|
-
role: "
|
|
421
|
+
role: "system" | "user" | "assistant" | "tool";
|
|
422
422
|
content: string;
|
|
423
423
|
id?: string | undefined;
|
|
424
424
|
timestamp?: string | undefined;
|
|
@@ -428,16 +428,16 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
428
428
|
externalEventId?: string | undefined;
|
|
429
429
|
conversationId?: string | undefined;
|
|
430
430
|
scope?: {
|
|
431
|
+
path?: string | undefined;
|
|
431
432
|
repo?: string | undefined;
|
|
432
433
|
agent?: string | undefined;
|
|
433
|
-
path?: string | undefined;
|
|
434
434
|
project?: string | undefined;
|
|
435
435
|
component?: string | undefined;
|
|
436
436
|
} | undefined;
|
|
437
437
|
learningScope?: {
|
|
438
|
+
path?: string | undefined;
|
|
438
439
|
repo?: string | undefined;
|
|
439
440
|
agent?: string | undefined;
|
|
440
|
-
path?: string | undefined;
|
|
441
441
|
project?: string | undefined;
|
|
442
442
|
component?: string | undefined;
|
|
443
443
|
} | undefined;
|
|
@@ -459,8 +459,8 @@ export declare const DevinSessionRegistrationResponseSchema: z.ZodObject<{
|
|
|
459
459
|
registered: z.ZodLiteral<true>;
|
|
460
460
|
sessionId: z.ZodString;
|
|
461
461
|
status: z.ZodEnum<{
|
|
462
|
-
error: "error";
|
|
463
462
|
active: "active";
|
|
463
|
+
error: "error";
|
|
464
464
|
paused: "paused";
|
|
465
465
|
}>;
|
|
466
466
|
}, z.core.$strict>;
|
|
@@ -645,8 +645,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
645
645
|
other: "other";
|
|
646
646
|
}>;
|
|
647
647
|
status: z.ZodEnum<{
|
|
648
|
-
proposed: "proposed";
|
|
649
648
|
active: "active";
|
|
649
|
+
proposed: "proposed";
|
|
650
650
|
suppressed: "suppressed";
|
|
651
651
|
superseded: "superseded";
|
|
652
652
|
deleted: "deleted";
|
|
@@ -784,8 +784,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
784
784
|
other: "other";
|
|
785
785
|
}>;
|
|
786
786
|
status: z.ZodEnum<{
|
|
787
|
-
proposed: "proposed";
|
|
788
787
|
active: "active";
|
|
788
|
+
proposed: "proposed";
|
|
789
789
|
suppressed: "suppressed";
|
|
790
790
|
superseded: "superseded";
|
|
791
791
|
deleted: "deleted";
|
|
@@ -858,8 +858,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
858
858
|
other: "other";
|
|
859
859
|
}>;
|
|
860
860
|
status: z.ZodEnum<{
|
|
861
|
-
proposed: "proposed";
|
|
862
861
|
active: "active";
|
|
862
|
+
proposed: "proposed";
|
|
863
863
|
suppressed: "suppressed";
|
|
864
864
|
superseded: "superseded";
|
|
865
865
|
deleted: "deleted";
|
|
@@ -1133,8 +1133,8 @@ export declare const DeliveryReceiptDetailSchema: z.ZodObject<{
|
|
|
1133
1133
|
other: "other";
|
|
1134
1134
|
}>;
|
|
1135
1135
|
status: z.ZodEnum<{
|
|
1136
|
-
proposed: "proposed";
|
|
1137
1136
|
active: "active";
|
|
1137
|
+
proposed: "proposed";
|
|
1138
1138
|
suppressed: "suppressed";
|
|
1139
1139
|
superseded: "superseded";
|
|
1140
1140
|
deleted: "deleted";
|
|
@@ -1241,8 +1241,8 @@ export declare const DeliveryFeedbackResponseSchema: z.ZodObject<{
|
|
|
1241
1241
|
other: "other";
|
|
1242
1242
|
}>;
|
|
1243
1243
|
status: z.ZodEnum<{
|
|
1244
|
-
proposed: "proposed";
|
|
1245
1244
|
active: "active";
|
|
1245
|
+
proposed: "proposed";
|
|
1246
1246
|
suppressed: "suppressed";
|
|
1247
1247
|
superseded: "superseded";
|
|
1248
1248
|
deleted: "deleted";
|
|
@@ -1393,8 +1393,8 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1393
1393
|
other: "other";
|
|
1394
1394
|
}>;
|
|
1395
1395
|
status: z.ZodEnum<{
|
|
1396
|
-
proposed: "proposed";
|
|
1397
1396
|
active: "active";
|
|
1397
|
+
proposed: "proposed";
|
|
1398
1398
|
suppressed: "suppressed";
|
|
1399
1399
|
superseded: "superseded";
|
|
1400
1400
|
deleted: "deleted";
|
|
@@ -1468,8 +1468,8 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1468
1468
|
other: "other";
|
|
1469
1469
|
}>;
|
|
1470
1470
|
status: z.ZodEnum<{
|
|
1471
|
-
proposed: "proposed";
|
|
1472
1471
|
active: "active";
|
|
1472
|
+
proposed: "proposed";
|
|
1473
1473
|
suppressed: "suppressed";
|
|
1474
1474
|
superseded: "superseded";
|
|
1475
1475
|
deleted: "deleted";
|
|
@@ -1546,14 +1546,14 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1546
1546
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
1547
1547
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1548
1548
|
agent: z.ZodString;
|
|
1549
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
1550
1549
|
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1550
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
1551
1551
|
userId: z.ZodOptional<z.ZodUUID>;
|
|
1552
1552
|
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
1553
1553
|
}, z.core.$strict>;
|
|
1554
1554
|
status: z.ZodEnum<{
|
|
1555
|
-
proposed: "proposed";
|
|
1556
1555
|
active: "active";
|
|
1556
|
+
proposed: "proposed";
|
|
1557
1557
|
suppressed: "suppressed";
|
|
1558
1558
|
superseded: "superseded";
|
|
1559
1559
|
deleted: "deleted";
|
|
@@ -1606,15 +1606,15 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1606
1606
|
}, z.core.$strict>;
|
|
1607
1607
|
export type ContextDeliveryResponse = z.infer<typeof ContextDeliveryResponseSchema>;
|
|
1608
1608
|
export declare const ActivityMemorySchema: z.ZodObject<{
|
|
1609
|
+
content: z.ZodString;
|
|
1609
1610
|
status: z.ZodEnum<{
|
|
1610
|
-
proposed: "proposed";
|
|
1611
1611
|
active: "active";
|
|
1612
|
+
proposed: "proposed";
|
|
1612
1613
|
suppressed: "suppressed";
|
|
1613
1614
|
superseded: "superseded";
|
|
1614
1615
|
deleted: "deleted";
|
|
1615
1616
|
}>;
|
|
1616
1617
|
id: z.ZodUUID;
|
|
1617
|
-
content: z.ZodString;
|
|
1618
1618
|
category: z.ZodEnum<{
|
|
1619
1619
|
architecture: "architecture";
|
|
1620
1620
|
convention: "convention";
|
|
@@ -1664,15 +1664,15 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1664
1664
|
}, z.core.$strict>>;
|
|
1665
1665
|
correction: z.ZodString;
|
|
1666
1666
|
learnedMemories: z.ZodArray<z.ZodObject<{
|
|
1667
|
+
content: z.ZodString;
|
|
1667
1668
|
status: z.ZodEnum<{
|
|
1668
|
-
proposed: "proposed";
|
|
1669
1669
|
active: "active";
|
|
1670
|
+
proposed: "proposed";
|
|
1670
1671
|
suppressed: "suppressed";
|
|
1671
1672
|
superseded: "superseded";
|
|
1672
1673
|
deleted: "deleted";
|
|
1673
1674
|
}>;
|
|
1674
1675
|
id: z.ZodUUID;
|
|
1675
|
-
content: z.ZodString;
|
|
1676
1676
|
category: z.ZodEnum<{
|
|
1677
1677
|
architecture: "architecture";
|
|
1678
1678
|
convention: "convention";
|
|
@@ -1686,15 +1686,15 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1686
1686
|
}>;
|
|
1687
1687
|
}, z.core.$strict>>;
|
|
1688
1688
|
deliveredMemories: z.ZodArray<z.ZodObject<{
|
|
1689
|
+
content: z.ZodString;
|
|
1689
1690
|
status: z.ZodEnum<{
|
|
1690
|
-
proposed: "proposed";
|
|
1691
1691
|
active: "active";
|
|
1692
|
+
proposed: "proposed";
|
|
1692
1693
|
suppressed: "suppressed";
|
|
1693
1694
|
superseded: "superseded";
|
|
1694
1695
|
deleted: "deleted";
|
|
1695
1696
|
}>;
|
|
1696
1697
|
id: z.ZodUUID;
|
|
1697
|
-
content: z.ZodString;
|
|
1698
1698
|
category: z.ZodEnum<{
|
|
1699
1699
|
architecture: "architecture";
|
|
1700
1700
|
convention: "convention";
|
|
@@ -1761,6 +1761,7 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1761
1761
|
deliveredAt: z.ZodISODateTime;
|
|
1762
1762
|
}, z.core.$strict>>;
|
|
1763
1763
|
workSessionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1764
|
+
workSessionTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1764
1765
|
deliverySources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1765
1766
|
memoryId: z.ZodUUID;
|
|
1766
1767
|
agent: z.ZodString;
|
|
@@ -1825,15 +1826,15 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1825
1826
|
}, z.core.$strict>>;
|
|
1826
1827
|
correction: z.ZodString;
|
|
1827
1828
|
learnedMemories: z.ZodArray<z.ZodObject<{
|
|
1829
|
+
content: z.ZodString;
|
|
1828
1830
|
status: z.ZodEnum<{
|
|
1829
|
-
proposed: "proposed";
|
|
1830
1831
|
active: "active";
|
|
1832
|
+
proposed: "proposed";
|
|
1831
1833
|
suppressed: "suppressed";
|
|
1832
1834
|
superseded: "superseded";
|
|
1833
1835
|
deleted: "deleted";
|
|
1834
1836
|
}>;
|
|
1835
1837
|
id: z.ZodUUID;
|
|
1836
|
-
content: z.ZodString;
|
|
1837
1838
|
category: z.ZodEnum<{
|
|
1838
1839
|
architecture: "architecture";
|
|
1839
1840
|
convention: "convention";
|
|
@@ -1847,15 +1848,15 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1847
1848
|
}>;
|
|
1848
1849
|
}, z.core.$strict>>;
|
|
1849
1850
|
deliveredMemories: z.ZodArray<z.ZodObject<{
|
|
1851
|
+
content: z.ZodString;
|
|
1850
1852
|
status: z.ZodEnum<{
|
|
1851
|
-
proposed: "proposed";
|
|
1852
1853
|
active: "active";
|
|
1854
|
+
proposed: "proposed";
|
|
1853
1855
|
suppressed: "suppressed";
|
|
1854
1856
|
superseded: "superseded";
|
|
1855
1857
|
deleted: "deleted";
|
|
1856
1858
|
}>;
|
|
1857
1859
|
id: z.ZodUUID;
|
|
1858
|
-
content: z.ZodString;
|
|
1859
1860
|
category: z.ZodEnum<{
|
|
1860
1861
|
architecture: "architecture";
|
|
1861
1862
|
convention: "convention";
|
|
@@ -1922,6 +1923,7 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1922
1923
|
deliveredAt: z.ZodISODateTime;
|
|
1923
1924
|
}, z.core.$strict>>;
|
|
1924
1925
|
workSessionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1926
|
+
workSessionTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1925
1927
|
deliverySources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1926
1928
|
memoryId: z.ZodUUID;
|
|
1927
1929
|
agent: z.ZodString;
|
|
@@ -1934,12 +1936,31 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1934
1936
|
hasMore: z.ZodBoolean;
|
|
1935
1937
|
}, z.core.$strict>;
|
|
1936
1938
|
export type ActivityListResponse = z.infer<typeof ActivityListResponseSchema>;
|
|
1939
|
+
/**
|
|
1940
|
+
* Week-over-week context for the Activity summary. `daily` holds seven rolling
|
|
1941
|
+
* 24-hour buckets ending at `to`, oldest first, so the shape is the same in
|
|
1942
|
+
* every time zone. "Prompts" are context requests that produced a receipt,
|
|
1943
|
+
* whether or not any learning was sent.
|
|
1944
|
+
*/
|
|
1945
|
+
export declare const ActivitySummaryTrendSchema: z.ZodObject<{
|
|
1946
|
+
daily: z.ZodArray<z.ZodNumber>;
|
|
1947
|
+
promptsSeen: z.ZodNumber;
|
|
1948
|
+
previousDeliveredTeachings: z.ZodNumber;
|
|
1949
|
+
previousPromptsSeen: z.ZodNumber;
|
|
1950
|
+
}, z.core.$strict>;
|
|
1951
|
+
export type ActivitySummaryTrend = z.infer<typeof ActivitySummaryTrendSchema>;
|
|
1937
1952
|
export declare const ActivitySummarySchema: z.ZodObject<{
|
|
1938
1953
|
from: z.ZodISODateTime;
|
|
1939
1954
|
to: z.ZodISODateTime;
|
|
1940
1955
|
deliveredTeachings: z.ZodNumber;
|
|
1941
1956
|
agentsReached: z.ZodNumber;
|
|
1942
1957
|
awaitingReview: z.ZodNumber;
|
|
1958
|
+
trend: z.ZodOptional<z.ZodObject<{
|
|
1959
|
+
daily: z.ZodArray<z.ZodNumber>;
|
|
1960
|
+
promptsSeen: z.ZodNumber;
|
|
1961
|
+
previousDeliveredTeachings: z.ZodNumber;
|
|
1962
|
+
previousPromptsSeen: z.ZodNumber;
|
|
1963
|
+
}, z.core.$strict>>;
|
|
1943
1964
|
}, z.core.$strict>;
|
|
1944
1965
|
export type ActivitySummary = z.infer<typeof ActivitySummarySchema>;
|
|
1945
1966
|
export declare const TurnObservationSchema: z.ZodObject<{
|
|
@@ -1967,8 +1988,8 @@ export declare const TurnObservationSchema: z.ZodObject<{
|
|
|
1967
1988
|
other: "other";
|
|
1968
1989
|
}>;
|
|
1969
1990
|
status: z.ZodEnum<{
|
|
1970
|
-
proposed: "proposed";
|
|
1971
1991
|
active: "active";
|
|
1992
|
+
proposed: "proposed";
|
|
1972
1993
|
suppressed: "suppressed";
|
|
1973
1994
|
superseded: "superseded";
|
|
1974
1995
|
deleted: "deleted";
|
|
@@ -2048,8 +2069,8 @@ export declare const ObservationResponseSchema: z.ZodObject<{
|
|
|
2048
2069
|
other: "other";
|
|
2049
2070
|
}>;
|
|
2050
2071
|
status: z.ZodEnum<{
|
|
2051
|
-
proposed: "proposed";
|
|
2052
2072
|
active: "active";
|
|
2073
|
+
proposed: "proposed";
|
|
2053
2074
|
suppressed: "suppressed";
|
|
2054
2075
|
superseded: "superseded";
|
|
2055
2076
|
deleted: "deleted";
|
|
@@ -2175,8 +2196,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2175
2196
|
other: "other";
|
|
2176
2197
|
}>;
|
|
2177
2198
|
status: z.ZodEnum<{
|
|
2178
|
-
proposed: "proposed";
|
|
2179
2199
|
active: "active";
|
|
2200
|
+
proposed: "proposed";
|
|
2180
2201
|
suppressed: "suppressed";
|
|
2181
2202
|
superseded: "superseded";
|
|
2182
2203
|
deleted: "deleted";
|
|
@@ -2255,8 +2276,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2255
2276
|
other: "other";
|
|
2256
2277
|
}>;
|
|
2257
2278
|
status: z.ZodEnum<{
|
|
2258
|
-
proposed: "proposed";
|
|
2259
2279
|
active: "active";
|
|
2280
|
+
proposed: "proposed";
|
|
2260
2281
|
suppressed: "suppressed";
|
|
2261
2282
|
superseded: "superseded";
|
|
2262
2283
|
deleted: "deleted";
|
|
@@ -2330,8 +2351,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2330
2351
|
other: "other";
|
|
2331
2352
|
}>;
|
|
2332
2353
|
status: z.ZodEnum<{
|
|
2333
|
-
proposed: "proposed";
|
|
2334
2354
|
active: "active";
|
|
2355
|
+
proposed: "proposed";
|
|
2335
2356
|
suppressed: "suppressed";
|
|
2336
2357
|
superseded: "superseded";
|
|
2337
2358
|
deleted: "deleted";
|
|
@@ -2408,14 +2429,14 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2408
2429
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2409
2430
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
2410
2431
|
agent: z.ZodString;
|
|
2411
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
2412
2432
|
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2433
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
2413
2434
|
userId: z.ZodOptional<z.ZodUUID>;
|
|
2414
2435
|
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
2415
2436
|
}, z.core.$strict>;
|
|
2416
2437
|
status: z.ZodEnum<{
|
|
2417
|
-
proposed: "proposed";
|
|
2418
2438
|
active: "active";
|
|
2439
|
+
proposed: "proposed";
|
|
2419
2440
|
suppressed: "suppressed";
|
|
2420
2441
|
superseded: "superseded";
|
|
2421
2442
|
deleted: "deleted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pilot-schemas.d.ts","sourceRoot":"","sources":["../src/pilot-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,qBAAqB;;;EAAiC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe;;;;;;;;;;;kBAUjB,CAAC;AACZ,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,0BAA0B;;;;;;;;;kBAW5B,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;kBAM9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;EAIlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,eAAe;;;;;;kBAE1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,mBAAmB,aAKI,CAAC;AAErC,eAAO,MAAM,uBAAuB;;;;kBAMzB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkB1B,CAAC;AACZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/pilot-schemas.js
CHANGED
|
@@ -418,6 +418,8 @@ export const ActivityItemSchema = z
|
|
|
418
418
|
deliveredMemories: z.array(ActivityMemorySchema),
|
|
419
419
|
receipt: DeliveryReceiptSchema.nullable(),
|
|
420
420
|
workSessionId: z.uuid().nullable().optional(),
|
|
421
|
+
/** The session's generated display title, when evidence is requested and one is current. */
|
|
422
|
+
workSessionTitle: z.string().nullable().optional(),
|
|
421
423
|
/** Sources are included only when the stored teaching matches the delivered snapshot. */
|
|
422
424
|
deliverySources: z.array(z.object({
|
|
423
425
|
memoryId: z.uuid(),
|
|
@@ -464,12 +466,26 @@ export const ActivityListResponseSchema = z
|
|
|
464
466
|
hasMore: z.boolean(),
|
|
465
467
|
})
|
|
466
468
|
.strict();
|
|
469
|
+
/**
|
|
470
|
+
* Week-over-week context for the Activity summary. `daily` holds seven rolling
|
|
471
|
+
* 24-hour buckets ending at `to`, oldest first, so the shape is the same in
|
|
472
|
+
* every time zone. "Prompts" are context requests that produced a receipt,
|
|
473
|
+
* whether or not any learning was sent.
|
|
474
|
+
*/
|
|
475
|
+
export const ActivitySummaryTrendSchema = z.object({
|
|
476
|
+
daily: z.array(z.number().int().nonnegative()).length(7),
|
|
477
|
+
promptsSeen: z.number().int().nonnegative(),
|
|
478
|
+
previousDeliveredTeachings: z.number().int().nonnegative(),
|
|
479
|
+
previousPromptsSeen: z.number().int().nonnegative(),
|
|
480
|
+
}).strict();
|
|
467
481
|
export const ActivitySummarySchema = z.object({
|
|
468
482
|
from: z.iso.datetime({ offset: true }),
|
|
469
483
|
to: z.iso.datetime({ offset: true }),
|
|
470
484
|
deliveredTeachings: z.number().int().nonnegative(),
|
|
471
485
|
agentsReached: z.number().int().nonnegative(),
|
|
472
486
|
awaitingReview: z.number().int().nonnegative(),
|
|
487
|
+
// Older servers omit the trend; the dashboard then shows the sentence alone.
|
|
488
|
+
trend: ActivitySummaryTrendSchema.optional(),
|
|
473
489
|
}).strict();
|
|
474
490
|
export const TurnObservationSchema = ObserveResponseSchema.extend({
|
|
475
491
|
reconciled: z.number().int().nonnegative(),
|