@remnic/core 9.6.23 → 9.6.25
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/access-admin-ops-surface.js +1 -1
- package/dist/access-boundary.js +1 -1
- package/dist/access-cli.js +4 -4
- package/dist/access-http.js +3 -3
- package/dist/access-identity-continuity-surface.js +1 -1
- package/dist/access-lcm-surface.js +1 -1
- package/dist/access-mcp.js +2 -2
- package/dist/access-observe-write-surface.js +1 -1
- package/dist/access-operations-batch.js +1 -1
- package/dist/access-operations.d.ts +3 -3
- package/dist/access-operations.js +1 -1
- package/dist/access-recall-surface.js +1 -1
- package/dist/access-schema.d.ts +64 -64
- package/dist/access-service.js +1 -1
- package/dist/{chunk-KEY3FEMP.js → chunk-43VNWTBB.js} +3 -3
- package/dist/{chunk-A2OFRQ5B.js → chunk-N6VIXDT7.js} +2 -2
- package/dist/{chunk-ERA5RSMZ.js → chunk-P32IDSHD.js} +1 -1
- package/dist/{chunk-ERA5RSMZ.js.map → chunk-P32IDSHD.js.map} +1 -1
- package/dist/{chunk-D3D677BV.js → chunk-QLYLTKUG.js} +4 -4
- package/dist/{chunk-D3D677BV.js.map → chunk-QLYLTKUG.js.map} +1 -1
- package/dist/cli.js +4 -4
- package/dist/coding/coding-graph-types.d.ts +23 -1
- package/dist/coding/coding-graph-types.js +1 -1
- package/dist/coding/optional-coding-graph.js +1 -1
- package/dist/index.js +4 -4
- package/dist/orchestrator.js +4 -4
- package/dist/schemas.d.ts +74 -74
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/access-http.test.ts +2 -2
- package/src/access-mcp.test.ts +2 -2
- package/src/access-mcp.ts +3 -3
- package/src/access-service-coding-write.test.ts +18 -18
- package/src/access-service-lcm-forgery.test.ts +5 -5
- package/src/access-service-observe-lcm-parity.test.ts +25 -25
- package/src/access-service-observe-scope.test.ts +16 -16
- package/src/access-service-project-tag.test.ts +2 -2
- package/src/access-service-raw-excerpt-read-gate.test.ts +1 -1
- package/src/coding/coding-graph-types.ts +23 -0
- package/src/coding/coding-namespace.test.ts +3 -3
- package/src/coding/wire-coding-context.test.ts +22 -22
- package/src/issue-1492-coding-mode-consistency.test.ts +2 -2
- /package/dist/{chunk-KEY3FEMP.js.map → chunk-43VNWTBB.js.map} +0 -0
- /package/dist/{chunk-A2OFRQ5B.js.map → chunk-N6VIXDT7.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
6
6
|
import "./chunk-M5QKGHCR.js";
|
|
7
7
|
import "./chunk-64SE4X5G.js";
|
|
8
8
|
import "./chunk-VQ7B2Q6M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-P32IDSHD.js";
|
|
10
10
|
import "./chunk-JGSKJHF7.js";
|
|
11
11
|
import "./chunk-PUBTHW5O.js";
|
|
12
12
|
import "./chunk-S4DDLTPX.js";
|
package/dist/access-boundary.js
CHANGED
|
@@ -16,7 +16,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
16
16
|
import "./chunk-M5QKGHCR.js";
|
|
17
17
|
import "./chunk-64SE4X5G.js";
|
|
18
18
|
import "./chunk-VQ7B2Q6M.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-P32IDSHD.js";
|
|
20
20
|
import "./chunk-JGSKJHF7.js";
|
|
21
21
|
import "./chunk-PUBTHW5O.js";
|
|
22
22
|
import "./chunk-S4DDLTPX.js";
|
package/dist/access-cli.js
CHANGED
|
@@ -81,7 +81,7 @@ import "./chunk-Q6IP2ARR.js";
|
|
|
81
81
|
import "./chunk-6HEM6HTQ.js";
|
|
82
82
|
import "./chunk-O2EL7EGG.js";
|
|
83
83
|
import "./chunk-FVTLSFWU.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-43VNWTBB.js";
|
|
85
85
|
import "./chunk-MMACM5G2.js";
|
|
86
86
|
import "./chunk-54BGIBCR.js";
|
|
87
87
|
import "./chunk-H4CKS5B2.js";
|
|
@@ -176,7 +176,7 @@ import "./chunk-G6NKALRN.js";
|
|
|
176
176
|
import "./chunk-OO42R444.js";
|
|
177
177
|
import "./chunk-K6MV3TRQ.js";
|
|
178
178
|
import "./chunk-OADWQ5CR.js";
|
|
179
|
-
import "./chunk-
|
|
179
|
+
import "./chunk-N6VIXDT7.js";
|
|
180
180
|
import "./chunk-V7IZKJI3.js";
|
|
181
181
|
import "./chunk-SEDEKFYQ.js";
|
|
182
182
|
import "./chunk-RKNJBZ55.js";
|
|
@@ -185,7 +185,7 @@ import "./chunk-RSUYKGGZ.js";
|
|
|
185
185
|
import "./chunk-42NQ7AVG.js";
|
|
186
186
|
import "./chunk-TMSXWOBZ.js";
|
|
187
187
|
import "./chunk-7RXCMVFQ.js";
|
|
188
|
-
import "./chunk-
|
|
188
|
+
import "./chunk-QLYLTKUG.js";
|
|
189
189
|
import "./chunk-IC2TCZJ2.js";
|
|
190
190
|
import "./chunk-D24OXEPB.js";
|
|
191
191
|
import "./chunk-5RUE3GHQ.js";
|
|
@@ -211,7 +211,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
211
211
|
import "./chunk-M5QKGHCR.js";
|
|
212
212
|
import "./chunk-64SE4X5G.js";
|
|
213
213
|
import "./chunk-VQ7B2Q6M.js";
|
|
214
|
-
import "./chunk-
|
|
214
|
+
import "./chunk-P32IDSHD.js";
|
|
215
215
|
import "./chunk-JGSKJHF7.js";
|
|
216
216
|
import "./chunk-PUBTHW5O.js";
|
|
217
217
|
import "./chunk-S4DDLTPX.js";
|
package/dist/access-http.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EngramAccessHttpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N6VIXDT7.js";
|
|
4
4
|
import "./chunk-V7IZKJI3.js";
|
|
5
5
|
import "./chunk-SEDEKFYQ.js";
|
|
6
6
|
import "./chunk-RKNJBZ55.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-RSUYKGGZ.js";
|
|
|
9
9
|
import "./chunk-42NQ7AVG.js";
|
|
10
10
|
import "./chunk-TMSXWOBZ.js";
|
|
11
11
|
import "./chunk-7RXCMVFQ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QLYLTKUG.js";
|
|
13
13
|
import "./chunk-IC2TCZJ2.js";
|
|
14
14
|
import "./chunk-D24OXEPB.js";
|
|
15
15
|
import "./chunk-5RUE3GHQ.js";
|
|
@@ -31,7 +31,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
31
31
|
import "./chunk-M5QKGHCR.js";
|
|
32
32
|
import "./chunk-64SE4X5G.js";
|
|
33
33
|
import "./chunk-VQ7B2Q6M.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-P32IDSHD.js";
|
|
35
35
|
import "./chunk-JGSKJHF7.js";
|
|
36
36
|
import "./chunk-PUBTHW5O.js";
|
|
37
37
|
import "./chunk-S4DDLTPX.js";
|
|
@@ -6,7 +6,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
6
6
|
import "./chunk-M5QKGHCR.js";
|
|
7
7
|
import "./chunk-64SE4X5G.js";
|
|
8
8
|
import "./chunk-VQ7B2Q6M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-P32IDSHD.js";
|
|
10
10
|
import "./chunk-JGSKJHF7.js";
|
|
11
11
|
import "./chunk-PUBTHW5O.js";
|
|
12
12
|
import "./chunk-S4DDLTPX.js";
|
|
@@ -6,7 +6,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
6
6
|
import "./chunk-M5QKGHCR.js";
|
|
7
7
|
import "./chunk-64SE4X5G.js";
|
|
8
8
|
import "./chunk-VQ7B2Q6M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-P32IDSHD.js";
|
|
10
10
|
import "./chunk-JGSKJHF7.js";
|
|
11
11
|
import "./chunk-PUBTHW5O.js";
|
|
12
12
|
import "./chunk-S4DDLTPX.js";
|
package/dist/access-mcp.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EngramMcpServer,
|
|
3
3
|
MCP_SUPPORTED_PROTOCOL_VERSIONS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QLYLTKUG.js";
|
|
5
5
|
import "./chunk-IC2TCZJ2.js";
|
|
6
6
|
import "./chunk-D24OXEPB.js";
|
|
7
7
|
import "./chunk-5RUE3GHQ.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
23
23
|
import "./chunk-M5QKGHCR.js";
|
|
24
24
|
import "./chunk-64SE4X5G.js";
|
|
25
25
|
import "./chunk-VQ7B2Q6M.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-P32IDSHD.js";
|
|
27
27
|
import "./chunk-JGSKJHF7.js";
|
|
28
28
|
import "./chunk-PUBTHW5O.js";
|
|
29
29
|
import "./chunk-S4DDLTPX.js";
|
|
@@ -6,7 +6,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
6
6
|
import "./chunk-M5QKGHCR.js";
|
|
7
7
|
import "./chunk-64SE4X5G.js";
|
|
8
8
|
import "./chunk-VQ7B2Q6M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-P32IDSHD.js";
|
|
10
10
|
import "./chunk-JGSKJHF7.js";
|
|
11
11
|
import "./chunk-PUBTHW5O.js";
|
|
12
12
|
import "./chunk-S4DDLTPX.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
14
14
|
import "./chunk-M5QKGHCR.js";
|
|
15
15
|
import "./chunk-64SE4X5G.js";
|
|
16
16
|
import "./chunk-VQ7B2Q6M.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-P32IDSHD.js";
|
|
18
18
|
import "./chunk-JGSKJHF7.js";
|
|
19
19
|
import "./chunk-PUBTHW5O.js";
|
|
20
20
|
import "./chunk-S4DDLTPX.js";
|
|
@@ -126,14 +126,14 @@ interface MemoryStoreOutput {
|
|
|
126
126
|
}
|
|
127
127
|
declare const memoryStoreOperation: BoundOperation<{
|
|
128
128
|
content: string;
|
|
129
|
-
|
|
129
|
+
schemaVersion?: number | undefined;
|
|
130
130
|
sessionKey?: string | undefined;
|
|
131
|
+
tags?: string[] | undefined;
|
|
131
132
|
dryRun?: boolean | undefined;
|
|
132
133
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
133
134
|
confidence?: number | undefined;
|
|
134
|
-
tags?: string[] | undefined;
|
|
135
135
|
entityRef?: string | undefined;
|
|
136
|
-
|
|
136
|
+
namespace?: string | undefined;
|
|
137
137
|
cwd?: string | undefined;
|
|
138
138
|
ttl?: string | undefined;
|
|
139
139
|
sourceReason?: string | undefined;
|
|
@@ -40,7 +40,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
40
40
|
import "./chunk-M5QKGHCR.js";
|
|
41
41
|
import "./chunk-64SE4X5G.js";
|
|
42
42
|
import "./chunk-VQ7B2Q6M.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-P32IDSHD.js";
|
|
44
44
|
import "./chunk-JGSKJHF7.js";
|
|
45
45
|
import "./chunk-PUBTHW5O.js";
|
|
46
46
|
import "./chunk-S4DDLTPX.js";
|
|
@@ -6,7 +6,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
6
6
|
import "./chunk-M5QKGHCR.js";
|
|
7
7
|
import "./chunk-64SE4X5G.js";
|
|
8
8
|
import "./chunk-VQ7B2Q6M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-P32IDSHD.js";
|
|
10
10
|
import "./chunk-JGSKJHF7.js";
|
|
11
11
|
import "./chunk-PUBTHW5O.js";
|
|
12
12
|
import "./chunk-S4DDLTPX.js";
|
package/dist/access-schema.d.ts
CHANGED
|
@@ -104,10 +104,10 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
104
104
|
includeLowConfidence: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
query: string;
|
|
107
|
-
namespace?: string | undefined;
|
|
108
|
-
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
109
107
|
sessionKey?: string | undefined;
|
|
110
108
|
tags?: string[] | undefined;
|
|
109
|
+
namespace?: string | undefined;
|
|
110
|
+
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
111
111
|
cwd?: string | undefined;
|
|
112
112
|
codingContext?: {
|
|
113
113
|
branch: string | null;
|
|
@@ -125,10 +125,10 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
125
125
|
tagMatch?: "all" | "any" | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
query: string;
|
|
128
|
-
namespace?: string | undefined;
|
|
129
|
-
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
130
128
|
sessionKey?: string | undefined;
|
|
131
129
|
tags?: string[] | undefined;
|
|
130
|
+
namespace?: string | undefined;
|
|
131
|
+
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
132
132
|
cwd?: string | undefined;
|
|
133
133
|
codingContext?: {
|
|
134
134
|
branch: string | null;
|
|
@@ -149,11 +149,11 @@ declare const recallExplainRequestSchema: z.ZodObject<{
|
|
|
149
149
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
150
150
|
namespace: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
namespace?: string | undefined;
|
|
153
152
|
sessionKey?: string | undefined;
|
|
154
|
-
}, {
|
|
155
153
|
namespace?: string | undefined;
|
|
154
|
+
}, {
|
|
156
155
|
sessionKey?: string | undefined;
|
|
156
|
+
namespace?: string | undefined;
|
|
157
157
|
}>;
|
|
158
158
|
/**
|
|
159
159
|
* Standalone "set coding context" request. Used by the HTTP endpoint
|
|
@@ -241,22 +241,22 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
243
243
|
payload: Record<string, unknown>;
|
|
244
|
-
createdAt?: string | null | undefined;
|
|
245
244
|
ordinal?: number | null | undefined;
|
|
246
245
|
toolName?: string | null | undefined;
|
|
247
246
|
tool_name?: string | null | undefined;
|
|
248
247
|
filePath?: string | null | undefined;
|
|
249
248
|
file_path?: string | null | undefined;
|
|
249
|
+
createdAt?: string | null | undefined;
|
|
250
250
|
created_at?: string | null | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
253
253
|
payload: Record<string, unknown>;
|
|
254
|
-
createdAt?: string | null | undefined;
|
|
255
254
|
ordinal?: number | null | undefined;
|
|
256
255
|
toolName?: string | null | undefined;
|
|
257
256
|
tool_name?: string | null | undefined;
|
|
258
257
|
filePath?: string | null | undefined;
|
|
259
258
|
file_path?: string | null | undefined;
|
|
259
|
+
createdAt?: string | null | undefined;
|
|
260
260
|
created_at?: string | null | undefined;
|
|
261
261
|
}>, "many">>>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -265,12 +265,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
265
265
|
parts?: {
|
|
266
266
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
267
267
|
payload: Record<string, unknown>;
|
|
268
|
-
createdAt?: string | null | undefined;
|
|
269
268
|
ordinal?: number | null | undefined;
|
|
270
269
|
toolName?: string | null | undefined;
|
|
271
270
|
tool_name?: string | null | undefined;
|
|
272
271
|
filePath?: string | null | undefined;
|
|
273
272
|
file_path?: string | null | undefined;
|
|
273
|
+
createdAt?: string | null | undefined;
|
|
274
274
|
created_at?: string | null | undefined;
|
|
275
275
|
}[] | null | undefined;
|
|
276
276
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -281,12 +281,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
281
281
|
parts?: {
|
|
282
282
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
283
283
|
payload: Record<string, unknown>;
|
|
284
|
-
createdAt?: string | null | undefined;
|
|
285
284
|
ordinal?: number | null | undefined;
|
|
286
285
|
toolName?: string | null | undefined;
|
|
287
286
|
tool_name?: string | null | undefined;
|
|
288
287
|
filePath?: string | null | undefined;
|
|
289
288
|
file_path?: string | null | undefined;
|
|
289
|
+
createdAt?: string | null | undefined;
|
|
290
290
|
created_at?: string | null | undefined;
|
|
291
291
|
}[] | null | undefined;
|
|
292
292
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -317,12 +317,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
317
317
|
parts?: {
|
|
318
318
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
319
319
|
payload: Record<string, unknown>;
|
|
320
|
-
createdAt?: string | null | undefined;
|
|
321
320
|
ordinal?: number | null | undefined;
|
|
322
321
|
toolName?: string | null | undefined;
|
|
323
322
|
tool_name?: string | null | undefined;
|
|
324
323
|
filePath?: string | null | undefined;
|
|
325
324
|
file_path?: string | null | undefined;
|
|
325
|
+
createdAt?: string | null | undefined;
|
|
326
326
|
created_at?: string | null | undefined;
|
|
327
327
|
}[] | null | undefined;
|
|
328
328
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -341,12 +341,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
341
341
|
parts?: {
|
|
342
342
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
343
343
|
payload: Record<string, unknown>;
|
|
344
|
-
createdAt?: string | null | undefined;
|
|
345
344
|
ordinal?: number | null | undefined;
|
|
346
345
|
toolName?: string | null | undefined;
|
|
347
346
|
tool_name?: string | null | undefined;
|
|
348
347
|
filePath?: string | null | undefined;
|
|
349
348
|
file_path?: string | null | undefined;
|
|
349
|
+
createdAt?: string | null | undefined;
|
|
350
350
|
created_at?: string | null | undefined;
|
|
351
351
|
}[] | null | undefined;
|
|
352
352
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -375,14 +375,14 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
|
|
|
375
375
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
377
|
content: string;
|
|
378
|
-
|
|
378
|
+
schemaVersion?: number | undefined;
|
|
379
379
|
sessionKey?: string | undefined;
|
|
380
|
+
tags?: string[] | undefined;
|
|
380
381
|
dryRun?: boolean | undefined;
|
|
381
382
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
382
383
|
confidence?: number | undefined;
|
|
383
|
-
tags?: string[] | undefined;
|
|
384
384
|
entityRef?: string | undefined;
|
|
385
|
-
|
|
385
|
+
namespace?: string | undefined;
|
|
386
386
|
cwd?: string | undefined;
|
|
387
387
|
ttl?: string | undefined;
|
|
388
388
|
sourceReason?: string | undefined;
|
|
@@ -390,14 +390,14 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
|
|
|
390
390
|
projectTag?: string | undefined;
|
|
391
391
|
}, {
|
|
392
392
|
content: string;
|
|
393
|
-
|
|
393
|
+
schemaVersion?: number | undefined;
|
|
394
394
|
sessionKey?: string | undefined;
|
|
395
|
+
tags?: string[] | undefined;
|
|
395
396
|
dryRun?: boolean | undefined;
|
|
396
397
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
397
398
|
confidence?: number | undefined;
|
|
398
|
-
tags?: string[] | undefined;
|
|
399
399
|
entityRef?: string | undefined;
|
|
400
|
-
|
|
400
|
+
namespace?: string | undefined;
|
|
401
401
|
cwd?: string | undefined;
|
|
402
402
|
ttl?: string | undefined;
|
|
403
403
|
sourceReason?: string | undefined;
|
|
@@ -421,14 +421,14 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
|
|
|
421
421
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
422
422
|
}, "strip", z.ZodTypeAny, {
|
|
423
423
|
content: string;
|
|
424
|
-
|
|
424
|
+
schemaVersion?: number | undefined;
|
|
425
425
|
sessionKey?: string | undefined;
|
|
426
|
+
tags?: string[] | undefined;
|
|
426
427
|
dryRun?: boolean | undefined;
|
|
427
428
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
428
429
|
confidence?: number | undefined;
|
|
429
|
-
tags?: string[] | undefined;
|
|
430
430
|
entityRef?: string | undefined;
|
|
431
|
-
|
|
431
|
+
namespace?: string | undefined;
|
|
432
432
|
cwd?: string | undefined;
|
|
433
433
|
ttl?: string | undefined;
|
|
434
434
|
sourceReason?: string | undefined;
|
|
@@ -436,14 +436,14 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
|
|
|
436
436
|
projectTag?: string | undefined;
|
|
437
437
|
}, {
|
|
438
438
|
content: string;
|
|
439
|
-
|
|
439
|
+
schemaVersion?: number | undefined;
|
|
440
440
|
sessionKey?: string | undefined;
|
|
441
|
+
tags?: string[] | undefined;
|
|
441
442
|
dryRun?: boolean | undefined;
|
|
442
443
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
443
444
|
confidence?: number | undefined;
|
|
444
|
-
tags?: string[] | undefined;
|
|
445
445
|
entityRef?: string | undefined;
|
|
446
|
-
|
|
446
|
+
namespace?: string | undefined;
|
|
447
447
|
cwd?: string | undefined;
|
|
448
448
|
ttl?: string | undefined;
|
|
449
449
|
sourceReason?: string | undefined;
|
|
@@ -456,14 +456,14 @@ declare const reviewDispositionRequestSchema: z.ZodObject<{
|
|
|
456
456
|
reasonCode: z.ZodString;
|
|
457
457
|
namespace: z.ZodOptional<z.ZodString>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
-
reasonCode: string;
|
|
460
459
|
status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
|
|
461
460
|
memoryId: string;
|
|
461
|
+
reasonCode: string;
|
|
462
462
|
namespace?: string | undefined;
|
|
463
463
|
}, {
|
|
464
|
-
reasonCode: string;
|
|
465
464
|
status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
|
|
466
465
|
memoryId: string;
|
|
466
|
+
reasonCode: string;
|
|
467
467
|
namespace?: string | undefined;
|
|
468
468
|
}>;
|
|
469
469
|
declare const trustZonePromoteRequestSchema: z.ZodObject<{
|
|
@@ -478,18 +478,18 @@ declare const trustZonePromoteRequestSchema: z.ZodObject<{
|
|
|
478
478
|
recordId: string;
|
|
479
479
|
targetZone: "working" | "trusted";
|
|
480
480
|
promotionReason: string;
|
|
481
|
-
|
|
481
|
+
recordedAt?: string | undefined;
|
|
482
482
|
summary?: string | undefined;
|
|
483
483
|
dryRun?: boolean | undefined;
|
|
484
|
-
|
|
484
|
+
namespace?: string | undefined;
|
|
485
485
|
}, {
|
|
486
486
|
recordId: string;
|
|
487
487
|
targetZone: "working" | "trusted";
|
|
488
488
|
promotionReason: string;
|
|
489
|
-
|
|
489
|
+
recordedAt?: string | undefined;
|
|
490
490
|
summary?: string | undefined;
|
|
491
491
|
dryRun?: boolean | undefined;
|
|
492
|
-
|
|
492
|
+
namespace?: string | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
495
495
|
scenario: z.ZodOptional<z.ZodString>;
|
|
@@ -497,14 +497,14 @@ declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
|
497
497
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
498
498
|
namespace: z.ZodOptional<z.ZodString>;
|
|
499
499
|
}, "strip", z.ZodTypeAny, {
|
|
500
|
-
namespace?: string | undefined;
|
|
501
|
-
dryRun?: boolean | undefined;
|
|
502
500
|
recordedAt?: string | undefined;
|
|
501
|
+
dryRun?: boolean | undefined;
|
|
502
|
+
namespace?: string | undefined;
|
|
503
503
|
scenario?: string | undefined;
|
|
504
504
|
}, {
|
|
505
|
-
namespace?: string | undefined;
|
|
506
|
-
dryRun?: boolean | undefined;
|
|
507
505
|
recordedAt?: string | undefined;
|
|
506
|
+
dryRun?: boolean | undefined;
|
|
507
|
+
namespace?: string | undefined;
|
|
508
508
|
scenario?: string | undefined;
|
|
509
509
|
}>;
|
|
510
510
|
declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
@@ -515,14 +515,14 @@ declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
|
515
515
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
query: string;
|
|
518
|
-
namespace?: string | undefined;
|
|
519
518
|
sessionKey?: string | undefined;
|
|
519
|
+
namespace?: string | undefined;
|
|
520
520
|
limit?: number | undefined;
|
|
521
521
|
sessionPrefix?: string | undefined;
|
|
522
522
|
}, {
|
|
523
523
|
query: string;
|
|
524
|
-
namespace?: string | undefined;
|
|
525
524
|
sessionKey?: string | undefined;
|
|
525
|
+
namespace?: string | undefined;
|
|
526
526
|
limit?: number | undefined;
|
|
527
527
|
sessionPrefix?: string | undefined;
|
|
528
528
|
}>;
|
|
@@ -558,13 +558,13 @@ declare const daySummaryRequestSchema: z.ZodObject<{
|
|
|
558
558
|
namespace: z.ZodOptional<z.ZodString>;
|
|
559
559
|
timeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
namespace?: string | undefined;
|
|
562
561
|
sessionKey?: string | undefined;
|
|
562
|
+
namespace?: string | undefined;
|
|
563
563
|
timeZone?: string | undefined;
|
|
564
564
|
memories?: string | undefined;
|
|
565
565
|
}, {
|
|
566
|
-
namespace?: string | undefined;
|
|
567
566
|
sessionKey?: string | undefined;
|
|
567
|
+
namespace?: string | undefined;
|
|
568
568
|
timeZone?: string | undefined;
|
|
569
569
|
memories?: string | undefined;
|
|
570
570
|
}>;
|
|
@@ -613,11 +613,11 @@ declare const capsuleListRequestSchema: z.ZodObject<{
|
|
|
613
613
|
namespace: z.ZodOptional<z.ZodString>;
|
|
614
614
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
namespace?: string | undefined;
|
|
617
616
|
sessionKey?: string | undefined;
|
|
618
|
-
}, {
|
|
619
617
|
namespace?: string | undefined;
|
|
618
|
+
}, {
|
|
620
619
|
sessionKey?: string | undefined;
|
|
620
|
+
namespace?: string | undefined;
|
|
621
621
|
}>;
|
|
622
622
|
declare const offlineSyncSnapshotRequestSchema: z.ZodObject<{
|
|
623
623
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -705,21 +705,21 @@ declare const offlineSyncFileContentRequestSchema: z.ZodObject<{
|
|
|
705
705
|
length: z.ZodOptional<z.ZodNumber>;
|
|
706
706
|
}, "strip", z.ZodTypeAny, {
|
|
707
707
|
path: string;
|
|
708
|
-
namespace?: string | undefined;
|
|
709
708
|
length?: number | undefined;
|
|
709
|
+
namespace?: string | undefined;
|
|
710
710
|
offset?: number | undefined;
|
|
711
711
|
includeTranscripts?: boolean | undefined;
|
|
712
712
|
}, {
|
|
713
713
|
path: string;
|
|
714
|
-
namespace?: string | undefined;
|
|
715
714
|
length?: number | undefined;
|
|
715
|
+
namespace?: string | undefined;
|
|
716
716
|
offset?: number | undefined;
|
|
717
717
|
includeTranscripts?: boolean | undefined;
|
|
718
718
|
}>;
|
|
719
719
|
declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
720
720
|
intendedAction: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
721
721
|
confidence: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
722
|
-
risk: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "irreversible", "restricted"]>>>, NonNullable<"
|
|
722
|
+
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>;
|
|
723
723
|
contextReadiness: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "partial", "sufficient"]>>>, NonNullable<"none" | "partial" | "sufficient"> | undefined, "none" | "partial" | "sufficient" | null | undefined>;
|
|
724
724
|
currentContextScopes: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
|
|
725
725
|
userRules: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -753,63 +753,63 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
753
753
|
confidence: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
754
754
|
stale: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>;
|
|
755
755
|
corrected: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>;
|
|
756
|
-
correctionState: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "correction", "superseded", "disputed", "forgotten"]>>>, NonNullable<"
|
|
756
|
+
correctionState: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "correction", "superseded", "disputed", "forgotten"]>>>, NonNullable<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined, "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined>;
|
|
757
757
|
safeToUse: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>;
|
|
758
758
|
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>;
|
|
759
759
|
safetyReasons: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
|
|
760
760
|
}, "strict", z.ZodTypeAny, {
|
|
761
|
-
updated?: string | undefined;
|
|
762
|
-
confidence?: number | undefined;
|
|
763
761
|
source?: string | undefined;
|
|
764
762
|
stale?: boolean | undefined;
|
|
765
763
|
created?: string | undefined;
|
|
764
|
+
updated?: string | undefined;
|
|
765
|
+
confidence?: number | undefined;
|
|
766
766
|
scope?: string | undefined;
|
|
767
767
|
retrievalReason?: string | undefined;
|
|
768
768
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
769
769
|
safeToUse?: boolean | undefined;
|
|
770
|
-
correctionState?: NonNullable<"
|
|
770
|
+
correctionState?: NonNullable<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined;
|
|
771
771
|
corrected?: boolean | undefined;
|
|
772
772
|
safetyReasons?: string[] | undefined;
|
|
773
773
|
userContextScopes?: string[] | undefined;
|
|
774
774
|
}, {
|
|
775
|
-
updated?: string | null | undefined;
|
|
776
|
-
confidence?: number | null | undefined;
|
|
777
775
|
source?: string | null | undefined;
|
|
778
776
|
stale?: boolean | null | undefined;
|
|
779
777
|
created?: string | null | undefined;
|
|
778
|
+
updated?: string | null | undefined;
|
|
779
|
+
confidence?: number | null | undefined;
|
|
780
780
|
scope?: string | null | undefined;
|
|
781
781
|
retrievalReason?: string | null | undefined;
|
|
782
782
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
783
783
|
safeToUse?: boolean | null | undefined;
|
|
784
|
-
correctionState?: "
|
|
784
|
+
correctionState?: "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined;
|
|
785
785
|
corrected?: boolean | null | undefined;
|
|
786
786
|
safetyReasons?: string[] | null | undefined;
|
|
787
787
|
userContextScopes?: string[] | null | undefined;
|
|
788
788
|
}>, "many">>>, {
|
|
789
|
-
updated?: string | undefined;
|
|
790
|
-
confidence?: number | undefined;
|
|
791
789
|
source?: string | undefined;
|
|
792
790
|
stale?: boolean | undefined;
|
|
793
791
|
created?: string | undefined;
|
|
792
|
+
updated?: string | undefined;
|
|
793
|
+
confidence?: number | undefined;
|
|
794
794
|
scope?: string | undefined;
|
|
795
795
|
retrievalReason?: string | undefined;
|
|
796
796
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
797
797
|
safeToUse?: boolean | undefined;
|
|
798
|
-
correctionState?: NonNullable<"
|
|
798
|
+
correctionState?: NonNullable<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined;
|
|
799
799
|
corrected?: boolean | undefined;
|
|
800
800
|
safetyReasons?: string[] | undefined;
|
|
801
801
|
userContextScopes?: string[] | undefined;
|
|
802
802
|
}[] | undefined, {
|
|
803
|
-
updated?: string | null | undefined;
|
|
804
|
-
confidence?: number | null | undefined;
|
|
805
803
|
source?: string | null | undefined;
|
|
806
804
|
stale?: boolean | null | undefined;
|
|
807
805
|
created?: string | null | undefined;
|
|
806
|
+
updated?: string | null | undefined;
|
|
807
|
+
confidence?: number | null | undefined;
|
|
808
808
|
scope?: string | null | undefined;
|
|
809
809
|
retrievalReason?: string | null | undefined;
|
|
810
810
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
811
811
|
safeToUse?: boolean | null | undefined;
|
|
812
|
-
correctionState?: "
|
|
812
|
+
correctionState?: "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined;
|
|
813
813
|
corrected?: boolean | null | undefined;
|
|
814
814
|
safetyReasons?: string[] | null | undefined;
|
|
815
815
|
userContextScopes?: string[] | null | undefined;
|
|
@@ -818,7 +818,7 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
818
818
|
confidence?: number | undefined;
|
|
819
819
|
currentContextScopes?: string[] | undefined;
|
|
820
820
|
intendedAction?: string | undefined;
|
|
821
|
-
risk?: NonNullable<"
|
|
821
|
+
risk?: NonNullable<"high" | "low" | "medium" | "irreversible" | "restricted"> | undefined;
|
|
822
822
|
contextReadiness?: NonNullable<"none" | "partial" | "sufficient"> | undefined;
|
|
823
823
|
userRules?: {
|
|
824
824
|
kind: "never" | "do-not-use-outside-this-context" | "ask-before" | "requires-escalation";
|
|
@@ -826,16 +826,16 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
826
826
|
matched?: boolean | undefined;
|
|
827
827
|
}[] | undefined;
|
|
828
828
|
retrievedMemories?: {
|
|
829
|
-
updated?: string | undefined;
|
|
830
|
-
confidence?: number | undefined;
|
|
831
829
|
source?: string | undefined;
|
|
832
830
|
stale?: boolean | undefined;
|
|
833
831
|
created?: string | undefined;
|
|
832
|
+
updated?: string | undefined;
|
|
833
|
+
confidence?: number | undefined;
|
|
834
834
|
scope?: string | undefined;
|
|
835
835
|
retrievalReason?: string | undefined;
|
|
836
836
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
837
837
|
safeToUse?: boolean | undefined;
|
|
838
|
-
correctionState?: NonNullable<"
|
|
838
|
+
correctionState?: NonNullable<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined;
|
|
839
839
|
corrected?: boolean | undefined;
|
|
840
840
|
safetyReasons?: string[] | undefined;
|
|
841
841
|
userContextScopes?: string[] | undefined;
|
|
@@ -844,7 +844,7 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
844
844
|
confidence?: number | null | undefined;
|
|
845
845
|
currentContextScopes?: string[] | null | undefined;
|
|
846
846
|
intendedAction?: string | null | undefined;
|
|
847
|
-
risk?: "
|
|
847
|
+
risk?: "high" | "low" | "medium" | "irreversible" | "restricted" | null | undefined;
|
|
848
848
|
contextReadiness?: "none" | "partial" | "sufficient" | null | undefined;
|
|
849
849
|
userRules?: {
|
|
850
850
|
kind: "never" | "do-not-use-outside-this-context" | "ask-before" | "requires-escalation";
|
|
@@ -852,16 +852,16 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
852
852
|
matched?: boolean | null | undefined;
|
|
853
853
|
}[] | null | undefined;
|
|
854
854
|
retrievedMemories?: {
|
|
855
|
-
updated?: string | null | undefined;
|
|
856
|
-
confidence?: number | null | undefined;
|
|
857
855
|
source?: string | null | undefined;
|
|
858
856
|
stale?: boolean | null | undefined;
|
|
859
857
|
created?: string | null | undefined;
|
|
858
|
+
updated?: string | null | undefined;
|
|
859
|
+
confidence?: number | null | undefined;
|
|
860
860
|
scope?: string | null | undefined;
|
|
861
861
|
retrievalReason?: string | null | undefined;
|
|
862
862
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
863
863
|
safeToUse?: boolean | null | undefined;
|
|
864
|
-
correctionState?: "
|
|
864
|
+
correctionState?: "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined;
|
|
865
865
|
corrected?: boolean | null | undefined;
|
|
866
866
|
safetyReasons?: string[] | null | undefined;
|
|
867
867
|
userContextScopes?: string[] | null | undefined;
|
package/dist/access-service.js
CHANGED
|
@@ -11,7 +11,7 @@ import "./chunk-GDB4J2H3.js";
|
|
|
11
11
|
import "./chunk-M5QKGHCR.js";
|
|
12
12
|
import "./chunk-64SE4X5G.js";
|
|
13
13
|
import "./chunk-VQ7B2Q6M.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-P32IDSHD.js";
|
|
15
15
|
import "./chunk-JGSKJHF7.js";
|
|
16
16
|
import "./chunk-PUBTHW5O.js";
|
|
17
17
|
import "./chunk-S4DDLTPX.js";
|