@amalgm/shell 0.1.164-main.41181871243 → 0.1.164-main.41281684198
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/content-cache-namespace.d.ts +8 -0
- package/dist/content-cache-namespace.js +37 -15
- package/dist/content-cache-namespace.js.map +1 -1
- package/dist/updates/artifacts.d.ts +1 -1
- package/dist/updates/store.d.ts +3 -3
- package/dist/updates/store.js +3 -3
- package/npm-shrinkwrap.json +52 -52
- package/package.json +14 -14
|
@@ -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 &&
|
|
115
|
+
if (current && stats && physicalKey(stats) === current.physical)
|
|
108
116
|
return current;
|
|
109
|
-
|
|
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
|
|
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
|
-
|
|
120
|
-
if (
|
|
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 (
|
|
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
|
-
/**
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
|
|
143
|
-
return false;
|
|
144
|
-
await handle.sync();
|
|
145
|
-
return true;
|
|
166
|
+
return { physical: physicalKey(await handle.stat({ bigint: true })), handle };
|
|
146
167
|
}
|
|
147
|
-
|
|
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
|
|
1
|
+
{"version":3,"file":"content-cache-namespace.js","sourceRoot":"","sources":["../src/content-cache-namespace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAmB,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,uB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CAAC,EAAE,MAAM,EAAE,CAAC;IAChF,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACrB,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAED,KAAK,UAAU,mBAAmB,CAAC,SAAiB;IAClD,MAAM,MAAM,GAAG,MAAM,IAAI,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"}
|
package/dist/updates/store.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const RUNTIME_FORMAT: Readonly<{
|
|
|
8
8
|
min: number;
|
|
9
9
|
max: number;
|
|
10
10
|
};
|
|
11
|
-
writes:
|
|
11
|
+
writes: 8;
|
|
12
12
|
}>;
|
|
13
13
|
export declare const CONTROLLER_PROTOCOL = 1;
|
|
14
14
|
export declare const runtimeHost: () => ManagedHost;
|
|
@@ -28,8 +28,8 @@ export declare class UpdateStore {
|
|
|
28
28
|
state(binding: RuntimeBinding, host: ManagedHost): ManagedUpdateState | null;
|
|
29
29
|
close(): void;
|
|
30
30
|
}
|
|
31
|
-
/** The installation format includes every locked SDK store. Format
|
|
32
|
-
* Chat journal schema
|
|
31
|
+
/** The installation format includes every locked SDK store. Format 8 includes
|
|
32
|
+
* Chat journal schema 10 and the converted ground database (stat inventory,
|
|
33
33
|
* Apply intent columns, contract-scoped authority); future writers advance
|
|
34
34
|
* this contract before an incompatible migration; they never overwrite an
|
|
35
35
|
* unreadable receipt. */
|
package/dist/updates/store.js
CHANGED
|
@@ -4,7 +4,7 @@ import { dirname, join, toNamespacedPath } from 'node:path';
|
|
|
4
4
|
import { fileURLToPath } from 'node:url';
|
|
5
5
|
import { restoreManagedUpdateState, } from '@amalgm/core/supervision';
|
|
6
6
|
import { applyDurability } from '../sqlite-durability.js';
|
|
7
|
-
export const RUNTIME_FORMAT = Object.freeze({ id: 'installation', reads: { min: 1, max:
|
|
7
|
+
export const RUNTIME_FORMAT = Object.freeze({ id: 'installation', reads: { min: 1, max: 8 }, writes: 8 });
|
|
8
8
|
export const CONTROLLER_PROTOCOL = 1;
|
|
9
9
|
export const runtimeHost = () => ({ controllerProtocol: CONTROLLER_PROTOCOL,
|
|
10
10
|
nodeMajor: Number(process.versions.node.split('.')[0]), platform: `${process.platform}-${process.arch}` });
|
|
@@ -54,8 +54,8 @@ export class UpdateStore {
|
|
|
54
54
|
}
|
|
55
55
|
close() { this.database.close(); }
|
|
56
56
|
}
|
|
57
|
-
/** The installation format includes every locked SDK store. Format
|
|
58
|
-
* Chat journal schema
|
|
57
|
+
/** The installation format includes every locked SDK store. Format 8 includes
|
|
58
|
+
* Chat journal schema 10 and the converted ground database (stat inventory,
|
|
59
59
|
* Apply intent columns, contract-scoped authority); future writers advance
|
|
60
60
|
* this contract before an incompatible migration; they never overwrite an
|
|
61
61
|
* unreadable receipt. */
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amalgm/shell",
|
|
3
|
-
"version": "0.1.164-main.
|
|
3
|
+
"version": "0.1.164-main.41281684198",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@amalgm/shell",
|
|
9
|
-
"version": "0.1.164-main.
|
|
9
|
+
"version": "0.1.164-main.41281684198",
|
|
10
10
|
"license": "UNLICENSED",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@amalgm/agents": "0.2.3-main.
|
|
13
|
-
"@amalgm/apps": "0.1.3-main.
|
|
14
|
-
"@amalgm/automations": "0.4.4-main.
|
|
15
|
-
"@amalgm/browser": "0.1.2-main.
|
|
16
|
-
"@amalgm/channels": "0.1.5-main.
|
|
17
|
-
"@amalgm/chat": "0.2.9-main.
|
|
18
|
-
"@amalgm/core": "0.5.1-main.
|
|
12
|
+
"@amalgm/agents": "0.2.3-main.41264636919",
|
|
13
|
+
"@amalgm/apps": "0.1.3-main.41264657688",
|
|
14
|
+
"@amalgm/automations": "0.4.4-main.41264868541",
|
|
15
|
+
"@amalgm/browser": "0.1.2-main.41265463966",
|
|
16
|
+
"@amalgm/channels": "0.1.5-main.41264887963",
|
|
17
|
+
"@amalgm/chat": "0.2.9-main.41255881419",
|
|
18
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
19
19
|
"@amalgm/live": "0.2.81-main.41179538550",
|
|
20
|
-
"@amalgm/tools": "0.1.7-main.
|
|
20
|
+
"@amalgm/tools": "0.1.7-main.41264631800",
|
|
21
21
|
"@anthropic-ai/claude-agent-sdk": "^0.3.285",
|
|
22
22
|
"@homebridge/node-pty-prebuilt-multiarch": "0.13.1",
|
|
23
23
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"node_modules/@amalgm/agents": {
|
|
55
|
-
"version": "0.2.3-main.
|
|
56
|
-
"resolved": "https://registry.npmjs.org/@amalgm/agents/-/agents-0.2.3-main.
|
|
57
|
-
"integrity": "sha512
|
|
55
|
+
"version": "0.2.3-main.41264636919",
|
|
56
|
+
"resolved": "https://registry.npmjs.org/@amalgm/agents/-/agents-0.2.3-main.41264636919.tgz",
|
|
57
|
+
"integrity": "sha512-ajWMMCfHN94nfm7yaDVh1wMUzXJfd3M9qtJzNuKXtlYPlizbfO3WA8VhelNw0VRgqiPmID1zG1UW4kcEdBoGow==",
|
|
58
58
|
"license": "UNLICENSED",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@amalgm/core": "0.5.1-main.
|
|
60
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
61
61
|
"@types/node": "^20.19.43"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"license": "MIT"
|
|
81
81
|
},
|
|
82
82
|
"node_modules/@amalgm/apps": {
|
|
83
|
-
"version": "0.1.3-main.
|
|
84
|
-
"resolved": "https://registry.npmjs.org/@amalgm/apps/-/apps-0.1.3-main.
|
|
85
|
-
"integrity": "sha512-
|
|
83
|
+
"version": "0.1.3-main.41264657688",
|
|
84
|
+
"resolved": "https://registry.npmjs.org/@amalgm/apps/-/apps-0.1.3-main.41264657688.tgz",
|
|
85
|
+
"integrity": "sha512-2lMpwidYoEJM5j12QKuHtr81O+WKdEtCIIsy0is+s9LukkkQbZ78vFyyL2loAlt7/+TTcSuuhh4EwsjRF22D/Q==",
|
|
86
86
|
"license": "UNLICENSED",
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@amalgm/core": "0.5.1-main.
|
|
88
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
89
89
|
"@types/better-sqlite3": "^7.6.13",
|
|
90
90
|
"@types/node": "^20.19.43",
|
|
91
91
|
"better-sqlite3": "^12.6.2",
|
|
@@ -95,15 +95,6 @@
|
|
|
95
95
|
"node": ">=24"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
"node_modules/@amalgm/apps/node_modules/@amalgm/core": {
|
|
99
|
-
"version": "0.5.1-main.38983350397",
|
|
100
|
-
"resolved": "https://registry.npmjs.org/@amalgm/core/-/core-0.5.1-main.38983350397.tgz",
|
|
101
|
-
"integrity": "sha512-imnYR/WJ7TUhO15yhVSKWA/m+aQcseCMaKFruMqXNYBR2UWRXu/4XY7xGhlxRFp3SrK8M9Ch0JDDpVnmRng+1w==",
|
|
102
|
-
"license": "UNLICENSED",
|
|
103
|
-
"engines": {
|
|
104
|
-
"node": ">=18"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
98
|
"node_modules/@amalgm/apps/node_modules/@types/node": {
|
|
108
99
|
"version": "20.19.43",
|
|
109
100
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.43.tgz",
|
|
@@ -120,12 +111,12 @@
|
|
|
120
111
|
"license": "MIT"
|
|
121
112
|
},
|
|
122
113
|
"node_modules/@amalgm/automations": {
|
|
123
|
-
"version": "0.4.4-main.
|
|
124
|
-
"resolved": "https://registry.npmjs.org/@amalgm/automations/-/automations-0.4.4-main.
|
|
125
|
-
"integrity": "sha512-
|
|
114
|
+
"version": "0.4.4-main.41264868541",
|
|
115
|
+
"resolved": "https://registry.npmjs.org/@amalgm/automations/-/automations-0.4.4-main.41264868541.tgz",
|
|
116
|
+
"integrity": "sha512-Nxe9TI6nxQqHE2x9iZzYMze1ijB5euhIQl4LsMHUlVOw0hJbu0KvMhdiR2HniGRaDSSHUC3L++70wI8rAlUviA==",
|
|
126
117
|
"license": "UNLICENSED",
|
|
127
118
|
"dependencies": {
|
|
128
|
-
"@amalgm/core": "0.5.1-main.
|
|
119
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
129
120
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
130
121
|
"@supabase/supabase-js": "2.57.4",
|
|
131
122
|
"cron-parser": "^5.4.0",
|
|
@@ -141,12 +132,12 @@
|
|
|
141
132
|
}
|
|
142
133
|
},
|
|
143
134
|
"node_modules/@amalgm/browser": {
|
|
144
|
-
"version": "0.1.2-main.
|
|
145
|
-
"resolved": "https://registry.npmjs.org/@amalgm/browser/-/browser-0.1.2-main.
|
|
146
|
-
"integrity": "sha512-
|
|
135
|
+
"version": "0.1.2-main.41265463966",
|
|
136
|
+
"resolved": "https://registry.npmjs.org/@amalgm/browser/-/browser-0.1.2-main.41265463966.tgz",
|
|
137
|
+
"integrity": "sha512-URtctl38iFl8WIlLUqtNiGtJWd3XtRrX+5X9UVBcsgxmGEF9ZG25eGVTV1kGPLRHmCEiwRxMWpYAHb1KCzhI3A==",
|
|
147
138
|
"license": "UNLICENSED",
|
|
148
139
|
"dependencies": {
|
|
149
|
-
"@amalgm/core": "0.5.1-main.
|
|
140
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
150
141
|
"@ghostery/adblocker": "^2.18.1",
|
|
151
142
|
"@napi-rs/keyring": "2.1.2",
|
|
152
143
|
"better-sqlite3": "^12.10.1",
|
|
@@ -402,12 +393,12 @@
|
|
|
402
393
|
}
|
|
403
394
|
},
|
|
404
395
|
"node_modules/@amalgm/channels": {
|
|
405
|
-
"version": "0.1.5-main.
|
|
406
|
-
"resolved": "https://registry.npmjs.org/@amalgm/channels/-/channels-0.1.5-main.
|
|
407
|
-
"integrity": "sha512-
|
|
396
|
+
"version": "0.1.5-main.41264887963",
|
|
397
|
+
"resolved": "https://registry.npmjs.org/@amalgm/channels/-/channels-0.1.5-main.41264887963.tgz",
|
|
398
|
+
"integrity": "sha512-BX6OVflZaTW9ICajq15CVBJ18Jr2R1A05X+fdwGOcrOCpBMFbFJRU9kqmlPfMxTywXXqRtUqELgpPW4emjRSvQ==",
|
|
408
399
|
"license": "UNLICENSED",
|
|
409
400
|
"dependencies": {
|
|
410
|
-
"@amalgm/core": "0.5.1-main.
|
|
401
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
411
402
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
412
403
|
"@supabase/supabase-js": "2.57.4",
|
|
413
404
|
"jose": "^6.1.0",
|
|
@@ -422,9 +413,9 @@
|
|
|
422
413
|
}
|
|
423
414
|
},
|
|
424
415
|
"node_modules/@amalgm/chat": {
|
|
425
|
-
"version": "0.2.9-main.
|
|
426
|
-
"resolved": "https://registry.npmjs.org/@amalgm/chat/-/chat-0.2.9-main.
|
|
427
|
-
"integrity": "sha512-
|
|
416
|
+
"version": "0.2.9-main.41255881419",
|
|
417
|
+
"resolved": "https://registry.npmjs.org/@amalgm/chat/-/chat-0.2.9-main.41255881419.tgz",
|
|
418
|
+
"integrity": "sha512-Q+eNtdCPRoUd28XOFtSpdcWALxpwjjgKPbeMkLx2fP+knCpf4r8WwGsJJuY65Cu2lfyqKlhtv5SwzG2NHV6Hhw==",
|
|
428
419
|
"license": "UNLICENSED",
|
|
429
420
|
"dependencies": {
|
|
430
421
|
"@agentclientprotocol/sdk": "^1.4.0",
|
|
@@ -440,9 +431,9 @@
|
|
|
440
431
|
}
|
|
441
432
|
},
|
|
442
433
|
"node_modules/@amalgm/core": {
|
|
443
|
-
"version": "0.5.1-main.
|
|
444
|
-
"resolved": "https://registry.npmjs.org/@amalgm/core/-/core-0.5.1-main.
|
|
445
|
-
"integrity": "sha512-
|
|
434
|
+
"version": "0.5.1-main.41264319540",
|
|
435
|
+
"resolved": "https://registry.npmjs.org/@amalgm/core/-/core-0.5.1-main.41264319540.tgz",
|
|
436
|
+
"integrity": "sha512-oLC78asGrExUNWjtZg9sS5k4a2f9SDCYvFnoC37Nz20BJMMPXRFbpD5B6jCwCK5DWQZfPfN/YmQ+1SVo9BkY9w==",
|
|
446
437
|
"license": "UNLICENSED",
|
|
447
438
|
"engines": {
|
|
448
439
|
"node": ">=18"
|
|
@@ -460,13 +451,22 @@
|
|
|
460
451
|
"node": ">=20.19"
|
|
461
452
|
}
|
|
462
453
|
},
|
|
454
|
+
"node_modules/@amalgm/live/node_modules/@amalgm/core": {
|
|
455
|
+
"version": "0.5.1-main.39177162099",
|
|
456
|
+
"resolved": "https://registry.npmjs.org/@amalgm/core/-/core-0.5.1-main.39177162099.tgz",
|
|
457
|
+
"integrity": "sha512-Ncg2jZrZz6lBqHsOysnG4ZUOgL5lxXogEm/fd0T+r6mLKqdvng0xiwC8naR74T/PYGQiruFhA+hIOI70vpoLAw==",
|
|
458
|
+
"license": "UNLICENSED",
|
|
459
|
+
"engines": {
|
|
460
|
+
"node": ">=18"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
463
|
"node_modules/@amalgm/tools": {
|
|
464
|
-
"version": "0.1.7-main.
|
|
465
|
-
"resolved": "https://registry.npmjs.org/@amalgm/tools/-/tools-0.1.7-main.
|
|
466
|
-
"integrity": "sha512-
|
|
464
|
+
"version": "0.1.7-main.41264631800",
|
|
465
|
+
"resolved": "https://registry.npmjs.org/@amalgm/tools/-/tools-0.1.7-main.41264631800.tgz",
|
|
466
|
+
"integrity": "sha512-myYyZvs6jSWQyM4dyMtzMV73eANrihigEb+FIMQYPqMYsgimbB9K8cqBlJfMKYtTa7mqdqHsYfVBi8iMkBDqcQ==",
|
|
467
467
|
"license": "UNLICENSED",
|
|
468
468
|
"dependencies": {
|
|
469
|
-
"@amalgm/core": "0.5.1-main.
|
|
469
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
470
470
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
471
471
|
"better-sqlite3": "^12.6.2"
|
|
472
472
|
},
|
|
@@ -1549,9 +1549,9 @@
|
|
|
1549
1549
|
}
|
|
1550
1550
|
},
|
|
1551
1551
|
"node_modules/cron-parser": {
|
|
1552
|
-
"version": "5.10.
|
|
1553
|
-
"resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.
|
|
1554
|
-
"integrity": "sha512-
|
|
1552
|
+
"version": "5.10.3",
|
|
1553
|
+
"resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.3.tgz",
|
|
1554
|
+
"integrity": "sha512-Fwlmlgiyoj5e7XDCy5T3ueFd3imgt714k7xjAzhkOBUrUgQxWtsjS7kWSEN3efDX34bebxBJAmPoCSisHvjlpw==",
|
|
1555
1555
|
"license": "MIT",
|
|
1556
1556
|
"dependencies": {
|
|
1557
1557
|
"luxon": "^3.7.2"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amalgm/shell",
|
|
3
|
-
"version": "0.1.164-main.
|
|
3
|
+
"version": "0.1.164-main.41281684198",
|
|
4
4
|
"description": "The Amalgm runtime host assembled from the published @amalgm SDK capabilities.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
"better-sqlite3@12.11.1": true
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@amalgm/agents": "0.2.3-main.
|
|
63
|
-
"@amalgm/apps": "0.1.3-main.
|
|
64
|
-
"@amalgm/automations": "0.4.4-main.
|
|
65
|
-
"@amalgm/browser": "0.1.2-main.
|
|
66
|
-
"@amalgm/channels": "0.1.5-main.
|
|
67
|
-
"@amalgm/chat": "0.2.9-main.
|
|
68
|
-
"@amalgm/core": "0.5.1-main.
|
|
62
|
+
"@amalgm/agents": "0.2.3-main.41264636919",
|
|
63
|
+
"@amalgm/apps": "0.1.3-main.41264657688",
|
|
64
|
+
"@amalgm/automations": "0.4.4-main.41264868541",
|
|
65
|
+
"@amalgm/browser": "0.1.2-main.41265463966",
|
|
66
|
+
"@amalgm/channels": "0.1.5-main.41264887963",
|
|
67
|
+
"@amalgm/chat": "0.2.9-main.41255881419",
|
|
68
|
+
"@amalgm/core": "0.5.1-main.41264319540",
|
|
69
69
|
"@amalgm/live": "0.2.81-main.41179538550",
|
|
70
|
-
"@amalgm/tools": "0.1.7-main.
|
|
70
|
+
"@amalgm/tools": "0.1.7-main.41264631800",
|
|
71
71
|
"@anthropic-ai/claude-agent-sdk": "^0.3.285",
|
|
72
72
|
"@homebridge/node-pty-prebuilt-multiarch": "0.13.1",
|
|
73
73
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
@@ -162,17 +162,17 @@
|
|
|
162
162
|
"id": "installation",
|
|
163
163
|
"reads": {
|
|
164
164
|
"min": 1,
|
|
165
|
-
"max":
|
|
165
|
+
"max": 8
|
|
166
166
|
},
|
|
167
|
-
"writes":
|
|
167
|
+
"writes": 8
|
|
168
168
|
}
|
|
169
169
|
]
|
|
170
170
|
},
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "299a5c3ee264f3dfd9957e09960ae2d279e151db",
|
|
172
172
|
"amalgmSource": {
|
|
173
173
|
"repository": "amalgm-inc/amalgm-shell",
|
|
174
174
|
"branch": "main",
|
|
175
|
-
"commit": "
|
|
176
|
-
"occurrence": "
|
|
175
|
+
"commit": "299a5c3ee264f3dfd9957e09960ae2d279e151db",
|
|
176
|
+
"occurrence": "41281684198"
|
|
177
177
|
}
|
|
178
178
|
}
|