@agent-compose/cli 0.1.0 → 0.1.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/README.md CHANGED
@@ -14,9 +14,7 @@ npm install -g @agent-compose/cli
14
14
  agentc init # install Claude Code skills (~/.claude/skills/)
15
15
  ```
16
16
 
17
- Requires Node ≥ 20. The package is published with [npm provenance
18
- attestations](https://docs.npmjs.com/generating-provenance-statements) —
19
- verify with `npm view @agent-compose/cli`.
17
+ Requires Node ≥ 20. Published via [npm Trusted Publishing](https://docs.npmjs.com/trusted-publishers) — every release is OIDC-authenticated by GitHub Actions; no long-lived publish tokens involved.
20
18
 
21
19
  From a clone of this repo (contributor / dev install):
22
20
 
package/dist/index.js CHANGED
@@ -3,6 +3,8 @@ import { createRequire } from "node:module";
3
3
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
4
4
 
5
5
  // src/index.ts
6
+ import { readFileSync as readFileSync3 } from "node:fs";
7
+ import { fileURLToPath as fileURLToPath2 } from "node:url";
6
8
  import { program } from "commander";
7
9
 
8
10
  // src/commands/register.ts
@@ -963,7 +965,8 @@ var cancelCommand = new Command12("cancel").description("Cancel an in-progress r
963
965
  });
964
966
 
965
967
  // src/index.ts
966
- program.name("agentc").description("CLI for agent-compose — register, invoke, and monitor workflows").version("0.1.0");
968
+ var pkg = JSON.parse(readFileSync3(fileURLToPath2(new URL("../package.json", import.meta.url)), "utf8"));
969
+ program.name("agentc").description("CLI for agent-compose — register, invoke, and monitor workflows").version(pkg.version);
967
970
  program.addCommand(registerCommand);
968
971
  program.addCommand(invokeCommand);
969
972
  program.addCommand(listCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-compose/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Command-line interface for agent-compose — register, invoke, and monitor workflows from your terminal.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "type": "module",
25
25
  "bin": {
26
- "agentc": "./dist/index.js"
26
+ "agentc": "dist/index.js"
27
27
  },
28
28
  "files": [
29
29
  "dist",
@@ -44,7 +44,7 @@
44
44
  "prepublishOnly": "bun run build"
45
45
  },
46
46
  "dependencies": {
47
- "@agent-compose/sdk": "^0.1.0",
47
+ "@agent-compose/sdk": "^0.2.0",
48
48
  "commander": "^12.0.0",
49
49
  "picocolors": "^1.1.1"
50
50
  },