crewaid-connect 0.0.1 → 0.1.6

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.
Files changed (5) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +32 -0
  3. package/dist/bin.mjs +33488 -0
  4. package/package.json +36 -3
  5. package/index.js +0 -3
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # crewaid-connect
2
+
3
+ Opt-in standalone local connector daemon that pairs a local repository and your installed Agent Client Protocol (ACP) coding harnesses (`claude-agent-acp`, `codex-acp`, `opencode acp`, `agy acp`, or a custom command) with a Crewaid orchestrator.
4
+
5
+ ## Requirements
6
+
7
+ - **Node.js ≥ 22**
8
+ - At least one ACP-compatible coding harness installed locally (run `npx crewaid-connect harnesses` to check)
9
+
10
+ ## Quick Start
11
+
12
+ 1. Open Crewaid **Settings → Local harnesses** and create a connector to receive a one-time `crw_conn_...` bearer token.
13
+ 2. Run in your terminal (the token is prompted with hidden input so it never lands in shell history):
14
+
15
+ ```bash
16
+ npx crewaid-connect /path/to/repo --url https://your-crewaid-host
17
+ ```
18
+
19
+ Add `--save` to store the token in `~/.config/crewaid/connectors.json` (`0600` permissions).
20
+
21
+ ## Key Options
22
+
23
+ - `--url <url>` — Crewaid server URL (required)
24
+ - `--save` — Persist the bearer token (`0600`) keyed by `(serverUrl, repoDir)`
25
+ - `--token-stdin` — Read the bearer token from stdin (for scripted use)
26
+ - `--harness <id>` — Default harness (`claude-code`, `codex`, `opencode`, `antigravity`, `custom`)
27
+ - `--allow-harnesses <csv>` — Restrict which harnesses Crewaid bots may invoke
28
+ - `--cmd "<binary> [args...]"` — Custom ACP harness command (parsed without a shell)
29
+ - `--report summary|full` — Default `summary` omits raw file contents, diffs, and command output while still reporting the harness's own summary, relative file paths changed, step status, and command titles such as `pnpm test`
30
+ - `--trust-server-approvals` — Skip the local terminal `y/N` confirmation before running a task (local harness `request_permission` prompts still stay local)
31
+ - `--disconnect-grace <seconds>` — Cancel an active local task if disconnected for longer than this window (default `60`)
32
+ - `--verbose` — Stream harness `stderr` diagnostics directly to this terminal