superagent-claude 0.1.0-rc.1 → 0.1.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
@@ -9,16 +9,20 @@ Take as little human attention as possible, and give as much value as possible.
9
9
  ## Quick start
10
10
 
11
11
  ```sh
12
- pnpm install && pnpm build
12
+ npm i -g superagent-claude
13
13
  export SUPERAGENT_CLAUDE_GITHUB_TOKEN=<agent account token>
14
14
  export ANTHROPIC_API_KEY=<API key> # either: API key
15
15
  export CLAUDE_CODE_OAUTH_TOKEN=<token> # or: Claude subscription (token from `claude setup-token`)
16
- node lib/cli.js start --config superagent-claude.json
16
+ superagent-claude start --config superagent-claude.json
17
17
  ```
18
18
 
19
+ It needs Node.js 22.19 or later. `npx superagent-claude start --config superagent-claude.json` runs it without a global install.
20
+
19
21
  `auth.mode` picks which one (`api-key` or `subscription`); Bedrock and Vertex also work. See [docs/authentication.md](docs/authentication.md) for both modes and the subscription terms warning.
20
22
 
21
- The config needs `repositories`, `policy.allowed` and `auth.mode`. See [docs/getting-started.md](docs/getting-started.md).
23
+ The config needs `repositories`, `policy.allowed` and `auth.mode`. See [docs/getting-started.md](docs/getting-started.md), which also covers building from source.
24
+
25
+ A container image is published as `ghcr.io/ok0/superagent-claude`. See [Docker](docs/deploy.md#docker) to run it.
22
26
 
23
27
  ## Documentation
24
28
 
package/lib/cli.js CHANGED
@@ -55,7 +55,7 @@ const exitSoon = () => {
55
55
  process.exit();
56
56
  }, EXIT_GRACE_MS).unref();
57
57
  };
58
- import("./main-B7a_g0IO.js").then(({ main }) => main(argv, {
58
+ import("./main-Br6CBO2s.js").then(({ main }) => main(argv, {
59
59
  out: (s) => {
60
60
  process.stdout.write(s);
61
61
  },
@@ -13,7 +13,7 @@ import { DatabaseSync } from "node:sqlite";
13
13
  import { checkSync, lockSync } from "proper-lockfile";
14
14
  import { fileURLToPath } from "node:url";
15
15
  // package.json
16
- var version = "0.1.0-rc.1";
16
+ var version = "0.1.0";
17
17
  // src/infra/env.ts
18
18
  /** Environment for subprocesses: only the inherited whitelist (PATH, HOME, LANG) plus explicitly named variables; the daemon environment is never passed whole. */
19
19
  const INHERITED_ENV = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superagent-claude",
3
- "version": "0.1.0-rc.1",
3
+ "version": "0.1.0",
4
4
  "description": "A proactive agent for GitHub repositories. Powered by Claude.",
5
5
  "license": "MIT",
6
6
  "repository": {