@botconnector/bccli 0.4.0-beta.42 → 0.4.0-beta.44

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 (46) hide show
  1. package/dist/{acp-PP7ZONVQ.js → acp-U25MNDND.js} +2 -2
  2. package/dist/{args-3DGIMRTG.js → args-MFTMBNRN.js} +4 -4
  3. package/dist/{chunk-LYFN6AEV.js → chunk-25DSN3Y3.js} +4 -4
  4. package/dist/{chunk-A2XKKKKU.js → chunk-2ON3WIDP.js} +4 -4
  5. package/dist/{chunk-HVGXCPDG.js → chunk-BQHKN7JI.js} +1 -1
  6. package/dist/{chunk-ADS5FDWL.js → chunk-CYTRCZXI.js} +20 -7
  7. package/dist/{chunk-AGIZBZ64.js → chunk-GIGWZFCY.js} +1 -1
  8. package/dist/{chunk-3P5N6UPF.js → chunk-I7GXIJCY.js} +2 -2
  9. package/dist/{chunk-Q2ZBR4OU.js → chunk-LTAQXU5Z.js} +1 -1
  10. package/dist/{chunk-QZM66F3A.js → chunk-NVRNFR4S.js} +1 -1
  11. package/dist/{chunk-DRK3XTVZ.js → chunk-PSRNKKGA.js} +1 -1
  12. package/dist/{chunk-NFJPKNHL.js → chunk-PZC2Q6MJ.js} +2 -2
  13. package/dist/{chunk-VBEX5YHF.js → chunk-QHNWI3OT.js} +22 -1
  14. package/dist/{chunk-LYQHLA43.js → chunk-RMDW3OQ6.js} +2 -2
  15. package/dist/{chunk-O74EQFYI.js → chunk-TW5HZOTB.js} +3 -3
  16. package/dist/chunk-U6PCNS4B.js +20 -0
  17. package/dist/{chunk-I422TPGX.js → chunk-VO6MF6JJ.js} +1 -1
  18. package/dist/{chunk-I4THUZRD.js → chunk-Y3QKYORR.js} +6 -6
  19. package/dist/{chunk-HQB227LD.js → chunk-ZGH4B7OU.js} +15 -23
  20. package/dist/{chunk-AWNQDAOY.js → chunk-ZKMSTD6G.js} +1 -1
  21. package/dist/cli.js +70 -33
  22. package/dist/completion-6K4AXKK2.js +125 -0
  23. package/dist/{config-UKEKWMCG.js → config-LCY27K3L.js} +2 -2
  24. package/dist/{config-LFT2FNSE.js → config-Z4HSA435.js} +3 -3
  25. package/dist/{ghBotCli-DWQXAIKE.js → ghBotCli-TJMKJU3E.js} +14 -13
  26. package/dist/{integrationCli-RSJCJ3NW.js → integrationCli-33KU6GIK.js} +2 -2
  27. package/dist/{login-L3SUO4H4.js → login-LNF7ZV2S.js} +3 -3
  28. package/dist/{mcpCli-RSLEDQQ7.js → mcpCli-TXFS3AOJ.js} +5 -5
  29. package/dist/{modelsCli-IKZLORLH.js → modelsCli-IZSMIYVB.js} +6 -6
  30. package/dist/{oauthLogin-XHEMYL6L.js → oauthLogin-QGDYTOW7.js} +1 -1
  31. package/dist/{pluginsCli-MRS547WG.js → pluginsCli-RD4QW3DX.js} +2 -2
  32. package/dist/prCli-PE7KIPMK.js +72 -0
  33. package/dist/providerCli-AA3CHCGV.js +15 -0
  34. package/dist/sdk.js +34 -5
  35. package/dist/{serve-GFNJ5PSL.js → serve-HW5XZ5LF.js} +15 -14
  36. package/dist/{serve-A4E67R5E.js → serve-YNKE332Z.js} +3 -3
  37. package/dist/session-KRV2UP5C.js +12 -0
  38. package/dist/setup-L4OPF3XW.js +24 -0
  39. package/dist/statsCli-4KYPVYCN.js +109 -0
  40. package/dist/transferCli-RQBB6RVY.js +71 -0
  41. package/dist/{ui-STI6HSOR.js → ui-4ZTUMTYM.js} +12 -12
  42. package/dist/{update-KMWE2P2I.js → update-34FDI6H3.js} +2 -2
  43. package/package.json +1 -1
  44. package/dist/providerCli-7GRUL3BS.js +0 -15
  45. package/dist/session-VKVBMGCC.js +0 -12
  46. package/dist/setup-XWX64X5Q.js +0 -23
package/dist/sdk.js CHANGED
@@ -154,6 +154,11 @@ Usage:
154
154
  bccli gh-bot [serve] GitHub comment bot (off-by-default; needs config)
155
155
  bccli provider list|add <id>|remove <id> manage providers (custom: --url <url> [--name N] [--key-env ENV])
156
156
  bccli mcp list|add <name>|remove <name>|auth <name>|logout <name>|serve [--base-url <url>] manage MCP servers, or serve this account's tools over stdio
157
+ bccli completion <shell> print a shell completion script (bash, zsh, fish, powershell)
158
+ bccli stats [--days N] show token usage from local sessions (default: last 7 days)
159
+ bccli export [session] [file] copy a session JSONL to a file (default: last session here)
160
+ bccli import <file> import a session JSONL into the current project
161
+ bccli pr <number> [--repo owner/name] [task] check out a GitHub PR and run a task on it
157
162
  bccli integrations show the status of external agent integrations
158
163
  bccli connect <agent> opencode, aider, cline, dsh, codex, claude-code, cursor, openai-cli, openai-sdk, openai-compatible, openclaw, hermes
159
164
  bccli disconnect <agent> remove an integration and restore the previous config
@@ -475,7 +480,23 @@ Opsi:
475
480
  "Run: dsh web": "Jalankan: dsh web",
476
481
  "timeout after {n} seconds": "timeout {n} detik",
477
482
  "Could not start MCP servers: {error}": "Tidak bisa menjalankan server MCP: {error}",
478
- "Blocked: {host} resolves to a private address ({addr}). Fetching an internal host through a public DNS name is not allowed.": "Diblokir: {host} mengarah ke alamat privat ({addr}). Mengambil host internal lewat nama DNS publik tidak diizinkan."
483
+ "Blocked: {host} resolves to a private address ({addr}). Fetching an internal host through a public DNS name is not allowed.": "Diblokir: {host} mengarah ke alamat privat ({addr}). Mengambil host internal lewat nama DNS publik tidak diizinkan.",
484
+ "usage: bccli completion <{shells}>": "pakai: bccli completion <{shells}>",
485
+ "--days must be a positive integer": "--days harus bilangan bulat positif",
486
+ "no sessions in the last {days} day(s)": "tidak ada sesi dalam {days} hari terakhir",
487
+ "sessions (last {days} day(s)):": "sesi ({days} hari terakhir):",
488
+ "session(s)": "sesi",
489
+ "message(s)": "pesan",
490
+ "recorded": "tercatat",
491
+ "no session to export in this folder": "tidak ada sesi untuk diekspor di folder ini",
492
+ "exported {file}": "diekspor ke {file}",
493
+ "file not found: {file}": "file tidak ditemukan: {file}",
494
+ "invalid session file (non-JSON line): {file}": "file sesi tidak valid (baris bukan JSON): {file}",
495
+ "imported {n} record(s) into {file}": "impor {n} rekaman ke {file}",
496
+ "usage: bccli pr <number> [--repo owner/name] [task]": "pakai: bccli pr <nomor> [--repo owner/name] [tugas]",
497
+ "gh is not available ({error}); install GitHub CLI first": "gh tidak tersedia ({error}); pasang GitHub CLI dulu",
498
+ "gh pr checkout {n} failed (exit {code})": "gh pr checkout {n} gagal (exit {code})",
499
+ "checked out PR #{n}": "checkout PR #{n} selesai"
479
500
  };
480
501
 
481
502
  // src/i18n.ts
@@ -881,7 +902,9 @@ function parseCliArgs(argv) {
881
902
  port: { type: "string" },
882
903
  host: { type: "string" },
883
904
  token: { type: "string" },
884
- "base-url": { type: "string" }
905
+ "base-url": { type: "string" },
906
+ days: { type: "string" },
907
+ repo: { type: "string" }
885
908
  }
886
909
  });
887
910
  const reasoning = values.reasoning;
@@ -898,13 +921,17 @@ function parseCliArgs(argv) {
898
921
  throw new ConfigError(t("--output-format must be one of: {formats}", { formats: "text, json, stream-json" }));
899
922
  }
900
923
  const [first, ...rest] = positionals;
901
- const SUBCOMMANDS = ["login", "models", "update", "acp", "serve", "plugins", "gh-bot", "provider", "mcp", "connect", "disconnect", "integrations"];
924
+ const SUBCOMMANDS = ["login", "models", "update", "acp", "serve", "plugins", "gh-bot", "provider", "mcp", "connect", "disconnect", "integrations", "completion", "stats", "export", "import", "pr"];
902
925
  const command = SUBCOMMANDS.includes(first) ? first : "run";
903
926
  const words2 = command === "run" ? positionals : rest;
904
927
  const port = values.port !== void 0 ? Number(values.port) : void 0;
905
928
  if (port !== void 0 && (!Number.isInteger(port) || port < 0 || port > 65535)) {
906
929
  throw new ConfigError(t("--port must be a number between 0 and 65535"));
907
930
  }
931
+ const days = values.days !== void 0 ? Number(values.days) : void 0;
932
+ if (days !== void 0 && (!Number.isInteger(days) || days < 1)) {
933
+ throw new ConfigError(t("--days must be a positive integer"));
934
+ }
908
935
  if (values.host !== void 0 && !LOOPBACK_BIND.has(values.host)) {
909
936
  throw new ConfigError(t("serve only accepts loopback --host (127.0.0.1, localhost, ::1)"));
910
937
  }
@@ -927,7 +954,7 @@ function parseCliArgs(argv) {
927
954
  loginProvider: command === "login" ? rest[0] ?? "bc-cloud" : void 0,
928
955
  key: !!values.key,
929
956
  logout: !!values.logout,
930
- subArgs: ["models", "plugins", "gh-bot", "provider", "mcp", "connect", "disconnect", "integrations"].includes(command) ? rest : [],
957
+ subArgs: ["models", "plugins", "gh-bot", "provider", "mcp", "connect", "disconnect", "integrations", "completion", "stats", "export", "import", "pr"].includes(command) ? rest : [],
931
958
  url: values.url,
932
959
  name: values.name,
933
960
  keyEnv: values["key-env"],
@@ -935,7 +962,9 @@ function parseCliArgs(argv) {
935
962
  port,
936
963
  host: values.host,
937
964
  token: values.token,
938
- baseUrl: values["base-url"]
965
+ baseUrl: values["base-url"],
966
+ days,
967
+ repo: values.repo
939
968
  };
940
969
  }
941
970
 
@@ -1,13 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createRuntime
4
- } from "./chunk-HQB227LD.js";
5
- import "./chunk-DRK3XTVZ.js";
6
- import "./chunk-QZM66F3A.js";
4
+ } from "./chunk-ZGH4B7OU.js";
5
+ import "./chunk-U6PCNS4B.js";
6
+ import "./chunk-PSRNKKGA.js";
7
+ import "./chunk-NVRNFR4S.js";
7
8
  import "./chunk-PSO7R5AD.js";
8
9
  import {
9
10
  VERSION
10
- } from "./chunk-Q2ZBR4OU.js";
11
+ } from "./chunk-LTAQXU5Z.js";
11
12
  import {
12
13
  LOOPBACK_BIND,
13
14
  MAX_FRAME_BYTES,
@@ -16,25 +17,25 @@ import {
16
17
  parseClientFrame,
17
18
  randomToken,
18
19
  trustFence
19
- } from "./chunk-ADS5FDWL.js";
20
+ } from "./chunk-CYTRCZXI.js";
20
21
  import "./chunk-GAFJEQTJ.js";
21
- import "./chunk-A2XKKKKU.js";
22
+ import "./chunk-2ON3WIDP.js";
22
23
  import {
23
24
  listAllModels
24
- } from "./chunk-LYFN6AEV.js";
25
- import "./chunk-I422TPGX.js";
25
+ } from "./chunk-25DSN3Y3.js";
26
+ import "./chunk-VO6MF6JJ.js";
26
27
  import "./chunk-7F3IWBPQ.js";
27
28
  import {
28
29
  Session
29
- } from "./chunk-HVGXCPDG.js";
30
- import "./chunk-LYQHLA43.js";
31
- import "./chunk-AWNQDAOY.js";
32
- import "./chunk-NFJPKNHL.js";
30
+ } from "./chunk-BQHKN7JI.js";
31
+ import "./chunk-RMDW3OQ6.js";
32
+ import "./chunk-ZKMSTD6G.js";
33
+ import "./chunk-PZC2Q6MJ.js";
33
34
  import {
34
35
  bccliHome,
35
36
  loadConfig
36
- } from "./chunk-AGIZBZ64.js";
37
- import "./chunk-VBEX5YHF.js";
37
+ } from "./chunk-GIGWZFCY.js";
38
+ import "./chunk-QHNWI3OT.js";
38
39
 
39
40
  // src/serve.ts
40
41
  import { randomBytes } from "crypto";
@@ -3,15 +3,15 @@ import {
3
3
  createFetchTool,
4
4
  createWebSearchTool,
5
5
  isPrivateHost
6
- } from "./chunk-QZM66F3A.js";
6
+ } from "./chunk-NVRNFR4S.js";
7
7
  import "./chunk-PSO7R5AD.js";
8
8
  import {
9
9
  loadConfig,
10
10
  readCredentials
11
- } from "./chunk-AGIZBZ64.js";
11
+ } from "./chunk-GIGWZFCY.js";
12
12
  import {
13
13
  t
14
- } from "./chunk-VBEX5YHF.js";
14
+ } from "./chunk-QHNWI3OT.js";
15
15
 
16
16
  // src/mcpServer/serve.ts
17
17
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ Session,
4
+ pruneSessions
5
+ } from "./chunk-BQHKN7JI.js";
6
+ import "./chunk-RMDW3OQ6.js";
7
+ import "./chunk-ZKMSTD6G.js";
8
+ import "./chunk-QHNWI3OT.js";
9
+ export {
10
+ Session,
11
+ pruneSessions
12
+ };
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ createRuntime,
4
+ lunaPtcAutoEnabled
5
+ } from "./chunk-ZGH4B7OU.js";
6
+ import "./chunk-U6PCNS4B.js";
7
+ import "./chunk-PSRNKKGA.js";
8
+ import "./chunk-NVRNFR4S.js";
9
+ import "./chunk-PSO7R5AD.js";
10
+ import "./chunk-GAFJEQTJ.js";
11
+ import "./chunk-2ON3WIDP.js";
12
+ import "./chunk-25DSN3Y3.js";
13
+ import "./chunk-VO6MF6JJ.js";
14
+ import "./chunk-7F3IWBPQ.js";
15
+ import "./chunk-BQHKN7JI.js";
16
+ import "./chunk-RMDW3OQ6.js";
17
+ import "./chunk-ZKMSTD6G.js";
18
+ import "./chunk-PZC2Q6MJ.js";
19
+ import "./chunk-GIGWZFCY.js";
20
+ import "./chunk-QHNWI3OT.js";
21
+ export {
22
+ createRuntime,
23
+ lunaPtcAutoEnabled
24
+ };
@@ -0,0 +1,109 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ estimateTokens
4
+ } from "./chunk-U6PCNS4B.js";
5
+ import {
6
+ t
7
+ } from "./chunk-QHNWI3OT.js";
8
+
9
+ // src/statsCli.ts
10
+ import { existsSync, readdirSync, readFileSync, statSync } from "fs";
11
+ import { join } from "path";
12
+ function isUsageRecord(value) {
13
+ if (!value || typeof value !== "object") return false;
14
+ const v = value;
15
+ return v.t === "usage" && typeof v.inputTokens === "number" && typeof v.outputTokens === "number";
16
+ }
17
+ function aggregateSessions(home, opts) {
18
+ const now = opts.now ?? Date.now();
19
+ const cutoff = now - opts.days * 864e5;
20
+ const root = join(home, "sessions");
21
+ if (!existsSync(root)) return [];
22
+ const byProject = /* @__PURE__ */ new Map();
23
+ for (const project of readdirSync(root)) {
24
+ const dir = join(root, project);
25
+ let st;
26
+ try {
27
+ st = statSync(dir);
28
+ } catch {
29
+ continue;
30
+ }
31
+ if (!st.isDirectory()) continue;
32
+ for (const file of readdirSync(dir)) {
33
+ if (!file.endsWith(".jsonl")) continue;
34
+ const path = join(dir, file);
35
+ let fst;
36
+ try {
37
+ fst = statSync(path);
38
+ } catch {
39
+ continue;
40
+ }
41
+ if (fst.mtimeMs < cutoff) continue;
42
+ let row = byProject.get(project);
43
+ if (!row) {
44
+ row = { project, sessions: 0, messages: 0, inputTokens: 0, outputTokens: 0, usageInputTokens: 0, usageOutputTokens: 0 };
45
+ byProject.set(project, row);
46
+ }
47
+ row.sessions++;
48
+ for (const line of readFileSync(path, "utf8").split("\n")) {
49
+ if (!line.trim()) continue;
50
+ let record;
51
+ try {
52
+ record = JSON.parse(line);
53
+ } catch {
54
+ continue;
55
+ }
56
+ if (isUsageRecord(record)) {
57
+ row.usageInputTokens += record.inputTokens;
58
+ row.usageOutputTokens += record.outputTokens;
59
+ continue;
60
+ }
61
+ const r = record;
62
+ if (r?.t !== "msg" || !r.m) continue;
63
+ row.messages++;
64
+ const text = typeof r.m.content === "string" ? r.m.content : JSON.stringify(r.m.content ?? "");
65
+ const tokens = estimateTokens(text);
66
+ if (r.m.role === "user") row.inputTokens += tokens;
67
+ else if (r.m.role === "assistant") row.outputTokens += tokens;
68
+ }
69
+ }
70
+ }
71
+ return [...byProject.values()].sort((a, b) => b.messages - a.messages || a.project.localeCompare(b.project));
72
+ }
73
+ function runStatsCommand(args, deps) {
74
+ let days = args.days ?? 7;
75
+ const rest = args.subArgs;
76
+ for (let i = 0; i < rest.length; i++) {
77
+ if (rest[i] === "--days") {
78
+ const raw = rest[++i];
79
+ const n = Number(raw);
80
+ if (!Number.isInteger(n) || n < 1) {
81
+ deps.err?.(t("--days must be a positive integer"));
82
+ return 1;
83
+ }
84
+ days = n;
85
+ } else if (rest[i].startsWith("--days=")) {
86
+ const n = Number(rest[i].slice("--days=".length));
87
+ if (!Number.isInteger(n) || n < 1) {
88
+ deps.err?.(t("--days must be a positive integer"));
89
+ return 1;
90
+ }
91
+ days = n;
92
+ }
93
+ }
94
+ const rows = aggregateSessions(args.home, { days, now: args.now });
95
+ if (!rows.length) {
96
+ deps.out(t("no sessions in the last {days} day(s)", { days: String(days) }));
97
+ return 0;
98
+ }
99
+ deps.out(t("sessions (last {days} day(s)):", { days: String(days) }));
100
+ for (const r of rows) {
101
+ const usage = r.usageInputTokens + r.usageOutputTokens > 0 ? ` ${t("recorded")}: ${r.usageInputTokens}in/${r.usageOutputTokens}out` : "";
102
+ deps.out(`${r.project} ${r.sessions} ${t("session(s)")} ${r.messages} ${t("message(s)")} ~${r.inputTokens}in/~${r.outputTokens}out${usage}`);
103
+ }
104
+ return 0;
105
+ }
106
+ export {
107
+ aggregateSessions,
108
+ runStatsCommand
109
+ };
@@ -0,0 +1,71 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ Session
4
+ } from "./chunk-BQHKN7JI.js";
5
+ import "./chunk-RMDW3OQ6.js";
6
+ import "./chunk-ZKMSTD6G.js";
7
+ import {
8
+ t
9
+ } from "./chunk-QHNWI3OT.js";
10
+
11
+ // src/transferCli.ts
12
+ import { copyFileSync, existsSync, mkdirSync, readdirSync, readFileSync, statSync, writeFileSync } from "fs";
13
+ import { dirname, join } from "path";
14
+ function runExportCommand(args, deps) {
15
+ const first = (args.subArgs[0] ?? "").trim();
16
+ let source;
17
+ let dest;
18
+ if (first && first.endsWith(".jsonl") && existsSync(first) && statSync(first).isFile()) {
19
+ source = first;
20
+ dest = args.subArgs[1];
21
+ } else {
22
+ const latest = Session.latest(args.home, args.cwd);
23
+ if (!latest) {
24
+ deps.err?.(t("no session to export in this folder"));
25
+ return 1;
26
+ }
27
+ source = latest.file;
28
+ dest = first || void 0;
29
+ }
30
+ if (!dest) {
31
+ for (const line of readFileSync(source, "utf8").split("\n")) {
32
+ if (line.trim()) deps.out(line);
33
+ }
34
+ return 0;
35
+ }
36
+ mkdirSync(dirname(dest), { recursive: true });
37
+ copyFileSync(source, dest);
38
+ deps.out(t("exported {file}", { file: dest }));
39
+ return 0;
40
+ }
41
+ function runImportCommand(args, deps) {
42
+ const src = (args.subArgs[0] ?? "").trim();
43
+ if (!src || !existsSync(src)) {
44
+ deps.err?.(t("file not found: {file}", { file: src || "(none)" }));
45
+ return 1;
46
+ }
47
+ const raw = readFileSync(src, "utf8");
48
+ const lines = raw.split("\n").filter((l) => l.trim());
49
+ for (const line of lines) {
50
+ try {
51
+ JSON.parse(line);
52
+ } catch {
53
+ deps.err?.(t("invalid session file (non-JSON line): {file}", { file: src }));
54
+ return 1;
55
+ }
56
+ }
57
+ const slug = args.cwd.replace(/[^a-zA-Z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(-100) || "root";
58
+ const dir = join(args.home, "sessions", slug);
59
+ mkdirSync(dir, { recursive: true });
60
+ const stamp = (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-");
61
+ const dest = join(dir, `${stamp}-imported.jsonl`);
62
+ writeFileSync(dest, lines.length ? `${lines.join("\n")}
63
+ ` : "");
64
+ deps.out(t("imported {n} record(s) into {file}", { n: String(lines.length), file: dest }));
65
+ return 0;
66
+ }
67
+ export {
68
+ readdirSync,
69
+ runExportCommand,
70
+ runImportCommand
71
+ };
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  CATALOG,
4
4
  fillTemplate
5
- } from "./chunk-3P5N6UPF.js";
5
+ } from "./chunk-I7GXIJCY.js";
6
6
  import {
7
7
  MAX_VERIFY_ROUNDS,
8
8
  runVerify,
9
9
  toolLabel,
10
10
  verifyFollowup,
11
11
  worktreeListText
12
- } from "./chunk-O74EQFYI.js";
12
+ } from "./chunk-TW5HZOTB.js";
13
13
  import {
14
14
  BUILTIN_AGENTS,
15
15
  appendMemory,
@@ -21,7 +21,7 @@ import {
21
21
  renderBackgroundTasks,
22
22
  runHooks,
23
23
  validateGlobPattern
24
- } from "./chunk-DRK3XTVZ.js";
24
+ } from "./chunk-PSRNKKGA.js";
25
25
  import "./chunk-PSO7R5AD.js";
26
26
  import {
27
27
  nextMode
@@ -30,39 +30,39 @@ import {
30
30
  hasKey,
31
31
  providerName,
32
32
  writeGlobalConfig
33
- } from "./chunk-I422TPGX.js";
33
+ } from "./chunk-VO6MF6JJ.js";
34
34
  import {
35
35
  Session
36
- } from "./chunk-HVGXCPDG.js";
36
+ } from "./chunk-BQHKN7JI.js";
37
37
  import {
38
38
  contentText
39
- } from "./chunk-LYQHLA43.js";
39
+ } from "./chunk-RMDW3OQ6.js";
40
40
  import {
41
41
  REASONING_LEVELS,
42
42
  assertReasoningSupported,
43
43
  parseReasoningLevel,
44
44
  supportedReasoningLevels
45
- } from "./chunk-AWNQDAOY.js";
45
+ } from "./chunk-ZKMSTD6G.js";
46
46
  import {
47
47
  addGlobalServer,
48
48
  globalMcpPath,
49
49
  readMcpFile,
50
50
  removeGlobalServer
51
- } from "./chunk-NFJPKNHL.js";
51
+ } from "./chunk-PZC2Q6MJ.js";
52
52
  import {
53
53
  ACCENT,
54
54
  PRESETS,
55
55
  color,
56
56
  matchKeybind,
57
57
  removeCredential
58
- } from "./chunk-AGIZBZ64.js";
58
+ } from "./chunk-GIGWZFCY.js";
59
59
  import {
60
60
  getLanguage,
61
61
  locale,
62
62
  parseLang,
63
63
  setLanguage,
64
64
  t
65
- } from "./chunk-VBEX5YHF.js";
65
+ } from "./chunk-QHNWI3OT.js";
66
66
 
67
67
  // src/ui/index.tsx
68
68
  import { render } from "ink";
@@ -2239,7 +2239,7 @@ ${t2.output}`);
2239
2239
  import { jsx as jsx17 } from "react/jsx-runtime";
2240
2240
  async function startInteractive(rt, opts) {
2241
2241
  if (opts.resume) {
2242
- const { Session: Session2 } = await import("./session-VKVBMGCC.js");
2242
+ const { Session: Session2 } = await import("./session-KRV2UP5C.js");
2243
2243
  const list = Session2.list(rt.home, rt.cwd).slice(0, 20);
2244
2244
  if (!list.length) console.log(t("No sessions in this folder yet; starting a new one."));
2245
2245
  else {
@@ -2254,7 +2254,7 @@ async function startInteractive(rt, opts) {
2254
2254
  if (chosen) rt.resume(chosen.session);
2255
2255
  }
2256
2256
  }
2257
- const { serversToStart, setProjectTrust } = await import("./config-LFT2FNSE.js");
2257
+ const { serversToStart, setProjectTrust } = await import("./config-Z4HSA435.js");
2258
2258
  const plan = serversToStart(rt.home, rt.cwd);
2259
2259
  if (plan.needTrust.length) {
2260
2260
  const { createInterface } = await import("readline/promises");
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  VERSION
4
- } from "./chunk-Q2ZBR4OU.js";
4
+ } from "./chunk-LTAQXU5Z.js";
5
5
  import {
6
6
  t
7
- } from "./chunk-VBEX5YHF.js";
7
+ } from "./chunk-QHNWI3OT.js";
8
8
 
9
9
  // src/update.ts
10
10
  import { spawnSync } from "child_process";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botconnector/bccli",
3
- "version": "0.4.0-beta.42",
3
+ "version": "0.4.0-beta.44",
4
4
  "description": "BCCLI — BotConnector AI coding agent for the terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- addProviderKey,
4
- runProviderCommand
5
- } from "./chunk-A2XKKKKU.js";
6
- import "./chunk-LYFN6AEV.js";
7
- import "./chunk-I422TPGX.js";
8
- import "./chunk-LYQHLA43.js";
9
- import "./chunk-AWNQDAOY.js";
10
- import "./chunk-AGIZBZ64.js";
11
- import "./chunk-VBEX5YHF.js";
12
- export {
13
- addProviderKey,
14
- runProviderCommand
15
- };
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- Session,
4
- pruneSessions
5
- } from "./chunk-HVGXCPDG.js";
6
- import "./chunk-LYQHLA43.js";
7
- import "./chunk-AWNQDAOY.js";
8
- import "./chunk-VBEX5YHF.js";
9
- export {
10
- Session,
11
- pruneSessions
12
- };
@@ -1,23 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- createRuntime,
4
- lunaPtcAutoEnabled
5
- } from "./chunk-HQB227LD.js";
6
- import "./chunk-DRK3XTVZ.js";
7
- import "./chunk-QZM66F3A.js";
8
- import "./chunk-PSO7R5AD.js";
9
- import "./chunk-GAFJEQTJ.js";
10
- import "./chunk-A2XKKKKU.js";
11
- import "./chunk-LYFN6AEV.js";
12
- import "./chunk-I422TPGX.js";
13
- import "./chunk-7F3IWBPQ.js";
14
- import "./chunk-HVGXCPDG.js";
15
- import "./chunk-LYQHLA43.js";
16
- import "./chunk-AWNQDAOY.js";
17
- import "./chunk-NFJPKNHL.js";
18
- import "./chunk-AGIZBZ64.js";
19
- import "./chunk-VBEX5YHF.js";
20
- export {
21
- createRuntime,
22
- lunaPtcAutoEnabled
23
- };