@buildautomaton/cli 0.1.2 → 0.1.4
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 +3 -9
- package/dist/cli.js +2090 -2680
- package/dist/cli.js.map +4 -4
- package/dist/index.js +1770 -2376
- package/dist/index.js.map +4 -4
- package/package.json +4 -9
package/README.md
CHANGED
|
@@ -11,17 +11,11 @@ pnpm --filter @buildautomaton/cli build
|
|
|
11
11
|
node packages/cli/dist/cli.js
|
|
12
12
|
|
|
13
13
|
# As a published package (when published)
|
|
14
|
-
npx
|
|
14
|
+
npx @buildautomaton/cli
|
|
15
15
|
# Or with workspace + token already set:
|
|
16
|
-
npx
|
|
17
|
-
|
|
18
|
-
# Global install (command on PATH: buildautomaton)
|
|
19
|
-
npm install -g @buildautomaton/cli
|
|
20
|
-
buildautomaton --help
|
|
16
|
+
npx @buildautomaton/cli --workspace-id YOUR_WORKSPACE_ID --token YOUR_TOKEN
|
|
21
17
|
```
|
|
22
18
|
|
|
23
|
-
Publish to the **@buildautomaton** scope on npm: run `npm login` with an org member account, then from the monorepo root run `pnpm publish:cli`, or from `packages/cli` run `pnpm run publish:npm`. Both run `prepublishOnly` first to build `dist/`.
|
|
24
|
-
|
|
25
19
|
## Options and env
|
|
26
20
|
|
|
27
21
|
- `--workspace-id <id>` (or `BUILDAMATON_WORKSPACE_ID`) – optional. If omitted and no token, the CLI opens the browser so you can sign in and pick a workspace; a token is then created and sent to the CLI.
|
|
@@ -29,7 +23,7 @@ Publish to the **@buildautomaton** scope on npm: run `npm login` with an org mem
|
|
|
29
23
|
- `--api-url <url>` (or `BUILDAUTOMATON_API_URL`) – default `https://localhost:8787` (wrangler dev; HTTP and WebSocket use this port)
|
|
30
24
|
- `--token <token>` (or `BUILDAMATON_AUTH_TOKEN`) – optional; bridge token from the dashboard (Bridges page) or from a previous browser sign-in. When set with a workspace, the CLI connects immediately.
|
|
31
25
|
- `BUILDAMATON_APP_URL` (or `APP_URL`) – used when no token/workspace to open the browser for the sign-in flow (e.g. `https://app.example.com`).
|
|
32
|
-
- `--agent <command>` (or `BUILDAMATON_AGENT_CMD`) – optional; run an ACP agent (e.g. `cursor agent
|
|
26
|
+
- `--agent <command>` (or `BUILDAMATON_AGENT_CMD`) – optional; run an ACP agent (e.g. `cursor agent`). Prompts received over the bridge are forwarded to this agent.
|
|
33
27
|
|
|
34
28
|
## Authentication
|
|
35
29
|
|