@avantf/dsh-mem 0.6.3 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  {
2
- "baseVersion": "0.4.2",
3
- "interfaceVersion": 3
2
+ "baseVersion": "0.5.2",
3
+ "interfaceVersion": 4
4
4
  }
@@ -0,0 +1,61 @@
1
+ import { defaultFactsExportPath as defaultExportPath, type AvantfRuntime } from '../engine/mem/index.js';
2
+ import { type AvantfLogger } from '../engine/mem-contract/index.js';
3
+ /** What one `/mem` invocation answers; the command service renders `text` verbatim. */
4
+ export interface MemCommandResult {
5
+ kind: 'success' | 'error';
6
+ text: string;
7
+ }
8
+ /** The slice of the host `commands` service this module calls. */
9
+ export interface MemCommandsService {
10
+ register(definition: {
11
+ name: string;
12
+ description: string;
13
+ input?: {
14
+ hint?: string;
15
+ };
16
+ handler: (invocation: {
17
+ rawInput: string;
18
+ }) => MemCommandResult | Promise<MemCommandResult>;
19
+ }): unknown;
20
+ }
21
+ /** The slice of a Cordis context registration needs — deliberately structural. */
22
+ export interface MemCommandContext {
23
+ get(name: string): unknown;
24
+ }
25
+ /** Registration options; the degraded path supplies the reason its runtime never opened. */
26
+ export interface RegisterMemCommandOptions {
27
+ /**
28
+ * When set, the command always answers with this reason instead of touching a runtime. The
29
+ * degraded mount passes the SAME `describeError` message its tools report.
30
+ */
31
+ degradedReason?: string;
32
+ }
33
+ /** One short description shared by registration and the help text. */
34
+ export declare const MEM_COMMAND_DESCRIPTION: string;
35
+ /** The input placeholder advertised to capable clients. */
36
+ export declare const MEM_COMMAND_INPUT_HINT = "[export [path] [--brotli|--gzip|--plain] | import <file> [--dry-run] [--source-ref <text>] | merge <db-path> [--dry-run] [--source-ref <text>]]";
37
+ /** Kept as this module's public name for the shared default-path rule (the one in the engine). */
38
+ export { defaultExportPath };
39
+ /**
40
+ * Run one `/mem` invocation. Pure of host services: the caller only needs a built runtime,
41
+ * which is what makes the whole command testable without mounting the plugin.
42
+ *
43
+ * @param rt - the live runtime (the same instance the tools use).
44
+ * @param rawInput - the text after `/mem` (may be empty).
45
+ * @returns a success or error result whose `text` is already human-readable Chinese.
46
+ */
47
+ export declare function runMemCommand(rt: AvantfRuntime, rawInput: string): Promise<MemCommandResult>;
48
+ /**
49
+ * Register the one `mem` slash command, when the host has a command service.
50
+ *
51
+ * Missing `commands` is a WARNING, not a mount failure: this plugin's tools, service, prompt
52
+ * and Remote face must survive a host that has no human-command registry. A registration that
53
+ * throws is contained for the same reason.
54
+ *
55
+ * @param ctx - the plugin context; only `get` is called.
56
+ * @param rt - the live runtime, or `undefined` on the degraded mount.
57
+ * @param log - the plugin logger.
58
+ * @param options - `degradedReason` makes the command report the runtime failure instead of running.
59
+ */
60
+ export declare function registerMemCommand(ctx: MemCommandContext, rt: AvantfRuntime | undefined, log: AvantfLogger, options?: RegisterMemCommandOptions): void;
61
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/command.ts"],"names":[],"mappings":"AA8BA,OAAO,EAGL,sBAAsB,IAAI,iBAAiB,EAM3C,KAAK,aAAa,EAKnB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEpE,uFAAuF;AACvF,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,SAAS,GAAG,OAAO,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,kEAAkE;AAClE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,UAAU,EAAE;QACnB,IAAI,EAAE,MAAM,CAAA;QACZ,WAAW,EAAE,MAAM,CAAA;QACnB,KAAK,CAAC,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;QACzB,OAAO,EAAE,CAAC,UAAU,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,KAAK,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;KAC5F,GAAG,OAAO,CAAA;CACZ;AAED,kFAAkF;AAClF,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAC3B;AAED,4FAA4F;AAC5F,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAWD,sEAAsE;AACtE,eAAO,MAAM,uBAAuB,QAEiB,CAAA;AAErD,2DAA2D;AAC3D,eAAO,MAAM,sBAAsB,oJACgH,CAAA;AAMnJ,kGAAkG;AAClG,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAsT5B;;;;;;;GAOG;AACH,wBAAsB,aAAa,CAAC,EAAE,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAkClG;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,iBAAiB,EACtB,EAAE,EAAE,aAAa,GAAG,SAAS,EAC7B,GAAG,EAAE,YAAY,EACjB,OAAO,GAAE,yBAA8B,GACtC,IAAI,CA+CN"}
@@ -3,18 +3,20 @@
3
3
  * @module bootstrap
4
4
  */
5
5
  /** The bootstrap version; the resolved framework must satisfy {@link supportedRange}. */
6
- export declare const VERSION = "0.4.2";
6
+ export declare const VERSION = "0.5.2";
7
7
  /**
8
8
  * The framework interval this bootstrap can launch.
9
9
  *
10
- * Kept equal to the plugins' peer range for the base: the plugin passes no override, so THIS is the
11
- * runtime gate. It is a plain comparator interval, NOT a caret: the package version is ordinary
12
- * semver again and no longer tracks the interface, so the interval stays as wide as the family's
13
- * compatibility promise — `>=0.3.0 <1.0.0` admits every 0.x base this generation of plugins can
14
- * consume, and stops at the major that invented a new interface generation. The interface itself is
15
- * the separate, runtime axis: a base inside this interval whose `INTERFACE_VERSION` differs is judged
16
- * by the base's own gate (INTERFACE.md §1, §3) — an OLDER base degrades, a NEWER one is `ok` + a
17
- * warning (generations are additive), and neither ever refuses the mount.
10
+ * This is the PACKAGE-version window, and nothing else: the interval is byte-for-byte the range the
11
+ * plugins declare in their `dependencies` for the base (the install-time gate; the base is a plain
12
+ * dependency, not a peer) and the plugin passes no override, so THIS is the runtime gate too. It is
13
+ * a plain comparator interval, NOT a caret: the package version is ordinary semver and does not
14
+ * track the interface, so the interval stays as wide as the family's compatibility promise —
15
+ * `>=0.3.0 <1.0.0` admits every 0.x base this generation of plugins can consume. Its upper bound
16
+ * marks no generation boundary. Generation is the separate, runtime axis, judged on its own: the
17
+ * base's `INTERFACE_VERSION` is compared by the base's gate (INTERFACE.md §1, §3) — an OLDER base
18
+ * degrades to `incompatible`, a NEWER one is `ok` + a WARNING (generations are additive), and
19
+ * neither ever refuses the mount.
18
20
  */
19
21
  export declare const supportedRange = ">=0.3.0 <1.0.0";
20
22
  /** Sink for the warnings that replace a throw. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AASlD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAExC,OAAO,EAAE,mBAAmB,EAAU,MAAM,kCAAkC,CAAA;AAE9E,OAAO,EASL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,WAAW,EAEhB,KAAK,WAAW,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,EAaL,KAAK,aAAa,EAClB,KAAK,WAAW,EAEhB,KAAK,YAAY,EACjB,KAAK,cAAc,EAEnB,KAAK,oBAAoB,EAG1B,MAAM,sBAAsB,CAAA;AAqB7B,eAAO,MAAM,IAAI,eAAe,CAAA;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAGpC,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,aAAa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AAC,cAAc,CAAC,aAAa,CAAC,CAAC;IAUvE;;;;OAIG;IAEG,SAAS,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC;IAQvG;;;;OAIG;IAEG,WAAW,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC,CAAC;IAUpG;;;;;OAKG;IAEG,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAiBpE;AAmHD,wBAAsB,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgavE"}
@@ -13,19 +13,19 @@
13
13
  * the legacy path — but the plugin ALWAYS mounts (tools, service, Remote and UI stay registered).
14
14
  * "Cannot tell" is never "incompatible": it warns and uses the base normally.
15
15
  *
16
- * **This file is a SHARED SHIM and must stay byte-identical in BOTH plugins** — only the `@module`
17
- * line below differs. Everything here is the consumption contract and the ONE verdict→decision
16
+ * **This file is a SHARED SHIM and must stay byte-identical in ALL THREE plugin trees** — only the
17
+ * `@module` line below differs. Everything here is the consumption contract and the ONE verdict→decision
18
18
  * mapping; nothing in it is plugin-specific by construction. What IS plugin-specific (which text the
19
19
  * prompt layer falls back to, which resources take the legacy path) belongs in that plugin's own
20
- * `envinit.ts`, never here. `base/plugin-base/test/interface_consumers.spec.ts` pins the two copies
21
- * against each other, so a divergence is a red test instead of two shims that drifted.
20
+ * `envinit.ts`, never here. `base/plugin-base/test/interface_consumers.spec.ts` pins the three
21
+ * copies against each other, so a divergence is a red test instead of three shims that drifted.
22
22
  *
23
- * The loader SKELETON the two startups share lives here too: the once-per-process cache
23
+ * The loader SKELETON every startup shares lives here too: the once-per-process cache
24
24
  * ({@link createLoadCache}), the guard that turns any throw into one warning
25
25
  * ({@link loadGuarded}), and the gate→decision step ({@link gateOrDegrade}). Those sentences are
26
- * observably NOT the same in the two plugins, so every shared function takes them as
27
- * {@link DegradeWords}: the shim owns the mechanism, the caller owns the wording, and the two trees'
28
- * `envinit.spec.ts` pin each plugin's own text verbatim.
26
+ * observably NOT the same in each tree, so every shared function takes them as
27
+ * {@link DegradeWords}: the shim owns the mechanism, the caller owns the wording, and each tree's
28
+ * `envinit.spec.ts` pins its own text verbatim.
29
29
  *
30
30
  * @module @avantf/dsh-mem/interface_gate
31
31
  */
@@ -113,7 +113,7 @@ export declare function createLoadCache<O, T>(guarded: (options: O) => Promise<T
113
113
  * inside that window and half-register a plugin (the Remote face cannot be rolled back). A fiberless
114
114
  * stub counts as active: an unknown shape is "cannot tell", never "disposed".
115
115
  *
116
- * Generic Cordis liveness rather than interface-gate knowledge — but the two plugins' startup paths
116
+ * Generic Cordis liveness rather than interface-gate knowledge — but every plugin's startup path
117
117
  * share it byte-for-byte, so it lives with their one shared shim, where the two readings of "is my
118
118
  * context alive" cannot drift.
119
119
  */
@@ -70,8 +70,15 @@ export declare function wireErr(failure: Omit<RemoteErr, 'wire'>): RemoteErr;
70
70
  * the one inside the installed harness build), so no imported field type can be both correct and
71
71
  * stable; and the registry's field type is generation-specific (`TypertSchema['schema']` in 0.1.5,
72
72
  * `TypertSchemaFactory['create']`'s return in 0.1.6+, the name gone in 0.1.7), so naming it is what
73
- * broke this file's compilation on 0.1.7. The two copies are structurally identical, which is why the
74
- * declared entries stay assignable to whichever entry type the installed host declares.
73
+ * broke this file's compilation on 0.1.7.
74
+ *
75
+ * The two copies are structurally identical but NOT type-identical, and the host's own copy is not one
76
+ * version: 0.1.5 declares `zod: ^4.4.3` (a caret, so the install resolves the newest 4.x — 4.6.7) while
77
+ * 0.2.1-rc.2 pins `zod: "4.4.3"` exactly. `_zod.version.minor` is a literal type, so whichever minor we
78
+ * compile with, the other host's `TypertSchema['schema']` disagrees with it. That is why the `schemas`
79
+ * ASSIGNMENT below carries one explicit cast: the values are interchangeable at runtime (a schema
80
+ * carries its own methods, and the registry only calls them), while the type cannot be. Same trade the
81
+ * mem engine documents in DESIGN §20.11.
75
82
  */
76
83
  export declare const hostContribution: TypertContribution;
77
84
  //# sourceMappingURL=remote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../src/remote.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,oBAAoB,EAGpB,wBAAwB,EACzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAA;AAGhF,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AA6E/D,eAAO,MAAM,WAAW,EAAE,SAAS,oBAAoB,EA4HtD,CAAA;AAED,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,EAAE,wBAGhC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,YAAY,IAAI,CAAA;AAE7B;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAE/C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,SAAS,CAEnE;AA8BD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,kBA0C9B,CAAA"}
1
+ {"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../src/remote.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,oBAAoB,EAGpB,wBAAwB,EACzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAA;AAGhF,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AA6E/D,eAAO,MAAM,WAAW,EAAE,SAAS,oBAAoB,EAiItD,CAAA;AAED,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,EAAE,wBAGhC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,YAAY,IAAI,CAAA;AAE7B;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAE/C;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,SAAS,CAEnE;AA8BD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,EAAE,kBA0C9B,CAAA"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * The ONE model-facing output boundary of the eight mem tools (`TOOL_SPECS`; `kb_manage` is
3
- * `KB_TOOL`, the internal engine API the UI/CLI dispatch through, and is not part of the model
4
- * surface).
2
+ * The ONE model-facing output boundary of the mem tools (`TOOL_SPECS`; `kb_manage` is `KB_TOOL`
3
+ * and `kb_reindex` is `KB_REINDEX_TOOL` — internal engine APIs the UI/CLI dispatch through, not
4
+ * part of the model surface).
5
5
  *
6
6
  * `output.render` is what the DSH tool runner calls to turn a result value into the text block the
7
7
  * model reads, so this is the last code of ours the payload passes through before `JSON.stringify`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avantf/dsh-mem",
3
- "version": "0.6.3",
3
+ "version": "0.7.0",
4
4
  "description": "avantf-mem DSH native Cordis plugin: host service + tools + RPC + client tabs 记忆/知识",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -78,10 +78,10 @@
78
78
  },
79
79
  "devDependencies": {
80
80
  "@avantf/dsh-plugin-base": ">=0.3.0 <1.0.0",
81
- "@avantf/mem": "0.6.3",
82
- "@avantf/mem-contract": "0.6.3",
83
- "@avantf/mem-convert": "0.6.3",
84
- "@avantf/mem-provision": "0.6.3",
81
+ "@avantf/mem": "0.7.0",
82
+ "@avantf/mem-contract": "0.7.0",
83
+ "@avantf/mem-convert": "0.7.0",
84
+ "@avantf/mem-provision": "0.7.0",
85
85
  "@types/node": "^22.0.0",
86
86
  "@types/react": "^18.3.0",
87
87
  "lightningcss": "^1.32.0",
@@ -89,7 +89,7 @@
89
89
  "tsdown": "0.22.2",
90
90
  "typescript": "^5.5.0",
91
91
  "vitest": "^2.1.0",
92
- "zod": "4.6.5"
92
+ "zod": "4.4.3"
93
93
  },
94
94
  "license": "MIT",
95
95
  "publishConfig": {