deadbyte-mcp 0.15.12 → 0.15.14
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/MANIFEST.SHA256 +5 -5
- package/RELEASE.json +53 -54
- package/package.json +1 -1
- package/scripts/npm-release-r47.mjs +43 -4
- package/src/coding-task-runtime.mjs +6 -1
- package/src/version.mjs +1 -1
package/MANIFEST.SHA256
CHANGED
|
@@ -1329,7 +1329,7 @@ db605a698f917c4006462596e6526fe6a9c6eff9b8409e8472fe545d4b70027c node_modules/z
|
|
|
1329
1329
|
f67a25ded944912bd4621b68df17c7c70a52aae117278c076c0aabbc32a3abba node_modules/zod/v4/mini/schemas.d.ts
|
|
1330
1330
|
51b3a7869df2d3a1bd98acb9d5b6a61bbccc7653d7a3d8fca7f0e0db7e84e284 node_modules/zod/v4/mini/schemas.js
|
|
1331
1331
|
3e3125b5a537a24c3632c1c5c09640ce7bcb3935901b127ad8ae3c37a27f133f node_modules/zod/v4/package.json
|
|
1332
|
-
|
|
1332
|
+
1372576b26135bde7220f29d6a664dc762ca006bfbf119455a2f02f5a7267270 package.json
|
|
1333
1333
|
8177e3a354721a73df889f386a97e7744a2e017d150aecf4bf309f5177d18690 proof/CONTAINMENT-BUILD.txt
|
|
1334
1334
|
a8efa13e44ff50902aee64cfca542d19605a1ae23db95280ad2d44b324f3eae7 proof/MCP-SMOKE-STATUS.txt
|
|
1335
1335
|
7c115069cc4a343ca21b0ebdee74bd8f544b02d4aa906ffa13308725825d891a proof/NODE-SYNTAX.txt
|
|
@@ -1398,7 +1398,7 @@ f932ef78b7a72b1bb0d7aedb5fe42fbb9951c2492eb528b72442f46ddff81a6c R44-DONORS.jso
|
|
|
1398
1398
|
731b4c559fc0d25dea701e4474f02400b27e8e3f4cac9f230d5214497d4490a9 R44-PARENT.json
|
|
1399
1399
|
d33ec5d167dd44800ba4e68372b08db43deb8d01df2ef71dd435ff004ac66c8b R45-PARENT.json
|
|
1400
1400
|
5d81b599350d12f019586380d0983054c48fd89a7b948b335a4cec8fb9077ad7 README.txt
|
|
1401
|
-
|
|
1401
|
+
5c2c00d7c5f4e593c017cf6eaa2dd85ca3350ae031247070fc313a9acc54fef4 RELEASE.json
|
|
1402
1402
|
507a42441c8fbb0b1bef63a13fad9e1680262cd6d34cc176b7ed0c5423ddbcc7 SBOM.cdx.json
|
|
1403
1403
|
bd138fe5a64088e8e1a7a5bf6104c5b17317bdc8cf3ad8191ea00ed82ace7d9b scripts/agent-eval-r42.mjs
|
|
1404
1404
|
8d90256a6863f3bbbff02e95cb12389fc6f9e8dbcb77bf1c20c902de371425e8 scripts/archive-source-zips.mjs
|
|
@@ -1486,7 +1486,7 @@ a0ad824eed1d8be051d5f731579f9bf4115b311f202b75ea0d03aa257b13a671 scripts/gate-w
|
|
|
1486
1486
|
de6142bd5693cf4edb8725c9c43fc77e9bdc12f5b398a757006d778d3ee3f8ed scripts/inspect-r46-active.mjs
|
|
1487
1487
|
7ea8cf6bf094a1612603bc716228a3753e5f06fca8a0684d2da15a04d0710c64 scripts/list-source-zips.mjs
|
|
1488
1488
|
9d12d15f7c83ddf272834072ed37d618a232bd8a3fd36c339761fe08bb9380d8 scripts/npm-publish-r47.ps1
|
|
1489
|
-
|
|
1489
|
+
2a5b53ee74619814130fcdaf6c96d75bc08efb96d4004c391ab07a1b2454b7b9 scripts/npm-release-r47.mjs
|
|
1490
1490
|
453dd636b452f4343a36f31a93a763e97f58ed5d6c9df3d2ba05b236934a3a1f scripts/probe-source-zips.mjs
|
|
1491
1491
|
8f9d97a4d23e9d05e7cadfb6a519b1ddb9da04894bca98bdc293fc3797e8423c scripts/probe-zips.mjs
|
|
1492
1492
|
e19a1d591ccd07af2e87d930ce23b0cc9b814bc2a395408045543847154097d7 scripts/r40-compact-ledger-probe.mjs
|
|
@@ -1585,7 +1585,7 @@ ecccd8645297f2edd131b2e1a30016fb58ea9d18d8536aa784a21734c81cf209 src/capability
|
|
|
1585
1585
|
d6fc395575f49abbbf60bf6f6ef5ee9ad51034a7e770a381e6ec34f869788306 src/coding-output-contracts.mjs
|
|
1586
1586
|
0857a458e9c5101eee94c0596b7699adc34c50687455688fe38d03d241d27935 src/coding-plane.mjs
|
|
1587
1587
|
38a1b4e9f5aa14cd5fd9058345c3480ae72c4a6a6eeccdc46e71297c68b5b5a6 src/coding-search.mjs
|
|
1588
|
-
|
|
1588
|
+
2af167096db6e2946b91baa06961f46842d4dea2e8df960811442c0a11f38b6f src/coding-task-runtime.mjs
|
|
1589
1589
|
8478ef1f7b3dc89480c4310a20268048f581041bddcc0b7de9298fa2bfc654ca src/compact-gateway-mcp-tools.mjs
|
|
1590
1590
|
4218d1d1478d9e9a044d9b61c5ae205cd2ca0651a314900fad03992d0b12d286 src/compact-gateway-output-contracts.mjs
|
|
1591
1591
|
40ac70ece531de7709d3c51686b36b48e0ae60283d1fb18d0adc037bfe6f9063 src/contained-cli.mjs
|
|
@@ -1707,7 +1707,7 @@ bac271c6f5218752ac5ff4decf5249e3893ddb35c63c092ce17238c27fc4d35b src/trust-init
|
|
|
1707
1707
|
16df134040e3ff1e73df722b568d3e8ac0a6923b097696cead7580da75aa8d2a src/tunnel-stdio-compat.mjs
|
|
1708
1708
|
642cb67d1854850e336ee73fbd71b329056bdcbdab35cea19c1a995a155ff5d9 src/verifier-cli.mjs
|
|
1709
1709
|
8f818a4852ce3be3a380cd4736c3073a7a3e0e45cd7c7ca90588a6b843d3d022 src/verifier.mjs
|
|
1710
|
-
|
|
1710
|
+
52a36e0a261fab6d40aa96b523efbaa87738600bacc6cd8b8d68047a261828cd src/version.mjs
|
|
1711
1711
|
7e09c57a97289360aabfaf3d531208e54872efbfb3182f3c18203d2cb88c46b5 src/worker-registry.mjs
|
|
1712
1712
|
76361d5ae9a710273cf64a7525082197b692236bf23689875e5fd1ef4aa96d2b src/worker-scheduler.mjs
|
|
1713
1713
|
4da1b32f5198bb089bc68b7eb6de21ea296678b5020018a73742bf0df57d62fa src/workload-substrate.mjs
|
package/RELEASE.json
CHANGED
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
1
|
+
{
|
|
2
|
+
"schema": "deadbyte.release.v1",
|
|
3
|
+
"name": "deadbyte-mcp",
|
|
4
|
+
"version": "0.15.13",
|
|
5
|
+
"train": "R46",
|
|
6
|
+
"label": "FILELESS POWERSHELL PRODUCT BASELINE",
|
|
7
|
+
"protocol_revision": "2026-07-28",
|
|
8
|
+
"parent": {
|
|
9
|
+
"release_id": "v0.15.2-0fb46542f6a4345f",
|
|
10
|
+
"manifest_sha256": "0fb46542f6a4345f1c527565d06bf6e9b8e283260e47bf684fb70a60308fcf34",
|
|
11
|
+
"generation_manifest_sha256": "00cde7bf540cc2804d679a39040d5b07193c5f8a0d49cac3b882402f8f4e6ad8"
|
|
12
|
+
},
|
|
13
|
+
"platform": {
|
|
14
|
+
"primary": "win32",
|
|
15
|
+
"architectures": [
|
|
16
|
+
"x64"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"capabilities": {
|
|
20
|
+
"host_execution_modes": [
|
|
21
|
+
"script",
|
|
22
|
+
"inline",
|
|
23
|
+
"native"
|
|
24
|
+
],
|
|
25
|
+
"hardware_queries": [
|
|
26
|
+
"cpu",
|
|
27
|
+
"gpu",
|
|
28
|
+
"memory",
|
|
29
|
+
"storage",
|
|
30
|
+
"network",
|
|
31
|
+
"pci"
|
|
32
|
+
],
|
|
33
|
+
"compact_tool_count": 43,
|
|
34
|
+
"full_tool_count": 83,
|
|
35
|
+
"process_profiles": [
|
|
36
|
+
"ping_hold",
|
|
37
|
+
"powershell",
|
|
38
|
+
"powershell_repl"
|
|
39
|
+
],
|
|
40
|
+
"powershell_fileless": true,
|
|
41
|
+
"powershell_source_max_arg_bytes": 8192,
|
|
42
|
+
"powershell_persistent_repl": true,
|
|
43
|
+
"process_raw_input_profile_opt_in": true,
|
|
44
|
+
"process_tail_reads": true,
|
|
45
|
+
"process_wait_reads": true,
|
|
46
|
+
"process_chunked_output_ring": true,
|
|
47
|
+
"remote_reachability_ttl": true,
|
|
48
|
+
"remote_probe_timeout_retry": true,
|
|
49
|
+
"remote_dispatch_timeout_no_retry": true,
|
|
50
|
+
"observation_search_session_ttl": true,
|
|
51
|
+
"observation_search_session_cap": 128
|
|
52
|
+
}
|
|
53
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deadbyte-mcp",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Authenticated MCP agentic runtime with signed skills, persistent model backends, identity-bound remote devices, durable job supervision, immutable release slots, and separately revocable machine authority.",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { spawnSync } from 'node:child_process';
|
|
1
|
+
import { spawnSync } from 'node:child_process';
|
|
2
2
|
import { mkdtemp, readFile, rm, unlink } from 'node:fs/promises';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import os from 'node:os';
|
|
@@ -30,6 +30,20 @@ function runNpm(args, options = {}) {
|
|
|
30
30
|
return run(node, [npmCli, ...args], options);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
function runNpmInteractive(args, options = {}) {
|
|
34
|
+
const { cwd = root, timeout = 300000 } = options;
|
|
35
|
+
const r = spawnSync(node, [npmCli, ...args], {
|
|
36
|
+
cwd,
|
|
37
|
+
timeout,
|
|
38
|
+
stdio: 'inherit',
|
|
39
|
+
shell: false,
|
|
40
|
+
windowsHide: false,
|
|
41
|
+
});
|
|
42
|
+
if (r.error) throw r.error;
|
|
43
|
+
if (r.status !== 0) throw new Error('Interactive npm command failed (exit=' + r.status + ', cwd=' + cwd + ')');
|
|
44
|
+
return '';
|
|
45
|
+
}
|
|
46
|
+
|
|
33
47
|
function parseJson(text) {
|
|
34
48
|
const start = Math.min(...[text.indexOf('{'), text.indexOf('[')].filter(n => n >= 0));
|
|
35
49
|
if (!Number.isFinite(start)) throw new Error('Command JSON output missing:\n' + text.slice(0, 1000));
|
|
@@ -72,7 +86,9 @@ async function main() {
|
|
|
72
86
|
const packed = parseJson(runNpm(['pack', '--json'], { timeout: 180000 }));
|
|
73
87
|
const filename = packed?.[0]?.filename;
|
|
74
88
|
if (!filename) throw new Error('npm pack did not return a tarball filename');
|
|
75
|
-
const tarball = path.join(root, filename);
|
|
89
|
+
const tarball = path.join(root, filename);
|
|
90
|
+
let releaseSucceeded = false;
|
|
91
|
+
let publishAttempted = false;
|
|
76
92
|
|
|
77
93
|
try {
|
|
78
94
|
console.log('[4/7] Verifying packed artifact file surface against MANIFEST.SHA256 and packaging contract...');
|
|
@@ -143,7 +159,18 @@ async function main() {
|
|
|
143
159
|
}
|
|
144
160
|
|
|
145
161
|
console.log('[6/7] Publishing artifact to npm registry...');
|
|
146
|
-
|
|
162
|
+
publishAttempted = true;
|
|
163
|
+
let publishOut;
|
|
164
|
+
try {
|
|
165
|
+
publishOut = runNpmInteractive(['publish', tarball, '--access', 'public', '--auth-type=web'], { timeout: 300000 });
|
|
166
|
+
} catch (publishError) {
|
|
167
|
+
const detail = String(publishError?.message || publishError);
|
|
168
|
+
if (/EOTP|one-time password|two-factor|2FA|security.?key|authentication/i.test(detail)) {
|
|
169
|
+
console.error('Publish requires interactive npm authentication (Security Key/WebAuthn).');
|
|
170
|
+
console.error('Tarball preserved for retry: ' + tarball);
|
|
171
|
+
}
|
|
172
|
+
throw publishError;
|
|
173
|
+
}
|
|
147
174
|
const published = parseJson(runNpm(['view', `deadbyte-mcp@${version}`, 'version', 'dist.integrity', 'dist.tarball', '--json'], { timeout: 120000 }));
|
|
148
175
|
const tags = parseJson(runNpm(['view', 'deadbyte-mcp', 'dist-tags', '--json'], { timeout: 120000 }));
|
|
149
176
|
|
|
@@ -162,6 +189,7 @@ async function main() {
|
|
|
162
189
|
timeout: 300000,
|
|
163
190
|
});
|
|
164
191
|
|
|
192
|
+
releaseSucceeded = true;
|
|
165
193
|
console.log('\nRELEASE SUCCESSFUL:');
|
|
166
194
|
console.log(JSON.stringify({
|
|
167
195
|
status: 'published',
|
|
@@ -178,7 +206,11 @@ async function main() {
|
|
|
178
206
|
}, null, 2));
|
|
179
207
|
|
|
180
208
|
} finally {
|
|
181
|
-
|
|
209
|
+
if (releaseSucceeded || !publishAttempted) {
|
|
210
|
+
await unlink(tarball).catch(() => {});
|
|
211
|
+
} else {
|
|
212
|
+
console.error('Release artifact preserved after failure: ' + tarball);
|
|
213
|
+
}
|
|
182
214
|
}
|
|
183
215
|
}
|
|
184
216
|
|
|
@@ -187,3 +219,10 @@ main().catch(err => {
|
|
|
187
219
|
console.error(err?.stack || err);
|
|
188
220
|
process.exitCode = 1;
|
|
189
221
|
});
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
@@ -109,7 +109,12 @@ export function normalizeCodingTaskPlan({ policy, submissionId, title = '', step
|
|
|
109
109
|
const cwd = raw.cwd ?? '.';
|
|
110
110
|
if (cwd !== '.') validatePortableRelativePath(cwd);
|
|
111
111
|
const timeout = raw.timeout_ms ?? null;
|
|
112
|
-
|
|
112
|
+
const commandPolicy = policy.commands[raw.command_id];
|
|
113
|
+
const commandMaxTimeout = commandPolicy.timeout_ms;
|
|
114
|
+
if (!Number.isInteger(commandMaxTimeout) || commandMaxTimeout < 100) throw new Error(`coding command '${raw.command_id}' policy timeout invalid`);
|
|
115
|
+
if (timeout !== null && (!Number.isInteger(timeout) || timeout < 100 || timeout > commandMaxTimeout)) {
|
|
116
|
+
throw new Error(`coding command timeout invalid: must be in [100, ${commandMaxTimeout}] for '${raw.command_id}'`);
|
|
117
|
+
}
|
|
113
118
|
const base = { step_id: raw.step_id, kind: raw.kind, root_id: raw.root_id, command_id: raw.command_id,
|
|
114
119
|
script_path: raw.script_path, script_sha256: raw.script_sha256, args: [...(raw.args ?? [])], cwd, timeout_ms: timeout,
|
|
115
120
|
retry_limit: retryLimit(raw.retry_limit) };
|
package/src/version.mjs
CHANGED