@remnic/core 9.69.54 → 9.69.56

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 (134) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +2 -2
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +3 -3
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +2 -2
  7. package/dist/access-cli.js +24 -24
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +2 -2
  10. package/dist/access-http-briefing.d.ts +1 -1
  11. package/dist/access-http-briefing.js +3 -3
  12. package/dist/access-http-lcm-compaction.d.ts +1 -1
  13. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  14. package/dist/access-http-offline-stream.d.ts +1 -1
  15. package/dist/access-http-query.js +2 -2
  16. package/dist/access-http.d.ts +2 -2
  17. package/dist/access-http.js +14 -14
  18. package/dist/access-identity-continuity-surface.js +2 -2
  19. package/dist/access-lcm-surface.d.ts +1 -1
  20. package/dist/access-lcm-surface.js +2 -2
  21. package/dist/access-mcp-shared-context-tools.d.ts +1 -1
  22. package/dist/access-mcp.d.ts +1 -1
  23. package/dist/access-mcp.js +9 -9
  24. package/dist/access-namespace-preflight.js +2 -2
  25. package/dist/access-observe-write-surface.d.ts +1 -1
  26. package/dist/access-observe-write-surface.js +2 -2
  27. package/dist/access-operations-batch.js +3 -3
  28. package/dist/access-operations.d.ts +1 -1
  29. package/dist/access-operations.js +8 -8
  30. package/dist/access-recall-concurrency.d.ts +1 -1
  31. package/dist/access-recall-concurrency.js +2 -2
  32. package/dist/access-recall-response.d.ts +1 -1
  33. package/dist/access-recall-response.js +2 -2
  34. package/dist/access-recall-surface.d.ts +1 -1
  35. package/dist/access-recall-surface.js +2 -2
  36. package/dist/access-schema.d.ts +113 -113
  37. package/dist/{access-service-H-qEdnSs.d.ts → access-service-CUNM5RfA.d.ts} +64 -64
  38. package/dist/access-service-helpers.d.ts +1 -1
  39. package/dist/access-service.d.ts +1 -1
  40. package/dist/access-service.js +2 -2
  41. package/dist/access-surface-catalog.d.ts +1 -1
  42. package/dist/access-surface-catalog.js +4 -4
  43. package/dist/active-recall.js +2 -2
  44. package/dist/{chunk-ZADYEZY4.js → chunk-2SIKTXWX.js} +2 -2
  45. package/dist/{chunk-ZHV6FGVF.js → chunk-3R23DDD3.js} +8 -8
  46. package/dist/{chunk-EQNZC3BH.js → chunk-3S6URXEH.js} +2 -2
  47. package/dist/{chunk-BCXZ4BDS.js → chunk-75YZ5VAI.js} +2 -2
  48. package/dist/{chunk-MXTCV3B5.js → chunk-AHVJ6GLL.js} +2 -2
  49. package/dist/{chunk-6UEM5EOB.js → chunk-AQ55YKEV.js} +2 -2
  50. package/dist/{chunk-VMKAA5SU.js → chunk-BSCNBIF4.js} +2 -2
  51. package/dist/{chunk-M7HFDWOS.js → chunk-FROKVQQY.js} +2 -2
  52. package/dist/{chunk-A4TQFNRX.js → chunk-GRDRVYXJ.js} +3 -3
  53. package/dist/{chunk-EYK3UHAP.js → chunk-H6WOFMOV.js} +2 -2
  54. package/dist/{chunk-SOOWBRMH.js → chunk-IYNCJKBM.js} +8 -8
  55. package/dist/{chunk-3KJTSCSX.js → chunk-J54B5DGD.js} +5 -4
  56. package/dist/chunk-J54B5DGD.js.map +1 -0
  57. package/dist/{chunk-KGY6F4VJ.js → chunk-KIGC55FQ.js} +2 -2
  58. package/dist/{chunk-KQQEZTH6.js → chunk-KQVBR7BC.js} +2 -2
  59. package/dist/{chunk-MTJUIIM4.js → chunk-MTWD4KMM.js} +2 -2
  60. package/dist/{chunk-WJ5KWJLK.js → chunk-NNEWBRUL.js} +2 -2
  61. package/dist/{chunk-5IKW2VP6.js → chunk-NPX6WMFJ.js} +2 -2
  62. package/dist/{chunk-Z22M4JCY.js → chunk-NZLFVLLJ.js} +165 -5
  63. package/dist/chunk-NZLFVLLJ.js.map +1 -0
  64. package/dist/{chunk-QKCXRS5A.js → chunk-OGXXGHW6.js} +11 -1
  65. package/dist/{chunk-QKCXRS5A.js.map → chunk-OGXXGHW6.js.map} +1 -1
  66. package/dist/{chunk-CO7KBRPF.js → chunk-TJNDFNCU.js} +2 -2
  67. package/dist/{chunk-OKOG5MXF.js → chunk-XZRZJHBW.js} +10 -10
  68. package/dist/{chunk-HUQMVI3A.js → chunk-ZBYVR5W4.js} +2 -2
  69. package/dist/{chunk-ZANEMAEV.js → chunk-ZP73EM2X.js} +2 -2
  70. package/dist/{chunk-IEOBAOA6.js → chunk-ZXQPAYCS.js} +2 -2
  71. package/dist/{cli-VGDSn2zY.d.ts → cli-CCc34xV7.d.ts} +1 -1
  72. package/dist/cli.d.ts +2 -2
  73. package/dist/cli.js +19 -19
  74. package/dist/compounding/engine.js +3 -3
  75. package/dist/config.js +2 -2
  76. package/dist/deep-recall-http-glue.d.ts +1 -1
  77. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  78. package/dist/external-wiki-access.d.ts +1 -1
  79. package/dist/external-wiki-access.js +3 -3
  80. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  81. package/dist/index.d.ts +680 -680
  82. package/dist/index.js +24 -24
  83. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  84. package/dist/memory-browse-http-glue.d.ts +1 -1
  85. package/dist/memory-browse-mcp-tools.d.ts +1 -1
  86. package/dist/memory-browse-operations.js +3 -3
  87. package/dist/memory-subject-cli.d.ts +1 -1
  88. package/dist/memory-subject.d.ts +1 -1
  89. package/dist/operator-toolkit.js +3 -3
  90. package/dist/orchestration/maintenance.js +3 -2
  91. package/dist/orchestrator.js +24 -24
  92. package/dist/{public-http-P0cnHzYB.d.ts → public-http-UWVcqMcb.d.ts} +1 -1
  93. package/dist/recall-navigation-http-glue.d.ts +1 -1
  94. package/dist/recall-navigation-mcp-tools.d.ts +1 -1
  95. package/dist/recall-navigation-operations.js +3 -3
  96. package/dist/recall-navigation.js +2 -2
  97. package/dist/resume-bundles.js +3 -3
  98. package/dist/schemas.d.ts +160 -160
  99. package/dist/shared-context/manager.d.ts +24 -8
  100. package/dist/shared-context/manager.js +2 -2
  101. package/dist/support-passport/index.d.ts +4 -4
  102. package/dist/support-passport/index.js +5 -5
  103. package/dist/transfer/types.d.ts +78 -78
  104. package/dist/who-knows-cli.d.ts +1 -1
  105. package/dist/who-knows.d.ts +1 -1
  106. package/package.json +2 -2
  107. package/src/activity/config.test.ts +19 -0
  108. package/src/activity/config.ts +3 -4
  109. package/src/shared-context/governance-wiring.test.ts +153 -0
  110. package/src/shared-context/manager.ts +104 -3
  111. package/src/shared-context/staleness.ts +1 -1
  112. package/dist/chunk-3KJTSCSX.js.map +0 -1
  113. package/dist/chunk-Z22M4JCY.js.map +0 -1
  114. /package/dist/{chunk-ZADYEZY4.js.map → chunk-2SIKTXWX.js.map} +0 -0
  115. /package/dist/{chunk-ZHV6FGVF.js.map → chunk-3R23DDD3.js.map} +0 -0
  116. /package/dist/{chunk-EQNZC3BH.js.map → chunk-3S6URXEH.js.map} +0 -0
  117. /package/dist/{chunk-BCXZ4BDS.js.map → chunk-75YZ5VAI.js.map} +0 -0
  118. /package/dist/{chunk-MXTCV3B5.js.map → chunk-AHVJ6GLL.js.map} +0 -0
  119. /package/dist/{chunk-6UEM5EOB.js.map → chunk-AQ55YKEV.js.map} +0 -0
  120. /package/dist/{chunk-VMKAA5SU.js.map → chunk-BSCNBIF4.js.map} +0 -0
  121. /package/dist/{chunk-M7HFDWOS.js.map → chunk-FROKVQQY.js.map} +0 -0
  122. /package/dist/{chunk-A4TQFNRX.js.map → chunk-GRDRVYXJ.js.map} +0 -0
  123. /package/dist/{chunk-EYK3UHAP.js.map → chunk-H6WOFMOV.js.map} +0 -0
  124. /package/dist/{chunk-SOOWBRMH.js.map → chunk-IYNCJKBM.js.map} +0 -0
  125. /package/dist/{chunk-KGY6F4VJ.js.map → chunk-KIGC55FQ.js.map} +0 -0
  126. /package/dist/{chunk-KQQEZTH6.js.map → chunk-KQVBR7BC.js.map} +0 -0
  127. /package/dist/{chunk-MTJUIIM4.js.map → chunk-MTWD4KMM.js.map} +0 -0
  128. /package/dist/{chunk-WJ5KWJLK.js.map → chunk-NNEWBRUL.js.map} +0 -0
  129. /package/dist/{chunk-5IKW2VP6.js.map → chunk-NPX6WMFJ.js.map} +0 -0
  130. /package/dist/{chunk-CO7KBRPF.js.map → chunk-TJNDFNCU.js.map} +0 -0
  131. /package/dist/{chunk-OKOG5MXF.js.map → chunk-XZRZJHBW.js.map} +0 -0
  132. /package/dist/{chunk-HUQMVI3A.js.map → chunk-ZBYVR5W4.js.map} +0 -0
  133. /package/dist/{chunk-ZANEMAEV.js.map → chunk-ZP73EM2X.js.map} +0 -0
  134. /package/dist/{chunk-IEOBAOA6.js.map → chunk-ZXQPAYCS.js.map} +0 -0
@@ -39,13 +39,13 @@ declare const codingContextSchema: z.ZodNullable<z.ZodObject<{
39
39
  rootPath: z.ZodString;
40
40
  defaultBranch: z.ZodNullable<z.ZodString>;
41
41
  }, "strip", z.ZodTypeAny, {
42
- projectId: string;
43
42
  branch: string | null;
43
+ projectId: string;
44
44
  defaultBranch: string | null;
45
45
  rootPath: string;
46
46
  }, {
47
- projectId: string;
48
47
  branch: string | null;
48
+ projectId: string;
49
49
  defaultBranch: string | null;
50
50
  rootPath: string;
51
51
  }>>;
@@ -80,13 +80,13 @@ declare const recallRequestSchema: z.ZodObject<{
80
80
  rootPath: z.ZodString;
81
81
  defaultBranch: z.ZodNullable<z.ZodString>;
82
82
  }, "strip", z.ZodTypeAny, {
83
- projectId: string;
84
83
  branch: string | null;
84
+ projectId: string;
85
85
  defaultBranch: string | null;
86
86
  rootPath: string;
87
87
  }, {
88
- projectId: string;
89
88
  branch: string | null;
89
+ projectId: string;
90
90
  defaultBranch: string | null;
91
91
  rootPath: string;
92
92
  }>>>;
@@ -129,16 +129,16 @@ declare const recallRequestSchema: z.ZodObject<{
129
129
  stateView: z.ZodOptional<z.ZodBoolean>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  query: string;
132
+ namespace?: string | undefined;
133
+ mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
132
134
  sessionKey?: string | undefined;
133
135
  tags?: string[] | undefined;
134
- mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
135
136
  codingContext?: {
136
- projectId: string;
137
137
  branch: string | null;
138
+ projectId: string;
138
139
  defaultBranch: string | null;
139
140
  rootPath: string;
140
141
  } | null | undefined;
141
- namespace?: string | undefined;
142
142
  cwd?: string | undefined;
143
143
  projectTag?: string | undefined;
144
144
  topK?: number | undefined;
@@ -151,16 +151,16 @@ declare const recallRequestSchema: z.ZodObject<{
151
151
  stateView?: boolean | undefined;
152
152
  }, {
153
153
  query: string;
154
+ namespace?: string | undefined;
155
+ mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
154
156
  sessionKey?: string | undefined;
155
157
  tags?: string[] | undefined;
156
- mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
157
158
  codingContext?: {
158
- projectId: string;
159
159
  branch: string | null;
160
+ projectId: string;
160
161
  defaultBranch: string | null;
161
162
  rootPath: string;
162
163
  } | null | undefined;
163
- namespace?: string | undefined;
164
164
  cwd?: string | undefined;
165
165
  projectTag?: string | undefined;
166
166
  topK?: number | undefined;
@@ -176,11 +176,11 @@ declare const recallExplainRequestSchema: z.ZodObject<{
176
176
  sessionKey: z.ZodOptional<z.ZodString>;
177
177
  namespace: z.ZodOptional<z.ZodString>;
178
178
  }, "strip", z.ZodTypeAny, {
179
- sessionKey?: string | undefined;
180
179
  namespace?: string | undefined;
181
- }, {
182
180
  sessionKey?: string | undefined;
181
+ }, {
183
182
  namespace?: string | undefined;
183
+ sessionKey?: string | undefined;
184
184
  }>;
185
185
  /**
186
186
  * Standalone "set coding context" request. Used by the HTTP endpoint
@@ -195,13 +195,13 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
195
195
  rootPath: z.ZodString;
196
196
  defaultBranch: z.ZodNullable<z.ZodString>;
197
197
  }, "strip", z.ZodTypeAny, {
198
- projectId: string;
199
198
  branch: string | null;
199
+ projectId: string;
200
200
  defaultBranch: string | null;
201
201
  rootPath: string;
202
202
  }, {
203
- projectId: string;
204
203
  branch: string | null;
204
+ projectId: string;
205
205
  defaultBranch: string | null;
206
206
  rootPath: string;
207
207
  }>>>;
@@ -214,8 +214,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
214
214
  }, "strip", z.ZodTypeAny, {
215
215
  sessionKey: string;
216
216
  codingContext?: {
217
- projectId: string;
218
217
  branch: string | null;
218
+ projectId: string;
219
219
  defaultBranch: string | null;
220
220
  rootPath: string;
221
221
  } | null | undefined;
@@ -223,8 +223,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
223
223
  }, {
224
224
  sessionKey: string;
225
225
  codingContext?: {
226
- projectId: string;
227
226
  branch: string | null;
227
+ projectId: string;
228
228
  defaultBranch: string | null;
229
229
  rootPath: string;
230
230
  } | null | undefined;
@@ -232,8 +232,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
232
232
  }>, {
233
233
  sessionKey: string;
234
234
  codingContext?: {
235
- projectId: string;
236
235
  branch: string | null;
236
+ projectId: string;
237
237
  defaultBranch: string | null;
238
238
  rootPath: string;
239
239
  } | null | undefined;
@@ -241,8 +241,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
241
241
  }, {
242
242
  sessionKey: string;
243
243
  codingContext?: {
244
- projectId: string;
245
244
  branch: string | null;
245
+ projectId: string;
246
246
  defaultBranch: string | null;
247
247
  rootPath: string;
248
248
  } | null | undefined;
@@ -268,9 +268,9 @@ declare const observeRequestSchema: z.ZodObject<{
268
268
  }, "strip", z.ZodTypeAny, {
269
269
  kind: "snapshot" | "tool_result" | "retry" | "text" | "tool_call" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish";
270
270
  payload: Record<string, unknown>;
271
+ createdAt?: string | null | undefined;
271
272
  filePath?: string | null | undefined;
272
273
  toolName?: string | null | undefined;
273
- createdAt?: string | null | undefined;
274
274
  ordinal?: number | null | undefined;
275
275
  tool_name?: string | null | undefined;
276
276
  file_path?: string | null | undefined;
@@ -278,9 +278,9 @@ declare const observeRequestSchema: z.ZodObject<{
278
278
  }, {
279
279
  kind: "snapshot" | "tool_result" | "retry" | "text" | "tool_call" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish";
280
280
  payload: Record<string, unknown>;
281
+ createdAt?: string | null | undefined;
281
282
  filePath?: string | null | undefined;
282
283
  toolName?: string | null | undefined;
283
- createdAt?: string | null | undefined;
284
284
  ordinal?: number | null | undefined;
285
285
  tool_name?: string | null | undefined;
286
286
  file_path?: string | null | undefined;
@@ -292,9 +292,9 @@ declare const observeRequestSchema: z.ZodObject<{
292
292
  parts?: {
293
293
  kind: "snapshot" | "tool_result" | "retry" | "text" | "tool_call" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish";
294
294
  payload: Record<string, unknown>;
295
+ createdAt?: string | null | undefined;
295
296
  filePath?: string | null | undefined;
296
297
  toolName?: string | null | undefined;
297
- createdAt?: string | null | undefined;
298
298
  ordinal?: number | null | undefined;
299
299
  tool_name?: string | null | undefined;
300
300
  file_path?: string | null | undefined;
@@ -308,9 +308,9 @@ declare const observeRequestSchema: z.ZodObject<{
308
308
  parts?: {
309
309
  kind: "snapshot" | "tool_result" | "retry" | "text" | "tool_call" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish";
310
310
  payload: Record<string, unknown>;
311
+ createdAt?: string | null | undefined;
311
312
  filePath?: string | null | undefined;
312
313
  toolName?: string | null | undefined;
313
- createdAt?: string | null | undefined;
314
314
  ordinal?: number | null | undefined;
315
315
  tool_name?: string | null | undefined;
316
316
  file_path?: string | null | undefined;
@@ -344,9 +344,9 @@ declare const observeRequestSchema: z.ZodObject<{
344
344
  parts?: {
345
345
  kind: "snapshot" | "tool_result" | "retry" | "text" | "tool_call" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish";
346
346
  payload: Record<string, unknown>;
347
+ createdAt?: string | null | undefined;
347
348
  filePath?: string | null | undefined;
348
349
  toolName?: string | null | undefined;
349
- createdAt?: string | null | undefined;
350
350
  ordinal?: number | null | undefined;
351
351
  tool_name?: string | null | undefined;
352
352
  file_path?: string | null | undefined;
@@ -368,9 +368,9 @@ declare const observeRequestSchema: z.ZodObject<{
368
368
  parts?: {
369
369
  kind: "snapshot" | "tool_result" | "retry" | "text" | "tool_call" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish";
370
370
  payload: Record<string, unknown>;
371
+ createdAt?: string | null | undefined;
371
372
  filePath?: string | null | undefined;
372
373
  toolName?: string | null | undefined;
373
- createdAt?: string | null | undefined;
374
374
  ordinal?: number | null | undefined;
375
375
  tool_name?: string | null | undefined;
376
376
  file_path?: string | null | undefined;
@@ -393,14 +393,14 @@ declare const deepRecallRequestSchema: z.ZodObject<{
393
393
  sessionKey: z.ZodOptional<z.ZodString>;
394
394
  }, "strip", z.ZodTypeAny, {
395
395
  query: string;
396
+ namespace?: string | undefined;
396
397
  sessionKey?: string | undefined;
397
398
  maxSteps?: string | number | undefined;
398
- namespace?: string | undefined;
399
399
  }, {
400
400
  query: string;
401
+ namespace?: string | undefined;
401
402
  sessionKey?: string | undefined;
402
403
  maxSteps?: string | number | undefined;
403
- namespace?: string | undefined;
404
404
  }>;
405
405
  /**
406
406
  * Compatibility alias spellings admitted on input. The four project-shaped
@@ -461,14 +461,14 @@ declare const memoryStoreRequestShape: z.ZodObject<{
461
461
  projectTag: z.ZodOptional<z.ZodString>;
462
462
  }, "strip", z.ZodTypeAny, {
463
463
  content: string;
464
- schemaVersion?: number | undefined;
464
+ namespace?: string | undefined;
465
465
  sessionKey?: string | undefined;
466
- tags?: string[] | undefined;
467
- confidence?: number | undefined;
468
466
  dryRun?: boolean | undefined;
469
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
467
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
468
+ confidence?: number | undefined;
469
+ tags?: string[] | undefined;
470
470
  entityRef?: string | undefined;
471
- namespace?: string | undefined;
471
+ schemaVersion?: number | undefined;
472
472
  cwd?: string | undefined;
473
473
  projectTag?: string | undefined;
474
474
  ttl?: string | undefined;
@@ -476,14 +476,14 @@ declare const memoryStoreRequestShape: z.ZodObject<{
476
476
  sourceReason?: string | undefined;
477
477
  }, {
478
478
  content: string;
479
- schemaVersion?: number | undefined;
479
+ namespace?: string | undefined;
480
480
  sessionKey?: string | undefined;
481
- tags?: string[] | undefined;
482
- confidence?: number | undefined;
483
481
  dryRun?: boolean | undefined;
484
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
482
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
483
+ confidence?: number | undefined;
484
+ tags?: string[] | undefined;
485
485
  entityRef?: string | undefined;
486
- namespace?: string | undefined;
486
+ schemaVersion?: number | undefined;
487
487
  cwd?: string | undefined;
488
488
  projectTag?: string | undefined;
489
489
  ttl?: string | undefined;
@@ -519,14 +519,14 @@ declare const memoryStoreRequestSchema: z.ZodEffects<z.ZodObject<{
519
519
  projectTag: z.ZodOptional<z.ZodString>;
520
520
  }, "strip", z.ZodTypeAny, {
521
521
  content: string;
522
- schemaVersion?: number | undefined;
522
+ namespace?: string | undefined;
523
523
  sessionKey?: string | undefined;
524
- tags?: string[] | undefined;
525
- confidence?: number | undefined;
526
524
  dryRun?: boolean | undefined;
527
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
525
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
526
+ confidence?: number | undefined;
527
+ tags?: string[] | undefined;
528
528
  entityRef?: string | undefined;
529
- namespace?: string | undefined;
529
+ schemaVersion?: number | undefined;
530
530
  cwd?: string | undefined;
531
531
  projectTag?: string | undefined;
532
532
  ttl?: string | undefined;
@@ -534,14 +534,14 @@ declare const memoryStoreRequestSchema: z.ZodEffects<z.ZodObject<{
534
534
  sourceReason?: string | undefined;
535
535
  }, {
536
536
  content: string;
537
- schemaVersion?: number | undefined;
537
+ namespace?: string | undefined;
538
538
  sessionKey?: string | undefined;
539
- tags?: string[] | undefined;
540
- confidence?: number | undefined;
541
539
  dryRun?: boolean | undefined;
542
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
540
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
541
+ confidence?: number | undefined;
542
+ tags?: string[] | undefined;
543
543
  entityRef?: string | undefined;
544
- namespace?: string | undefined;
544
+ schemaVersion?: number | undefined;
545
545
  cwd?: string | undefined;
546
546
  projectTag?: string | undefined;
547
547
  ttl?: string | undefined;
@@ -549,14 +549,14 @@ declare const memoryStoreRequestSchema: z.ZodEffects<z.ZodObject<{
549
549
  sourceReason?: string | undefined;
550
550
  }>, MemoryStoreParsedRequest, {
551
551
  content: string;
552
- schemaVersion?: number | undefined;
552
+ namespace?: string | undefined;
553
553
  sessionKey?: string | undefined;
554
- tags?: string[] | undefined;
555
- confidence?: number | undefined;
556
554
  dryRun?: boolean | undefined;
557
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
555
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
556
+ confidence?: number | undefined;
557
+ tags?: string[] | undefined;
558
558
  entityRef?: string | undefined;
559
- namespace?: string | undefined;
559
+ schemaVersion?: number | undefined;
560
560
  cwd?: string | undefined;
561
561
  projectTag?: string | undefined;
562
562
  ttl?: string | undefined;
@@ -580,14 +580,14 @@ declare const suggestionSubmitRequestSchema: z.ZodEffects<z.ZodObject<{
580
580
  projectTag: z.ZodOptional<z.ZodString>;
581
581
  }, "strip", z.ZodTypeAny, {
582
582
  content: string;
583
- schemaVersion?: number | undefined;
583
+ namespace?: string | undefined;
584
584
  sessionKey?: string | undefined;
585
- tags?: string[] | undefined;
586
- confidence?: number | undefined;
587
585
  dryRun?: boolean | undefined;
588
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
586
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
587
+ confidence?: number | undefined;
588
+ tags?: string[] | undefined;
589
589
  entityRef?: string | undefined;
590
- namespace?: string | undefined;
590
+ schemaVersion?: number | undefined;
591
591
  cwd?: string | undefined;
592
592
  projectTag?: string | undefined;
593
593
  ttl?: string | undefined;
@@ -595,14 +595,14 @@ declare const suggestionSubmitRequestSchema: z.ZodEffects<z.ZodObject<{
595
595
  sourceReason?: string | undefined;
596
596
  }, {
597
597
  content: string;
598
- schemaVersion?: number | undefined;
598
+ namespace?: string | undefined;
599
599
  sessionKey?: string | undefined;
600
- tags?: string[] | undefined;
601
- confidence?: number | undefined;
602
600
  dryRun?: boolean | undefined;
603
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
601
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
602
+ confidence?: number | undefined;
603
+ tags?: string[] | undefined;
604
604
  entityRef?: string | undefined;
605
- namespace?: string | undefined;
605
+ schemaVersion?: number | undefined;
606
606
  cwd?: string | undefined;
607
607
  projectTag?: string | undefined;
608
608
  ttl?: string | undefined;
@@ -610,14 +610,14 @@ declare const suggestionSubmitRequestSchema: z.ZodEffects<z.ZodObject<{
610
610
  sourceReason?: string | undefined;
611
611
  }>, MemoryStoreParsedRequest, {
612
612
  content: string;
613
- schemaVersion?: number | undefined;
613
+ namespace?: string | undefined;
614
614
  sessionKey?: string | undefined;
615
- tags?: string[] | undefined;
616
- confidence?: number | undefined;
617
615
  dryRun?: boolean | undefined;
618
- category?: "project" | "decision" | "procedure" | "fact" | "preference" | "correction" | "entity" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
616
+ category?: "project" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | "project_state" | "project-state" | "project_update" | undefined;
617
+ confidence?: number | undefined;
618
+ tags?: string[] | undefined;
619
619
  entityRef?: string | undefined;
620
- namespace?: string | undefined;
620
+ schemaVersion?: number | undefined;
621
621
  cwd?: string | undefined;
622
622
  projectTag?: string | undefined;
623
623
  ttl?: string | undefined;
@@ -630,14 +630,14 @@ declare const reviewDispositionRequestSchema: z.ZodObject<{
630
630
  reasonCode: z.ZodString;
631
631
  namespace: z.ZodOptional<z.ZodString>;
632
632
  }, "strip", z.ZodTypeAny, {
633
- memoryId: string;
634
- status: "superseded" | "active" | "pending_review" | "rejected" | "quarantined" | "archived";
635
633
  reasonCode: string;
634
+ status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
635
+ memoryId: string;
636
636
  namespace?: string | undefined;
637
637
  }, {
638
- memoryId: string;
639
- status: "superseded" | "active" | "pending_review" | "rejected" | "quarantined" | "archived";
640
638
  reasonCode: string;
639
+ status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
640
+ memoryId: string;
641
641
  namespace?: string | undefined;
642
642
  }>;
643
643
  declare const trustZonePromoteRequestSchema: z.ZodObject<{
@@ -652,18 +652,18 @@ declare const trustZonePromoteRequestSchema: z.ZodObject<{
652
652
  recordId: string;
653
653
  targetZone: "working" | "trusted";
654
654
  promotionReason: string;
655
- recordedAt?: string | undefined;
655
+ namespace?: string | undefined;
656
656
  summary?: string | undefined;
657
657
  dryRun?: boolean | undefined;
658
- namespace?: string | undefined;
658
+ recordedAt?: string | undefined;
659
659
  }, {
660
660
  recordId: string;
661
661
  targetZone: "working" | "trusted";
662
662
  promotionReason: string;
663
- recordedAt?: string | undefined;
663
+ namespace?: string | undefined;
664
664
  summary?: string | undefined;
665
665
  dryRun?: boolean | undefined;
666
- namespace?: string | undefined;
666
+ recordedAt?: string | undefined;
667
667
  }>;
668
668
  declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
669
669
  scenario: z.ZodOptional<z.ZodString>;
@@ -671,14 +671,14 @@ declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
671
671
  dryRun: z.ZodOptional<z.ZodBoolean>;
672
672
  namespace: z.ZodOptional<z.ZodString>;
673
673
  }, "strip", z.ZodTypeAny, {
674
- recordedAt?: string | undefined;
675
- dryRun?: boolean | undefined;
676
674
  namespace?: string | undefined;
675
+ dryRun?: boolean | undefined;
676
+ recordedAt?: string | undefined;
677
677
  scenario?: string | undefined;
678
678
  }, {
679
- recordedAt?: string | undefined;
680
- dryRun?: boolean | undefined;
681
679
  namespace?: string | undefined;
680
+ dryRun?: boolean | undefined;
681
+ recordedAt?: string | undefined;
682
682
  scenario?: string | undefined;
683
683
  }>;
684
684
  declare const lcmSearchRequestSchema: z.ZodObject<{
@@ -689,14 +689,14 @@ declare const lcmSearchRequestSchema: z.ZodObject<{
689
689
  limit: z.ZodOptional<z.ZodNumber>;
690
690
  }, "strip", z.ZodTypeAny, {
691
691
  query: string;
692
- sessionKey?: string | undefined;
693
692
  namespace?: string | undefined;
693
+ sessionKey?: string | undefined;
694
694
  limit?: number | undefined;
695
695
  sessionPrefix?: string | undefined;
696
696
  }, {
697
697
  query: string;
698
- sessionKey?: string | undefined;
699
698
  namespace?: string | undefined;
699
+ sessionKey?: string | undefined;
700
700
  limit?: number | undefined;
701
701
  sessionPrefix?: string | undefined;
702
702
  }>;
@@ -712,26 +712,26 @@ declare const lcmCompactionFlushRequestSchema: z.ZodEffects<z.ZodObject<{
712
712
  namespaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
713
713
  }, "strip", z.ZodTypeAny, {
714
714
  sessionKey: string;
715
- namespaces?: string[] | undefined;
716
715
  namespace?: string | undefined;
716
+ namespaces?: string[] | undefined;
717
717
  cwd?: string | undefined;
718
718
  projectTag?: string | undefined;
719
719
  }, {
720
720
  sessionKey: string;
721
- namespaces?: string[] | undefined;
722
721
  namespace?: string | undefined;
722
+ namespaces?: string[] | undefined;
723
723
  cwd?: string | undefined;
724
724
  projectTag?: string | undefined;
725
725
  }>, {
726
726
  sessionKey: string;
727
- namespaces?: string[] | undefined;
728
727
  namespace?: string | undefined;
728
+ namespaces?: string[] | undefined;
729
729
  cwd?: string | undefined;
730
730
  projectTag?: string | undefined;
731
731
  }, {
732
732
  sessionKey: string;
733
- namespaces?: string[] | undefined;
734
733
  namespace?: string | undefined;
734
+ namespaces?: string[] | undefined;
735
735
  cwd?: string | undefined;
736
736
  projectTag?: string | undefined;
737
737
  }>;
@@ -777,14 +777,14 @@ declare const daySummaryRequestSchema: z.ZodObject<{
777
777
  namespace: z.ZodOptional<z.ZodString>;
778
778
  timeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
779
779
  }, "strip", z.ZodTypeAny, {
780
- sessionKey?: string | undefined;
781
780
  namespace?: string | undefined;
781
+ sessionKey?: string | undefined;
782
782
  memories?: string | undefined;
783
783
  timeZone?: string | undefined;
784
784
  includeLocation?: boolean | undefined;
785
785
  }, {
786
- sessionKey?: string | undefined;
787
786
  namespace?: string | undefined;
787
+ sessionKey?: string | undefined;
788
788
  memories?: string | undefined;
789
789
  timeZone?: string | undefined;
790
790
  includeLocation?: boolean | undefined;
@@ -821,24 +821,24 @@ declare const capsuleImportRequestSchema: z.ZodObject<{
821
821
  passphrase: z.ZodOptional<z.ZodString>;
822
822
  }, "strip", z.ZodTypeAny, {
823
823
  archivePath: string;
824
- mode?: "skip" | "overwrite" | "fork" | undefined;
825
824
  namespace?: string | undefined;
825
+ mode?: "skip" | "overwrite" | "fork" | undefined;
826
826
  passphrase?: string | undefined;
827
827
  }, {
828
828
  archivePath: string;
829
- mode?: "skip" | "overwrite" | "fork" | undefined;
830
829
  namespace?: string | undefined;
830
+ mode?: "skip" | "overwrite" | "fork" | undefined;
831
831
  passphrase?: string | undefined;
832
832
  }>;
833
833
  declare const capsuleListRequestSchema: z.ZodObject<{
834
834
  namespace: z.ZodOptional<z.ZodString>;
835
835
  sessionKey: z.ZodOptional<z.ZodString>;
836
836
  }, "strip", z.ZodTypeAny, {
837
- sessionKey?: string | undefined;
838
837
  namespace?: string | undefined;
839
- }, {
840
838
  sessionKey?: string | undefined;
839
+ }, {
841
840
  namespace?: string | undefined;
841
+ sessionKey?: string | undefined;
842
842
  }>;
843
843
  declare const offlineSyncSnapshotRequestSchema: z.ZodObject<{
844
844
  namespace: z.ZodOptional<z.ZodString>;
@@ -926,21 +926,21 @@ declare const offlineSyncFileContentRequestSchema: z.ZodObject<{
926
926
  length: z.ZodOptional<z.ZodNumber>;
927
927
  }, "strip", z.ZodTypeAny, {
928
928
  path: string;
929
- length?: number | undefined;
930
929
  namespace?: string | undefined;
930
+ length?: number | undefined;
931
931
  offset?: number | undefined;
932
932
  includeTranscripts?: boolean | undefined;
933
933
  }, {
934
934
  path: string;
935
- length?: number | undefined;
936
935
  namespace?: string | undefined;
936
+ length?: number | undefined;
937
937
  offset?: number | undefined;
938
938
  includeTranscripts?: boolean | undefined;
939
939
  }>;
940
940
  declare const actionConfidenceRequestSchema: z.ZodObject<{
941
941
  intendedAction: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
942
942
  confidence: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>;
943
- risk: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "irreversible", "restricted"]>>>, NonNullable<"high" | "low" | "medium" | "irreversible" | "restricted"> | undefined, "high" | "low" | "medium" | "irreversible" | "restricted" | null | undefined>;
943
+ risk: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "irreversible", "restricted"]>>>, NonNullable<"low" | "medium" | "high" | "irreversible" | "restricted"> | undefined, "low" | "medium" | "high" | "irreversible" | "restricted" | null | undefined>;
944
944
  contextReadiness: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "partial", "sufficient"]>>>, NonNullable<"partial" | "none" | "sufficient"> | undefined, "partial" | "none" | "sufficient" | null | undefined>;
945
945
  currentContextScopes: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
946
946
  userRules: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -979,12 +979,12 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
979
979
  safety: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["safe", "requires-review", "blocked"]>>>, NonNullable<"safe" | "requires-review" | "blocked"> | undefined, "safe" | "requires-review" | "blocked" | null | undefined>;
980
980
  safetyReasons: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
981
981
  }, "strict", z.ZodTypeAny, {
982
+ updated?: string | undefined;
983
+ created?: string | undefined;
982
984
  source?: string | undefined;
985
+ confidence?: number | undefined;
983
986
  stale?: boolean | undefined;
984
- created?: string | undefined;
985
- updated?: string | undefined;
986
987
  scope?: string | undefined;
987
- confidence?: number | undefined;
988
988
  retrievalReason?: string | undefined;
989
989
  safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
990
990
  safeToUse?: boolean | undefined;
@@ -993,12 +993,12 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
993
993
  safetyReasons?: string[] | undefined;
994
994
  userContextScopes?: string[] | undefined;
995
995
  }, {
996
+ updated?: string | null | undefined;
997
+ created?: string | null | undefined;
996
998
  source?: string | null | undefined;
999
+ confidence?: number | null | undefined;
997
1000
  stale?: boolean | null | undefined;
998
- created?: string | null | undefined;
999
- updated?: string | null | undefined;
1000
1001
  scope?: string | null | undefined;
1001
- confidence?: number | null | undefined;
1002
1002
  retrievalReason?: string | null | undefined;
1003
1003
  safety?: "safe" | "requires-review" | "blocked" | null | undefined;
1004
1004
  safeToUse?: boolean | null | undefined;
@@ -1007,12 +1007,12 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
1007
1007
  safetyReasons?: string[] | null | undefined;
1008
1008
  userContextScopes?: string[] | null | undefined;
1009
1009
  }>, "many">>>, {
1010
+ updated?: string | undefined;
1011
+ created?: string | undefined;
1010
1012
  source?: string | undefined;
1013
+ confidence?: number | undefined;
1011
1014
  stale?: boolean | undefined;
1012
- created?: string | undefined;
1013
- updated?: string | undefined;
1014
1015
  scope?: string | undefined;
1015
- confidence?: number | undefined;
1016
1016
  retrievalReason?: string | undefined;
1017
1017
  safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
1018
1018
  safeToUse?: boolean | undefined;
@@ -1021,12 +1021,12 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
1021
1021
  safetyReasons?: string[] | undefined;
1022
1022
  userContextScopes?: string[] | undefined;
1023
1023
  }[] | undefined, {
1024
+ updated?: string | null | undefined;
1025
+ created?: string | null | undefined;
1024
1026
  source?: string | null | undefined;
1027
+ confidence?: number | null | undefined;
1025
1028
  stale?: boolean | null | undefined;
1026
- created?: string | null | undefined;
1027
- updated?: string | null | undefined;
1028
1029
  scope?: string | null | undefined;
1029
- confidence?: number | null | undefined;
1030
1030
  retrievalReason?: string | null | undefined;
1031
1031
  safety?: "safe" | "requires-review" | "blocked" | null | undefined;
1032
1032
  safeToUse?: boolean | null | undefined;
@@ -1039,7 +1039,7 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
1039
1039
  confidence?: number | undefined;
1040
1040
  currentContextScopes?: string[] | undefined;
1041
1041
  intendedAction?: string | undefined;
1042
- risk?: NonNullable<"high" | "low" | "medium" | "irreversible" | "restricted"> | undefined;
1042
+ risk?: NonNullable<"low" | "medium" | "high" | "irreversible" | "restricted"> | undefined;
1043
1043
  contextReadiness?: NonNullable<"partial" | "none" | "sufficient"> | undefined;
1044
1044
  userRules?: {
1045
1045
  kind: "never" | "do-not-use-outside-this-context" | "ask-before" | "requires-escalation";
@@ -1047,12 +1047,12 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
1047
1047
  matched?: boolean | undefined;
1048
1048
  }[] | undefined;
1049
1049
  retrievedMemories?: {
1050
+ updated?: string | undefined;
1051
+ created?: string | undefined;
1050
1052
  source?: string | undefined;
1053
+ confidence?: number | undefined;
1051
1054
  stale?: boolean | undefined;
1052
- created?: string | undefined;
1053
- updated?: string | undefined;
1054
1055
  scope?: string | undefined;
1055
- confidence?: number | undefined;
1056
1056
  retrievalReason?: string | undefined;
1057
1057
  safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
1058
1058
  safeToUse?: boolean | undefined;
@@ -1065,7 +1065,7 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
1065
1065
  confidence?: number | null | undefined;
1066
1066
  currentContextScopes?: string[] | null | undefined;
1067
1067
  intendedAction?: string | null | undefined;
1068
- risk?: "high" | "low" | "medium" | "irreversible" | "restricted" | null | undefined;
1068
+ risk?: "low" | "medium" | "high" | "irreversible" | "restricted" | null | undefined;
1069
1069
  contextReadiness?: "partial" | "none" | "sufficient" | null | undefined;
1070
1070
  userRules?: {
1071
1071
  kind: "never" | "do-not-use-outside-this-context" | "ask-before" | "requires-escalation";
@@ -1073,12 +1073,12 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
1073
1073
  matched?: boolean | null | undefined;
1074
1074
  }[] | null | undefined;
1075
1075
  retrievedMemories?: {
1076
+ updated?: string | null | undefined;
1077
+ created?: string | null | undefined;
1076
1078
  source?: string | null | undefined;
1079
+ confidence?: number | null | undefined;
1077
1080
  stale?: boolean | null | undefined;
1078
- created?: string | null | undefined;
1079
- updated?: string | null | undefined;
1080
1081
  scope?: string | null | undefined;
1081
- confidence?: number | null | undefined;
1082
1082
  retrievalReason?: string | null | undefined;
1083
1083
  safety?: "safe" | "requires-review" | "blocked" | null | undefined;
1084
1084
  safeToUse?: boolean | null | undefined;