@remnic/core 9.3.753 → 9.3.755
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.d.ts +5 -5
- package/dist/access-admin-ops-surface.js +26 -26
- package/dist/access-boundary.d.ts +5 -5
- package/dist/access-boundary.js +27 -27
- package/dist/access-cli.js +75 -75
- package/dist/access-http.d.ts +5 -5
- package/dist/access-http.js +34 -34
- package/dist/access-lcm-surface.d.ts +188 -0
- package/dist/access-lcm-surface.js +128 -0
- package/dist/access-lcm-surface.js.map +1 -0
- package/dist/access-mcp.d.ts +5 -5
- package/dist/access-mcp.js +31 -31
- package/dist/access-operations-batch.js +28 -28
- package/dist/access-operations.d.ts +9 -9
- package/dist/access-operations.js +30 -30
- package/dist/access-recall-surface.d.ts +5 -5
- package/dist/access-recall-surface.js +26 -26
- package/dist/access-schema.d.ts +70 -70
- package/dist/access-schema.js +6 -6
- package/dist/{access-service-MitduesD.d.ts → access-service-C3jkLi2U.d.ts} +7 -67
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +26 -26
- package/dist/access-surface-catalog.d.ts +5 -5
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-IEBKPGAM.js → auto-sync-G4YKBPOU.js} +5 -5
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +7 -7
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +2 -2
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-BEmNVRN0.d.ts → catalog-DaKAFbSJ.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +8 -8
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-HAZVVOYT.js → chunk-24463PIV.js} +2 -2
- package/dist/{chunk-GWGWBK5Y.js → chunk-2MR3MFQB.js} +7 -7
- package/dist/{chunk-YTU7WKYN.js → chunk-2OZ2JEUP.js} +2 -2
- package/dist/{chunk-AU7Q3LSC.js → chunk-2QSZNTDO.js} +4 -4
- package/dist/{chunk-EHYB325U.js → chunk-3DOD6ICJ.js} +2 -2
- package/dist/{chunk-KYHGLDFU.js → chunk-4LQUYBZM.js} +6 -6
- package/dist/{chunk-VUA4S7P6.js → chunk-5J4OL7TJ.js} +4 -4
- package/dist/{chunk-TVISHYL5.js → chunk-CIDGUFAL.js} +2 -2
- package/dist/{chunk-OUXPVWTZ.js → chunk-FLVL4L3L.js} +5 -5
- package/dist/{chunk-3HGZX26P.js → chunk-FOJY75BL.js} +8 -8
- package/dist/{chunk-VVSV2QVY.js → chunk-FQLM6ZUP.js} +3 -3
- package/dist/{chunk-LZ73Y56P.js → chunk-G7LCG56O.js} +4 -4
- package/dist/{chunk-ZECLLIMX.js → chunk-GCEV6SXP.js} +4989 -4960
- package/dist/chunk-GCEV6SXP.js.map +1 -0
- package/dist/{chunk-ZMHDSIEX.js → chunk-GGYUR4M2.js} +4 -4
- package/dist/{chunk-YNBEHUZH.js → chunk-GMWKWA6N.js} +2 -2
- package/dist/{chunk-JGPURIEH.js → chunk-GPFXPC2V.js} +2 -2
- package/dist/{chunk-E6LENGYV.js → chunk-H6S3DJVE.js} +2 -2
- package/dist/{chunk-E3MRYDUQ.js → chunk-I3UWEZTK.js} +2 -2
- package/dist/{chunk-ZIFPFKB2.js → chunk-I6IAJCJS.js} +2 -2
- package/dist/{chunk-JES2O5Q6.js → chunk-JITAVROY.js} +4 -4
- package/dist/{chunk-DKIZ4BUQ.js → chunk-KKOCFUI5.js} +7 -7
- package/dist/{chunk-LQ6JI4VH.js → chunk-LD53WPMU.js} +4 -4
- package/dist/{chunk-N3VE7OCY.js → chunk-LFKEFIJA.js} +2 -2
- package/dist/{chunk-EEO4YWQ7.js → chunk-N4AGSRVA.js} +2 -2
- package/dist/{chunk-QIRZI3C3.js → chunk-NCNOYM6F.js} +2 -2
- package/dist/{chunk-3ZIKDH6C.js → chunk-OCFITZRV.js} +4 -4
- package/dist/{chunk-ITLJATQI.js → chunk-PJ7DIEFC.js} +2 -2
- package/dist/{chunk-OZMBT7N3.js → chunk-PJQMISPD.js} +2 -2
- package/dist/{chunk-XOPLMSVV.js → chunk-S6UCPBPL.js} +2 -2
- package/dist/{chunk-243P7YYV.js → chunk-SP42M3XP.js} +2 -2
- package/dist/{chunk-DCWIQFNA.js → chunk-T422SYM6.js} +5 -5
- package/dist/{chunk-AXBRVBT6.js → chunk-T6WHI3JW.js} +2 -2
- package/dist/{chunk-5CEJH5ZN.js → chunk-TAPSNIMA.js} +4 -4
- package/dist/{chunk-3NN73CM7.js → chunk-TH7WMHVK.js} +2 -2
- package/dist/{chunk-RNWWAS5V.js → chunk-TJATYB3F.js} +11 -11
- package/dist/{chunk-C3IHRWIC.js → chunk-UQJ6YTKR.js} +2 -2
- package/dist/{chunk-PN5AMCK2.js → chunk-VL5QHTJI.js} +56 -56
- package/dist/{chunk-34THARMH.js → chunk-XBM5DG4O.js} +665 -577
- package/dist/chunk-XBM5DG4O.js.map +1 -0
- package/dist/{chunk-BWOEYBRB.js → chunk-XCXN3D2U.js} +2 -2
- package/dist/{chunk-KY4WOZ3P.js → chunk-XD6JVK5P.js} +42 -42
- package/dist/{chunk-WRFKZEO6.js → chunk-YQGHW5ML.js} +4 -4
- package/dist/{cli-DqonYBZ0.d.ts → cli-BJQ2ahrh.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +55 -55
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +7 -7
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +7 -7
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +7 -7
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/backend.js +2 -2
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +7 -7
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -4
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-faithfulness.js +3 -3
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-judge.js +3 -3
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +3 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +149 -149
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +4 -4
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +7 -7
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
- package/dist/maintenance/rebuild-memory-projection.js +8 -8
- package/dist/mcp-memory-inspector-app.d.ts +5 -5
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +2 -2
- package/dist/namespaces/migrate.js +17 -17
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +9 -9
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +7 -7
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +21 -21
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +9 -9
- package/dist/{orchestrator-D7ZGOQLX.d.ts → orchestrator-Xm6sK5jw.d.ts} +3 -3
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +75 -75
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-planner-llm.js +2 -2
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/schemas.d.ts +100 -100
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +8 -8
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +13 -13
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/orama-backend.js +2 -2
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-7Sndms2M.d.ts → semantic-consolidation-bfXJNKVf.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +8 -8
- package/dist/semantic-rule-promotion.js +7 -7
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +7 -7
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +9 -9
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +11 -21
- package/dist/storage.js +14 -6
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +1 -1
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +1 -1
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-DTEFxFuL.d.ts → types-D1iBqhJA.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +7 -7
- package/package.json +2 -2
- package/src/access-lcm-surface.ts +517 -0
- package/src/access-service.ts +21 -417
- package/src/storage/entity-store.ts +672 -0
- package/src/storage.ts +45 -565
- package/dist/chunk-34THARMH.js.map +0 -1
- package/dist/chunk-ZECLLIMX.js.map +0 -1
- /package/dist/{auto-sync-IEBKPGAM.js.map → auto-sync-G4YKBPOU.js.map} +0 -0
- /package/dist/{chunk-HAZVVOYT.js.map → chunk-24463PIV.js.map} +0 -0
- /package/dist/{chunk-GWGWBK5Y.js.map → chunk-2MR3MFQB.js.map} +0 -0
- /package/dist/{chunk-YTU7WKYN.js.map → chunk-2OZ2JEUP.js.map} +0 -0
- /package/dist/{chunk-AU7Q3LSC.js.map → chunk-2QSZNTDO.js.map} +0 -0
- /package/dist/{chunk-EHYB325U.js.map → chunk-3DOD6ICJ.js.map} +0 -0
- /package/dist/{chunk-KYHGLDFU.js.map → chunk-4LQUYBZM.js.map} +0 -0
- /package/dist/{chunk-VUA4S7P6.js.map → chunk-5J4OL7TJ.js.map} +0 -0
- /package/dist/{chunk-TVISHYL5.js.map → chunk-CIDGUFAL.js.map} +0 -0
- /package/dist/{chunk-OUXPVWTZ.js.map → chunk-FLVL4L3L.js.map} +0 -0
- /package/dist/{chunk-3HGZX26P.js.map → chunk-FOJY75BL.js.map} +0 -0
- /package/dist/{chunk-VVSV2QVY.js.map → chunk-FQLM6ZUP.js.map} +0 -0
- /package/dist/{chunk-LZ73Y56P.js.map → chunk-G7LCG56O.js.map} +0 -0
- /package/dist/{chunk-ZMHDSIEX.js.map → chunk-GGYUR4M2.js.map} +0 -0
- /package/dist/{chunk-YNBEHUZH.js.map → chunk-GMWKWA6N.js.map} +0 -0
- /package/dist/{chunk-JGPURIEH.js.map → chunk-GPFXPC2V.js.map} +0 -0
- /package/dist/{chunk-E6LENGYV.js.map → chunk-H6S3DJVE.js.map} +0 -0
- /package/dist/{chunk-E3MRYDUQ.js.map → chunk-I3UWEZTK.js.map} +0 -0
- /package/dist/{chunk-ZIFPFKB2.js.map → chunk-I6IAJCJS.js.map} +0 -0
- /package/dist/{chunk-JES2O5Q6.js.map → chunk-JITAVROY.js.map} +0 -0
- /package/dist/{chunk-DKIZ4BUQ.js.map → chunk-KKOCFUI5.js.map} +0 -0
- /package/dist/{chunk-LQ6JI4VH.js.map → chunk-LD53WPMU.js.map} +0 -0
- /package/dist/{chunk-N3VE7OCY.js.map → chunk-LFKEFIJA.js.map} +0 -0
- /package/dist/{chunk-EEO4YWQ7.js.map → chunk-N4AGSRVA.js.map} +0 -0
- /package/dist/{chunk-QIRZI3C3.js.map → chunk-NCNOYM6F.js.map} +0 -0
- /package/dist/{chunk-3ZIKDH6C.js.map → chunk-OCFITZRV.js.map} +0 -0
- /package/dist/{chunk-ITLJATQI.js.map → chunk-PJ7DIEFC.js.map} +0 -0
- /package/dist/{chunk-OZMBT7N3.js.map → chunk-PJQMISPD.js.map} +0 -0
- /package/dist/{chunk-XOPLMSVV.js.map → chunk-S6UCPBPL.js.map} +0 -0
- /package/dist/{chunk-243P7YYV.js.map → chunk-SP42M3XP.js.map} +0 -0
- /package/dist/{chunk-DCWIQFNA.js.map → chunk-T422SYM6.js.map} +0 -0
- /package/dist/{chunk-AXBRVBT6.js.map → chunk-T6WHI3JW.js.map} +0 -0
- /package/dist/{chunk-5CEJH5ZN.js.map → chunk-TAPSNIMA.js.map} +0 -0
- /package/dist/{chunk-3NN73CM7.js.map → chunk-TH7WMHVK.js.map} +0 -0
- /package/dist/{chunk-RNWWAS5V.js.map → chunk-TJATYB3F.js.map} +0 -0
- /package/dist/{chunk-C3IHRWIC.js.map → chunk-UQJ6YTKR.js.map} +0 -0
- /package/dist/{chunk-PN5AMCK2.js.map → chunk-VL5QHTJI.js.map} +0 -0
- /package/dist/{chunk-BWOEYBRB.js.map → chunk-XCXN3D2U.js.map} +0 -0
- /package/dist/{chunk-KY4WOZ3P.js.map → chunk-XD6JVK5P.js.map} +0 -0
- /package/dist/{chunk-WRFKZEO6.js.map → chunk-YQGHW5ML.js.map} +0 -0
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
|
-
tags?: string[] | undefined;
|
|
383
|
+
namespace?: string | undefined;
|
|
384
384
|
entityRef?: string | undefined;
|
|
385
|
-
|
|
385
|
+
confidence?: number | 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
|
-
tags?: string[] | undefined;
|
|
398
|
+
namespace?: string | undefined;
|
|
399
399
|
entityRef?: string | undefined;
|
|
400
|
-
|
|
400
|
+
confidence?: number | 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
|
-
tags?: string[] | undefined;
|
|
429
|
+
namespace?: string | undefined;
|
|
430
430
|
entityRef?: string | undefined;
|
|
431
|
-
|
|
431
|
+
confidence?: number | 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
|
-
tags?: string[] | undefined;
|
|
444
|
+
namespace?: string | undefined;
|
|
445
445
|
entityRef?: string | undefined;
|
|
446
|
-
|
|
446
|
+
confidence?: number | 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
|
-
memoryId: string;
|
|
461
459
|
status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
|
|
460
|
+
memoryId: string;
|
|
461
|
+
reasonCode: string;
|
|
462
462
|
namespace?: string | undefined;
|
|
463
463
|
}, {
|
|
464
|
-
reasonCode: string;
|
|
465
|
-
memoryId: string;
|
|
466
464
|
status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
|
|
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-schema.js
CHANGED
|
@@ -25,14 +25,17 @@ import {
|
|
|
25
25
|
trustZoneDemoSeedRequestSchema,
|
|
26
26
|
trustZonePromoteRequestSchema,
|
|
27
27
|
validateRequest
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-J4EB7DNW.js";
|
|
28
|
+
} from "./chunk-2MR3MFQB.js";
|
|
29
|
+
import "./chunk-FLVL4L3L.js";
|
|
31
30
|
import "./chunk-WEHSQBFR.js";
|
|
32
31
|
import "./chunk-437S3G37.js";
|
|
33
32
|
import "./chunk-GWTFLF2P.js";
|
|
34
33
|
import "./chunk-UKJAGEXH.js";
|
|
35
34
|
import "./chunk-FP2373TW.js";
|
|
35
|
+
import "./chunk-J4EB7DNW.js";
|
|
36
|
+
import "./chunk-Z2YFLXHU.js";
|
|
37
|
+
import "./chunk-I4WBNM3M.js";
|
|
38
|
+
import "./chunk-SOAU2OE2.js";
|
|
36
39
|
import "./chunk-X64YLC24.js";
|
|
37
40
|
import "./chunk-UI3NYK34.js";
|
|
38
41
|
import "./chunk-GCGJW34D.js";
|
|
@@ -40,9 +43,6 @@ import "./chunk-J2HSAU72.js";
|
|
|
40
43
|
import "./chunk-A6XUJE5D.js";
|
|
41
44
|
import "./chunk-P7FMDTKL.js";
|
|
42
45
|
import "./chunk-VS2IYZRU.js";
|
|
43
|
-
import "./chunk-Z2YFLXHU.js";
|
|
44
|
-
import "./chunk-I4WBNM3M.js";
|
|
45
|
-
import "./chunk-SOAU2OE2.js";
|
|
46
46
|
import "./chunk-PZ5AY32C.js";
|
|
47
47
|
export {
|
|
48
48
|
actionConfidenceRequestSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as NamespaceRecord } from './catalog-
|
|
2
|
-
import { P as PluginConfig,
|
|
3
|
-
import { R as ResolvedScopeProfilePlan, O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, S as ScopeProfileLayerResolution, a as ScopeProfilePromotionResolution, W as WearablesService } from './orchestrator-
|
|
1
|
+
import { a as NamespaceRecord } from './catalog-DaKAFbSJ.js';
|
|
2
|
+
import { P as PluginConfig, aA as CodingContext, h as MemoryCategory, z as DaySummaryResult, b as RecallPlanMode, R as RecallDisclosure, M as MemoryFile, w as MemoryLifecycleEvent, E as EntityFile, u as MemoryStatus, aB as DreamsStatusResult, D as DreamsPhase, a as DreamsRunResult } from './types-D1iBqhJA.js';
|
|
3
|
+
import { R as ResolvedScopeProfilePlan, O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, S as ScopeProfileLayerResolution, a as ScopeProfilePromotionResolution, W as WearablesService } from './orchestrator-Xm6sK5jw.js';
|
|
4
4
|
import { StorageManager } from './storage.js';
|
|
5
5
|
import { a as Peer, b as PeerProfile } from './types-B1VHaf2w.js';
|
|
6
6
|
import { RecallExplainJsonPayload } from './recall-explain-renderer.js';
|
|
@@ -1726,6 +1726,9 @@ declare class EngramAccessService {
|
|
|
1726
1726
|
private readonly budgetLocks;
|
|
1727
1727
|
private readonly budget;
|
|
1728
1728
|
private readonly auditAdapter;
|
|
1729
|
+
/** AccessLcmSurface (access-service decomposition). Lazy; selfDeps live wiring. */
|
|
1730
|
+
private _accessLcmSurface;
|
|
1731
|
+
private get accessLcmSurface();
|
|
1729
1732
|
/** AccessAdminOpsSurface (access-service decomposition). Lazy; selfDeps live wiring. */
|
|
1730
1733
|
private _accessAdminOpsSurface;
|
|
1731
1734
|
private get accessAdminOpsSurface();
|
|
@@ -2132,70 +2135,7 @@ declare class EngramAccessService {
|
|
|
2132
2135
|
* so the read key is byte-for-byte what the LCM write and the recall readers
|
|
2133
2136
|
* use.
|
|
2134
2137
|
*/
|
|
2135
|
-
/**
|
|
2136
|
-
* Resolve the effective LCM NAMESPACE a same-session operation must prefix
|
|
2137
|
-
* with (the namespace half of {@link resolveLcmReadSessionKey}). Split out so
|
|
2138
|
-
* `lcmSearch` can apply ONE namespace to BOTH its `sessionKey` and its
|
|
2139
|
-
* `sessionPrefix` — the prefix is a search fragment, not a real session, so its
|
|
2140
|
-
* own coding context can't be looked up; it must inherit the namespace resolved
|
|
2141
|
-
* from the real session (`sessionKeyForOverlay`).
|
|
2142
|
-
*
|
|
2143
|
-
* `purpose` selects the AUTHORIZATION gate applied before honouring the
|
|
2144
|
-
* coding overlay (#1505 round 3 + round 4, codex P2):
|
|
2145
|
-
*
|
|
2146
|
-
* - `"read"` (`lcmSearch` / raw-excerpt recall): the overlay rows are only
|
|
2147
|
-
* visible when the principal SELF base is in the READABLE RECALL SET — the
|
|
2148
|
-
* same gate the orchestrator's `lcmReadNamespaceForSession` and the recall
|
|
2149
|
-
* namespace set use (`recallNamespacesForPrincipal`, gated by both
|
|
2150
|
-
* `defaultRecallNamespaces.includes("self")` AND `canReadNamespace`). A
|
|
2151
|
-
* caller that passed the default read check must NOT receive
|
|
2152
|
-
* `<principal>-project-*` rows the policy never granted (cross-tenant read
|
|
2153
|
-
* leak). When the self base is not readable, keep the just-authorized
|
|
2154
|
-
* namespace (collapses to the raw key on the default store).
|
|
2155
|
-
*
|
|
2156
|
-
* - `"write"` (`lcmCompactionFlush` / `lcmCompactionRecord`): these are
|
|
2157
|
-
* write/maintenance operations on the SAME queue `observe` just wrote, so
|
|
2158
|
-
* the gate must mirror observe's WRITE authorization (`canWriteNamespace`
|
|
2159
|
-
* on the self base), NOT readability. A principal that can WRITE but not
|
|
2160
|
-
* READ its self namespace (or whose `defaultRecallNamespaces` omits `self`)
|
|
2161
|
-
* archived under the overlay key via `observe`; gating compaction by
|
|
2162
|
-
* readability would fall back to the default/raw key and leave that queue
|
|
2163
|
-
* never flushed/recorded (round-4 codex P2). Write-authorized ⇒ overlay
|
|
2164
|
-
* key, matching the observe write key (rule 42 read/write parity; rule 39
|
|
2165
|
-
* identical gates across paths).
|
|
2166
|
-
*/
|
|
2167
2138
|
private resolveLcmReadNamespace;
|
|
2168
|
-
/**
|
|
2169
|
-
* Resolve the namespace the raw-disclosure excerpt lookup
|
|
2170
|
-
* ({@link fetchRawExcerpts}) must prefix its LCM `session_id` with (#1505
|
|
2171
|
-
* thread 2f7). Raw disclosure reads the SAME LCM archive `lcmSearch` and the
|
|
2172
|
-
* in-prompt LCM sections read, so it MUST pass through the identical
|
|
2173
|
-
* read-authorization gate — NOT `snapshot.namespace`, which records the
|
|
2174
|
-
* effective WRITE/overlay namespace (`<principal>-project-*`) even when the
|
|
2175
|
-
* principal can WRITE but not READ its self base (or `defaultRecallNamespaces`
|
|
2176
|
-
* omits `self`). Routing through `resolveLcmReadNamespace(..., "read")` makes
|
|
2177
|
-
* raw disclosure fall back to the default store exactly like normal recall +
|
|
2178
|
-
* `lcmSearch`, so it never attaches overlay transcript rows the read gate
|
|
2179
|
-
* excludes (cross-tenant read leak). Collapses to the default store / raw
|
|
2180
|
-
* sessionKey for single-store / no-overlay / explicit-default flows, so
|
|
2181
|
-
* single-user recall is byte-for-byte unchanged.
|
|
2182
|
-
*
|
|
2183
|
-
* Returns `undefined` when NO readable LCM namespace exists for an IMPLICIT
|
|
2184
|
-
* (no explicit `namespace`) raw recall — i.e. a restrictive `default` READ
|
|
2185
|
-
* policy denies the principal `default` AND no overlay/self namespace is
|
|
2186
|
-
* readable. In that case the caller emits NO excerpts rather than throwing
|
|
2187
|
-
* `namespace is not readable: default` (#1505 thread NBHWz): normal recall
|
|
2188
|
-
* still succeeds via `recallNamespacesForPrincipal`, so `disclosure: "raw"`
|
|
2189
|
-
* must degrade gracefully (empty excerpts), never pre-authorize `default`.
|
|
2190
|
-
*
|
|
2191
|
-
* IMPLICIT-namespace fallback selection derives from the ALREADY
|
|
2192
|
-
* read-authorized recall namespace set (`recallNamespacesForPrincipal` +
|
|
2193
|
-
* `canReadNamespace`) — the principal's self base when it is in the readable
|
|
2194
|
-
* recall set, else `config.defaultNamespace` ONLY when the principal may read
|
|
2195
|
-
* it. It NEVER pre-authorizes `default`. An EXPLICIT `namespace` is still
|
|
2196
|
-
* authorized strictly via `resolveReadableNamespace` (explicit reads must pass
|
|
2197
|
-
* the ACL — no behavior change).
|
|
2198
|
-
*/
|
|
2199
2139
|
private resolveRawExcerptReadNamespace;
|
|
2200
2140
|
/**
|
|
2201
2141
|
* The base `resolvedNamespace` an IMPLICIT (no explicit `namespace`)
|
|
@@ -2784,4 +2724,4 @@ declare class EngramAccessService {
|
|
|
2784
2724
|
}): Promise<MemoryPromotionResult>;
|
|
2785
2725
|
}
|
|
2786
2726
|
|
|
2787
|
-
export { type EngramAccessObserveResponse as $, type AccessProfilingReportRequest as A, type
|
|
2727
|
+
export { type EngramAccessObserveResponse as $, type AccessProfilingReportRequest as A, type EngramAccessActionConfidenceRequest as B, type CodegraphSurfaceRequest as C, type DecisionSurfaceRequest as D, type EngramAccessReviewQueueResponse as E, type EngramAccessActionConfidenceResponse as F, type EngramAccessBriefingRequest as G, type EngramAccessBriefingResponse as H, type EngramAccessDaySummaryRequest as I, type EngramAccessEntityListResponse as J, type EngramAccessEntityResponse as K, type EngramAccessEntitySummary as L, type MemoryPromotionTargetKind as M, type EngramAccessHealthResponse as N, type EngramAccessLcmCompactionFlushRequest as O, type ProcedureStatsConfigSnapshot as P, type EngramAccessLcmCompactionFlushResponse as Q, type EngramAccessLcmCompactionRecordRequest as R, type EngramAccessLcmCompactionRecordResponse as S, type EngramAccessLcmStatusResponse as T, type EngramAccessMaintenanceResponse as U, type EngramAccessMemoryBrowseRequest as V, type EngramAccessMemoryBrowseResponse as W, type EngramAccessMemoryRecord as X, type EngramAccessMemoryStoreRequest as Y, type EngramAccessObserveMessage as Z, type EngramAccessObserveRequest as _, type AccessProfilingReportResponse as a, type EngramAccessOfflineSyncApplyFileContentRequest as a0, type EngramAccessOfflineSyncApplyFileContentResponse as a1, type EngramAccessOfflineSyncApplyRequest as a2, type EngramAccessOfflineSyncApplyResponse as a3, type EngramAccessOfflineSyncFileContentRequest as a4, type EngramAccessOfflineSyncFileContentResponse as a5, type EngramAccessOfflineSyncFilesRequest as a6, type EngramAccessOfflineSyncFilesResponse as a7, type EngramAccessOfflineSyncSnapshotRequest as a8, type EngramAccessOfflineSyncSnapshotResponse as a9, type EngramAccessOfflineSyncSnapshotStreamResponse as aa, type EngramAccessQmdCollectionState as ab, type EngramAccessQmdHealthResponse as ac, type EngramAccessQualityResponse as ad, type EngramAccessRecallExplainRequest as ae, type EngramAccessRecallExplainResponse as af, type EngramAccessReviewDispositionRequest as ag, type EngramAccessReviewDispositionResponse as ah, type EngramAccessScopeDebug as ai, type EngramAccessSuggestionSubmitRequest as aj, type EngramAccessTimelineResponse as ak, type EngramAccessTrustZoneBrowseRequest as al, type EngramAccessTrustZoneBrowseResponse as am, type EngramAccessTrustZoneDemoSeedRequest as an, type EngramAccessTrustZoneDemoSeedResponse as ao, type EngramAccessTrustZonePromoteRequest as ap, type EngramAccessTrustZonePromoteResponse as aq, type EngramAccessTrustZoneRecordSummary as ar, type EngramAccessTrustZoneStatusResponse as as, type EngramAccessWriteEnvelope as at, type MemoryScopePlan as au, buildProjectedGovernanceProposedActions as av, hasGroupedGovernanceActions as aw, shapeMemorySummary as ax, type EngramAccessCapsuleListResponse as b, type MemoryPromotionResult as c, type EngramAccessLcmSearchRequest as d, type EngramAccessLcmSearchResponse as e, type ArchitectureSurfaceRequest as f, type ArchitectureSurfaceResponse as g, type DecisionSurfaceResponse as h, type DeltaSurfaceRequest as i, type DeltaSurfaceResponse as j, type EngramAccessMemoryResponse as k, type EngramAccessWriteResponse as l, type CodegraphSurfaceResponse as m, type EngramAccessRecallResponse as n, type EngramAccessMemorySummary as o, type EngramAccessSetCodingContextRequest as p, type EngramAccessRecallRequest as q, EngramAccessService as r, EngramAccessInputError as s, type ProcedureStatsRecent as t, type ProcedureStatsReport as u, type ProcedureStatusCounts as v, computeProcedureStats as w, formatProcedureStatsText as x, type CodingScopedWriteInput as y, ENGRAM_ACCESS_WRITE_SCHEMA_VERSION as z };
|
package/dist/access-service.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as AccessProfilingReportRequest, a as AccessProfilingReportResponse,
|
|
1
|
+
export { A as AccessProfilingReportRequest, a as AccessProfilingReportResponse, y as CodingScopedWriteInput, z as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, B as EngramAccessActionConfidenceRequest, F as EngramAccessActionConfidenceResponse, G as EngramAccessBriefingRequest, H as EngramAccessBriefingResponse, b as EngramAccessCapsuleListResponse, I as EngramAccessDaySummaryRequest, J as EngramAccessEntityListResponse, K as EngramAccessEntityResponse, L as EngramAccessEntitySummary, N as EngramAccessHealthResponse, s as EngramAccessInputError, O as EngramAccessLcmCompactionFlushRequest, Q as EngramAccessLcmCompactionFlushResponse, R as EngramAccessLcmCompactionRecordRequest, S as EngramAccessLcmCompactionRecordResponse, d as EngramAccessLcmSearchRequest, e as EngramAccessLcmSearchResponse, T as EngramAccessLcmStatusResponse, U as EngramAccessMaintenanceResponse, V as EngramAccessMemoryBrowseRequest, W as EngramAccessMemoryBrowseResponse, X as EngramAccessMemoryRecord, k as EngramAccessMemoryResponse, Y as EngramAccessMemoryStoreRequest, o as EngramAccessMemorySummary, Z as EngramAccessObserveMessage, _ as EngramAccessObserveRequest, $ as EngramAccessObserveResponse, a0 as EngramAccessOfflineSyncApplyFileContentRequest, a1 as EngramAccessOfflineSyncApplyFileContentResponse, a2 as EngramAccessOfflineSyncApplyRequest, a3 as EngramAccessOfflineSyncApplyResponse, a4 as EngramAccessOfflineSyncFileContentRequest, a5 as EngramAccessOfflineSyncFileContentResponse, a6 as EngramAccessOfflineSyncFilesRequest, a7 as EngramAccessOfflineSyncFilesResponse, a8 as EngramAccessOfflineSyncSnapshotRequest, a9 as EngramAccessOfflineSyncSnapshotResponse, aa as EngramAccessOfflineSyncSnapshotStreamResponse, ab as EngramAccessQmdCollectionState, ac as EngramAccessQmdHealthResponse, ad as EngramAccessQualityResponse, ae as EngramAccessRecallExplainRequest, af as EngramAccessRecallExplainResponse, q as EngramAccessRecallRequest, n as EngramAccessRecallResponse, ag as EngramAccessReviewDispositionRequest, ah as EngramAccessReviewDispositionResponse, E as EngramAccessReviewQueueResponse, ai as EngramAccessScopeDebug, r as EngramAccessService, p as EngramAccessSetCodingContextRequest, aj as EngramAccessSuggestionSubmitRequest, ak as EngramAccessTimelineResponse, al as EngramAccessTrustZoneBrowseRequest, am as EngramAccessTrustZoneBrowseResponse, an as EngramAccessTrustZoneDemoSeedRequest, ao as EngramAccessTrustZoneDemoSeedResponse, ap as EngramAccessTrustZonePromoteRequest, aq as EngramAccessTrustZonePromoteResponse, ar as EngramAccessTrustZoneRecordSummary, as as EngramAccessTrustZoneStatusResponse, at as EngramAccessWriteEnvelope, l as EngramAccessWriteResponse, au as MemoryScopePlan, av as buildProjectedGovernanceProposedActions, aw as hasGroupedGovernanceActions, ax as shapeMemorySummary } from './access-service-C3jkLi2U.js';
|
|
2
2
|
import './storage.js';
|
|
3
3
|
import './types-B1VHaf2w.js';
|
|
4
4
|
import './recall-explain-renderer.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-D1iBqhJA.js';
|
|
6
6
|
import './recall-audit-anomaly.js';
|
|
7
|
-
import './orchestrator-
|
|
7
|
+
import './orchestrator-Xm6sK5jw.js';
|
|
8
8
|
import './explicit-capture.js';
|
|
9
9
|
import './cross-namespace-budget.js';
|
|
10
10
|
import './maintenance/memory-governance.js';
|
|
@@ -23,7 +23,7 @@ import './transfer/capsule-export.js';
|
|
|
23
23
|
import './capsule-cli.js';
|
|
24
24
|
import './offline-sync.js';
|
|
25
25
|
import './action-confidence.js';
|
|
26
|
-
import './catalog-
|
|
26
|
+
import './catalog-DaKAFbSJ.js';
|
|
27
27
|
import './page-versioning.js';
|
|
28
28
|
import './consolidation-operator.js';
|
|
29
29
|
import './memory-projection-store.js';
|
|
@@ -53,7 +53,7 @@ import './utility-runtime.js';
|
|
|
53
53
|
import './tier-routing.js';
|
|
54
54
|
import './lifecycle.js';
|
|
55
55
|
import './orchestration/compression-guideline-coordinator.js';
|
|
56
|
-
import './semantic-consolidation-
|
|
56
|
+
import './semantic-consolidation-bfXJNKVf.js';
|
|
57
57
|
import './connectors/codex-materialize.js';
|
|
58
58
|
import './logger.js';
|
|
59
59
|
import './embedding-fallback.js';
|