@remnic/core 9.69.3 → 9.69.4

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.
Files changed (44) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-authorization-probe.d.ts +1 -1
  3. package/dist/access-boundary.d.ts +1 -1
  4. package/dist/access-cli.js +1 -1
  5. package/dist/access-extraction-force-flush.d.ts +1 -1
  6. package/dist/access-http-lcm-compaction.d.ts +1 -1
  7. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  8. package/dist/access-http-offline-stream.d.ts +1 -1
  9. package/dist/access-http.d.ts +2 -2
  10. package/dist/access-lcm-surface.d.ts +1 -1
  11. package/dist/access-mcp.d.ts +1 -1
  12. package/dist/access-observe-write-surface.d.ts +1 -1
  13. package/dist/access-operations.d.ts +6 -6
  14. package/dist/access-recall-concurrency.d.ts +1 -1
  15. package/dist/access-recall-response.d.ts +1 -1
  16. package/dist/access-recall-surface.d.ts +1 -1
  17. package/dist/access-schema.d.ts +89 -89
  18. package/dist/access-service-helpers.d.ts +1 -1
  19. package/dist/access-service.d.ts +1 -1
  20. package/dist/access-surface-catalog.d.ts +1 -1
  21. package/dist/{chunk-ATS6H6AC.js → chunk-WOA7DS7O.js} +1 -1
  22. package/dist/{chunk-ATS6H6AC.js.map → chunk-WOA7DS7O.js.map} +1 -1
  23. package/dist/{cli-CFpMhqz5.d.ts → cli-Bvy4jdBu.d.ts} +1 -1
  24. package/dist/cli.d.ts +2 -2
  25. package/dist/external-wiki-access.d.ts +1 -1
  26. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  27. package/dist/index.d.ts +680 -680
  28. package/dist/index.js +1 -1
  29. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  30. package/dist/memory-subject-cli.d.ts +1 -1
  31. package/dist/memory-subject.d.ts +1 -1
  32. package/dist/orchestrator.js +1 -1
  33. package/dist/{public-http-C9-CHc40.d.ts → public-http-2MyshWxl.d.ts} +1 -1
  34. package/dist/schemas.d.ts +176 -176
  35. package/dist/shared-context/manager.d.ts +6 -6
  36. package/dist/support-passport/index.d.ts +4 -4
  37. package/dist/transfer/types.d.ts +78 -78
  38. package/dist/who-knows-cli.d.ts +1 -1
  39. package/dist/who-knows.d.ts +1 -1
  40. package/package.json +2 -2
  41. package/src/dedup/index.ts +6 -0
  42. package/src/dedup/merge-content.test.ts +116 -0
  43. package/src/dedup/merge-content.ts +40 -0
  44. package/dist/{access-service-DcfM0Vf0.d.ts → access-service-LbwWl05g.d.ts} +64 -64
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Merged-content acceptance check (issue #2330).
3
+ *
4
+ * A judge-merged body that is blank or a runaway continuation is refused so
5
+ * the write path can fall back to create. `mergedContent` arrives from a
6
+ * model and gets a typed refusal; non-string `incomingContent`/
7
+ * `targetContent` is a caller bug and throws. Internal helper; wiring into
8
+ * the write path is a later slice.
9
+ */
10
+ export const MERGE_CONTENT_LENGTH_FACTOR = 4;
11
+
12
+ export type MergeContentCheck =
13
+ | { ok: true; content: string }
14
+ | { ok: false; reason: "empty" | "oversized"; limit: number };
15
+
16
+ function requireString(value: unknown, field: string): string {
17
+ if (typeof value !== "string") {
18
+ throw new RangeError(`merge ${field} must be a string`);
19
+ }
20
+ return value;
21
+ }
22
+
23
+ export function checkMergedContent(input: {
24
+ mergedContent: unknown;
25
+ incomingContent: string;
26
+ targetContent: string;
27
+ }): MergeContentCheck {
28
+ const incoming = requireString(input.incomingContent, "incomingContent");
29
+ const target = requireString(input.targetContent, "targetContent");
30
+ const limit = MERGE_CONTENT_LENGTH_FACTOR * (incoming.length + target.length);
31
+
32
+ const merged = input.mergedContent;
33
+ if (typeof merged !== "string" || merged.trim() === "") {
34
+ return { ok: false, reason: "empty", limit };
35
+ }
36
+ if (merged.length > limit) {
37
+ return { ok: false, reason: "oversized", limit };
38
+ }
39
+ return { ok: true, content: merged };
40
+ }
@@ -1029,24 +1029,24 @@ declare const SupportPassportDraftCardSchema: z.ZodEffects<z.ZodObject<{
1029
1029
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1030
1030
  sourceMemoryIds: z.ZodArray<z.ZodString, "many">;
1031
1031
  }, "strict", z.ZodTypeAny, {
1032
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1032
1033
  title: string;
1033
1034
  sourceMemoryIds: string[];
1034
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1035
1035
  statement: string;
1036
1036
  }, {
1037
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1037
1038
  title: string;
1038
1039
  sourceMemoryIds: string[];
1039
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1040
1040
  statement: string;
1041
1041
  }>, {
1042
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1042
1043
  title: string;
1043
1044
  sourceMemoryIds: string[];
1044
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1045
1045
  statement: string;
1046
1046
  }, {
1047
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1047
1048
  title: string;
1048
1049
  sourceMemoryIds: string[];
1049
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1050
1050
  statement: string;
1051
1051
  }>;
1052
1052
  declare const SupportPassportDraftOutputSchema: z.ZodObject<{
@@ -1056,38 +1056,38 @@ declare const SupportPassportDraftOutputSchema: z.ZodObject<{
1056
1056
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1057
1057
  sourceMemoryIds: z.ZodArray<z.ZodString, "many">;
1058
1058
  }, "strict", z.ZodTypeAny, {
1059
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1059
1060
  title: string;
1060
1061
  sourceMemoryIds: string[];
1061
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1062
1062
  statement: string;
1063
1063
  }, {
1064
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1064
1065
  title: string;
1065
1066
  sourceMemoryIds: string[];
1066
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1067
1067
  statement: string;
1068
1068
  }>, {
1069
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1069
1070
  title: string;
1070
1071
  sourceMemoryIds: string[];
1071
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1072
1072
  statement: string;
1073
1073
  }, {
1074
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1074
1075
  title: string;
1075
1076
  sourceMemoryIds: string[];
1076
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1077
1077
  statement: string;
1078
1078
  }>, "many">;
1079
1079
  }, "strict", z.ZodTypeAny, {
1080
1080
  cards: {
1081
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1081
1082
  title: string;
1082
1083
  sourceMemoryIds: string[];
1083
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1084
1084
  statement: string;
1085
1085
  }[];
1086
1086
  }, {
1087
1087
  cards: {
1088
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1088
1089
  title: string;
1089
1090
  sourceMemoryIds: string[];
1090
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1091
1091
  statement: string;
1092
1092
  }[];
1093
1093
  }>;
@@ -1097,34 +1097,34 @@ declare const SupportPassportDraftModelInputSchema: z.ZodEffects<z.ZodObject<{
1097
1097
  memoryId: z.ZodString;
1098
1098
  content: z.ZodString;
1099
1099
  }, "strict", z.ZodTypeAny, {
1100
- memoryId: string;
1101
1100
  content: string;
1102
- }, {
1103
1101
  memoryId: string;
1102
+ }, {
1104
1103
  content: string;
1104
+ memoryId: string;
1105
1105
  }>, "many">;
1106
1106
  }, "strict", z.ZodTypeAny, {
1107
1107
  memories: {
1108
- memoryId: string;
1109
1108
  content: string;
1109
+ memoryId: string;
1110
1110
  }[];
1111
1111
  consent: true;
1112
1112
  }, {
1113
1113
  memories: {
1114
- memoryId: string;
1115
1114
  content: string;
1115
+ memoryId: string;
1116
1116
  }[];
1117
1117
  consent: true;
1118
1118
  }>, {
1119
1119
  memories: {
1120
- memoryId: string;
1121
1120
  content: string;
1121
+ memoryId: string;
1122
1122
  }[];
1123
1123
  consent: true;
1124
1124
  }, {
1125
1125
  memories: {
1126
- memoryId: string;
1127
1126
  content: string;
1127
+ memoryId: string;
1128
1128
  }[];
1129
1129
  consent: true;
1130
1130
  }>;
@@ -1162,39 +1162,39 @@ declare const SupportPassportAnswerModelInputSchema: z.ZodObject<{
1162
1162
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1163
1163
  updatedAt: z.ZodEffects<z.ZodString, string, string>;
1164
1164
  }, "strict", z.ZodTypeAny, {
1165
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1165
1166
  title: string;
1166
1167
  updatedAt: string;
1167
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1168
1168
  cardId: string;
1169
1169
  statement: string;
1170
1170
  }, {
1171
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1171
1172
  title: string;
1172
1173
  updatedAt: string;
1173
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1174
1174
  cardId: string;
1175
1175
  statement: string;
1176
1176
  }>, "many">;
1177
1177
  }, "strict", z.ZodTypeAny, {
1178
+ expiresAt: string;
1178
1179
  schemaVersion: 1;
1179
1180
  updatedAt: string;
1180
- expiresAt: string;
1181
1181
  grantId: string;
1182
1182
  cards: {
1183
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1183
1184
  title: string;
1184
1185
  updatedAt: string;
1185
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1186
1186
  cardId: string;
1187
1187
  statement: string;
1188
1188
  }[];
1189
1189
  }, {
1190
+ expiresAt: string;
1190
1191
  schemaVersion: 1;
1191
1192
  updatedAt: string;
1192
- expiresAt: string;
1193
1193
  grantId: string;
1194
1194
  cards: {
1195
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1195
1196
  title: string;
1196
1197
  updatedAt: string;
1197
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1198
1198
  cardId: string;
1199
1199
  statement: string;
1200
1200
  }[];
@@ -1203,14 +1203,14 @@ declare const SupportPassportAnswerModelInputSchema: z.ZodObject<{
1203
1203
  }, "strict", z.ZodTypeAny, {
1204
1204
  question: string;
1205
1205
  guide: {
1206
+ expiresAt: string;
1206
1207
  schemaVersion: 1;
1207
1208
  updatedAt: string;
1208
- expiresAt: string;
1209
1209
  grantId: string;
1210
1210
  cards: {
1211
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1211
1212
  title: string;
1212
1213
  updatedAt: string;
1213
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1214
1214
  cardId: string;
1215
1215
  statement: string;
1216
1216
  }[];
@@ -1218,14 +1218,14 @@ declare const SupportPassportAnswerModelInputSchema: z.ZodObject<{
1218
1218
  }, {
1219
1219
  question: string;
1220
1220
  guide: {
1221
+ expiresAt: string;
1221
1222
  schemaVersion: 1;
1222
1223
  updatedAt: string;
1223
- expiresAt: string;
1224
1224
  grantId: string;
1225
1225
  cards: {
1226
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1226
1227
  title: string;
1227
1228
  updatedAt: string;
1228
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1229
1229
  cardId: string;
1230
1230
  statement: string;
1231
1231
  }[];
@@ -1620,20 +1620,20 @@ declare const SupportPassportCardSchema: z.ZodObject<{
1620
1620
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1621
1621
  revision: z.ZodString;
1622
1622
  }, "strict", z.ZodTypeAny, {
1623
- title: string;
1623
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1624
1624
  status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1625
+ title: string;
1625
1626
  updatedAt: string;
1626
1627
  revision: string;
1627
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1628
1628
  cardId: string;
1629
1629
  statement: string;
1630
1630
  reviewBy: string;
1631
1631
  }, {
1632
- title: string;
1632
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1633
1633
  status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1634
+ title: string;
1634
1635
  updatedAt: string;
1635
1636
  revision: string;
1636
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1637
1637
  cardId: string;
1638
1638
  statement: string;
1639
1639
  reviewBy: string;
@@ -1648,38 +1648,38 @@ declare const SupportPassportCardListSchema: z.ZodEffects<z.ZodArray<z.ZodObject
1648
1648
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1649
1649
  revision: z.ZodString;
1650
1650
  }, "strict", z.ZodTypeAny, {
1651
- title: string;
1651
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1652
1652
  status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1653
+ title: string;
1653
1654
  updatedAt: string;
1654
1655
  revision: string;
1655
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1656
1656
  cardId: string;
1657
1657
  statement: string;
1658
1658
  reviewBy: string;
1659
1659
  }, {
1660
- title: string;
1660
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1661
1661
  status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1662
+ title: string;
1662
1663
  updatedAt: string;
1663
1664
  revision: string;
1664
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1665
1665
  cardId: string;
1666
1666
  statement: string;
1667
1667
  reviewBy: string;
1668
1668
  }>, "many">, {
1669
- title: string;
1669
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1670
1670
  status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1671
+ title: string;
1671
1672
  updatedAt: string;
1672
1673
  revision: string;
1673
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1674
1674
  cardId: string;
1675
1675
  statement: string;
1676
1676
  reviewBy: string;
1677
1677
  }[], {
1678
- title: string;
1678
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1679
1679
  status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1680
+ title: string;
1680
1681
  updatedAt: string;
1681
1682
  revision: string;
1682
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1683
1683
  cardId: string;
1684
1684
  statement: string;
1685
1685
  reviewBy: string;
@@ -1698,14 +1698,14 @@ declare const SupportPassportManualDraftInputSchema: z.ZodObject<{
1698
1698
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1699
1699
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1700
1700
  }, "strict", z.ZodTypeAny, {
1701
- title: string;
1702
1701
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1702
+ title: string;
1703
1703
  statement: string;
1704
1704
  reviewBy: string;
1705
1705
  principal: string;
1706
1706
  }, {
1707
- title: string;
1708
1707
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1708
+ title: string;
1709
1709
  statement: string;
1710
1710
  reviewBy: string;
1711
1711
  principal: string;
@@ -1737,8 +1737,8 @@ declare const SupportPassportReplaceCardInputSchema: z.ZodObject<{
1737
1737
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1738
1738
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1739
1739
  }, "strict", z.ZodTypeAny, {
1740
- title: string;
1741
1740
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1741
+ title: string;
1742
1742
  cardId: string;
1743
1743
  statement: string;
1744
1744
  reviewBy: string;
@@ -1746,8 +1746,8 @@ declare const SupportPassportReplaceCardInputSchema: z.ZodObject<{
1746
1746
  expectedRevision: string;
1747
1747
  reasonCode?: string | undefined;
1748
1748
  }, {
1749
- title: string;
1750
1749
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1750
+ title: string;
1751
1751
  cardId: string;
1752
1752
  statement: string;
1753
1753
  reviewBy: string;
@@ -1806,10 +1806,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1806
1806
  expiresAt: z.ZodEffects<z.ZodString, string, string>;
1807
1807
  revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1808
1808
  }, "strict", z.ZodTypeAny, {
1809
- schemaVersion: 1;
1809
+ namespace: string;
1810
1810
  createdAt: string;
1811
1811
  expiresAt: string;
1812
- namespace: string;
1812
+ schemaVersion: 1;
1813
1813
  stateVersion: number;
1814
1814
  grantId: string;
1815
1815
  principalHash: string;
@@ -1821,10 +1821,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1821
1821
  }[];
1822
1822
  revokedAt?: string | undefined;
1823
1823
  }, {
1824
- schemaVersion: 1;
1824
+ namespace: string;
1825
1825
  createdAt: string;
1826
1826
  expiresAt: string;
1827
- namespace: string;
1827
+ schemaVersion: 1;
1828
1828
  stateVersion: number;
1829
1829
  grantId: string;
1830
1830
  principalHash: string;
@@ -1836,10 +1836,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1836
1836
  }[];
1837
1837
  revokedAt?: string | undefined;
1838
1838
  }>, {
1839
- schemaVersion: 1;
1839
+ namespace: string;
1840
1840
  createdAt: string;
1841
1841
  expiresAt: string;
1842
- namespace: string;
1842
+ schemaVersion: 1;
1843
1843
  stateVersion: number;
1844
1844
  grantId: string;
1845
1845
  principalHash: string;
@@ -1851,10 +1851,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1851
1851
  }[];
1852
1852
  revokedAt?: string | undefined;
1853
1853
  }, {
1854
- schemaVersion: 1;
1854
+ namespace: string;
1855
1855
  createdAt: string;
1856
1856
  expiresAt: string;
1857
- namespace: string;
1857
+ schemaVersion: 1;
1858
1858
  stateVersion: number;
1859
1859
  grantId: string;
1860
1860
  principalHash: string;
@@ -2025,9 +2025,9 @@ declare const SupportPassportOwnerGrantSchema: z.ZodObject<{
2025
2025
  revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2026
2026
  status: z.ZodEnum<["active", "expired", "revoked"]>;
2027
2027
  }, "strict", z.ZodTypeAny, {
2028
- status: "active" | "expired" | "revoked";
2029
2028
  createdAt: string;
2030
2029
  expiresAt: string;
2030
+ status: "active" | "expired" | "revoked";
2031
2031
  stateVersion: number;
2032
2032
  grantId: string;
2033
2033
  cards: {
@@ -2036,9 +2036,9 @@ declare const SupportPassportOwnerGrantSchema: z.ZodObject<{
2036
2036
  }[];
2037
2037
  revokedAt?: string | undefined;
2038
2038
  }, {
2039
- status: "active" | "expired" | "revoked";
2040
2039
  createdAt: string;
2041
2040
  expiresAt: string;
2041
+ status: "active" | "expired" | "revoked";
2042
2042
  stateVersion: number;
2043
2043
  grantId: string;
2044
2044
  cards: {
@@ -2066,9 +2066,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
2066
2066
  revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2067
2067
  status: z.ZodEnum<["active", "expired", "revoked"]>;
2068
2068
  }, "strict", z.ZodTypeAny, {
2069
- status: "active" | "expired" | "revoked";
2070
2069
  createdAt: string;
2071
2070
  expiresAt: string;
2071
+ status: "active" | "expired" | "revoked";
2072
2072
  stateVersion: number;
2073
2073
  grantId: string;
2074
2074
  cards: {
@@ -2077,9 +2077,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
2077
2077
  }[];
2078
2078
  revokedAt?: string | undefined;
2079
2079
  }, {
2080
- status: "active" | "expired" | "revoked";
2081
2080
  createdAt: string;
2082
2081
  expiresAt: string;
2082
+ status: "active" | "expired" | "revoked";
2083
2083
  stateVersion: number;
2084
2084
  grantId: string;
2085
2085
  cards: {
@@ -2092,9 +2092,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
2092
2092
  }, "strict", z.ZodTypeAny, {
2093
2093
  secret: string;
2094
2094
  grant: {
2095
- status: "active" | "expired" | "revoked";
2096
2095
  createdAt: string;
2097
2096
  expiresAt: string;
2097
+ status: "active" | "expired" | "revoked";
2098
2098
  stateVersion: number;
2099
2099
  grantId: string;
2100
2100
  cards: {
@@ -2106,9 +2106,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
2106
2106
  }, {
2107
2107
  secret: string;
2108
2108
  grant: {
2109
- status: "active" | "expired" | "revoked";
2110
2109
  createdAt: string;
2111
2110
  expiresAt: string;
2111
+ status: "active" | "expired" | "revoked";
2112
2112
  stateVersion: number;
2113
2113
  grantId: string;
2114
2114
  cards: {
@@ -2125,15 +2125,15 @@ declare const SupportPassportPublicCardSchema: z.ZodObject<{
2125
2125
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
2126
2126
  updatedAt: z.ZodEffects<z.ZodString, string, string>;
2127
2127
  }, "strict", z.ZodTypeAny, {
2128
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2128
2129
  title: string;
2129
2130
  updatedAt: string;
2130
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2131
2131
  cardId: string;
2132
2132
  statement: string;
2133
2133
  }, {
2134
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2134
2135
  title: string;
2135
2136
  updatedAt: string;
2136
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2137
2137
  cardId: string;
2138
2138
  statement: string;
2139
2139
  }>;
@@ -2149,39 +2149,39 @@ declare const SupportPassportPublicGuideSchema: z.ZodObject<{
2149
2149
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
2150
2150
  updatedAt: z.ZodEffects<z.ZodString, string, string>;
2151
2151
  }, "strict", z.ZodTypeAny, {
2152
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2152
2153
  title: string;
2153
2154
  updatedAt: string;
2154
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2155
2155
  cardId: string;
2156
2156
  statement: string;
2157
2157
  }, {
2158
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2158
2159
  title: string;
2159
2160
  updatedAt: string;
2160
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2161
2161
  cardId: string;
2162
2162
  statement: string;
2163
2163
  }>, "many">;
2164
2164
  }, "strict", z.ZodTypeAny, {
2165
+ expiresAt: string;
2165
2166
  schemaVersion: 1;
2166
2167
  updatedAt: string;
2167
- expiresAt: string;
2168
2168
  grantId: string;
2169
2169
  cards: {
2170
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2170
2171
  title: string;
2171
2172
  updatedAt: string;
2172
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2173
2173
  cardId: string;
2174
2174
  statement: string;
2175
2175
  }[];
2176
2176
  }, {
2177
+ expiresAt: string;
2177
2178
  schemaVersion: 1;
2178
2179
  updatedAt: string;
2179
- expiresAt: string;
2180
2180
  grantId: string;
2181
2181
  cards: {
2182
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2182
2183
  title: string;
2183
2184
  updatedAt: string;
2184
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
2185
2185
  cardId: string;
2186
2186
  statement: string;
2187
2187
  }[];