bankai-cli 0.6.2 → 0.6.5

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 (3) hide show
  1. package/README.md +17 -17
  2. package/dist/main.js +4 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,23 +1,23 @@
1
1
  # bankai
2
2
 
3
3
  ```bash
4
- ▗▄▄▄▖
5
- ████▖▄▄▄▄ ▄▄▄
6
- ▗█▙▄▄▄▄▄▄▄▄▄▄▄▄▄ ▗▄▄ ▗▟██████████▄▝██████████████▙▄
7
- ▝▜█████████████▀▘ ▝████▖ ▗▟██▛▘ ▗███▀▘ ▀▀▜██▛▘ ▐███▀▀▘
8
- ▜██▛ ▐███ ▄▟██▛▘ ▗███▘ ▐██▌ ▐███
9
- ▐██▌ ▐███ ▀▀▀▘ ▗███▙▄▄▄▖ ▗██▛▗▄ ▗███▌
10
- ▐██▌ ▐███ ▗▟█████████▀▀█████▖▗██▘ ▝██████
11
- ▐██▌ ███▌ ▝███▌ ██▌ ████▀▄▟█ ▜███▀▀▀
12
- ▗▄▄▄▄▄▄▄▄▄▄▄▟██▙▄▄▄▄▄▄█████ ▐██▙▄▄██▙▄▄███▌ ▐██▙▄▄███▙▄▄██▙▖
13
- █████████▀▀▀▜██▛▀▀▀▀▀▀▀▀▜██ ▝███▀▀██▛▀▀███ ▟██▀▀▀▜██▛▀▀▀▀▀▘
14
- ███▌ ▐██▌ ▐██▌ ██▌ ███ ▟██▘ ▐██▌
15
- ███▌ ▐██▌ ▐██▙▄▄████▙███▗██▄▄▄▄▄▟█████████▄
16
- ███▌ ▐██▌ ██▛▀▀▀▀ ▐██▌▀███▛▀▀▜██▛▀▀▀▀▀▀▀
17
- ███▌ ▐██▌ ▗██▘ ▐██▌ ▐██▌
18
- ▗███▘ ▗███▙▄▄▄▄▄▄▄▄▄▄ ▟█▛ ▗▄▄▖ ███▌ ▝██▌
19
- ▐███ ▜███████████████▙ ▗██▘ ▀███████▌ ██▌
20
- ▀▀ ▀▀ ▀▀▘ ▝▀████▘ ██▘
4
+ ▗▄▄▄▖
5
+ ████▖▄▄▄▄ ▄▄▄
6
+ ▗█▙▄▄▄▄▄▄▄▄▄▄▄▄▄ ▗▄▄ ▗▟██████████▄▝██████████████▙▄
7
+ ▝▜█████████████▀▘ ▝████▖ ▗▟██▛▘ ▗███▀▘ ▀▀▜██▛▘ ▐███▀▀▘
8
+ ▜██▛ ▐███ ▄▟██▛▘ ▗███▘ ▐██▌ ▐███
9
+ ▐██▌ ▐███ ▀▀▀▘ ▗███▙▄▄▄▖ ▗██▛▗▄ ▗███▌
10
+ ▐██▌ ▐███ ▗▟█████████▀▀█████▖▗██▘ ▝██████
11
+ ▐██▌ ███▌ ▝███▌ ██▌ ████▀▄▟█ ▜███▀▀▀
12
+ ▗▄▄▄▄▄▄▄▄▄▄▄▟██▙▄▄▄▄▄▄█████ ▐██▙▄▄██▙▄▄███▌ ▐██▙▄▄███▙▄▄██▙▖
13
+ █████████▀▀▀▜██▛▀▀▀▀▀▀▀▀▜██ ▝███▀▀██▛▀▀███ ▟██▀▀▀▜██▛▀▀▀▀▀▘
14
+ ███▌ ▐██▌ ▐██▌ ██▌ ███ ▟██▘ ▐██▌
15
+ ███▌ ▐██▌ ▐██▙▄▄████▙███▗██▄▄▄▄▄▟█████████▄
16
+ ███▌ ▐██▌ ██▛▀▀▀▀ ▐██▌▀███▛▀▀▜██▛▀▀▀▀▀▀▀
17
+ ███▌ ▐██▌ ▗██▘ ▐██▌ ▐██▌
18
+ ▗███▘ ▗███▙▄▄▄▄▄▄▄▄▄▄ ▟█▛ ▗▄▄▖ ███▌ ▝██▌
19
+ ▐███ ▜███████████████▙ ▗██▘ ▀███████▌ ██▌
20
+ ▀▀ ▀▀ ▀▀▘ ▝▀████▘ ██▘
21
21
 
22
22
 
23
23
 
package/dist/main.js CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  // src/main.ts
4
4
  import { Command } from "commander";
5
+ import { createRequire } from "module";
5
6
 
6
7
  // src/commands/run.ts
7
8
  import { spawn } from "child_process";
@@ -779,8 +780,10 @@ async function selectAgent() {
779
780
  }
780
781
 
781
782
  // src/main.ts
783
+ var require2 = createRequire(import.meta.url);
784
+ var { version } = require2("../package.json");
782
785
  var program = new Command();
783
- program.name("bankai").description("Launch coding agent CLIs with approval-bypass flags").version("0.6.0");
786
+ program.name("bankai").description("Launch coding agent CLIs with approval-bypass flags").version(version);
784
787
  program.argument("[cmd]", "agent command to look up").argument("[args...]", "extra arguments to pass to the agent").option("-a, --agent <cmd>", "agent command to look up (alternative)").action(async (cmd, args2, opts) => {
785
788
  const target = cmd || opts.agent;
786
789
  if (target) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bankai-cli",
3
- "version": "0.6.2",
3
+ "version": "0.6.5",
4
4
  "description": "Launch coding agent CLIs with approval-bypass flags",
5
5
  "repository": {
6
6
  "type": "git",