bitfab-cli 0.2.290 → 0.2.291
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 +11 -0
- package/dist/index.js +20428 -1460
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -10,6 +10,9 @@ npx bitfab-cli init --editor claude # Install for Claude Code
|
|
|
10
10
|
npx bitfab-cli init --editor codex # Install for Codex
|
|
11
11
|
npx bitfab-cli init --editor cursor # Install for Cursor
|
|
12
12
|
npx bitfab-cli init --prompt "instrument the chat workflow"
|
|
13
|
+
npx bitfab-cli init --v2 # Login + setup entirely in this terminal
|
|
14
|
+
npx bitfab-cli setup --v2 instrument # Run one setup mode in this terminal
|
|
15
|
+
npx bitfab-cli setup --v2 --diagram # Print the declarative Mermaid state diagram
|
|
13
16
|
npx bitfab-cli setup --prompt "modify the billing trace"
|
|
14
17
|
npx bitfab-cli session-logs enable # Enable session log collection
|
|
15
18
|
npx bitfab-cli session-logs disable # Disable session log collection
|
|
@@ -17,3 +20,11 @@ npx bitfab-cli session-logs status # Show the saved session log setting
|
|
|
17
20
|
npx bitfab-cli analyze-repo --help # Show help for analyze-repo
|
|
18
21
|
npx bitfab-cli help setup # Show help for setup
|
|
19
22
|
```
|
|
23
|
+
|
|
24
|
+
## Terminal-native setup
|
|
25
|
+
|
|
26
|
+
`init --v2` and `setup --v2` run a terminal-native declarative flow derived from the editor setup workflow, without handing control to Claude Code, Codex, Cursor, or Studio. Terminal-specific states replace browser plan review, live template preview, and Studio cleanup. Claude Agent SDK handles repository analysis and edits; every workflow choice and every permission for a mutating tool is returned to the terminal for the user to decide.
|
|
27
|
+
|
|
28
|
+
Set `ANTHROPIC_API_KEY`, or configure one of the Agent SDK's supported cloud providers, before using `--v2`. Bitfab authentication is separate: `init --v2` opens the browser for login when needed, then returns to the terminal.
|
|
29
|
+
|
|
30
|
+
`setup --v2` accepts `wizard`, `explain`, `login`, `session-logs`, `instrument`, `modify`, `inspect`, `switch-org`, `view`, `replay`, `db-snapshot`, `templates`, or `analyze-repo`. Add `--diagram` with any mode to inspect the exact state graph without authenticating or starting an agent.
|