@heynixie/contract 0.55.0 → 0.56.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.
|
@@ -1461,11 +1461,12 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
1461
1461
|
itemID: string;
|
|
1462
1462
|
kind: "fact" | "self";
|
|
1463
1463
|
lapseAt: Date;
|
|
1464
|
+
newSubject: "owner" | "self" | "shared" | null;
|
|
1464
1465
|
operation: "pin" | "remember" | "retire";
|
|
1465
1466
|
origin: "conversation" | "memory_writer" | "owner" | "task";
|
|
1466
1467
|
proposalID: string;
|
|
1467
1468
|
quote: string | null;
|
|
1468
|
-
reason: "ambiguous_target" | "checker_not_asserted" | "checker_unreachable" | "checker_unsure" | "forgotten_evidence" | "from_photo" | "invisible_character" | "no_quote" | "other" | "pinned" | "quote_in_quoted_block" | "quote_not_typed" | "self_note" | "sensitive" | "token_missing";
|
|
1469
|
+
reason: "ambiguous_target" | "checker_not_asserted" | "checker_unreachable" | "checker_unsure" | "forgotten_evidence" | "from_photo" | "invisible_character" | "no_quote" | "other" | "pinned" | "quote_in_quoted_block" | "quote_not_typed" | "self_note" | "sensitive" | "subject_change" | "token_missing";
|
|
1469
1470
|
source: "owner" | "owner_data" | "untrusted";
|
|
1470
1471
|
sources: {
|
|
1471
1472
|
origin: "conversation" | "memory_writer" | "owner" | "task";
|
package/dist/contract.d.ts
CHANGED
|
@@ -1677,6 +1677,11 @@ export declare const contract: {
|
|
|
1677
1677
|
self: "self";
|
|
1678
1678
|
}>;
|
|
1679
1679
|
lapseAt: z.ZodDate;
|
|
1680
|
+
newSubject: z.ZodNullable<z.ZodEnum<{
|
|
1681
|
+
owner: "owner";
|
|
1682
|
+
self: "self";
|
|
1683
|
+
shared: "shared";
|
|
1684
|
+
}>>;
|
|
1680
1685
|
operation: z.ZodEnum<{
|
|
1681
1686
|
pin: "pin";
|
|
1682
1687
|
remember: "remember";
|
|
@@ -1705,6 +1710,7 @@ export declare const contract: {
|
|
|
1705
1710
|
quote_not_typed: "quote_not_typed";
|
|
1706
1711
|
self_note: "self_note";
|
|
1707
1712
|
sensitive: "sensitive";
|
|
1713
|
+
subject_change: "subject_change";
|
|
1708
1714
|
token_missing: "token_missing";
|
|
1709
1715
|
}>;
|
|
1710
1716
|
source: z.ZodEnum<{
|
package/dist/host-contract.d.ts
CHANGED
|
@@ -55,6 +55,11 @@ export declare const hostContract: {
|
|
|
55
55
|
self: "self";
|
|
56
56
|
shared: "shared";
|
|
57
57
|
}>;
|
|
58
|
+
newSubject: z.ZodNullable<z.ZodEnum<{
|
|
59
|
+
owner: "owner";
|
|
60
|
+
self: "self";
|
|
61
|
+
shared: "shared";
|
|
62
|
+
}>>;
|
|
58
63
|
isSensitive: z.ZodBoolean;
|
|
59
64
|
kind: z.ZodEnum<{
|
|
60
65
|
fact: "fact";
|
|
@@ -75,6 +80,7 @@ export declare const hostContract: {
|
|
|
75
80
|
quote_not_typed: "quote_not_typed";
|
|
76
81
|
self_note: "self_note";
|
|
77
82
|
sensitive: "sensitive";
|
|
83
|
+
subject_change: "subject_change";
|
|
78
84
|
token_missing: "token_missing";
|
|
79
85
|
}>;
|
|
80
86
|
actionHash: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -451,7 +451,8 @@ var reviewReasonSchema = z5.enum([
|
|
|
451
451
|
"other",
|
|
452
452
|
"self_note",
|
|
453
453
|
"from_photo",
|
|
454
|
-
"sensitive"
|
|
454
|
+
"sensitive",
|
|
455
|
+
"subject_change"
|
|
455
456
|
]);
|
|
456
457
|
var proposalSourceSchema = z5.object({
|
|
457
458
|
origin: proposalOriginSchema,
|
|
@@ -468,6 +469,7 @@ var memoryProposalSchema = z5.object({
|
|
|
468
469
|
itemID: z5.string(),
|
|
469
470
|
kind: kindSchema,
|
|
470
471
|
lapseAt: z5.date(),
|
|
472
|
+
newSubject: subjectSchema.nullable(),
|
|
471
473
|
operation: z5.enum(["remember", "retire", "pin"]),
|
|
472
474
|
origin: proposalOriginSchema,
|
|
473
475
|
proposalID: z5.string(),
|
|
@@ -849,7 +851,8 @@ var reviewReasonSchema2 = z10.enum([
|
|
|
849
851
|
"other",
|
|
850
852
|
"self_note",
|
|
851
853
|
"from_photo",
|
|
852
|
-
"sensitive"
|
|
854
|
+
"sensitive",
|
|
855
|
+
"subject_change"
|
|
853
856
|
]);
|
|
854
857
|
var proposalSourceSchema2 = z10.object({
|
|
855
858
|
origin: proposalOriginSchema2,
|
|
@@ -863,6 +866,7 @@ var pendingProposalSchema = z10.object({
|
|
|
863
866
|
targetVersion: z10.int().nullable(),
|
|
864
867
|
isPinned: z10.boolean(),
|
|
865
868
|
subject: z10.enum(["owner", "self", "shared"]),
|
|
869
|
+
newSubject: z10.enum(["owner", "self", "shared"]).nullable(),
|
|
866
870
|
isSensitive: z10.boolean(),
|
|
867
871
|
kind: z10.enum(["fact", "self"]),
|
|
868
872
|
reason: reviewReasonSchema2,
|
|
@@ -1303,6 +1303,11 @@ export declare const memoryViewContract: {
|
|
|
1303
1303
|
self: "self";
|
|
1304
1304
|
}>;
|
|
1305
1305
|
lapseAt: z.ZodDate;
|
|
1306
|
+
newSubject: z.ZodNullable<z.ZodEnum<{
|
|
1307
|
+
owner: "owner";
|
|
1308
|
+
self: "self";
|
|
1309
|
+
shared: "shared";
|
|
1310
|
+
}>>;
|
|
1306
1311
|
operation: z.ZodEnum<{
|
|
1307
1312
|
pin: "pin";
|
|
1308
1313
|
remember: "remember";
|
|
@@ -1331,6 +1336,7 @@ export declare const memoryViewContract: {
|
|
|
1331
1336
|
quote_not_typed: "quote_not_typed";
|
|
1332
1337
|
self_note: "self_note";
|
|
1333
1338
|
sensitive: "sensitive";
|
|
1339
|
+
subject_change: "subject_change";
|
|
1334
1340
|
token_missing: "token_missing";
|
|
1335
1341
|
}>;
|
|
1336
1342
|
source: z.ZodEnum<{
|