@deleted-ai/deleted 0.1.310 → 0.1.336
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 +13 -0
- package/bundled/linux-arm64.tar.gz +0 -0
- package/lib/paths.js +4 -2
- package/package.json +1 -1
- package/release-manifest.json +5 -4
package/README.md
CHANGED
|
@@ -2,11 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
npm wrapper for the Deleted AI `deleted` CLI on **Linux arm64** (v0 support floor).
|
|
4
4
|
|
|
5
|
+
A brokered tool call with **no Rust toolchain** — Node is the only prerequisite:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx @deleted-ai/deleted run --starter chat-tools -- "tool:one two three"
|
|
9
|
+
# → completed: word-count:3
|
|
10
|
+
```
|
|
11
|
+
|
|
5
12
|
```bash
|
|
6
13
|
npx @deleted-ai/deleted web
|
|
7
14
|
npx @deleted-ai/deleted init my-box
|
|
8
15
|
```
|
|
9
16
|
|
|
17
|
+
`--starter` runs a pre-signed bundle from `share/starter/` (`chat-tools` or
|
|
18
|
+
`chat-echo`). Sources for the same assembly ship in
|
|
19
|
+
`share/samples/chat-tools/` next to pre-built `prebuilt/*.wasm`; rebuilding them
|
|
20
|
+
with `deleted pack build` (Rust + `wasm-tools` 1.235.x) reproduces the shipped
|
|
21
|
+
binaries byte for byte.
|
|
22
|
+
|
|
10
23
|
On install (or first run), the package extracts the bundled linux-arm64 release
|
|
11
24
|
binary (or downloads from GitHub Releases when authenticated). No kernel source
|
|
12
25
|
ships in this package.
|
|
Binary file
|
package/lib/paths.js
CHANGED
|
@@ -62,6 +62,8 @@ export function cacheMatchesManifest(cacheDir, manifest) {
|
|
|
62
62
|
/** @param {string} cacheDir */
|
|
63
63
|
export function isInstalled(cacheDir) {
|
|
64
64
|
const binary = nativeBinaryPath(cacheDir);
|
|
65
|
-
const
|
|
66
|
-
|
|
65
|
+
const starters = ['chat-echo', 'chat-tools'].map((name) =>
|
|
66
|
+
path.join(cacheDir, 'share', 'starter', name, 'deployment.lock'),
|
|
67
|
+
);
|
|
68
|
+
return fs.existsSync(binary) && starters.every((p) => fs.existsSync(p));
|
|
67
69
|
}
|
package/package.json
CHANGED
package/release-manifest.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
2
|
+
"_comment": "Placeholder in git; scripts/publish-deleted-npm.sh stamps version, gitSha, and tarballSha256 at publish. Install fails closed while tarballSha256 is the zero sentinel.",
|
|
3
|
+
"version": "0.1.336",
|
|
4
|
+
"gitSha": "58fe984",
|
|
5
5
|
"repo": "cdlconsultants/deleted-ai",
|
|
6
6
|
"tarballPrefix": "deleted-linux-arm64",
|
|
7
|
-
"releaseTagPrefix": "npm-v"
|
|
7
|
+
"releaseTagPrefix": "npm-v",
|
|
8
|
+
"tarballSha256": "0ae6889e4bb84a270ef44b56e2b93d801ce67d75928f8536057299ab3633a252"
|
|
8
9
|
}
|