@lore-co/core 0.1.15 → 0.1.17
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/auth-schemas.d.ts +11 -0
- package/dist/auth-schemas.d.ts.map +1 -1
- package/dist/auth-schemas.js +9 -1
- package/dist/auth-schemas.js.map +1 -1
- package/dist/guard-schemas.d.ts +222 -0
- package/dist/guard-schemas.d.ts.map +1 -0
- package/dist/guard-schemas.js +159 -0
- package/dist/guard-schemas.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/pilot-schemas.d.ts +60 -0
- package/dist/pilot-schemas.d.ts.map +1 -1
- package/dist/pilot-schemas.js +1 -0
- package/dist/pilot-schemas.js.map +1 -1
- package/dist/platform-admin-schemas.d.ts +245 -0
- package/dist/platform-admin-schemas.d.ts.map +1 -0
- package/dist/platform-admin-schemas.js +149 -0
- package/dist/platform-admin-schemas.js.map +1 -0
- package/dist/schemas.d.ts +138 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +8 -0
- package/dist/schemas.js.map +1 -1
- package/dist/session-schemas.d.ts +17 -0
- package/dist/session-schemas.d.ts.map +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AuthEmailSchema, AuthInitiationResponseSchema, AuthTokenSchema, AuthenticatedSessionResponseSchema, } from "./auth-schemas.js";
|
|
3
|
+
export const AccessRequestStatusSchema = z.enum([
|
|
4
|
+
"pending",
|
|
5
|
+
"approved",
|
|
6
|
+
"rejected",
|
|
7
|
+
]);
|
|
8
|
+
export const AccessRequestSchema = z
|
|
9
|
+
.object({
|
|
10
|
+
id: z.uuid(),
|
|
11
|
+
email: AuthEmailSchema,
|
|
12
|
+
status: AccessRequestStatusSchema,
|
|
13
|
+
decidedByEmail: AuthEmailSchema.nullable(),
|
|
14
|
+
decidedAt: z.iso.datetime().nullable(),
|
|
15
|
+
createdAt: z.iso.datetime(),
|
|
16
|
+
updatedAt: z.iso.datetime(),
|
|
17
|
+
})
|
|
18
|
+
.strict();
|
|
19
|
+
export const RequestAccessRequestSchema = z
|
|
20
|
+
.object({
|
|
21
|
+
email: AuthEmailSchema,
|
|
22
|
+
})
|
|
23
|
+
.strict();
|
|
24
|
+
export const RequestAccessResponseSchema = AuthInitiationResponseSchema;
|
|
25
|
+
export const PlatformSignupInviteStatusSchema = z.enum([
|
|
26
|
+
"pending",
|
|
27
|
+
"accepted",
|
|
28
|
+
"revoked",
|
|
29
|
+
"expired",
|
|
30
|
+
]);
|
|
31
|
+
export const PlatformSignupInviteSchema = z
|
|
32
|
+
.object({
|
|
33
|
+
id: z.uuid(),
|
|
34
|
+
email: AuthEmailSchema,
|
|
35
|
+
status: PlatformSignupInviteStatusSchema,
|
|
36
|
+
issuedByEmail: AuthEmailSchema,
|
|
37
|
+
expiresAt: z.iso.datetime(),
|
|
38
|
+
acceptedAt: z.iso.datetime().nullable(),
|
|
39
|
+
revokedAt: z.iso.datetime().nullable(),
|
|
40
|
+
lastSentAt: z.iso.datetime().nullable(),
|
|
41
|
+
createdAt: z.iso.datetime(),
|
|
42
|
+
})
|
|
43
|
+
.strict();
|
|
44
|
+
export const PreviewPlatformSignupInviteRequestSchema = z
|
|
45
|
+
.object({
|
|
46
|
+
token: AuthTokenSchema,
|
|
47
|
+
})
|
|
48
|
+
.strict();
|
|
49
|
+
export const PlatformSignupInvitePreviewSchema = z
|
|
50
|
+
.object({
|
|
51
|
+
email: AuthEmailSchema,
|
|
52
|
+
expiresAt: z.iso.datetime(),
|
|
53
|
+
})
|
|
54
|
+
.strict();
|
|
55
|
+
export const PreviewPlatformSignupInviteResponseSchema = z
|
|
56
|
+
.object({
|
|
57
|
+
invite: PlatformSignupInvitePreviewSchema,
|
|
58
|
+
})
|
|
59
|
+
.strict();
|
|
60
|
+
export const AcceptPlatformSignupInviteRequestSchema = z
|
|
61
|
+
.object({
|
|
62
|
+
token: AuthTokenSchema,
|
|
63
|
+
organizationName: z.string().trim().min(1).max(200),
|
|
64
|
+
})
|
|
65
|
+
.strict();
|
|
66
|
+
export const AcceptPlatformSignupInviteResponseSchema = AuthenticatedSessionResponseSchema;
|
|
67
|
+
export const IssuePlatformSignupInviteRequestSchema = z
|
|
68
|
+
.object({
|
|
69
|
+
email: AuthEmailSchema,
|
|
70
|
+
})
|
|
71
|
+
.strict();
|
|
72
|
+
export const PlatformSignupInviteDeliverySchema = z
|
|
73
|
+
.object({
|
|
74
|
+
invite: PlatformSignupInviteSchema,
|
|
75
|
+
delivery: z.enum(["sent", "failed"]),
|
|
76
|
+
})
|
|
77
|
+
.strict();
|
|
78
|
+
export const ListPlatformSignupInvitesResponseSchema = z
|
|
79
|
+
.object({
|
|
80
|
+
invites: z.array(PlatformSignupInviteSchema),
|
|
81
|
+
})
|
|
82
|
+
.strict();
|
|
83
|
+
export const ListAccessRequestsResponseSchema = z
|
|
84
|
+
.object({
|
|
85
|
+
requests: z.array(AccessRequestSchema),
|
|
86
|
+
})
|
|
87
|
+
.strict();
|
|
88
|
+
export const PlatformAdminRoleSchema = z.enum(["super_admin", "admin"]);
|
|
89
|
+
export const PlatformAdminSchema = z
|
|
90
|
+
.object({
|
|
91
|
+
userId: z.uuid().nullable(),
|
|
92
|
+
email: AuthEmailSchema,
|
|
93
|
+
role: PlatformAdminRoleSchema,
|
|
94
|
+
source: z.enum(["environment", "database"]),
|
|
95
|
+
grantedByEmail: AuthEmailSchema.nullable(),
|
|
96
|
+
createdAt: z.iso.datetime().nullable(),
|
|
97
|
+
})
|
|
98
|
+
.strict();
|
|
99
|
+
export const PlatformAdminAccessResponseSchema = z
|
|
100
|
+
.object({
|
|
101
|
+
admin: PlatformAdminSchema,
|
|
102
|
+
})
|
|
103
|
+
.strict();
|
|
104
|
+
export const AddPlatformAdminRequestSchema = z
|
|
105
|
+
.object({
|
|
106
|
+
email: AuthEmailSchema,
|
|
107
|
+
})
|
|
108
|
+
.strict();
|
|
109
|
+
export const ListPlatformAdminsResponseSchema = z
|
|
110
|
+
.object({
|
|
111
|
+
admins: z.array(PlatformAdminSchema),
|
|
112
|
+
})
|
|
113
|
+
.strict();
|
|
114
|
+
export const PlatformStatsSchema = z
|
|
115
|
+
.object({
|
|
116
|
+
workspaces: z.object({
|
|
117
|
+
total: z.number().int().nonnegative(),
|
|
118
|
+
active: z.number().int().nonnegative(),
|
|
119
|
+
createdLast7Days: z.number().int().nonnegative(),
|
|
120
|
+
}),
|
|
121
|
+
users: z.object({
|
|
122
|
+
total: z.number().int().nonnegative(),
|
|
123
|
+
active: z.number().int().nonnegative(),
|
|
124
|
+
createdLast7Days: z.number().int().nonnegative(),
|
|
125
|
+
}),
|
|
126
|
+
access: z.object({
|
|
127
|
+
pendingRequests: z.number().int().nonnegative(),
|
|
128
|
+
requestsLast7Days: z.number().int().nonnegative(),
|
|
129
|
+
pendingInvites: z.number().int().nonnegative(),
|
|
130
|
+
acceptedInvites: z.number().int().nonnegative(),
|
|
131
|
+
}),
|
|
132
|
+
activity: z.object({
|
|
133
|
+
eventsLast24Hours: z.number().int().nonnegative(),
|
|
134
|
+
activeAgentsLast30Days: z.number().int().nonnegative(),
|
|
135
|
+
guardChecksLast24Hours: z.number().int().nonnegative(),
|
|
136
|
+
}),
|
|
137
|
+
})
|
|
138
|
+
.strict();
|
|
139
|
+
export const RejectAccessRequestSchema = z
|
|
140
|
+
.object({
|
|
141
|
+
reason: z.string().trim().min(1).max(500).optional(),
|
|
142
|
+
})
|
|
143
|
+
.strict();
|
|
144
|
+
export const PlatformAdminMutationResponseSchema = z
|
|
145
|
+
.object({
|
|
146
|
+
success: z.literal(true),
|
|
147
|
+
})
|
|
148
|
+
.strict();
|
|
149
|
+
//# sourceMappingURL=platform-admin-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-admin-schemas.js","sourceRoot":"","sources":["../src/platform-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AAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;QACjD,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;QACtD,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;KACvD,CAAC;CACH,CAAC;KACD,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC;KACD,MAAM,EAAE,CAAC;AAKZ,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC;KACjD,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACzB,CAAC;KACD,MAAM,EAAE,CAAC"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -69,6 +69,16 @@ export declare const ProposalReviewDecisionSchema: z.ZodEnum<{
|
|
|
69
69
|
reject: "reject";
|
|
70
70
|
}>;
|
|
71
71
|
export type ProposalReviewDecision = z.infer<typeof ProposalReviewDecisionSchema>;
|
|
72
|
+
/**
|
|
73
|
+
* Governance level for a memory when Context Guard runs in enforce mode.
|
|
74
|
+
* Only `required` rules may trigger a confirmation gate; everything else
|
|
75
|
+
* is advisory context. Undefined is treated as `advisory`.
|
|
76
|
+
*/
|
|
77
|
+
export declare const MemoryEnforcementSchema: z.ZodEnum<{
|
|
78
|
+
advisory: "advisory";
|
|
79
|
+
required: "required";
|
|
80
|
+
}>;
|
|
81
|
+
export type MemoryEnforcement = z.infer<typeof MemoryEnforcementSchema>;
|
|
72
82
|
export declare const MemoryConflictDetectorSchema: z.ZodEnum<{
|
|
73
83
|
deterministic: "deterministic";
|
|
74
84
|
lexical: "lexical";
|
|
@@ -378,6 +388,10 @@ export declare const MemorySchema: z.ZodObject<{
|
|
|
378
388
|
implicit: "implicit";
|
|
379
389
|
explicit: "explicit";
|
|
380
390
|
}>>;
|
|
391
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
392
|
+
advisory: "advisory";
|
|
393
|
+
required: "required";
|
|
394
|
+
}>>;
|
|
381
395
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
382
396
|
fingerprint: z.ZodString;
|
|
383
397
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -432,6 +446,10 @@ export declare const LearningSchema: z.ZodObject<{
|
|
|
432
446
|
implicit: "implicit";
|
|
433
447
|
explicit: "explicit";
|
|
434
448
|
}>>;
|
|
449
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
450
|
+
advisory: "advisory";
|
|
451
|
+
required: "required";
|
|
452
|
+
}>>;
|
|
435
453
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
436
454
|
fingerprint: z.ZodString;
|
|
437
455
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -526,6 +544,10 @@ export declare const ProposalRecordSchema: z.ZodObject<{
|
|
|
526
544
|
implicit: "implicit";
|
|
527
545
|
explicit: "explicit";
|
|
528
546
|
}>>;
|
|
547
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
548
|
+
advisory: "advisory";
|
|
549
|
+
required: "required";
|
|
550
|
+
}>>;
|
|
529
551
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
530
552
|
fingerprint: z.ZodString;
|
|
531
553
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -640,6 +662,10 @@ export declare const ProposalDetailResponseSchema: z.ZodObject<{
|
|
|
640
662
|
implicit: "implicit";
|
|
641
663
|
explicit: "explicit";
|
|
642
664
|
}>>;
|
|
665
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
advisory: "advisory";
|
|
667
|
+
required: "required";
|
|
668
|
+
}>>;
|
|
643
669
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
644
670
|
fingerprint: z.ZodString;
|
|
645
671
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -751,6 +777,10 @@ export declare const ProposalDetailResponseSchema: z.ZodObject<{
|
|
|
751
777
|
implicit: "implicit";
|
|
752
778
|
explicit: "explicit";
|
|
753
779
|
}>>;
|
|
780
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
781
|
+
advisory: "advisory";
|
|
782
|
+
required: "required";
|
|
783
|
+
}>>;
|
|
754
784
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
755
785
|
fingerprint: z.ZodString;
|
|
756
786
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -807,6 +837,10 @@ export declare const ProposeMemoryResultSchema: z.ZodObject<{
|
|
|
807
837
|
implicit: "implicit";
|
|
808
838
|
explicit: "explicit";
|
|
809
839
|
}>>;
|
|
840
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
841
|
+
advisory: "advisory";
|
|
842
|
+
required: "required";
|
|
843
|
+
}>>;
|
|
810
844
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
811
845
|
fingerprint: z.ZodString;
|
|
812
846
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -922,6 +956,10 @@ export declare const ReviewProposalResponseSchema: z.ZodObject<{
|
|
|
922
956
|
implicit: "implicit";
|
|
923
957
|
explicit: "explicit";
|
|
924
958
|
}>>;
|
|
959
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
960
|
+
advisory: "advisory";
|
|
961
|
+
required: "required";
|
|
962
|
+
}>>;
|
|
925
963
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
926
964
|
fingerprint: z.ZodString;
|
|
927
965
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1033,6 +1071,10 @@ export declare const ReviewProposalResponseSchema: z.ZodObject<{
|
|
|
1033
1071
|
implicit: "implicit";
|
|
1034
1072
|
explicit: "explicit";
|
|
1035
1073
|
}>>;
|
|
1074
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1075
|
+
advisory: "advisory";
|
|
1076
|
+
required: "required";
|
|
1077
|
+
}>>;
|
|
1036
1078
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1037
1079
|
fingerprint: z.ZodString;
|
|
1038
1080
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1214,6 +1256,10 @@ export declare const MemoryUpdateSchema: z.ZodObject<{
|
|
|
1214
1256
|
implicit: "implicit";
|
|
1215
1257
|
explicit: "explicit";
|
|
1216
1258
|
}>>;
|
|
1259
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1260
|
+
advisory: "advisory";
|
|
1261
|
+
required: "required";
|
|
1262
|
+
}>>;
|
|
1217
1263
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1218
1264
|
fingerprint: z.ZodOptional<z.ZodString>;
|
|
1219
1265
|
supersedesMemoryId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1265,6 +1311,10 @@ export declare const UpdateMemoryDtoSchema: z.ZodObject<{
|
|
|
1265
1311
|
implicit: "implicit";
|
|
1266
1312
|
explicit: "explicit";
|
|
1267
1313
|
}>>;
|
|
1314
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1315
|
+
advisory: "advisory";
|
|
1316
|
+
required: "required";
|
|
1317
|
+
}>>;
|
|
1268
1318
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1269
1319
|
fingerprint: z.ZodOptional<z.ZodString>;
|
|
1270
1320
|
supersedesMemoryId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1317,6 +1367,10 @@ export declare const UpdateMemoryInputSchema: z.ZodObject<{
|
|
|
1317
1367
|
implicit: "implicit";
|
|
1318
1368
|
explicit: "explicit";
|
|
1319
1369
|
}>>;
|
|
1370
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1371
|
+
advisory: "advisory";
|
|
1372
|
+
required: "required";
|
|
1373
|
+
}>>;
|
|
1320
1374
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1321
1375
|
fingerprint: z.ZodOptional<z.ZodString>;
|
|
1322
1376
|
supersedesMemoryId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -1686,6 +1740,10 @@ export declare const InsertMemoryResultSchema: z.ZodObject<{
|
|
|
1686
1740
|
implicit: "implicit";
|
|
1687
1741
|
explicit: "explicit";
|
|
1688
1742
|
}>>;
|
|
1743
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1744
|
+
advisory: "advisory";
|
|
1745
|
+
required: "required";
|
|
1746
|
+
}>>;
|
|
1689
1747
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1690
1748
|
fingerprint: z.ZodString;
|
|
1691
1749
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1743,6 +1801,10 @@ export declare const ListMemoriesResponseSchema: z.ZodObject<{
|
|
|
1743
1801
|
implicit: "implicit";
|
|
1744
1802
|
explicit: "explicit";
|
|
1745
1803
|
}>>;
|
|
1804
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1805
|
+
advisory: "advisory";
|
|
1806
|
+
required: "required";
|
|
1807
|
+
}>>;
|
|
1746
1808
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1747
1809
|
fingerprint: z.ZodString;
|
|
1748
1810
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1802,6 +1864,10 @@ export declare const ListLearningsResponseSchema: z.ZodObject<{
|
|
|
1802
1864
|
implicit: "implicit";
|
|
1803
1865
|
explicit: "explicit";
|
|
1804
1866
|
}>>;
|
|
1867
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1868
|
+
advisory: "advisory";
|
|
1869
|
+
required: "required";
|
|
1870
|
+
}>>;
|
|
1805
1871
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1806
1872
|
fingerprint: z.ZodString;
|
|
1807
1873
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1861,6 +1927,10 @@ export declare const ObserveResponseSchema: z.ZodObject<{
|
|
|
1861
1927
|
implicit: "implicit";
|
|
1862
1928
|
explicit: "explicit";
|
|
1863
1929
|
}>>;
|
|
1930
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1931
|
+
advisory: "advisory";
|
|
1932
|
+
required: "required";
|
|
1933
|
+
}>>;
|
|
1864
1934
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1865
1935
|
fingerprint: z.ZodString;
|
|
1866
1936
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1921,6 +1991,10 @@ export declare const ObserveLearningsResponseSchema: z.ZodObject<{
|
|
|
1921
1991
|
implicit: "implicit";
|
|
1922
1992
|
explicit: "explicit";
|
|
1923
1993
|
}>>;
|
|
1994
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1995
|
+
advisory: "advisory";
|
|
1996
|
+
required: "required";
|
|
1997
|
+
}>>;
|
|
1924
1998
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1925
1999
|
fingerprint: z.ZodString;
|
|
1926
2000
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2018,6 +2092,10 @@ export declare const RetrievalHitSchema: z.ZodObject<{
|
|
|
2018
2092
|
implicit: "implicit";
|
|
2019
2093
|
explicit: "explicit";
|
|
2020
2094
|
}>>;
|
|
2095
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2096
|
+
advisory: "advisory";
|
|
2097
|
+
required: "required";
|
|
2098
|
+
}>>;
|
|
2021
2099
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2022
2100
|
fingerprint: z.ZodString;
|
|
2023
2101
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2086,6 +2164,10 @@ export declare const GetContextResponseSchema: z.ZodObject<{
|
|
|
2086
2164
|
implicit: "implicit";
|
|
2087
2165
|
explicit: "explicit";
|
|
2088
2166
|
}>>;
|
|
2167
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2168
|
+
advisory: "advisory";
|
|
2169
|
+
required: "required";
|
|
2170
|
+
}>>;
|
|
2089
2171
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2090
2172
|
fingerprint: z.ZodString;
|
|
2091
2173
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2140,6 +2222,10 @@ export declare const GetContextResponseSchema: z.ZodObject<{
|
|
|
2140
2222
|
implicit: "implicit";
|
|
2141
2223
|
explicit: "explicit";
|
|
2142
2224
|
}>>;
|
|
2225
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2226
|
+
advisory: "advisory";
|
|
2227
|
+
required: "required";
|
|
2228
|
+
}>>;
|
|
2143
2229
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2144
2230
|
fingerprint: z.ZodString;
|
|
2145
2231
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2238,6 +2324,10 @@ export declare const LearningContextResponseSchema: z.ZodObject<{
|
|
|
2238
2324
|
implicit: "implicit";
|
|
2239
2325
|
explicit: "explicit";
|
|
2240
2326
|
}>>;
|
|
2327
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2328
|
+
advisory: "advisory";
|
|
2329
|
+
required: "required";
|
|
2330
|
+
}>>;
|
|
2241
2331
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2242
2332
|
fingerprint: z.ZodString;
|
|
2243
2333
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2292,6 +2382,10 @@ export declare const LearningContextResponseSchema: z.ZodObject<{
|
|
|
2292
2382
|
implicit: "implicit";
|
|
2293
2383
|
explicit: "explicit";
|
|
2294
2384
|
}>>;
|
|
2385
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2386
|
+
advisory: "advisory";
|
|
2387
|
+
required: "required";
|
|
2388
|
+
}>>;
|
|
2295
2389
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2296
2390
|
fingerprint: z.ZodString;
|
|
2297
2391
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2389,6 +2483,10 @@ export declare const RememberResponseSchema: z.ZodObject<{
|
|
|
2389
2483
|
implicit: "implicit";
|
|
2390
2484
|
explicit: "explicit";
|
|
2391
2485
|
}>>;
|
|
2486
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2487
|
+
advisory: "advisory";
|
|
2488
|
+
required: "required";
|
|
2489
|
+
}>>;
|
|
2392
2490
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2393
2491
|
fingerprint: z.ZodString;
|
|
2394
2492
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2446,6 +2544,10 @@ export declare const CreateMemoryResponseSchema: z.ZodObject<{
|
|
|
2446
2544
|
implicit: "implicit";
|
|
2447
2545
|
explicit: "explicit";
|
|
2448
2546
|
}>>;
|
|
2547
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2548
|
+
advisory: "advisory";
|
|
2549
|
+
required: "required";
|
|
2550
|
+
}>>;
|
|
2449
2551
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2450
2552
|
fingerprint: z.ZodString;
|
|
2451
2553
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2503,6 +2605,10 @@ export declare const UpdateMemoryResponseSchema: z.ZodObject<{
|
|
|
2503
2605
|
implicit: "implicit";
|
|
2504
2606
|
explicit: "explicit";
|
|
2505
2607
|
}>>;
|
|
2608
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2609
|
+
advisory: "advisory";
|
|
2610
|
+
required: "required";
|
|
2611
|
+
}>>;
|
|
2506
2612
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2507
2613
|
fingerprint: z.ZodString;
|
|
2508
2614
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2559,6 +2665,10 @@ export declare const CorrectMemoryResponseSchema: z.ZodObject<{
|
|
|
2559
2665
|
implicit: "implicit";
|
|
2560
2666
|
explicit: "explicit";
|
|
2561
2667
|
}>>;
|
|
2668
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2669
|
+
advisory: "advisory";
|
|
2670
|
+
required: "required";
|
|
2671
|
+
}>>;
|
|
2562
2672
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2563
2673
|
fingerprint: z.ZodString;
|
|
2564
2674
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2612,6 +2722,10 @@ export declare const CorrectMemoryResponseSchema: z.ZodObject<{
|
|
|
2612
2722
|
implicit: "implicit";
|
|
2613
2723
|
explicit: "explicit";
|
|
2614
2724
|
}>>;
|
|
2725
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2726
|
+
advisory: "advisory";
|
|
2727
|
+
required: "required";
|
|
2728
|
+
}>>;
|
|
2615
2729
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2616
2730
|
fingerprint: z.ZodString;
|
|
2617
2731
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2668,6 +2782,10 @@ export declare const CorrectResponseSchema: z.ZodObject<{
|
|
|
2668
2782
|
implicit: "implicit";
|
|
2669
2783
|
explicit: "explicit";
|
|
2670
2784
|
}>>;
|
|
2785
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2786
|
+
advisory: "advisory";
|
|
2787
|
+
required: "required";
|
|
2788
|
+
}>>;
|
|
2671
2789
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2672
2790
|
fingerprint: z.ZodString;
|
|
2673
2791
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2721,6 +2839,10 @@ export declare const CorrectResponseSchema: z.ZodObject<{
|
|
|
2721
2839
|
implicit: "implicit";
|
|
2722
2840
|
explicit: "explicit";
|
|
2723
2841
|
}>>;
|
|
2842
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2843
|
+
advisory: "advisory";
|
|
2844
|
+
required: "required";
|
|
2845
|
+
}>>;
|
|
2724
2846
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2725
2847
|
fingerprint: z.ZodString;
|
|
2726
2848
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2777,6 +2899,10 @@ export declare const ForgetMemoryResponseSchema: z.ZodObject<{
|
|
|
2777
2899
|
implicit: "implicit";
|
|
2778
2900
|
explicit: "explicit";
|
|
2779
2901
|
}>>;
|
|
2902
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2903
|
+
advisory: "advisory";
|
|
2904
|
+
required: "required";
|
|
2905
|
+
}>>;
|
|
2780
2906
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2781
2907
|
fingerprint: z.ZodString;
|
|
2782
2908
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2833,6 +2959,10 @@ export declare const GetMemoryResponseSchema: z.ZodObject<{
|
|
|
2833
2959
|
implicit: "implicit";
|
|
2834
2960
|
explicit: "explicit";
|
|
2835
2961
|
}>>;
|
|
2962
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2963
|
+
advisory: "advisory";
|
|
2964
|
+
required: "required";
|
|
2965
|
+
}>>;
|
|
2836
2966
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2837
2967
|
fingerprint: z.ZodString;
|
|
2838
2968
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2889,6 +3019,10 @@ export declare const ContextResponseSchema: z.ZodObject<{
|
|
|
2889
3019
|
implicit: "implicit";
|
|
2890
3020
|
explicit: "explicit";
|
|
2891
3021
|
}>>;
|
|
3022
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
3023
|
+
advisory: "advisory";
|
|
3024
|
+
required: "required";
|
|
3025
|
+
}>>;
|
|
2892
3026
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2893
3027
|
fingerprint: z.ZodString;
|
|
2894
3028
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2943,6 +3077,10 @@ export declare const ContextResponseSchema: z.ZodObject<{
|
|
|
2943
3077
|
implicit: "implicit";
|
|
2944
3078
|
explicit: "explicit";
|
|
2945
3079
|
}>>;
|
|
3080
|
+
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
3081
|
+
advisory: "advisory";
|
|
3082
|
+
required: "required";
|
|
3083
|
+
}>>;
|
|
2946
3084
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2947
3085
|
fingerprint: z.ZodString;
|
|
2948
3086
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;EAU/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,eAAO,MAAM,sBAAsB;;;;;;;;;;EAAuB,CAAC;AAC3D,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAE9C,eAAO,MAAM,kBAAkB;;;;;;EAM7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,eAAO,MAAM,oBAAoB;;;;;;EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA8B,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAEpD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAI5B,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAIzB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAA2B,CAAC;AAC9D,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAEjD,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,gBAAgB,GAC5B,WAAW,CAcb;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,SAAS,GAAG,WAAW,CAa/D"}
|
package/dist/schemas.js
CHANGED
|
@@ -45,6 +45,12 @@ export const ProposalReviewDecisionSchema = z.enum([
|
|
|
45
45
|
"keep_both",
|
|
46
46
|
"reject",
|
|
47
47
|
]);
|
|
48
|
+
/**
|
|
49
|
+
* Governance level for a memory when Context Guard runs in enforce mode.
|
|
50
|
+
* Only `required` rules may trigger a confirmation gate; everything else
|
|
51
|
+
* is advisory context. Undefined is treated as `advisory`.
|
|
52
|
+
*/
|
|
53
|
+
export const MemoryEnforcementSchema = z.enum(["advisory", "required"]);
|
|
48
54
|
export const MemoryConflictDetectorSchema = z.enum([
|
|
49
55
|
"deterministic",
|
|
50
56
|
"lexical",
|
|
@@ -324,6 +330,7 @@ export const MemorySchema = z
|
|
|
324
330
|
confirmation: z
|
|
325
331
|
.enum(["unconfirmed", "implicit", "explicit"])
|
|
326
332
|
.optional(),
|
|
333
|
+
enforcement: MemoryEnforcementSchema.optional(),
|
|
327
334
|
reconciliationKey: z.string().trim().min(1).max(500).optional(),
|
|
328
335
|
fingerprint: z.string().regex(/^[a-f0-9]{64}$/u),
|
|
329
336
|
supersedesMemoryId: z.uuid().nullable(),
|
|
@@ -428,6 +435,7 @@ export const MemoryUpdateSchema = z
|
|
|
428
435
|
confirmation: z
|
|
429
436
|
.enum(["unconfirmed", "implicit", "explicit"])
|
|
430
437
|
.optional(),
|
|
438
|
+
enforcement: MemoryEnforcementSchema.optional(),
|
|
431
439
|
reconciliationKey: z.string().trim().min(1).max(500).optional(),
|
|
432
440
|
fingerprint: z.string().regex(/^[a-f0-9]{64}$/u).optional(),
|
|
433
441
|
supersedesMemoryId: z.uuid().nullable().optional(),
|