@inventarch/mcp-door 3.7.0 → 3.8.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.
package/README.md CHANGED
@@ -72,7 +72,7 @@ The `ia_position` body is a pure function of the key and the admitted records. I
72
72
 
73
73
  ## ⚖️ What it does not do
74
74
 
75
- - **It never writes a workspace.** The read tools are annotated `readOnlyHint: true`, and the workspace files are unchanged after a session. The method tools write only outside it: the session log and the task pin under the IA home, retained method bytes under its `method-closures-v1`, and a kit's restored read copy under its `kit-roots-v1`. Authoring, validation and capture stay with the CLI (`ia preview`, `ia author`, `ia validate`, `ia capture`).
75
+ - **It never writes a workspace.** The read tools are annotated `readOnlyHint: true`, and the workspace files are unchanged after a session. The method tools write only outside it (each `*-v1` home folder named here is the authoritative one unless its plain folder holds an `authoritative` marker; see the runtime SPEC): the session log and the task pin under the IA home, retained method bytes under its `method-closures-v1`, and a kit's restored read copy under its `kit-roots-v1`. Authoring, validation and capture stay with the CLI (`ia preview`, `ia author`, `ia validate`, `ia capture`).
76
76
  - **It checks mandates only for the method tools.** A method tool acts at the server's `--root` or at a root the IA home's `workspace-locations.json` lists, and only when that workspace's governing mandates admit Observation for its default actor. The read tools check no `@mandate`; the CLI's mandate-checked commands, the edit guard and `ia-runner` do. Mandates are cooperative restrictions, not authentication or a sandbox.
77
77
  - **It grants nothing.** `ia_select` and `ia_context` choose and deliver records; they execute nothing. A read certifies nothing: the digest identifies bytes, not whether they are true.
78
78
  - **Scope tokens are process-local and can expire.** A token from `ia_scope` lasts at most as long as the server process. Once 4,096 newer scopes are issued or read before it is read again, it refuses with `IA-DB-STALE` (`IA-KB-SCOPE-UNAVAILABLE` from an `ia_kb` tool) and reads nothing. Call `ia_scope` for a new one, with the same narrowing. Calls that omit `within` read the initial boundary, which never expires. Narrowing a token limits what later calls read through it.
package/SPEC.md CHANGED
@@ -10,4 +10,4 @@ Knowledge integration adds five tools: `ia_kb_check`, `ia_kb_search`, `ia_kb_rea
10
10
 
11
11
  The [kit runtime specification](../../docs/specs/kit-runtime/README.md) is normative for the method tools' contract (kit layout, bindings, sidecars, lanes and resolver equivalence); the paragraph below keeps this package's detail and defers to it on any disagreement.
12
12
 
13
- Method tools: `ia_session`, `ia_catalogue` and `ia_method` follow the kit foundation's door contract (C1). They take structured input only; `subject` reaches no position and is kept only as `sha256:<hex>`, the value the packet's `scope.subject` and the pin's `intent.subject` carry. Each takes an optional absolute `root`, which must be the launch root or a row of `<IA home>/workspace-locations.json` (any of its three formats, runtime `readRegistry`), and refuses `IA-CORE-ROOT-UNREGISTERED` otherwise; a root holding `.ia/src` must open and its governing mandates must admit the read mode for the default actor (runtime `checkRoot`). Kits are the bundled folder (`--kits`, else `IA_KITS_DIR`), then `<IA home>/kits/<folder>/<version>/` unless `IA_CORE_NO_HOME_KITS=1`. At a workspace whose lock installs kits through a `package` entry (contract C7b, `dec-133`, db lock engine 0.1.2), the door reads them from the workspace store through runtime `workspaceKits`, between the bundled kits and the home's, and never from the npm package or another copy; one the store lacks refuses `IA-CORE-KIT-RESTORE-REQUIRED`. `ia_session` at a workspace whose installation needs restoring (a fresh clone of a committed lock) opens with no workspace instead of refusing, and adds `restore` and a briefing line saying to run `ia restore`. `tests/kits-package.test.ts` packs the method fixture's ia-kb kit into the archive its `releases.json` names for 0.9.0, installs it through a package entry and reads it from the store. `ia_method` is runtime `resolveMethod`: the packet `resolve.mjs` prints, field for field and with the same digest, for the same consumer, bindings, kit bytes, carrier and task, with `envelope.host` `mcp-door` and `envelope.cliSource` `in-process`. A `task` pins under `<IA home>/work-v1/<projectOf(root)>/<task>/`: the plugin's `lib/pin.mjs` takes its project from the caller and derives none, and the lanes pass a task only, so the project is the workspace folder's name as a slug (runtime `projectOf`). When the bundled folder is a plugin's `config/kits`, that plugin's `scripts/` and support files are the carrier its implementation digest and retained bytes cover, so a pin written by either reader verifies in the other. A kit's read root is restored in process, under `<IA home>/kit-roots-v1/` and never in the shared temporary folder, from the language base this package carries in `assets/base/` (generated with the CLI's); a kit locked on another base refuses `IA-CORE-CLI-UNSUPPORTED`. `tests/method.test.ts` holds the packets and the pin to the goldens in `tests/fixtures/method`, whose `PROVENANCE.json` names the marketplace commit they were made from and `generate.mjs`, the script that makes them again from a `git archive` of that commit and a built CLI, byte for byte. The seventeen read tools, their schemas and their order are unchanged; the method tools follow them.
13
+ Method tools: `ia_session`, `ia_catalogue` and `ia_method` follow the kit foundation's door contract (C1). They take structured input only; `subject` reaches no position and is kept only as `sha256:<hex>`, the value the packet's `scope.subject` and the pin's `intent.subject` carry. Each takes an optional absolute `root`, which must be the launch root or a row of `<IA home>/workspace-locations.json` (any of its three formats, runtime `readRegistry`), and refuses `IA-CORE-ROOT-UNREGISTERED` otherwise; a root holding `.ia/src` must open and its governing mandates must admit the read mode for the default actor (runtime `checkRoot`). Kits are the bundled folder (`--kits`, else `IA_KITS_DIR`), then `<IA home>/kits/<folder>/<version>/` unless `IA_CORE_NO_HOME_KITS=1`. At a workspace whose lock installs kits through a `package` entry (contract C7b, `dec-133`, db lock engine 0.1.2), the door reads them from the workspace store through runtime `workspaceKits`, between the bundled kits and the home's, and never from the npm package or another copy; one the store lacks refuses `IA-CORE-KIT-RESTORE-REQUIRED`. `ia_session` at a workspace whose installation needs restoring (a fresh clone of a committed lock) opens with no workspace instead of refusing, and adds `restore` and a briefing line saying to run `ia restore`. `tests/kits-package.test.ts` packs the method fixture's ia-kb kit into the archive its `releases.json` names for 0.9.0, installs it through a package entry and reads it from the store. `ia_method` is runtime `resolveMethod`: the packet `resolve.mjs` prints, field for field and with the same digest, for the same consumer, bindings, kit bytes, carrier and task, with `envelope.host` `mcp-door` and `envelope.cliSource` `in-process`. A `task` pins under `<IA home>/work-v1/<projectOf(root)>/<task>/` (or `<IA home>/work/...` once that folder holds an `authoritative` marker; runtime SPEC, home folders): the plugin's `lib/pin.mjs` takes its project from the caller and derives none, and the lanes pass a task only, so the project is the workspace folder's name as a slug (runtime `projectOf`). When the bundled folder is a plugin's `config/kits`, that plugin's `scripts/` and support files are the carrier its implementation digest and retained bytes cover, so a pin written by either reader verifies in the other. A kit's read root is restored in process, under `<IA home>/kit-roots-v1/` and never in the shared temporary folder, from the published language bases this package carries (`assets/bases.json` and `assets/base/<digest>.ia.tgz`, generated with the CLI's; `assets/base.json` is the newest). A kit locked on a carried archive is restored on exactly that base; otherwise it is restored on the newest carried base when that base is the same major, not a downgrade, and admitted by the kit's declared range and its lock's requested range, and `envelope.base` records `{locked, effective, mode}`. Any other kit refuses `IA-CORE-CLI-UNSUPPORTED`, naming the door upgrade or kit release it needs (runtime `selectKitBase`). `tests/method.test.ts` holds the packets and the pin to the goldens in `tests/fixtures/method`, whose `PROVENANCE.json` names the marketplace commit they were made from and `generate.mjs`, the script that makes them again from a `git archive` of that commit and a built CLI, byte for byte. The seventeen read tools, their schemas and their order are unchanged; the method tools follow them.
package/assets/base.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "inventarch/language",
3
- "version": "3.2.1",
4
- "archive": "ee6e65018df2ebef705913d9da1947f040edf44c2e7ade6c9750c6fa0185985e",
5
- "manifest": "b6c5e0cc9149b874c11898e63c19082c9742acaf71bde192a2ec9fa6dd3f9fab"
3
+ "version": "3.3.0",
4
+ "archive": "3ada760ec07848770957538a8562ec94c6f3a9ceb6f1e29d2739b217f9234728",
5
+ "manifest": "133e0ec85c27c457ba088623c2f753cb7618d531d1412fa957ad6c6ee7b700ee"
6
6
  }
@@ -0,0 +1,44 @@
1
+ [
2
+ {
3
+ "id": "inventarch/language",
4
+ "version": "3.0.0",
5
+ "archive": "08eaab3e1a6215d78283b82a94a0228367ac7bd78d0a746c56db79c8d7546c3a",
6
+ "manifest": "2acb3aa7ec7d2265e6471520e8cc4f891deb2e4d0f169803e171f4a260de413a"
7
+ },
8
+ {
9
+ "id": "inventarch/language",
10
+ "version": "3.1.0",
11
+ "archive": "7db20e0dbbc2b88701ea24991886b4a8e08d419dda469cce5caff66911f81e4c",
12
+ "manifest": "43373c8bedbf9e817807f246d0886914e4cce02882d811742a2508a1f875293e"
13
+ },
14
+ {
15
+ "id": "inventarch/language",
16
+ "version": "3.1.1",
17
+ "archive": "df626d1dc4949649ba7203842b29b4f064e0552e8db8c2c41ff74b6462b81b75",
18
+ "manifest": "7b83fb727ab8706f7e4e9be2d61deceaa4161753b3634c38aa31ab13e4aff1f6"
19
+ },
20
+ {
21
+ "id": "inventarch/language",
22
+ "version": "3.1.2",
23
+ "archive": "62ecd5092f364b40e335e9e509ef512ac8030eb5689e72a5d0ff1e073cb13cfb",
24
+ "manifest": "3692c75c7b51852351560fa09dc831eb5854e33e2fb6e37cdf0b6bfc8bdb02f2"
25
+ },
26
+ {
27
+ "id": "inventarch/language",
28
+ "version": "3.2.0",
29
+ "archive": "7b36e4b4959a7bead1c57906cd346b419f32570dac0ac764af805ad20cd63b16",
30
+ "manifest": "03a226569c510efaea971dbc41c353998319c33b77ab636d192b549e50f4e732"
31
+ },
32
+ {
33
+ "id": "inventarch/language",
34
+ "version": "3.2.1",
35
+ "archive": "ee6e65018df2ebef705913d9da1947f040edf44c2e7ade6c9750c6fa0185985e",
36
+ "manifest": "b6c5e0cc9149b874c11898e63c19082c9742acaf71bde192a2ec9fa6dd3f9fab"
37
+ },
38
+ {
39
+ "id": "inventarch/language",
40
+ "version": "3.3.0",
41
+ "archive": "3ada760ec07848770957538a8562ec94c6f3a9ceb6f1e29d2739b217f9234728",
42
+ "manifest": "133e0ec85c27c457ba088623c2f753cb7618d531d1412fa957ad6c6ee7b700ee"
43
+ }
44
+ ]
@@ -2,7 +2,7 @@
2
2
  "version": 1,
3
3
  "language": "ia 1.0",
4
4
  "status": "public IA 1.0 language contract",
5
- "sourceDigest": "56953848c899f9b29e39d697b477b178a4fc6d472d995a6177039fd383d55b20",
5
+ "sourceDigest": "f535f2aa765ac0bbc1ed985e41cd7c03a3d2a092633b571933d6226e07bc66d6",
6
6
  "words": [
7
7
  {
8
8
  "word": "agent",
@@ -3730,13 +3730,13 @@
3730
3730
  "path": "template.parameters",
3731
3731
  "type": "list of id",
3732
3732
  "required": false,
3733
- "description": "The scalar renderer requires declared parameters; structured-v1 may omit this field or retain an empty list."
3733
+ "description": "The scalar renderer requires declared parameters; structured may omit this field or retain an empty list."
3734
3734
  },
3735
3735
  {
3736
3736
  "path": "template.lines",
3737
3737
  "type": "list of text",
3738
3738
  "required": false,
3739
- "description": "The scalar renderer requires content lines; structured-v1 may omit this field or retain an empty list."
3739
+ "description": "The scalar renderer requires content lines; structured may omit this field or retain an empty list."
3740
3740
  },
3741
3741
  {
3742
3742
  "path": "template.profile",
package/dist/method.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Kit } from '@inventarch/runtime/method';
1
+ import type { KitRestore } from '@inventarch/runtime/method';
2
2
  /**
3
3
  * The door's method tools: `ia_session`, `ia_catalogue` and `ia_method`. They take structured input only; `subject`
4
4
  * is never read as a request and is stored only as its hash. Each acts at the door's launch root or at a root the
@@ -6,7 +6,7 @@ import type { Kit } from '@inventarch/runtime/method';
6
6
  * read from the bundled folder (`--kits`, else `IA_KITS_DIR`) and then the IA home's `kits/`; at a workspace whose lock
7
7
  * installs kits from an npm package of kits (contract C7b), from its store too, as ordinary installed releases. A
8
8
  * session at a workspace whose store lacks them, a fresh clone, says to run `ia restore`. A kit's read root is restored
9
- * in process with the language base this package carries; nothing spawns the CLI.
9
+ * in process with one of the language bases this package carries (`restoreKit`); nothing spawns the CLI.
10
10
  */
11
11
  export interface MethodHost {
12
12
  /** The door's launch root. */
@@ -73,8 +73,13 @@ export declare const METHOD_TOOLS: readonly [{
73
73
  readonly openWorldHint: false;
74
74
  };
75
75
  }];
76
- /** Restores a kit's read root in process: the language base this package carries, cached, planned and installed. */
77
- export declare function restoreKit(root: string, kit: Kit): void;
76
+ /**
77
+ * Restores a kit's read root in process. `select` chooses among the language bases this package carries: the kit's
78
+ * locked archive when carried, else the newest when the kit's range admits it (runtime `selectKitBase`). `apply` caches
79
+ * that archive in the read root, moves only the read root's language lock row to it (runtime `lockOnBase`: another
80
+ * archive, or the same archive under a stale label), then plans and installs it. The kit's own folder is never written.
81
+ */
82
+ export declare const restoreKit: KitRestore;
78
83
  export declare class MethodTools {
79
84
  #private;
80
85
  constructor(host: MethodHost);
@@ -1 +1 @@
1
- {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../src/method.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,GAAG,EAAyB,MAAM,4BAA4B,CAAC;AAE7E;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACzB,8BAA8B;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,yDAAyD;IACzD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACjC,2FAA2F;IAC3F,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,eAAe,CAAC;AACtF,KAAK,MAAM,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAkB/G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDf,CAAC;AAOX,oHAAoH;AACpH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,CAkBvD;AAkBD,qBAAa,WAAW;;gBAEV,IAAI,EAAE,UAAU;IA+C5B,IAAI,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM;CAmFzD"}
1
+ {"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../src/method.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAA6B,UAAU,EAAyB,MAAM,4BAA4B,CAAC;AAE/G;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACzB,8BAA8B;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,yDAAyD;IACzD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACjC,2FAA2F;IAC3F,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,eAAe,CAAC;AACtF,KAAK,MAAM,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAkB/G,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDf,CAAC;AA8BX;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,UAoBxB,CAAC;AAkBF,qBAAa,WAAW;;gBAEV,IAAI,EAAE,UAAU;IA+C5B,IAAI,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM;CAmFzD"}
package/dist/method.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { createHash } from 'node:crypto';
2
- import { existsSync, readFileSync } from 'node:fs';
2
+ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
3
3
  import { isAbsolute, join, resolve } from 'node:path';
4
4
  import { applyInstallation, cacheArchive, planInstallation } from '@inventarch/distribution/install';
5
- import { ENTRIES, MethodError, checkRoot, iaHome, laneCatalogue, workspaceKits, methodRefusal, openSession, projectOf, RESTORE_NEEDED, sessionRestore, readRegistry, resolveMethod, samePath, } from '@inventarch/runtime/method';
6
- const BASE_URL = new URL('../assets/base.json', import.meta.url);
5
+ import { ENTRIES, MethodError, canonical, checkRoot, iaHome, laneCatalogue, lockOnBase, workspaceKits, methodRefusal, openSession, projectOf, RESTORE_NEEDED, sessionRestore, readDescriptor, readRegistry, resolveMethod, samePath, selectKitBase, } from '@inventarch/runtime/method';
6
+ const BASES_URL = new URL('../assets/bases.json', import.meta.url);
7
7
  const SLUG = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
8
8
  const KEY = /^([a-z]+)\.([a-z][a-z0-9-]*|\*)$/;
9
9
  const text = { type: 'string' };
@@ -62,22 +62,61 @@ export const METHOD_TOOLS = [
62
62
  annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
63
63
  },
64
64
  ];
65
- /** Restores a kit's read root in process: the language base this package carries, cached, planned and installed. */
66
- export function restoreKit(root, kit) {
67
- let pin;
65
+ /** The language bases this package carries, oldest first (`assets/bases.json`, written by `language-base:generate`). */
66
+ function carriedBases() {
68
67
  try {
69
- pin = JSON.parse(readFileSync(BASE_URL, 'utf8'));
68
+ const bases = JSON.parse(readFileSync(BASES_URL, 'utf8'));
69
+ if (Array.isArray(bases) && bases.length > 0)
70
+ return bases;
70
71
  }
71
72
  catch {
72
- throw new MethodError('this door carries no language base; reinstall @inventarch/mcp-door', 'IA-CORE-CLI-MISSING');
73
+ // reported below
73
74
  }
74
- const lock = JSON.parse(readFileSync(join(root, '.ia', 'distributions.lock.json'), 'utf8'));
75
- const language = lock.packages?.find((pkg) => pkg.id === pin.id);
76
- if (language?.archive !== pin.archive)
77
- throw new MethodError(`kit ${kit.id} ${kit.latest?.version ?? kit.version} locks ${pin.id} ${language?.version ?? 'an unknown version'}, and this door carries ${pin.version}: use the @inventarch/mcp-door release that ships it`, 'IA-CORE-CLI-UNSUPPORTED');
78
- cacheArchive(root, readFileSync(new URL(`../assets/base/${pin.archive}.ia.tgz`, import.meta.url)), pin.archive);
79
- applyInstallation(planInstallation(root, lock, 'restore'));
75
+ throw new MethodError('this door carries no language base; reinstall @inventarch/mcp-door', 'IA-CORE-CLI-MISSING');
80
76
  }
77
+ const lockPath = (dir) => join(dir, '.ia', 'distributions.lock.json');
78
+ /** A folder's `.ia/distributions.lock.json`, or `{}` when it has none (the rule then refuses: no language row). */
79
+ function readLockFile(dir) {
80
+ try {
81
+ return JSON.parse(readFileSync(lockPath(dir), 'utf8'));
82
+ }
83
+ catch {
84
+ return {};
85
+ }
86
+ }
87
+ /** The language range a kit's `.ia/release.json` declares, or undefined when it declares none. */
88
+ function declaredRange(dir, id) {
89
+ if (!existsSync(join(dir, '.ia', 'release.json')))
90
+ return undefined;
91
+ const dependencies = readDescriptor(dir)['dependencies'];
92
+ const row = Array.isArray(dependencies)
93
+ ? dependencies.find((dependency) => dependency?.id === id)
94
+ : undefined;
95
+ return typeof row?.range === 'string' ? row.range : undefined;
96
+ }
97
+ /**
98
+ * Restores a kit's read root in process. `select` chooses among the language bases this package carries: the kit's
99
+ * locked archive when carried, else the newest when the kit's range admits it (runtime `selectKitBase`). `apply` caches
100
+ * that archive in the read root, moves only the read root's language lock row to it (runtime `lockOnBase`: another
101
+ * archive, or the same archive under a stale label), then plans and installs it. The kit's own folder is never written.
102
+ */
103
+ export const restoreKit = {
104
+ select(kit) {
105
+ const carried = carriedBases();
106
+ const lock = readLockFile(kit.dir);
107
+ return selectKitBase(lock, declaredRange(kit.dir, carried.at(-1).id), carried, `${kit.id} ${kit.latest?.version ?? kit.version}`);
108
+ },
109
+ apply(root, _kit, base) {
110
+ cacheArchive(root, readFileSync(new URL(`../assets/base/${base.archive}.ia.tgz`, import.meta.url)), base.archive);
111
+ // A compatible base moves the row; an exact one whose label disagrees with its archive gets the archive's own label.
112
+ // The read-root check (runtime `kitReadRoot`) expects exactly this lock.
113
+ const locked = readLockFile(root);
114
+ const lock = lockOnBase(locked, base);
115
+ if (canonical(lock) !== canonical(locked))
116
+ writeFileSync(lockPath(root), JSON.stringify(lock) + '\n');
117
+ applyInstallation(planInstallation(root, lock, 'restore'));
118
+ },
119
+ };
81
120
  const object = (value) => value !== null && typeof value === 'object' && !Array.isArray(value) ? value : {};
82
121
  function usage(message) {
83
122
  throw new MethodError(message, 'IA-CORE-USAGE');
@@ -1 +1 @@
1
- {"version":3,"file":"method.js","sourceRoot":"","sources":["../src/method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACrG,OAAO,EACL,OAAO,EACP,WAAW,EACX,SAAS,EACT,MAAM,EACN,aAAa,EACb,aAAa,EACb,aAAa,EACb,WAAW,EACX,SAAS,EACT,cAAc,EACd,cAAc,EACd,YAAY,EACZ,aAAa,EACb,QAAQ,GACT,MAAM,4BAA4B,CAAC;AAwBpC,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,qBAAqB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACjE,MAAM,IAAI,GAAG,oCAAoC,CAAC;AAClD,MAAM,GAAG,GAAG,kCAAkC,CAAC;AAC/C,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;AAChC,MAAM,MAAM,GAAG,CAAC,UAAmC,EAAE,WAA8B,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,IAAI,EAAE,QAAQ;IACd,UAAU;IACV,QAAQ;IACR,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC;AACH,MAAM,YAAY,GAAG;IACnB,GAAG,IAA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AAO,KAAK,SAAS;gBACvB,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC,EAAE,OAAO,EAAE,UAAU,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;YACxF,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;SACjD,EACD;YACE,IAAI,EAAE,IAAI,CAAC,QAAQ;YACnB,OAAO,EAAE,UAAU;YACnB,GAAG,EAAE,IAAI,CAAC,IAAI;YACd,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;SACvE,CACF,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inventarch/mcp-door",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "type": "module",
5
5
  "main": "./dist/main.js",
6
6
  "types": "./dist/main.d.ts",
@@ -14,9 +14,9 @@
14
14
  "LANGUAGE.md"
15
15
  ],
16
16
  "dependencies": {
17
- "@inventarch/distribution": "3.7.0",
18
- "@inventarch/kb": "3.7.0",
19
- "@inventarch/runtime": "3.7.0"
17
+ "@inventarch/distribution": "3.8.0",
18
+ "@inventarch/kb": "3.8.0",
19
+ "@inventarch/runtime": "3.8.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^22.19.0",