@agentic-workspace/workspace-cli 1.2.0 → 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/README.md +8 -27
- package/package.json +2 -2
- 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/README.md
CHANGED
|
@@ -88,33 +88,14 @@ Exact package identities, installation commands, runtime versions, operating-sys
|
|
|
88
88
|
|
|
89
89
|
## Get started
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
agentic-workspace start --target . \
|
|
101
|
-
--task "Inspect this repository" \
|
|
102
|
-
--format json
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
If the repository is not yet adopted and the selected artefact includes the current adoption owner, Configuration returns the exact repository-adoption request. Follow that request and execute only the returned authorised action. Adoption establishes the small package-owned host footprint and managed `AGENTS.md` fence; it does **not** invent repository policy, choose optional modules, or create Planning, Memory, or Verification state.
|
|
106
|
-
|
|
107
|
-
### In an adopted repository
|
|
108
|
-
|
|
109
|
-
The repository's small entry point leads to the canonical `workspace-startup` skill. Agent hosts with supported native skill discovery can expose the same skill directly.
|
|
110
|
-
|
|
111
|
-
For an initial check, ask your agent:
|
|
112
|
-
|
|
113
|
-
> Use this repository's Agentic Workspace setup to identify the guidance and checks relevant to an API change. Do not modify anything yet.
|
|
114
|
-
|
|
115
|
-
For direct inspection, use the same `start` boundary with the actual task. After adoption, continue giving your agent ordinary work; the canonical skill teaches it when AW is useful, so you should not need to run a manual command sequence around every change.
|
|
116
|
-
|
|
117
|
-
[Installation and adoption](https://github.com/rickardvh/agentic-workspace/blob/master/docs/agentic-workspace-install.md) · [Everyday use](https://github.com/rickardvh/agentic-workspace/blob/master/docs/everyday-use.md) · [CLI reference](https://github.com/rickardvh/agentic-workspace/blob/master/docs/reference/cli-catalogue.md)
|
|
91
|
+
1. Install AW using any supported distribution, either as a dev dependency in your repo (recommended) or as a globally accessible tool on your computer. See
|
|
92
|
+
[Getting started guide](https://github.com/rickardvh/agentic-workspace/blob/master/docs/agentic-workspace-install.md).
|
|
93
|
+
2. From your repo root, run `agentic-workspace setup` using that installation and
|
|
94
|
+
authorise the proposed integration.
|
|
95
|
+
3. Give your agent an ordinary task, such as correcting a documentation error.
|
|
96
|
+
|
|
97
|
+
Installation supplies the runtime; setup adds the AW enclave and an AGENTS.md
|
|
98
|
+
pointer. Your agent follows that pointer during ordinary work.
|
|
118
99
|
|
|
119
100
|
## Your repository, your rules
|
|
120
101
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentic-workspace/workspace-cli",
|
|
3
|
-
"version": "1.2.0",
|
|
4
3
|
"author": "Rickard von Haugwitz",
|
|
5
4
|
"license": "MIT",
|
|
6
5
|
"repository": {
|
|
@@ -19,7 +18,6 @@
|
|
|
19
18
|
"access": "public"
|
|
20
19
|
},
|
|
21
20
|
"type": "module",
|
|
22
|
-
"description": "Persistent operating context and dynamic control for coding agents.",
|
|
23
21
|
"bin": {
|
|
24
22
|
"agentic-workspace": "./src/cli.mjs"
|
|
25
23
|
},
|
|
@@ -55,6 +53,8 @@
|
|
|
55
53
|
"support": "declared release platforms"
|
|
56
54
|
}
|
|
57
55
|
},
|
|
56
|
+
"version": "1.4.0",
|
|
57
|
+
"description": "Persistent operating context and dynamic control for coding agents.",
|
|
58
58
|
"os": [
|
|
59
59
|
"linux",
|
|
60
60
|
"darwin",
|
|
@@ -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"}}
|