@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 CHANGED
@@ -88,33 +88,14 @@ Exact package identities, installation commands, runtime versions, operating-sys
88
88
 
89
89
  ## Get started
90
90
 
91
- Use the [installation and adoption guide](https://github.com/rickardvh/agentic-workspace/blob/master/docs/agentic-workspace-install.md) for the release class you intend to run. Stable support, release candidates, and previews have different evidence and support boundaries; exact install commands and platform claims belong to the selected release and its receipts rather than this README.
92
-
93
- For support-bearing installs, follow the [generated install projection](https://github.com/rickardvh/agentic-workspace/blob/master/docs/reference/support-bearing-install.md) to the selected release's `distribution-install-readiness.json` receipt and its exact installation command.
94
-
95
- ### Adopt a repository
96
-
97
- Installing the runtime and adopting a repository are separate operations. After installing the selected artefact, run ordinary `start` against the target Git repository:
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
-
@@ -1 +1 @@
1
- {"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.2.0", "platform": "darwin", "arch": "arm64", "sha256": "8f4a77bffbf4e7a34227e221172e11420a119d9415521894a0376b2e8927a30a", "cli_sha256": "22fe441d55df02e4bcbc54806cffdbd4ba35f004eade53baa0592137c97347af", "source_head": "10d89cfa7b30c5b492794ccf4d62046bc3000a9f", "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"}}
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"}}
@@ -1 +1 @@
1
- {"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.2.0", "platform": "darwin", "arch": "x64", "sha256": "aecf367ecc357c504be9c0bbdbe98a4989f6c83a03566296748477507efa7ca8", "cli_sha256": "de1e2c4b54a4b0849100f2203be86f80af61939c3c1c59b29e51bcb99a22e929", "source_head": "10d89cfa7b30c5b492794ccf4d62046bc3000a9f", "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"}}
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"}}
@@ -1 +1 @@
1
- {"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.2.0", "platform": "linux", "arch": "arm64", "sha256": "027484b588cc887351c6726ea17f06aa6ec5f20004899eabf05613db43fe273a", "cli_sha256": "2c134fc748f0f36e82e7322095b3af442a4ffec0c0e3ed2b1529ce382e984118", "source_head": "10d89cfa7b30c5b492794ccf4d62046bc3000a9f", "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"}}
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"}}
@@ -1 +1 @@
1
- {"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.2.0", "platform": "linux", "arch": "x64", "sha256": "4b9495465bb5c202ca5bf06e2070aaff0aba65cd6d1e28b68f85994d65fba883", "cli_sha256": "8f67b09239e6b4f472d6a01a3b255864b4faf6a27119ff8c2a410cbcb560a008", "source_head": "10d89cfa7b30c5b492794ccf4d62046bc3000a9f", "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"}}
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"}}
@@ -1 +1 @@
1
- {"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.2.0", "platform": "win32", "arch": "arm64", "sha256": "b04ed0aabddd773d22ee7660ba9a217f39ef61794246bf4c94cd2a52430234d3", "cli_sha256": "651c3cda4237330f6243c83cc148e13bbdb42ab6a590085966a3d909e67694b5", "source_head": "10d89cfa7b30c5b492794ccf4d62046bc3000a9f", "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"}}
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"}}
@@ -1 +1 @@
1
- {"kind": "agentic-workspace/native-npm-artifact/v1", "package_version": "1.2.0", "platform": "win32", "arch": "x64", "sha256": "f654ee2c691c0d3abe7f7c5b6067f3bad250e1af8b1cdefeda9951eb4954344e", "cli_sha256": "a8c56488e0ee5915d0e6385254b2b3b3b1c63f858e4d44ab08f642b74dd27c06", "source_head": "10d89cfa7b30c5b492794ccf4d62046bc3000a9f", "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"}}
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"}}
@@ -7,6 +7,7 @@ export interface WorkContext {
7
7
  task?: string;
8
8
  changed?: string[];
9
9
  request?: Json;
10
+ material?: JsonObject[];
10
11
  projection?: Projection;
11
12
  delivered?: string[];
12
13
  }