bankai-cli 0.3.0 → 0.3.2
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/dist/main.js +6 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -117,7 +117,9 @@ var builtinAgents = [
|
|
|
117
117
|
merge: {
|
|
118
118
|
playwrightProtection: false,
|
|
119
119
|
yoloDotFilesDisabled: false,
|
|
120
|
-
yoloOutsideWorkspaceDisabled: false
|
|
120
|
+
yoloOutsideWorkspaceDisabled: false,
|
|
121
|
+
yoloDeleteFileDisabled: false,
|
|
122
|
+
yoloMcpToolsDisabled: false
|
|
121
123
|
},
|
|
122
124
|
modes4Patch: {
|
|
123
125
|
id: "agent",
|
|
@@ -514,6 +516,8 @@ Run ${chalk2.yellow("bankai agents")} to see available agents, or ${chalk2.yello
|
|
|
514
516
|
}
|
|
515
517
|
if (agent.type === "settings") {
|
|
516
518
|
await applySettingsAgent(agent);
|
|
519
|
+
const code = await execAgent(agent.cmd);
|
|
520
|
+
process.exitCode = code;
|
|
517
521
|
} else {
|
|
518
522
|
const line = agent.lines[0];
|
|
519
523
|
const code = await execAgent(line);
|
|
@@ -679,7 +683,7 @@ async function selectAgent() {
|
|
|
679
683
|
|
|
680
684
|
// src/main.ts
|
|
681
685
|
var program = new Command();
|
|
682
|
-
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.2");
|
|
683
687
|
program.argument("[cmd]", "agent command to look up").option("-a, --agent <cmd>", "agent command to look up (alternative)").action(async (cmd, opts) => {
|
|
684
688
|
const target = cmd || opts.agent;
|
|
685
689
|
if (target) {
|