@agentic-workspace/workspace-cli 1.3.2 → 1.4.0
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 +1 -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.0", "platform": "darwin", "arch": "arm64", "sha256": "446baa5654db3c2a04ed40a2f46ac33da4cacbd3f1f098317b31259c5652f053", "cli_sha256": "d372fdbb47178146179acb1c86a19ab59df6ed198017e49e0cadf5d3bd24f8d5", "source_head": "7eedc96d2e58e07f7e9d692b354d51cb7b957c50", "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.0", "platform": "darwin", "arch": "x64", "sha256": "0f12f58d1b87e65176d275c045b9f2459cf46a0b9569b694a0f2abe9daa9e9a3", "cli_sha256": "5546d99e1d4af7ffb249f662c8990e5f9ef495acd48d1095410e327360e4b059", "source_head": "7eedc96d2e58e07f7e9d692b354d51cb7b957c50", "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.0", "platform": "linux", "arch": "arm64", "sha256": "e51c0fad318ae7354b929b40756e88deb0b840a6eaaea45375bd4931f02b7060", "cli_sha256": "dbf5aa796e44a4d6624b3c7cd3fa5144e468cb077309e957bbf0727668908f44", "source_head": "7eedc96d2e58e07f7e9d692b354d51cb7b957c50", "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.0", "platform": "linux", "arch": "x64", "sha256": "2fe8fcc10b716ec05c1e038e4c338b3b465a5640a5459a6be44fe800c0400404", "cli_sha256": "7e030147020b19358f475f0fd3e1b60bd81a479fec2f60f61e5bb27faf825b1d", "source_head": "7eedc96d2e58e07f7e9d692b354d51cb7b957c50", "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.0", "platform": "win32", "arch": "arm64", "sha256": "5bb08b836998004a378a013e6f3fe79c75d3c3c227ff591795fb61ecae9114ad", "cli_sha256": "6889475565f99128af5d59771ab55c3f31d889173af15aa9e99e5bf60bc4f7fd", "source_head": "7eedc96d2e58e07f7e9d692b354d51cb7b957c50", "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.0", "platform": "win32", "arch": "x64", "sha256": "bc84b7235b2b56d21722f16ddbcb18a969b52cca112101407f575fa97b34e4e0", "cli_sha256": "db77fac9988f3ee4fc9a406f5f925068637be569c0900a0283a2e61d018b8241", "source_head": "7eedc96d2e58e07f7e9d692b354d51cb7b957c50", "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"}}
|