superagent-claude 0.1.0 → 0.2.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
@@ -31,9 +31,14 @@ A container image is published as `ghcr.io/ok0/superagent-claude`. See [Docker](
31
31
  - [Authentication](docs/authentication.md): auth modes and start refusals
32
32
  - [Runtime contract](docs/runtime-contract.md)
33
33
  - [Deploy](docs/deploy.md): run as a service
34
+ - [Running multiple accounts/projects](docs/deploy.md#running-multiple-accountsprojects): one instance per account or project
34
35
  - [Security](docs/security.md): trust policy
35
36
  - [Contributing](CONTRIBUTING.md): setup, checks and pull requests
36
37
 
38
+ ## Known limitations
39
+
40
+ The worker cannot run end-to-end tests that need services, databases, browsers or Docker inside the sandbox, and it has no per-ticket setup: it does not prepare dependencies in each ticket's worktree. Both are open for later review. See [Known limitations](docs/deploy.md#known-limitations).
41
+
37
42
  ## Test repositories
38
43
 
39
44
  Live tests write only to the repository named by `SUPERAGENT_CLAUDE_LIVE_REPO` and may read the optional `SUPERAGENT_CLAUDE_LIVE_REPORT_REPO`. Without these settings the live tests that need GitHub are skipped. Seed the playground with `pnpm live:seed` (`pnpm live:seed --upgrade` replaces an older seed in one commit) and clean it with `pnpm live:cleanup`. See [Run live tests against your own playground](CONTRIBUTING.md#run-live-tests-against-your-own-playground). The project's own live runs use [ok0/superagent-claude-playground](https://github.com/ok0/superagent-claude-playground) as the playground.
package/lib/cli.js CHANGED
@@ -29,7 +29,7 @@ function logFormat(argv, env) {
29
29
  return value === "text" || value === "json" ? value : void 0;
30
30
  }
31
31
  // src/cli/bin.ts
32
- /** After main() returns, the process exits on its own; if something still holds the event loop, it is ended this long after. */
32
+ /** After main() returns, the process is force-exited after this grace if something still holds the event loop. */
33
33
  const EXIT_GRACE_MS = 3e3;
34
34
  const argv = process.argv.slice(2);
35
35
  const json = argv[0] === "start" && logFormat(argv.slice(1), process.env) === "json";
@@ -55,7 +55,7 @@ const exitSoon = () => {
55
55
  process.exit();
56
56
  }, EXIT_GRACE_MS).unref();
57
57
  };
58
- import("./main-Br6CBO2s.js").then(({ main }) => main(argv, {
58
+ import("./main-DKxToYW7.js").then(({ main }) => main(argv, {
59
59
  out: (s) => {
60
60
  process.stdout.write(s);
61
61
  },