@botconnector/bccli 0.4.0-beta.45 → 0.4.0-beta.46

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 (45) hide show
  1. package/dist/{acp-QUDKQCTK.js → acp-YXBMSWYP.js} +2 -2
  2. package/dist/{args-HXDHQUL2.js → args-6MWRODGH.js} +4 -4
  3. package/dist/{chunk-FNCDUDOB.js → chunk-2QNYWBDG.js} +10 -10
  4. package/dist/{chunk-VQ4FJ7R2.js → chunk-33OBF43H.js} +3 -3
  5. package/dist/{chunk-F4XYLKG5.js → chunk-65OGHOGS.js} +1 -1
  6. package/dist/{chunk-IU7PB6US.js → chunk-6RML6SN7.js} +6 -6
  7. package/dist/{chunk-NJ5YDSSP.js → chunk-7PRH5NDO.js} +1 -1
  8. package/dist/{chunk-ERXWNEVU.js → chunk-ASJRO2WF.js} +68 -12
  9. package/dist/{chunk-RFSNTLOW.js → chunk-FIY424O5.js} +1 -1
  10. package/dist/{chunk-JKRSZHDV.js → chunk-GF6CRNT3.js} +1 -1
  11. package/dist/{chunk-JZ5XPSIA.js → chunk-GI5GVU2L.js} +4 -0
  12. package/dist/{chunk-IA35YV5K.js → chunk-IA5PRX4Z.js} +1 -1
  13. package/dist/{chunk-7BQQYDPU.js → chunk-IHYNME3G.js} +1 -1
  14. package/dist/{chunk-O33VFLLL.js → chunk-K3SWFB5S.js} +2 -2
  15. package/dist/{chunk-X5ZJGTWY.js → chunk-KDVKD3QA.js} +4 -4
  16. package/dist/{chunk-FNGFR7R6.js → chunk-NGHOZRIM.js} +2 -1
  17. package/dist/{chunk-W2ME7AGN.js → chunk-OZPSNMUD.js} +3 -3
  18. package/dist/{chunk-4BQAIMAM.js → chunk-PBBD37E7.js} +4 -4
  19. package/dist/{chunk-Q7DFEWE7.js → chunk-PQB4CGSL.js} +2 -2
  20. package/dist/cli.js +37 -37
  21. package/dist/{completion-5OLAKCX7.js → completion-D3HXSAQY.js} +1 -1
  22. package/dist/{config-LSB274W4.js → config-BAAESXVB.js} +3 -3
  23. package/dist/{config-2PLBQKNC.js → config-CJGPM5MJ.js} +2 -2
  24. package/dist/{ghBotCli-MB7KATUU.js → ghBotCli-DCCFACAA.js} +13 -13
  25. package/dist/{integrationCli-L7OLA3DG.js → integrationCli-EYAHT6VL.js} +2 -2
  26. package/dist/{login-4CIXDZZ7.js → login-FXTMDCCC.js} +3 -3
  27. package/dist/{mcpCli-SAJTQGI7.js → mcpCli-57JTECJY.js} +5 -5
  28. package/dist/{modelsCli-L6VODTVW.js → modelsCli-NH7W6MAZ.js} +6 -6
  29. package/dist/{oauthLogin-6TP475PO.js → oauthLogin-FTOPZW7X.js} +1 -1
  30. package/dist/{pluginsCli-LE2IDSST.js → pluginsCli-UUPFG2CF.js} +2 -2
  31. package/dist/{prCli-PQJDEF7H.js → prCli-6OQ5ZUBO.js} +1 -1
  32. package/dist/providerCli-L6SQHIRK.js +15 -0
  33. package/dist/sdk.js +71 -10
  34. package/dist/{serve-ZBCAEE72.js → serve-HPQ2K7UE.js} +14 -14
  35. package/dist/{serve-QAVMAYEU.js → serve-HZZYEI3J.js} +3 -3
  36. package/dist/session-QIZKAZK3.js +12 -0
  37. package/dist/setup-4I5FXW37.js +24 -0
  38. package/dist/{statsCli-AJG3IJTX.js → statsCli-G7GYLCPM.js} +1 -1
  39. package/dist/{transferCli-HNJMZYLV.js → transferCli-7FW2SJY4.js} +4 -4
  40. package/dist/{ui-ORZ5ZNIC.js → ui-KHNDA2RT.js} +120 -32
  41. package/dist/{update-REYFMT5X.js → update-UG7GWBXT.js} +2 -2
  42. package/package.json +1 -1
  43. package/dist/providerCli-SEAZ5OLH.js +0 -15
  44. package/dist/session-3I64N64B.js +0 -12
  45. package/dist/setup-N3PMYREM.js +0 -24
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createRuntime
4
- } from "./chunk-FNCDUDOB.js";
4
+ } from "./chunk-2QNYWBDG.js";
5
5
  import "./chunk-QZKLZELZ.js";
6
- import "./chunk-NJ5YDSSP.js";
7
- import "./chunk-JKRSZHDV.js";
6
+ import "./chunk-7PRH5NDO.js";
7
+ import "./chunk-GF6CRNT3.js";
8
8
  import "./chunk-PSO7R5AD.js";
9
9
  import {
10
10
  VERSION
11
- } from "./chunk-7BQQYDPU.js";
11
+ } from "./chunk-IHYNME3G.js";
12
12
  import {
13
13
  LOOPBACK_BIND,
14
14
  MAX_FRAME_BYTES,
@@ -17,25 +17,25 @@ import {
17
17
  parseClientFrame,
18
18
  randomToken,
19
19
  trustFence
20
- } from "./chunk-W2ME7AGN.js";
20
+ } from "./chunk-OZPSNMUD.js";
21
21
  import "./chunk-GAFJEQTJ.js";
22
- import "./chunk-X5ZJGTWY.js";
22
+ import "./chunk-KDVKD3QA.js";
23
23
  import {
24
24
  listAllModels
25
- } from "./chunk-4BQAIMAM.js";
26
- import "./chunk-F4XYLKG5.js";
25
+ } from "./chunk-PBBD37E7.js";
26
+ import "./chunk-65OGHOGS.js";
27
27
  import "./chunk-7F3IWBPQ.js";
28
28
  import {
29
29
  Session
30
- } from "./chunk-IA35YV5K.js";
31
- import "./chunk-ERXWNEVU.js";
32
- import "./chunk-RFSNTLOW.js";
33
- import "./chunk-Q7DFEWE7.js";
30
+ } from "./chunk-IA5PRX4Z.js";
31
+ import "./chunk-ASJRO2WF.js";
32
+ import "./chunk-FIY424O5.js";
33
+ import "./chunk-PQB4CGSL.js";
34
34
  import {
35
35
  bccliHome,
36
36
  loadConfig
37
- } from "./chunk-FNGFR7R6.js";
38
- import "./chunk-JZ5XPSIA.js";
37
+ } from "./chunk-NGHOZRIM.js";
38
+ import "./chunk-GI5GVU2L.js";
39
39
 
40
40
  // src/serve.ts
41
41
  import { randomBytes } from "crypto";
@@ -3,15 +3,15 @@ import {
3
3
  createFetchTool,
4
4
  createWebSearchTool,
5
5
  isPrivateHost
6
- } from "./chunk-JKRSZHDV.js";
6
+ } from "./chunk-GF6CRNT3.js";
7
7
  import "./chunk-PSO7R5AD.js";
8
8
  import {
9
9
  loadConfig,
10
10
  readCredentials
11
- } from "./chunk-FNGFR7R6.js";
11
+ } from "./chunk-NGHOZRIM.js";
12
12
  import {
13
13
  t
14
- } from "./chunk-JZ5XPSIA.js";
14
+ } from "./chunk-GI5GVU2L.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-IA5PRX4Z.js";
6
+ import "./chunk-ASJRO2WF.js";
7
+ import "./chunk-FIY424O5.js";
8
+ import "./chunk-GI5GVU2L.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-2QNYWBDG.js";
6
+ import "./chunk-QZKLZELZ.js";
7
+ import "./chunk-7PRH5NDO.js";
8
+ import "./chunk-GF6CRNT3.js";
9
+ import "./chunk-PSO7R5AD.js";
10
+ import "./chunk-GAFJEQTJ.js";
11
+ import "./chunk-KDVKD3QA.js";
12
+ import "./chunk-PBBD37E7.js";
13
+ import "./chunk-65OGHOGS.js";
14
+ import "./chunk-7F3IWBPQ.js";
15
+ import "./chunk-IA5PRX4Z.js";
16
+ import "./chunk-ASJRO2WF.js";
17
+ import "./chunk-FIY424O5.js";
18
+ import "./chunk-PQB4CGSL.js";
19
+ import "./chunk-NGHOZRIM.js";
20
+ import "./chunk-GI5GVU2L.js";
21
+ export {
22
+ createRuntime,
23
+ lunaPtcAutoEnabled
24
+ };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZKLZELZ.js";
5
5
  import {
6
6
  t
7
- } from "./chunk-JZ5XPSIA.js";
7
+ } from "./chunk-GI5GVU2L.js";
8
8
 
9
9
  // src/statsCli.ts
10
10
  import { existsSync, readdirSync, readFileSync, statSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  Session
4
- } from "./chunk-IA35YV5K.js";
5
- import "./chunk-ERXWNEVU.js";
6
- import "./chunk-RFSNTLOW.js";
4
+ } from "./chunk-IA5PRX4Z.js";
5
+ import "./chunk-ASJRO2WF.js";
6
+ import "./chunk-FIY424O5.js";
7
7
  import {
8
8
  t
9
- } from "./chunk-JZ5XPSIA.js";
9
+ } from "./chunk-GI5GVU2L.js";
10
10
 
11
11
  // src/transferCli.ts
12
12
  import { copyFileSync, existsSync, mkdirSync, readdirSync, readFileSync, statSync, writeFileSync } from "fs";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  CATALOG,
4
4
  fillTemplate
5
- } from "./chunk-O33VFLLL.js";
5
+ } from "./chunk-K3SWFB5S.js";
6
6
  import {
7
7
  MAX_VERIFY_ROUNDS,
8
8
  runVerify,
9
9
  toolLabel,
10
10
  verifyFollowup,
11
11
  worktreeListText
12
- } from "./chunk-VQ4FJ7R2.js";
12
+ } from "./chunk-33OBF43H.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-NJ5YDSSP.js";
24
+ } from "./chunk-7PRH5NDO.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-F4XYLKG5.js";
33
+ } from "./chunk-65OGHOGS.js";
34
34
  import {
35
35
  Session
36
- } from "./chunk-IA35YV5K.js";
36
+ } from "./chunk-IA5PRX4Z.js";
37
37
  import {
38
38
  contentText
39
- } from "./chunk-ERXWNEVU.js";
39
+ } from "./chunk-ASJRO2WF.js";
40
40
  import {
41
41
  REASONING_LEVELS,
42
42
  assertReasoningSupported,
43
43
  parseReasoningLevel,
44
44
  supportedReasoningLevels
45
- } from "./chunk-RFSNTLOW.js";
45
+ } from "./chunk-FIY424O5.js";
46
46
  import {
47
47
  addGlobalServer,
48
48
  globalMcpPath,
49
49
  readMcpFile,
50
50
  removeGlobalServer
51
- } from "./chunk-Q7DFEWE7.js";
51
+ } from "./chunk-PQB4CGSL.js";
52
52
  import {
53
53
  ACCENT,
54
54
  PRESETS,
55
55
  color,
56
56
  matchKeybind,
57
57
  removeCredential
58
- } from "./chunk-FNGFR7R6.js";
58
+ } from "./chunk-NGHOZRIM.js";
59
59
  import {
60
60
  getLanguage,
61
61
  locale,
62
62
  parseLang,
63
63
  setLanguage,
64
64
  t
65
- } from "./chunk-JZ5XPSIA.js";
65
+ } from "./chunk-GI5GVU2L.js";
66
66
 
67
67
  // src/ui/index.tsx
68
68
  import { render } from "ink";
@@ -72,7 +72,7 @@ import { execFile as execFile3 } from "child_process";
72
72
  import { existsSync as existsSync2, mkdirSync, readFileSync, writeFileSync } from "fs";
73
73
  import { homedir, tmpdir } from "os";
74
74
  import { dirname, join as join3, relative, resolve } from "path";
75
- import { Box as Box13, Static, Text as Text16, useApp, useInput as useInput9 } from "ink";
75
+ import { Box as Box13, Static, Text as Text16, measureElement, useApp, useInput as useInput9, useStdin, useStdout as useStdout2 } from "ink";
76
76
  import { useCallback, useEffect as useEffect3, useRef, useState as useState8 } from "react";
77
77
 
78
78
  // src/commands.ts
@@ -782,11 +782,46 @@ function EditableText({ state, mask = false, showCursor = true }) {
782
782
  // src/ui/focusReport.ts
783
783
  var isFocusReport = (input) => input === "[I" || input === "[O";
784
784
 
785
+ // src/ui/thinkingMouse.ts
786
+ function parseMousePress(value) {
787
+ const start = value.indexOf("\x1B[<");
788
+ if (start < 0) return void 0;
789
+ const match = /^<(\d+);(\d+);(\d+)M/.exec(value.slice(start + 2));
790
+ if (!match) return void 0;
791
+ const button = Number(match[1]);
792
+ if (button !== 0) return void 0;
793
+ const x = Number(match[2]);
794
+ const y = Number(match[3]);
795
+ if (x < 1 || y < 1) return void 0;
796
+ return { x, y };
797
+ }
798
+ function parseCursorPosition(value) {
799
+ const start = value.indexOf("\x1B[");
800
+ if (start < 0) return void 0;
801
+ const match = /^(\d+);(\d+)R/.exec(value.slice(start + 2));
802
+ if (!match) return void 0;
803
+ const row = Number(match[1]);
804
+ const col = Number(match[2]);
805
+ if (row < 1 || col < 1) return void 0;
806
+ return { row, col };
807
+ }
808
+ function clickedThinking(click, cursorRow, rootHeight, target) {
809
+ if (!rootHeight || !target.width || !target.height) return false;
810
+ const origin = cursorRow - rootHeight + 1;
811
+ const row = origin + target.y;
812
+ const col = target.x + 1;
813
+ return click.y >= row && click.y < row + target.height && click.x >= col && click.x < col + Math.min(target.width, 46);
814
+ }
815
+ function isMouseControlInput(input) {
816
+ return /^\[<(?:\d+;){2}\d+[mM]$/.test(input) || /^\[(?:\d+;)\d+R$/.test(input);
817
+ }
818
+
785
819
  // src/ui/LinePrompt.tsx
786
820
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
787
821
  function LinePrompt({ label, mask, onSubmit, onCancel }) {
788
822
  const [line, setLine] = useState({ value: "", cursor: 0 });
789
823
  useInput((input, key) => {
824
+ if (isMouseControlInput(input)) return;
790
825
  if (key.return) onSubmit(line.value.trim());
791
826
  else if (key.escape) onCancel();
792
827
  else if (applyEditKey(line, input, key)) setLine((current) => applyEditKey(current, input, key) ?? current);
@@ -1080,6 +1115,7 @@ function PromptInput({ disabled, history, cwd, onSubmit, extraCommands, injected
1080
1115
  };
1081
1116
  useInput6(
1082
1117
  (input, key) => {
1118
+ if (isMouseControlInput(input)) return;
1083
1119
  if (suggestions.length) {
1084
1120
  if (key.upArrow) {
1085
1121
  setSelected(Math.max(0, highlighted - 1));
@@ -1494,7 +1530,11 @@ function App({ runtime, initialPrompt, version }) {
1494
1530
  const [listPicker, setListPicker] = useState8(null);
1495
1531
  const [planAsk, setPlanAsk] = useState8(null);
1496
1532
  const [queued, setQueued] = useState8([]);
1497
- const [showThinking, setShowThinking] = useState8(false);
1533
+ const [showThinking, setShowThinking] = useState8(runtime.config.thinkingVisible === true);
1534
+ const { stdin } = useStdin();
1535
+ const { stdout } = useStdout2();
1536
+ const liveRootRef = useRef(null);
1537
+ const thinkingTargetRef = useRef(null);
1498
1538
  const [injected, setInjected] = useState8();
1499
1539
  useEffect3(() => runtime.todos.subscribe(setTodos), [runtime]);
1500
1540
  const extraCommands = [
@@ -2043,6 +2083,55 @@ ARGUMENTS: ${slash.args}`);
2043
2083
  submit(initialPrompt);
2044
2084
  }
2045
2085
  }, [initialPrompt, submit]);
2086
+ const toggleThinking = useCallback(() => {
2087
+ const bind = runtime.config.keybinds.thinking.spec;
2088
+ const next = !showThinking;
2089
+ const toggled = next ? t("Thinking shown ({bind} to hide).", { bind }) : t("Thinking hidden ({bind} to show).", { bind });
2090
+ setShowThinking(next);
2091
+ try {
2092
+ writeGlobalConfig({ thinkingVisible: next }, runtime.env);
2093
+ } catch (error) {
2094
+ notice(t("Could not save thinking visibility: {error}", { error: error.message }), "warn");
2095
+ }
2096
+ setTranscript((t2) => {
2097
+ const last = [...t2.done, ...t2.live].findLast((e) => e.kind === "thinking");
2098
+ const reprint = next && last?.kind === "thinking" && t2.done.includes(last);
2099
+ return {
2100
+ ...t2,
2101
+ done: [
2102
+ ...t2.done,
2103
+ ...reprint ? [entry({ kind: "thinking", text: last.text, open: true })] : [],
2104
+ entry({ kind: "notice", text: toggled, tone: "info" })
2105
+ ]
2106
+ };
2107
+ });
2108
+ }, [runtime, showThinking, notice]);
2109
+ useEffect3(() => {
2110
+ if (!busy || pending || !stdin.isTTY || !stdout.isTTY || !thinkingTargetRef.current) return;
2111
+ let click;
2112
+ const onData = (data) => {
2113
+ const value = String(data);
2114
+ const press = parseMousePress(value);
2115
+ if (press) {
2116
+ click = press;
2117
+ stdout.write("\x1B[6n");
2118
+ return;
2119
+ }
2120
+ const cursor = parseCursorPosition(value);
2121
+ if (!cursor || !click || !liveRootRef.current || !thinkingTargetRef.current) return;
2122
+ const current = click;
2123
+ click = void 0;
2124
+ const root = measureElement(liveRootRef.current);
2125
+ const target = measureElement(thinkingTargetRef.current);
2126
+ if (clickedThinking(current, cursor.row, root.height, target)) toggleThinking();
2127
+ };
2128
+ stdin.on("data", onData);
2129
+ stdout.write("\x1B[?1000h\x1B[?1006h");
2130
+ return () => {
2131
+ stdin.off("data", onData);
2132
+ stdout.write("\x1B[?1000l\x1B[?1006l");
2133
+ };
2134
+ }, [busy, pending, stdin, stdout, toggleThinking]);
2046
2135
  useInput9((input, key) => {
2047
2136
  if (key.tab && key.shift) {
2048
2137
  const next = nextMode(runtime.agent.permissions.mode);
@@ -2066,22 +2155,7 @@ ARGUMENTS: ${slash.args}`);
2066
2155
  }
2067
2156
  })();
2068
2157
  } else if (matchKeybind(runtime.config.keybinds.thinking, input, key)) {
2069
- const bind = runtime.config.keybinds.thinking.spec;
2070
- const next = !showThinking;
2071
- const toggled = next ? t("Thinking shown ({bind} to hide).", { bind }) : t("Thinking hidden ({bind} to show).", { bind });
2072
- setShowThinking(next);
2073
- setTranscript((t2) => {
2074
- const last = [...t2.done, ...t2.live].findLast((e) => e.kind === "thinking");
2075
- const reprint = next && last?.kind === "thinking" && t2.done.includes(last);
2076
- return {
2077
- ...t2,
2078
- done: [
2079
- ...t2.done,
2080
- ...reprint ? [entry({ kind: "thinking", text: last.text, open: true })] : [],
2081
- entry({ kind: "notice", text: toggled, tone: "info" })
2082
- ]
2083
- };
2084
- });
2158
+ toggleThinking();
2085
2159
  } else if (matchKeybind(runtime.config.keybinds.toolOutput, input, key) && lastTool.current) {
2086
2160
  const t2 = lastTool.current;
2087
2161
  notice(`\u23BF ${t2.tool} ${t2.target}
@@ -2183,10 +2257,24 @@ ${t2.output}`);
2183
2257
  return /* @__PURE__ */ jsx16(Box13, { marginTop: 1, children: /* @__PURE__ */ jsx16(Text16, { color: e.tone === "error" ? color("red") : e.tone === "warn" ? color("yellow") : void 0, dimColor: e.tone === "info", children: e.text }) }, e.id);
2184
2258
  }
2185
2259
  };
2186
- return /* @__PURE__ */ jsxs12(Box13, { flexDirection: "column", children: [
2260
+ return /* @__PURE__ */ jsxs12(Box13, { ref: liveRootRef, flexDirection: "column", children: [
2187
2261
  /* @__PURE__ */ jsx16(Static, { items: transcript.done, children: renderEntry }),
2188
2262
  transcript.live.map(renderEntry),
2189
- busy && !pending && !planAsk ? /* @__PURE__ */ jsx16(Box13, { marginTop: 1, children: /* @__PURE__ */ jsx16(Spinner, { label: cancelling ? t("Cancelling") : t("Thinking"), startedAt }) }) : null,
2263
+ busy && !pending && !planAsk ? /* @__PURE__ */ jsxs12(Box13, { ref: thinkingTargetRef, marginTop: 1, flexDirection: "column", children: [
2264
+ /* @__PURE__ */ jsxs12(Box13, { flexDirection: "row", children: [
2265
+ /* @__PURE__ */ jsx16(Spinner, { label: cancelling ? t("Cancelling") : t("Thinking"), startedAt }),
2266
+ /* @__PURE__ */ jsxs12(Text16, { dimColor: true, children: [
2267
+ " \xB7 ",
2268
+ runtime.config.keybinds.thinking.spec,
2269
+ " \xB7 ",
2270
+ t("click to toggle")
2271
+ ] })
2272
+ ] }),
2273
+ showThinking ? /* @__PURE__ */ jsxs12(Box13, { flexDirection: "column", paddingLeft: 2, children: [
2274
+ /* @__PURE__ */ jsx16(Text16, { dimColor: true, children: t("Model: {model} \xB7 reasoning: {level}", { model: runtime.modelRef, level: reasoning }) }),
2275
+ ![...transcript.done, ...transcript.live].some((e) => e.kind === "thinking" && !!e.text.trim()) ? /* @__PURE__ */ jsx16(Text16, { dimColor: true, children: t("No reasoning summary received yet; tool activity remains visible above.") }) : null
2276
+ ] }) : null
2277
+ ] }) : null,
2190
2278
  pending ? /* @__PURE__ */ jsx16(PermissionPrompt, { request: pending.request, onAnswer: answer }, pending.id) : null,
2191
2279
  picker ? /* @__PURE__ */ jsx16(
2192
2280
  ModelPicker,
@@ -2239,7 +2327,7 @@ ${t2.output}`);
2239
2327
  import { jsx as jsx17 } from "react/jsx-runtime";
2240
2328
  async function startInteractive(rt, opts) {
2241
2329
  if (opts.resume) {
2242
- const { Session: Session2 } = await import("./session-3I64N64B.js");
2330
+ const { Session: Session2 } = await import("./session-QIZKAZK3.js");
2243
2331
  const list = Session2.list(rt.home, rt.cwd).slice(0, 20);
2244
2332
  if (!list.length) console.log(t("No sessions in this folder yet; starting a new one."));
2245
2333
  else {
@@ -2254,7 +2342,7 @@ async function startInteractive(rt, opts) {
2254
2342
  if (chosen) rt.resume(chosen.session);
2255
2343
  }
2256
2344
  }
2257
- const { serversToStart, setProjectTrust } = await import("./config-LSB274W4.js");
2345
+ const { serversToStart, setProjectTrust } = await import("./config-BAAESXVB.js");
2258
2346
  const plan = serversToStart(rt.home, rt.cwd);
2259
2347
  if (plan.needTrust.length) {
2260
2348
  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-7BQQYDPU.js";
4
+ } from "./chunk-IHYNME3G.js";
5
5
  import {
6
6
  t
7
- } from "./chunk-JZ5XPSIA.js";
7
+ } from "./chunk-GI5GVU2L.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.45",
3
+ "version": "0.4.0-beta.46",
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-X5ZJGTWY.js";
6
- import "./chunk-4BQAIMAM.js";
7
- import "./chunk-F4XYLKG5.js";
8
- import "./chunk-ERXWNEVU.js";
9
- import "./chunk-RFSNTLOW.js";
10
- import "./chunk-FNGFR7R6.js";
11
- import "./chunk-JZ5XPSIA.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-IA35YV5K.js";
6
- import "./chunk-ERXWNEVU.js";
7
- import "./chunk-RFSNTLOW.js";
8
- import "./chunk-JZ5XPSIA.js";
9
- export {
10
- Session,
11
- pruneSessions
12
- };
@@ -1,24 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- createRuntime,
4
- lunaPtcAutoEnabled
5
- } from "./chunk-FNCDUDOB.js";
6
- import "./chunk-QZKLZELZ.js";
7
- import "./chunk-NJ5YDSSP.js";
8
- import "./chunk-JKRSZHDV.js";
9
- import "./chunk-PSO7R5AD.js";
10
- import "./chunk-GAFJEQTJ.js";
11
- import "./chunk-X5ZJGTWY.js";
12
- import "./chunk-4BQAIMAM.js";
13
- import "./chunk-F4XYLKG5.js";
14
- import "./chunk-7F3IWBPQ.js";
15
- import "./chunk-IA35YV5K.js";
16
- import "./chunk-ERXWNEVU.js";
17
- import "./chunk-RFSNTLOW.js";
18
- import "./chunk-Q7DFEWE7.js";
19
- import "./chunk-FNGFR7R6.js";
20
- import "./chunk-JZ5XPSIA.js";
21
- export {
22
- createRuntime,
23
- lunaPtcAutoEnabled
24
- };