@amalgm/shell 0.1.164-main.41159556182 → 0.1.164-main.41233016817

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.
@@ -21,6 +21,14 @@
21
21
  * a name reads nothing: the incarnation is observed off the event loop
22
22
  * whenever persistence is required, since the directory may be mid-flush,
23
23
  * and a flush credits only the incarnation it flushed.
24
+ *
25
+ * An incarnation is the directory object the namespace holds open, and its
26
+ * flushes go through that handle. A physical key alone proves nothing across
27
+ * observations (source-signature.ts): ext4 gives a removed directory's inode
28
+ * number to the next one, with the same birth time within one clock tick,
29
+ * and at any distance where its inodes keep no birth time. An object held
30
+ * open keeps its number, so while the address's key is the held object's
31
+ * key, the address names that object.
24
32
  */
25
33
  /** What a cache writer did to one name. */
26
34
  export type CachePublication = "published" | "reused";
@@ -21,7 +21,16 @@
21
21
  * a name reads nothing: the incarnation is observed off the event loop
22
22
  * whenever persistence is required, since the directory may be mid-flush,
23
23
  * and a flush credits only the incarnation it flushed.
24
+ *
25
+ * An incarnation is the directory object the namespace holds open, and its
26
+ * flushes go through that handle. A physical key alone proves nothing across
27
+ * observations (source-signature.ts): ext4 gives a removed directory's inode
28
+ * number to the next one, with the same birth time within one clock tick,
29
+ * and at any distance where its inodes keep no birth time. An object held
30
+ * open keeps its number, so while the address's key is the held object's
31
+ * key, the address names that object.
24
32
  */
33
+ import { constants } from "node:fs";
25
34
  import { lstat, open } from "node:fs/promises";
26
35
  import { channel } from "node:diagnostics_channel";
27
36
  import { dirname } from "node:path";
@@ -102,24 +111,35 @@ class CacheNamespace {
102
111
  * unavailable one holds none at all; null when it is unavailable. */
103
112
  async #observeIncarnation() {
104
113
  const stats = await lstat(this.#directory, { bigint: true }).catch(() => undefined);
105
- const physical = stats ? physicalKey(stats) : null;
106
114
  const current = this.#incarnation;
107
- if (current && current.physical === physical)
115
+ if (current && stats && physicalKey(stats) === current.physical)
108
116
  return current;
109
- this.#incarnation = physical === null ? null : { physical };
117
+ const held = stats ? await holdDirectory(this.#directory) : null;
118
+ // Another observation may have taken hold of this same object meanwhile.
119
+ if (held && this.#incarnation?.physical === held.physical) {
120
+ void held.handle.close().catch(() => undefined);
121
+ return this.#incarnation;
122
+ }
123
+ // A flush still running through the replaced handle finishes first, and
124
+ // a handle let go owes nothing.
125
+ void this.#incarnation?.handle.close().catch(() => undefined);
126
+ this.#incarnation = held;
110
127
  this.#flushedThrough = 0;
111
128
  this.#entry = false;
112
- return this.#incarnation;
129
+ return held;
113
130
  }
114
131
  /** Flush the incarnation just observed; credit only while it is current. */
115
132
  async #flush(incarnation) {
116
133
  const target = this.#published;
117
134
  const entry = !this.#entry;
118
135
  const done = (async () => {
119
- const same = await flushIfCurrent(this.#directory, incarnation);
120
- if (same && entry)
136
+ // Replaced since it was observed, its handle may be closed: observe again.
137
+ if (this.#incarnation !== incarnation)
138
+ return;
139
+ await incarnation.handle.sync();
140
+ if (entry)
121
141
  await flushDirectoryAsync(dirname(this.#directory));
122
- if (!same || this.#incarnation !== incarnation)
142
+ if (this.#incarnation !== incarnation)
123
143
  return;
124
144
  this.#flushedThrough = Math.max(this.#flushedThrough, target);
125
145
  if (entry)
@@ -135,17 +155,19 @@ class CacheNamespace {
135
155
  }
136
156
  }
137
157
  }
138
- /** Flush one directory; false when it is no longer the expected incarnation. */
139
- async function flushIfCurrent(directory, expected) {
140
- const handle = await open(directory, "r");
158
+ /** Hold the directory standing at the address, never one a link names; null
159
+ * when none stands there. */
160
+ async function holdDirectory(directory) {
161
+ const handle = await open(directory, constants.O_RDONLY | constants.O_DIRECTORY | constants.O_NOFOLLOW)
162
+ .catch(() => undefined);
163
+ if (!handle)
164
+ return null;
141
165
  try {
142
- if (physicalKey(await handle.stat({ bigint: true })) !== expected.physical)
143
- return false;
144
- await handle.sync();
145
- return true;
166
+ return { physical: physicalKey(await handle.stat({ bigint: true })), handle };
146
167
  }
147
- finally {
168
+ catch (error) {
148
169
  await handle.close();
170
+ throw error;
149
171
  }
150
172
  }
151
173
  async function flushDirectoryAsync(directory) {
@@ -1 +1 @@
1
- {"version":3,"file":"content-cache-namespace.js","sourceRoot":"","sources":["../src/content-cache-namespace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAUpD,MAAM,OAAO,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC;AAEpD,MAAM,cAAc;IACT,UAAU,CAAS;IACnB,YAAY,GAAG,IAAI,GAAG,EAAkB,CAAC;IAClD,YAAY,GAAuB,IAAI,CAAC;IACxC,UAAU,GAAG,CAAC,CAAC;IACf,qCAAqC;IACrC,eAAe,GAAG,CAAC,CAAC;IACpB,kDAAkD;IAClD,MAAM,GAAG,KAAK,CAAC;IACf,SAAS,GAAqE,IAAI,CAAC;IACnF,QAAQ,GAAG,CAAC,CAAC;IAEb,YAAY,SAAiB;QAC3B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED;gFAC4E;IAC5E,IAAI,OAAO,KAAa,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAE/C;gEAC4D;IAC5D,MAAM,CAAC,IAAY,EAAE,WAA6B;QAChD,IAAI,WAAW,KAAK,WAAW;YAAE,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC;QACpD,IAAI,WAAW,KAAK,QAAQ;YAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;;YAC3C,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACtD,CAAC;IAED,MAAM,CAAC,KAAuB;QAC5B,KAAK,MAA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I,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;IAC1C,IAAI,CAAC;QAAC,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;IAAC,CAAC;YAAS,CAAC;QAAC,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,GAAG,IAAI,GAAG,EAA0B,CAAC;AAErD,iEAAiE;AACjE,MAAM,UAAU,cAAc,CAAC,SAAiB;IAC9C,IAAI,SAAS,GAAG,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAI,CAAC,SAAS;QAAE,UAAU,CAAC,GAAG,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;IACrF,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@amalgm/shell",
3
- "version": "0.1.164-main.41159556182",
3
+ "version": "0.1.164-main.41233016817",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@amalgm/shell",
9
- "version": "0.1.164-main.41159556182",
9
+ "version": "0.1.164-main.41233016817",
10
10
  "license": "UNLICENSED",
11
11
  "dependencies": {
12
12
  "@amalgm/agents": "0.2.3-main.39177470159",
@@ -16,7 +16,7 @@
16
16
  "@amalgm/channels": "0.1.5-main.39177723555",
17
17
  "@amalgm/chat": "0.2.9-main.39537101645",
18
18
  "@amalgm/core": "0.5.1-main.39177162099",
19
- "@amalgm/live": "0.2.81-main.41026618671",
19
+ "@amalgm/live": "0.2.81-main.41179538550",
20
20
  "@amalgm/tools": "0.1.7-main.39177473942",
21
21
  "@anthropic-ai/claude-agent-sdk": "^0.3.285",
22
22
  "@homebridge/node-pty-prebuilt-multiarch": "0.13.1",
@@ -24,7 +24,7 @@
24
24
  "@napi-rs/keyring": "1.3.0",
25
25
  "@tufjs/models": "5.0.0",
26
26
  "better-sqlite3": "12.11.1",
27
- "npm": "11.19.1",
27
+ "npm": "11.21.1",
28
28
  "tar": "7.5.22",
29
29
  "tuf-js": "6.0.0",
30
30
  "ws": "8.21.0"
@@ -449,9 +449,9 @@
449
449
  }
450
450
  },
451
451
  "node_modules/@amalgm/live": {
452
- "version": "0.2.81-main.41026618671",
453
- "resolved": "https://registry.npmjs.org/@amalgm/live/-/live-0.2.81-main.41026618671.tgz",
454
- "integrity": "sha512-O1rFvmOr9s1g2s3H7NwqE0RgA8yXmxTKoIe7Zdir8ezk4n6RxYZ5UCgkmvxJJYW3NBxZB5xeeHg0fgvjOKGCnQ==",
452
+ "version": "0.2.81-main.41179538550",
453
+ "resolved": "https://registry.npmjs.org/@amalgm/live/-/live-0.2.81-main.41179538550.tgz",
454
+ "integrity": "sha512-ieNbXnBc4N5Sj97d/P5fJoVYqH+Q/e59/sOsxHdaHi1MUlhkIFhfRRkMzufoL132bC4ewdae3h+kdoj1ZBeNbw==",
455
455
  "license": "UNLICENSED",
456
456
  "dependencies": {
457
457
  "@amalgm/core": "0.5.1-main.39177162099"
@@ -706,14 +706,15 @@
706
706
  }
707
707
  },
708
708
  "node_modules/@hono/node-server": {
709
- "version": "2.1.0",
710
- "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.0.tgz",
711
- "integrity": "sha512-XovyyCCnBzW+zKu+z/zq8hwNs4KOR5rEMAOxo2f40Q5xoOI37IMm6MIg2COOUtUApo0i6850MTBKH2u4QLGIqg==",
709
+ "version": "2.1.5",
710
+ "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.5.tgz",
711
+ "integrity": "sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==",
712
+ "license": "MIT",
712
713
  "engines": {
713
714
  "node": ">=20"
714
715
  },
715
716
  "peerDependencies": {
716
- "hono": "^4"
717
+ "hono": "^4 || ^5.0.0-0"
717
718
  }
718
719
  },
719
720
  "node_modules/@isaacs/fs-minipass": {
@@ -1384,17 +1385,18 @@
1384
1385
  }
1385
1386
  },
1386
1387
  "node_modules/body-parser": {
1387
- "version": "2.3.0",
1388
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
1389
- "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
1388
+ "version": "2.4.0",
1389
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz",
1390
+ "integrity": "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==",
1391
+ "license": "MIT",
1390
1392
  "dependencies": {
1391
1393
  "bytes": "^3.1.2",
1392
- "content-type": "^2.0.0",
1394
+ "content-type": "^2.1.0",
1393
1395
  "debug": "^4.4.3",
1394
1396
  "http-errors": "^2.0.1",
1395
- "iconv-lite": "^0.7.2",
1397
+ "iconv-lite": "^0.7.3",
1396
1398
  "on-finished": "^2.4.1",
1397
- "qs": "^6.15.2",
1399
+ "qs": "^6.16.1",
1398
1400
  "raw-body": "^3.0.2",
1399
1401
  "type-is": "^2.1.0"
1400
1402
  },
@@ -1407,9 +1409,10 @@
1407
1409
  }
1408
1410
  },
1409
1411
  "node_modules/body-parser/node_modules/content-type": {
1410
- "version": "2.0.0",
1411
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
1412
- "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
1412
+ "version": "2.1.0",
1413
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
1414
+ "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
1415
+ "license": "MIT",
1413
1416
  "engines": {
1414
1417
  "node": ">=18"
1415
1418
  },
@@ -1546,9 +1549,9 @@
1546
1549
  }
1547
1550
  },
1548
1551
  "node_modules/cron-parser": {
1549
- "version": "5.10.2",
1550
- "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.2.tgz",
1551
- "integrity": "sha512-JfAYMY0LZaWQTuict8PhtF/ksSnq8xefSDmQUnnoqvkPYkU/y3UP0DTWzJKFBz0P1IXsDG8q0vY3zHkoFZOhvw==",
1552
+ "version": "5.10.3",
1553
+ "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.3.tgz",
1554
+ "integrity": "sha512-Fwlmlgiyoj5e7XDCy5T3ueFd3imgt714k7xjAzhkOBUrUgQxWtsjS7kWSEN3efDX34bebxBJAmPoCSisHvjlpw==",
1552
1555
  "license": "MIT",
1553
1556
  "dependencies": {
1554
1557
  "luxon": "^3.7.2"
@@ -1797,9 +1800,9 @@
1797
1800
  "peer": true
1798
1801
  },
1799
1802
  "node_modules/fast-uri": {
1800
- "version": "3.1.8",
1801
- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",
1802
- "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==",
1803
+ "version": "3.1.9",
1804
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz",
1805
+ "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==",
1803
1806
  "funding": [
1804
1807
  {
1805
1808
  "type": "github",
@@ -1940,9 +1943,9 @@
1940
1943
  }
1941
1944
  },
1942
1945
  "node_modules/hono": {
1943
- "version": "4.13.7",
1944
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.7.tgz",
1945
- "integrity": "sha512-c8/gF9ac8Y78/agExVocyLevgR+JlpNB444Py0FSX8pJoPdYUfUzRcXtYEYGwt6l19qIlVZPN5Mfsw9jFShmQQ==",
1946
+ "version": "4.13.14",
1947
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.14.tgz",
1948
+ "integrity": "sha512-yhRLQ21U6qa9Hsu2N7Qcbh8tE+WKEcoErjIo56LeSGiGXGp9sA7UpE86Ui9uexb61KakiGwuHMn2QdV7w6i6kQ==",
1946
1949
  "license": "MIT",
1947
1950
  "engines": {
1948
1951
  "node": ">=16.9.0"
@@ -2012,9 +2015,9 @@
2012
2015
  "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
2013
2016
  },
2014
2017
  "node_modules/ip-address": {
2015
- "version": "10.7.2",
2016
- "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.2.tgz",
2017
- "integrity": "sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w==",
2018
+ "version": "10.7.5",
2019
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.5.tgz",
2020
+ "integrity": "sha512-t2v0rkILYv9WXmSL7TpAaU3HXgaFYOPUcH3QHgwQ++gpJuH3bqyMy4Fvt/DJCTKwzH3Cf+bAp5W/mFL39KPLzA==",
2018
2021
  "license": "MIT",
2019
2022
  "engines": {
2020
2023
  "node": ">= 12"
@@ -2238,9 +2241,9 @@
2238
2241
  "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ=="
2239
2242
  },
2240
2243
  "node_modules/npm": {
2241
- "version": "11.19.1",
2242
- "resolved": "https://registry.npmjs.org/npm/-/npm-11.19.1.tgz",
2243
- "integrity": "sha512-ztsxKxt/kkIaAs+2i0GU6I+DRmUdrNasxTZKJe9TCdSjKxlhah/4r/hl5ygMD6XAg1qZ9c2TNomR4qgOydp10g==",
2244
+ "version": "11.21.1",
2245
+ "resolved": "https://registry.npmjs.org/npm/-/npm-11.21.1.tgz",
2246
+ "integrity": "sha512-YTzL6QBEJXyHcTu0JiUc7RKMp+mzlJtl7rGLmERaXUQeFHIMc9atdr6G9M9C8vDWbv40epoTQAzNL2/PtZVDhQ==",
2244
2247
  "bundleDependencies": [
2245
2248
  "@isaacs/string-locale-compare",
2246
2249
  "@npmcli/arborist",
@@ -2318,8 +2321,8 @@
2318
2321
  ],
2319
2322
  "dependencies": {
2320
2323
  "@isaacs/string-locale-compare": "^1.1.0",
2321
- "@npmcli/arborist": "^9.9.1",
2322
- "@npmcli/config": "^10.12.0",
2324
+ "@npmcli/arborist": "^9.9.3",
2325
+ "@npmcli/config": "^10.14.0",
2323
2326
  "@npmcli/fs": "^5.0.0",
2324
2327
  "@npmcli/map-workspaces": "^5.0.3",
2325
2328
  "@npmcli/metavuln-calculator": "^9.0.3",
@@ -2343,12 +2346,12 @@
2343
2346
  "is-cidr": "^6.0.4",
2344
2347
  "json-parse-even-better-errors": "^5.0.0",
2345
2348
  "libnpmaccess": "^10.0.3",
2346
- "libnpmdiff": "^8.1.12",
2347
- "libnpmexec": "^10.3.2",
2348
- "libnpmfund": "^7.0.26",
2349
+ "libnpmdiff": "^8.1.14",
2350
+ "libnpmexec": "^10.3.4",
2351
+ "libnpmfund": "^7.0.28",
2349
2352
  "libnpmorg": "^8.0.1",
2350
- "libnpmpack": "^9.1.13",
2351
- "libnpmpublish": "^11.2.0",
2353
+ "libnpmpack": "^9.1.15",
2354
+ "libnpmpublish": "^11.2.1",
2352
2355
  "libnpmsearch": "^9.0.1",
2353
2356
  "libnpmteam": "^8.0.2",
2354
2357
  "libnpmversion": "^8.0.4",
@@ -2431,7 +2434,7 @@
2431
2434
  }
2432
2435
  },
2433
2436
  "node_modules/npm/node_modules/@npmcli/arborist": {
2434
- "version": "9.9.1",
2437
+ "version": "9.9.3",
2435
2438
  "inBundle": true,
2436
2439
  "license": "ISC",
2437
2440
  "dependencies": {
@@ -2478,7 +2481,7 @@
2478
2481
  }
2479
2482
  },
2480
2483
  "node_modules/npm/node_modules/@npmcli/config": {
2481
- "version": "10.12.0",
2484
+ "version": "10.14.0",
2482
2485
  "inBundle": true,
2483
2486
  "license": "ISC",
2484
2487
  "dependencies": {
@@ -2795,7 +2798,7 @@
2795
2798
  }
2796
2799
  },
2797
2800
  "node_modules/npm/node_modules/brace-expansion": {
2798
- "version": "5.0.9",
2801
+ "version": "5.0.12",
2799
2802
  "inBundle": true,
2800
2803
  "license": "MIT",
2801
2804
  "dependencies": {
@@ -2982,7 +2985,7 @@
2982
2985
  }
2983
2986
  },
2984
2987
  "node_modules/npm/node_modules/http-cache-semantics": {
2985
- "version": "4.2.0",
2988
+ "version": "4.3.0",
2986
2989
  "inBundle": true,
2987
2990
  "license": "BSD-2-Clause"
2988
2991
  },
@@ -3062,7 +3065,7 @@
3062
3065
  }
3063
3066
  },
3064
3067
  "node_modules/npm/node_modules/ip-address": {
3065
- "version": "10.5.0",
3068
+ "version": "10.7.2",
3066
3069
  "inBundle": true,
3067
3070
  "license": "MIT",
3068
3071
  "engines": {
@@ -3135,11 +3138,11 @@
3135
3138
  }
3136
3139
  },
3137
3140
  "node_modules/npm/node_modules/libnpmdiff": {
3138
- "version": "8.1.12",
3141
+ "version": "8.1.14",
3139
3142
  "inBundle": true,
3140
3143
  "license": "ISC",
3141
3144
  "dependencies": {
3142
- "@npmcli/arborist": "^9.9.1",
3145
+ "@npmcli/arborist": "^9.9.3",
3143
3146
  "@npmcli/installed-package-contents": "^4.0.0",
3144
3147
  "binary-extensions": "^3.0.0",
3145
3148
  "diff": "^8.0.2",
@@ -3153,12 +3156,12 @@
3153
3156
  }
3154
3157
  },
3155
3158
  "node_modules/npm/node_modules/libnpmexec": {
3156
- "version": "10.3.2",
3159
+ "version": "10.3.4",
3157
3160
  "inBundle": true,
3158
3161
  "license": "ISC",
3159
3162
  "dependencies": {
3160
3163
  "@gar/promise-retry": "^1.0.0",
3161
- "@npmcli/arborist": "^9.9.1",
3164
+ "@npmcli/arborist": "^9.9.3",
3162
3165
  "@npmcli/package-json": "^7.0.0",
3163
3166
  "@npmcli/run-script": "^10.0.0",
3164
3167
  "ci-info": "^4.0.0",
@@ -3175,11 +3178,11 @@
3175
3178
  }
3176
3179
  },
3177
3180
  "node_modules/npm/node_modules/libnpmfund": {
3178
- "version": "7.0.26",
3181
+ "version": "7.0.28",
3179
3182
  "inBundle": true,
3180
3183
  "license": "ISC",
3181
3184
  "dependencies": {
3182
- "@npmcli/arborist": "^9.9.1"
3185
+ "@npmcli/arborist": "^9.9.3"
3183
3186
  },
3184
3187
  "engines": {
3185
3188
  "node": "^20.17.0 || >=22.9.0"
@@ -3198,11 +3201,11 @@
3198
3201
  }
3199
3202
  },
3200
3203
  "node_modules/npm/node_modules/libnpmpack": {
3201
- "version": "9.1.13",
3204
+ "version": "9.1.15",
3202
3205
  "inBundle": true,
3203
3206
  "license": "ISC",
3204
3207
  "dependencies": {
3205
- "@npmcli/arborist": "^9.9.1",
3208
+ "@npmcli/arborist": "^9.9.3",
3206
3209
  "@npmcli/run-script": "^10.0.0",
3207
3210
  "npm-package-arg": "^13.0.0",
3208
3211
  "pacote": "^21.0.2"
@@ -3212,7 +3215,7 @@
3212
3215
  }
3213
3216
  },
3214
3217
  "node_modules/npm/node_modules/libnpmpublish": {
3215
- "version": "11.2.0",
3218
+ "version": "11.2.1",
3216
3219
  "inBundle": true,
3217
3220
  "license": "ISC",
3218
3221
  "dependencies": {
@@ -3650,7 +3653,7 @@
3650
3653
  }
3651
3654
  },
3652
3655
  "node_modules/npm/node_modules/postcss-selector-parser": {
3653
- "version": "7.1.4",
3656
+ "version": "7.1.6",
3654
3657
  "inBundle": true,
3655
3658
  "license": "MIT",
3656
3659
  "dependencies": {
@@ -3939,7 +3942,7 @@
3939
3942
  }
3940
3943
  },
3941
3944
  "node_modules/npm/node_modules/undici": {
3942
- "version": "6.28.0",
3945
+ "version": "6.29.0",
3943
3946
  "inBundle": true,
3944
3947
  "license": "MIT",
3945
3948
  "engines": {
@@ -4130,9 +4133,10 @@
4130
4133
  }
4131
4134
  },
4132
4135
  "node_modules/qs": {
4133
- "version": "6.16.0",
4134
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz",
4135
- "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==",
4136
+ "version": "6.17.1",
4137
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.17.1.tgz",
4138
+ "integrity": "sha512-jd3COkaKVgGUW+ZHyEHCG9bH7RoaaiWuMgzsIBjUMVjLAaWGWpoUAVwljVvBHxRu/2qEHnadLGZrkutYUBPQJA==",
4139
+ "license": "BSD-3-Clause",
4136
4140
  "dependencies": {
4137
4141
  "es-define-property": "^1.0.1",
4138
4142
  "side-channel": "^1.1.1"
@@ -4724,9 +4728,10 @@
4724
4728
  }
4725
4729
  },
4726
4730
  "node_modules/zod": {
4727
- "version": "4.4.3",
4728
- "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
4729
- "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
4731
+ "version": "4.6.7",
4732
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
4733
+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
4734
+ "license": "MIT",
4730
4735
  "funding": {
4731
4736
  "url": "https://github.com/sponsors/colinhacks"
4732
4737
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amalgm/shell",
3
- "version": "0.1.164-main.41159556182",
3
+ "version": "0.1.164-main.41233016817",
4
4
  "description": "The Amalgm runtime host assembled from the published @amalgm SDK capabilities.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -66,7 +66,7 @@
66
66
  "@amalgm/channels": "0.1.5-main.39177723555",
67
67
  "@amalgm/chat": "0.2.9-main.39537101645",
68
68
  "@amalgm/core": "0.5.1-main.39177162099",
69
- "@amalgm/live": "0.2.81-main.41026618671",
69
+ "@amalgm/live": "0.2.81-main.41179538550",
70
70
  "@amalgm/tools": "0.1.7-main.39177473942",
71
71
  "@anthropic-ai/claude-agent-sdk": "^0.3.285",
72
72
  "@homebridge/node-pty-prebuilt-multiarch": "0.13.1",
@@ -74,7 +74,7 @@
74
74
  "@napi-rs/keyring": "1.3.0",
75
75
  "@tufjs/models": "5.0.0",
76
76
  "better-sqlite3": "12.11.1",
77
- "npm": "11.19.1",
77
+ "npm": "11.21.1",
78
78
  "tar": "7.5.22",
79
79
  "tuf-js": "6.0.0",
80
80
  "ws": "8.21.0"
@@ -101,22 +101,18 @@
101
101
  "test:released-package"
102
102
  ],
103
103
  "auditExcuse": {
104
- "until": "2026-10-14",
104
+ "until": "2026-11-13",
105
105
  "within": "node_modules/npm/node_modules/",
106
- "reason": "The npm CLI dependency bundles these copies, bundled packages cannot be overridden, and no npm release carries the fixes yet (11.19.1 through 12.2.0). http-cache-semantics has no fixed release at all, so npm also flags every bundled package above it and npm itself; that flaw needs a cache shared between users, and npm's cache belongs to one user. Remove this and move npm once an npm release carries the fixes.",
106
+ "reason": "The npm CLI dependency bundles these copies, bundled packages cannot be overridden, and no npm release carries the fixes yet (11.21.1 and 12.2.1 bundle undici 6.29.0, ip-address 10.7.2, minimatch 10.2.5 and glob 13.0.6), so npm also flags every bundled package above them and npm itself. Remove this and move npm once an npm release carries the fixes.",
107
107
  "advisories": [
108
- "GHSA-rfgv-xxqx-mfg5",
109
- "GHSA-3wwx-pv8p-q78v",
110
- "GHSA-r53p-7pc4-xj5r",
111
- "GHSA-qhr7-859c-m2p7",
112
- "GHSA-6j4f-fj2g-mc7p",
113
- "GHSA-q2hr-2g5m-vwhr",
114
- "GHSA-rpw4-54j3-4h4q",
115
- "GHSA-2vr4-cq9g-pvrc",
116
- "GHSA-j6r3-76f7-8jcv",
117
- "GHSA-h3mg-xc3c-68pw",
118
- "GHSA-ch52-4w7c-c8xp",
119
- "GHSA-rj75-hqrm-r3gf"
108
+ "GHSA-xjj6-f33q-929c",
109
+ "GHSA-2m5v-pch6-74hx",
110
+ "GHSA-qrxm-fqhp-jwvm",
111
+ "GHSA-4qv8-2p9j-2685",
112
+ "GHSA-9fm3-97px-rjf6",
113
+ "GHSA-rxp7-6hxx-x8q5",
114
+ "GHSA-g3hv-75wg-m249",
115
+ "GHSA-3g3m-2fjr-6pw4"
120
116
  ]
121
117
  },
122
118
  "distributions": [
@@ -172,11 +168,11 @@
172
168
  }
173
169
  ]
174
170
  },
175
- "gitHead": "1ef8d7303ec870c8846d89f37f3f6da9c9aac39c",
171
+ "gitHead": "115d9380fc78be597fc16307d86cb024b48e5d7b",
176
172
  "amalgmSource": {
177
173
  "repository": "amalgm-inc/amalgm-shell",
178
174
  "branch": "main",
179
- "commit": "1ef8d7303ec870c8846d89f37f3f6da9c9aac39c",
180
- "occurrence": "41159556182"
175
+ "commit": "115d9380fc78be597fc16307d86cb024b48e5d7b",
176
+ "occurrence": "41233016817"
181
177
  }
182
178
  }