bankai-cli 0.3.2 → 0.3.3
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 +16 -1
- package/dist/main.js +1 -1
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -44,7 +44,22 @@ bankai agents --installed
|
|
|
44
44
|
| Agent | Target | Description |
|
|
45
45
|
|-------|--------|-------------|
|
|
46
46
|
| Cursor Agent CLI | `.cursor/cli.json` / `~/.cursor/cli-config.json` | Writes permission allow-list for Cursor Agent CLI |
|
|
47
|
-
| Cursor IDE | SQLite DB (`state.vscdb`) |
|
|
47
|
+
| Cursor IDE | SQLite DB (`state.vscdb`) | Applies settings below, then launches Cursor |
|
|
48
|
+
|
|
49
|
+
#### Cursor IDE (`bankai cursor`)
|
|
50
|
+
|
|
51
|
+
Unlike CLI agents that pass a flag, Cursor IDE stores its settings in a SQLite DB. `bankai cursor` modifies the DB directly to apply the following, then opens Cursor:
|
|
52
|
+
|
|
53
|
+
| Setting | Effect |
|
|
54
|
+
|---------|--------|
|
|
55
|
+
| Auto-Run Mode → Run Everything (Unsandboxed) | Agent runs all commands without sandboxing |
|
|
56
|
+
| Browser Protection → OFF | Agent can run browser tools automatically |
|
|
57
|
+
| MCP Tools Protection → OFF | Agent can run MCP tools automatically |
|
|
58
|
+
| File-Deletion Protection → OFF | Agent can delete files automatically |
|
|
59
|
+
| External-File Protection → OFF | Agent can create/modify files outside the workspace |
|
|
60
|
+
| Dot-files Protection → OFF | Agent can modify dotfiles (.env, etc.) |
|
|
61
|
+
|
|
62
|
+
Cursor must be restarted after the first apply for changes to take effect.
|
|
48
63
|
|
|
49
64
|
## Custom Agents
|
|
50
65
|
|
package/dist/main.js
CHANGED
|
@@ -683,7 +683,7 @@ async function selectAgent() {
|
|
|
683
683
|
|
|
684
684
|
// src/main.ts
|
|
685
685
|
var program = new Command();
|
|
686
|
-
program.name("bankai").description("Launch coding agent CLIs with approval-bypass flags").version("0.3.
|
|
686
|
+
program.name("bankai").description("Launch coding agent CLIs with approval-bypass flags").version("0.3.3");
|
|
687
687
|
program.argument("[cmd]", "agent command to look up").option("-a, --agent <cmd>", "agent command to look up (alternative)").action(async (cmd, opts) => {
|
|
688
688
|
const target = cmd || opts.agent;
|
|
689
689
|
if (target) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bankai-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"description": "Launch coding agent CLIs with approval-bypass flags",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/lark1115/bankai.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/lark1115/bankai",
|
|
10
|
+
"bugs": "https://github.com/lark1115/bankai/issues",
|
|
11
|
+
"keywords": ["cli", "coding-agent", "bypass", "claude", "cursor", "codex", "gemini"],
|
|
12
|
+
"license": "MIT",
|
|
4
13
|
"type": "module",
|
|
5
14
|
"files": ["dist", "README.md"],
|
|
6
15
|
"bin": {
|