@sma1lboy/kobe 0.5.25 → 0.5.26

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 (2) hide show
  1. package/dist/cli/index.js +14 -15
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -6275,7 +6275,7 @@ function FileTree(props) {
6275
6275
  insertNode(_el$12, _el$13);
6276
6276
  setProp(_el$12, "paddingTop", 1);
6277
6277
  setProp(_el$12, "paddingLeft", 1);
6278
- insertNode(_el$13, createTextNode(`(no checks yet \u2014 wave 4)`));
6278
+ insertNode(_el$13, createTextNode(`(checks not yet implemented)`));
6279
6279
  effect((_$p) => setProp(_el$13, "fg", theme.textMuted, _$p));
6280
6280
  return _el$12;
6281
6281
  }
@@ -17490,7 +17490,7 @@ var init_package = __esm(() => {
17490
17490
  package_default = {
17491
17491
  $schema: "https://json.schemastore.org/package.json",
17492
17492
  name: "@sma1lboy/kobe",
17493
- version: "0.5.25",
17493
+ version: "0.5.26",
17494
17494
  description: "TUI orchestrator for Claude Code (codename)",
17495
17495
  type: "module",
17496
17496
  packageManager: "bun@1.3.13",
@@ -22472,7 +22472,7 @@ class GeminiLocal {
22472
22472
  async listSessions(cwd) {
22473
22473
  return listSessionsForCwd3(cwd);
22474
22474
  }
22475
- async listCommands() {
22475
+ async listCommands(_opts) {
22476
22476
  return [];
22477
22477
  }
22478
22478
  async stop(handle) {
@@ -23595,7 +23595,7 @@ async function refreshPRStatus(task) {
23595
23595
  if (!json) {
23596
23596
  return {
23597
23597
  provider: "github",
23598
- lifecycle: task.prStatus?.provider === "github" ? task.prStatus.lifecycle : "creating",
23598
+ lifecycle: "creating",
23599
23599
  checkState: "unknown",
23600
23600
  lastCheckedAt: new Date().toISOString(),
23601
23601
  lastError: "No GitHub PR found for this branch yet."
@@ -25111,8 +25111,7 @@ class Orchestrator {
25111
25111
  await this.pauseTask(task.id);
25112
25112
  } catch (err) {
25113
25113
  console.error(`[kobe orchestrator] deleteTask: pauseTask failed for ${task.id}:`, err);
25114
- this.handles.delete(task.id);
25115
- this.bumpRunState();
25114
+ await this.stopAllTabsForTask(task.id);
25116
25115
  }
25117
25116
  }
25118
25117
  if (task.worktreePath) {
@@ -26239,8 +26238,9 @@ async function startDaemonServer(orch, options = {}) {
26239
26238
  return {};
26240
26239
  }
26241
26240
  case "merge.local.request": {
26242
- await orch.requestLocalMerge(requireString2(payload, "taskId"));
26243
- const task = orch.getTask(requireString2(payload, "taskId"));
26241
+ const taskId = requireString2(payload, "taskId");
26242
+ await orch.requestLocalMerge(taskId);
26243
+ const task = orch.getTask(taskId);
26244
26244
  if (task) {
26245
26245
  broadcastTaskUpdated(orch, clients, task.id);
26246
26246
  broadcast(clients, {
@@ -26453,7 +26453,7 @@ function optionalModelEffort(payload, key) {
26453
26453
  function optionalVendor(payload, key) {
26454
26454
  const value = optionalString2(payload, key);
26455
26455
  if (value !== undefined && value !== "claude" && value !== "codex" && value !== "gemini") {
26456
- throw new Error(`${key} must be a supported vendor`);
26456
+ throw new Error(`${key} '${value}' is not a supported vendor (expected: claude, codex, gemini)`);
26457
26457
  }
26458
26458
  return value;
26459
26459
  }
@@ -42366,12 +42366,12 @@ function Chat(props) {
42366
42366
  const inputPlaceholder = createMemo(() => {
42367
42367
  return getIdentity(activeVendor()).inputPlaceholder;
42368
42368
  });
42369
- async function chooseModel(forceVendorLock = false) {
42369
+ async function chooseModel() {
42370
42370
  const id = props.taskId();
42371
42371
  if (!id)
42372
42372
  return;
42373
42373
  const tabId = activeTabId() ?? undefined;
42374
- const lockedVendor = forceVendorLock || activeTabHasSession() ? activeVendor() : undefined;
42374
+ const lockedVendor = activeTabHasSession() ? activeVendor() : undefined;
42375
42375
  const result = await ModelPicker.show(dialog, modelId(), modelEffort(), activeVendor(), lockedVendor);
42376
42376
  if (result === undefined)
42377
42377
  return;
@@ -42503,7 +42503,6 @@ function Chat(props) {
42503
42503
  patchActiveState((s2) => pushSystemError(s2, `/clear failed: ${stringifyErr5(err)}`));
42504
42504
  return;
42505
42505
  }
42506
- await chooseModel(true);
42507
42506
  return;
42508
42507
  }
42509
42508
  const streaming = activeState().isStreaming;
@@ -42821,7 +42820,7 @@ function Sidebar(props) {
42821
42820
  var _el$ = createElement("box"), _el$4 = createElement("scrollbox");
42822
42821
  insertNode(_el$, _el$4);
42823
42822
  setProp(_el$, "width", 42);
42824
- setProp(_el$, "height", "100%");
42823
+ setProp(_el$, "flexGrow", 1);
42825
42824
  setProp(_el$, "paddingTop", 1);
42826
42825
  setProp(_el$, "paddingBottom", 1);
42827
42826
  setProp(_el$, "paddingLeft", 2);
@@ -43229,7 +43228,7 @@ function Sidebar2(props) {
43229
43228
  onCleanup(() => r2.keyInput.off("keypress", listener2));
43230
43229
  });
43231
43230
  const [branchTick, setBranchTick] = createSignal(0);
43232
- const branchInterval = setInterval(() => setBranchTick((n2) => n2 + 1), MAIN_BRANCH_POLL_MS);
43231
+ setInterval(() => setBranchTick((n2) => n2 + 1), MAIN_BRANCH_POLL_MS);
43233
43232
  const [spinnerFrame, setSpinnerFrame] = createSignal(0);
43234
43233
  const spinnerInterval = setInterval(() => setSpinnerFrame((n2) => (n2 + 1) % IN_PROGRESS_SPINNER.length), SPINNER_FRAME_MS);
43235
43234
  onCleanup(() => clearInterval(spinnerInterval));
@@ -44471,7 +44470,7 @@ function Shell2() {
44471
44470
  setProp(_el$21, "flexGrow", 1);
44472
44471
  insert(_el$21, createComponent2(Sidebar, {
44473
44472
  title: "kobe",
44474
- emptyMessage: "No tasks yet. Wave 2 Stream F will populate this pane.",
44473
+ emptyMessage: "No tasks yet.",
44475
44474
  get footer() {
44476
44475
  return (() => {
44477
44476
  var _el$22 = createElement("text"), _el$23 = createElement("span"), _el$25 = createTextNode(` ready`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@sma1lboy/kobe",
4
- "version": "0.5.25",
4
+ "version": "0.5.26",
5
5
  "description": "TUI orchestrator for Claude Code (codename)",
6
6
  "type": "module",
7
7
  "packageManager": "bun@1.3.13",