@agentic-workspace/workspace-cli 1.3.2 → 1.4.1
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/package.json +1 -1
- package/src/native/_transport.mjs +3 -4
- package/src/native/bin/darwin-arm64/agentic-workspace +0 -0
- package/src/native/bin/darwin-arm64/agentic-workspace-core +0 -0
- package/src/native/bin/darwin-arm64/artifact.json +1 -1
- package/src/native/bin/darwin-x64/agentic-workspace +0 -0
- package/src/native/bin/darwin-x64/agentic-workspace-core +0 -0
- package/src/native/bin/darwin-x64/artifact.json +1 -1
- package/src/native/bin/linux-arm64/agentic-workspace +0 -0
- package/src/native/bin/linux-arm64/agentic-workspace-core +0 -0
- package/src/native/bin/linux-arm64/artifact.json +1 -1
- package/src/native/bin/linux-x64/agentic-workspace +0 -0
- package/src/native/bin/linux-x64/agentic-workspace-core +0 -0
- package/src/native/bin/linux-x64/artifact.json +1 -1
- package/src/native/bin/win32-arm64/agentic-workspace-core.exe +0 -0
- package/src/native/bin/win32-arm64/agentic-workspace.exe +0 -0
- package/src/native/bin/win32-arm64/artifact.json +1 -1
- package/src/native/bin/win32-x64/agentic-workspace-core.exe +0 -0
- package/src/native/bin/win32-x64/agentic-workspace.exe +0 -0
- package/src/native/bin/win32-x64/artifact.json +1 -1
- package/src/native/operating.d.mts +2 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spawnSync } from "node:child_process";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
|
-
import { dirname, join } from "node:path";
|
|
4
|
+
import { dirname, join, toNamespacedPath } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
|
|
7
7
|
const nativeDirectory = () => {
|
|
@@ -45,13 +45,13 @@ export function runNativeCli(args) {
|
|
|
45
45
|
const manifest = JSON.parse(readFileSync(manifestPath, "utf8"));
|
|
46
46
|
if (createHash("sha256").update(readFileSync(binary)).digest("hex") !== manifest.cli_sha256) throw new Error("paired native CLI digest mismatch");
|
|
47
47
|
}
|
|
48
|
-
const result = spawnSync(binary, args, {stdio: "inherit", windowsHide: true});
|
|
48
|
+
const result = spawnSync(toNamespacedPath(binary), args, {stdio: "inherit", windowsHide: true});
|
|
49
49
|
if (result.error) throw result.error;
|
|
50
50
|
return result.status ?? 1;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export function request(payload) {
|
|
54
|
-
const result = spawnSync(coreBinary(), [], {
|
|
54
|
+
const result = spawnSync(toNamespacedPath(coreBinary()), [], {
|
|
55
55
|
input: JSON.stringify(payload),
|
|
56
56
|
encoding: "utf8",
|
|
57
57
|
windowsHide: true,
|
|
@@ -63,4 +63,3 @@ export function request(payload) {
|
|
|
63
63
|
}
|
|
64
64
|
return JSON.parse(result.stdout);
|
|
65
65
|
}
|
|
66
|
-
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.
|
|
1
|
+
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.4.1", "platform": "darwin", "arch": "arm64", "sha256": "1d439101459f851678c0ac234ed59d2f6ca70afe1174baa934d35ec88a3a9eda", "cli_sha256": "107658227d13aa9885df94425f2a8e66026f1206d5e6d6b9a71578ce6921e523", "source_head": "e5af7626a04f2013b557ab912f6b93d4072028bd", "source_dirty": false, "profile": "release", "rust_host": "aarch64-apple-darwin", "rust_target": "aarch64-apple-darwin", "rust_toolchain": {"macos_deployment_target": "14.0", "channel": "1.98.1", "declaration_sha256": "887f9be066a15585a2c583578e84b0fcb541126d81546276bad3d2ff00d61167", "release": "1.98.1", "commit_hash": "48a229ceaefd4985c50990b14116b6d856af0985", "commit_date": "2026-09-01", "host": "aarch64-apple-darwin", "llvm_version": "22.1.8"}}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.
|
|
1
|
+
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.4.1", "platform": "darwin", "arch": "x64", "sha256": "9b42407dff29549f6f5752a38260d8b501b32c273db828e22214648e1e6351bf", "cli_sha256": "ae44542fb617e220c206f1d383d2013c8147b6ea26f52254f6680cc0d896f32a", "source_head": "e5af7626a04f2013b557ab912f6b93d4072028bd", "source_dirty": false, "profile": "release", "rust_host": "x86_64-apple-darwin", "rust_target": "x86_64-apple-darwin", "rust_toolchain": {"macos_deployment_target": "15.0", "channel": "1.98.1", "declaration_sha256": "887f9be066a15585a2c583578e84b0fcb541126d81546276bad3d2ff00d61167", "release": "1.98.1", "commit_hash": "48a229ceaefd4985c50990b14116b6d856af0985", "commit_date": "2026-09-01", "host": "x86_64-apple-darwin", "llvm_version": "22.1.8"}}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.
|
|
1
|
+
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.4.1", "platform": "linux", "arch": "arm64", "sha256": "5e2b7d01f0085c08fb5738004965f646cb51d21d111722c64f2fb6a0d79a16b8", "cli_sha256": "3c2edffc765c08e75988cd9e233220272b792b8a98ef5a4d1224e22a86dd053c", "source_head": "e5af7626a04f2013b557ab912f6b93d4072028bd", "source_dirty": false, "profile": "release", "rust_host": "aarch64-unknown-linux-gnu", "rust_target": "aarch64-unknown-linux-gnu", "rust_toolchain": {"channel": "1.98.1", "declaration_sha256": "887f9be066a15585a2c583578e84b0fcb541126d81546276bad3d2ff00d61167", "release": "1.98.1", "commit_hash": "48a229ceaefd4985c50990b14116b6d856af0985", "commit_date": "2026-09-01", "host": "aarch64-unknown-linux-gnu", "llvm_version": "22.1.8"}}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.
|
|
1
|
+
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.4.1", "platform": "linux", "arch": "x64", "sha256": "86aa25b77cb8dd5938ab8b619db5977ab0990a5ef7bdd68fec8453b0b543a260", "cli_sha256": "1a3996ccb0de140a95e27cbbaf179585956e0836150dcbe091e57967092abc0e", "source_head": "e5af7626a04f2013b557ab912f6b93d4072028bd", "source_dirty": false, "profile": "release", "rust_host": "x86_64-unknown-linux-gnu", "rust_target": "x86_64-unknown-linux-gnu", "rust_toolchain": {"channel": "1.98.1", "declaration_sha256": "887f9be066a15585a2c583578e84b0fcb541126d81546276bad3d2ff00d61167", "release": "1.98.1", "commit_hash": "48a229ceaefd4985c50990b14116b6d856af0985", "commit_date": "2026-09-01", "host": "x86_64-unknown-linux-gnu", "llvm_version": "22.1.8"}}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.
|
|
1
|
+
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.4.1", "platform": "win32", "arch": "arm64", "sha256": "3b5cd09246e8ee601970729ef0ccfcc67672b085df5027615b38ce21cfa4e5ab", "cli_sha256": "b3b2ae8af3124fd3cb9b6715ac7e23239794acc8eca2ca1d1761a37c29a7cacb", "source_head": "e5af7626a04f2013b557ab912f6b93d4072028bd", "source_dirty": false, "profile": "release", "rust_host": "aarch64-pc-windows-msvc", "rust_target": "aarch64-pc-windows-msvc", "rust_toolchain": {"channel": "1.98.1", "declaration_sha256": "887f9be066a15585a2c583578e84b0fcb541126d81546276bad3d2ff00d61167", "release": "1.98.1", "commit_hash": "48a229ceaefd4985c50990b14116b6d856af0985", "commit_date": "2026-09-01", "host": "aarch64-pc-windows-msvc", "llvm_version": "22.1.8"}}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.
|
|
1
|
+
{"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.4.1", "platform": "win32", "arch": "x64", "sha256": "4a4b401ddcd2985d994fa9c0deddc525f1a6bcc703fa31e19afef49b62883156", "cli_sha256": "73bead2afbe12c35b7111b64a6cfc47e347879f167446d93f787cccd2f910c49", "source_head": "e5af7626a04f2013b557ab912f6b93d4072028bd", "source_dirty": false, "profile": "release", "rust_host": "x86_64-pc-windows-msvc", "rust_target": "x86_64-pc-windows-msvc", "rust_toolchain": {"channel": "1.98.1", "declaration_sha256": "887f9be066a15585a2c583578e84b0fcb541126d81546276bad3d2ff00d61167", "release": "1.98.1", "commit_hash": "48a229ceaefd4985c50990b14116b6d856af0985", "commit_date": "2026-09-01", "host": "x86_64-pc-windows-msvc", "llvm_version": "22.1.8"}}
|