@sma1lboy/kobe 0.7.20 → 0.7.21

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 +20 -36
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -90,7 +90,7 @@ var init_package = __esm(() => {
90
90
  package_default = {
91
91
  $schema: "https://json.schemastore.org/package.json",
92
92
  name: "@sma1lboy/kobe",
93
- version: "0.7.20",
93
+ version: "0.7.21",
94
94
  description: "TUI orchestrator for Claude Code (codename)",
95
95
  type: "module",
96
96
  packageManager: "bun@1.3.13",
@@ -18008,6 +18008,20 @@ var init_new_task_dialog = __esm(() => {
18008
18008
  };
18009
18009
  });
18010
18010
 
18011
+ // src/tui/component/quick-task-bindings.ts
18012
+ function quickTaskBindings(field, h) {
18013
+ return [
18014
+ { key: "tab", cmd: () => h.cycleField(1) },
18015
+ { key: "shift+tab", cmd: () => h.cycleField(-1) },
18016
+ { key: "ctrl+e", cmd: () => h.stepEngine(1) },
18017
+ ...field === "engine" ? [
18018
+ { key: "left", cmd: () => h.stepEngine(-1) },
18019
+ { key: "right", cmd: () => h.stepEngine(1) },
18020
+ { key: "return", cmd: () => h.commit() }
18021
+ ] : []
18022
+ ];
18023
+ }
18024
+
18011
18025
  // src/tui/component/quick-task-composer.tsx
18012
18026
  import { TextAttributes as TextAttributes3 } from "@opentui/core";
18013
18027
  function QuickTaskComposerView(props) {
@@ -18049,41 +18063,11 @@ function QuickTaskComposerView(props) {
18049
18063
  }
18050
18064
  useBindings(() => ({
18051
18065
  enabled: true,
18052
- bindings: [
18053
- {
18054
- key: "tab",
18055
- cmd: () => cycleField(1)
18056
- },
18057
- {
18058
- key: "shift+tab",
18059
- cmd: () => cycleField(-1)
18060
- },
18061
- {
18062
- key: "ctrl+e",
18063
- cmd: () => stepEngine(1)
18064
- },
18065
- {
18066
- key: "left",
18067
- cmd: () => {
18068
- if (field() === "engine")
18069
- stepEngine(-1);
18070
- }
18071
- },
18072
- {
18073
- key: "right",
18074
- cmd: () => {
18075
- if (field() === "engine")
18076
- stepEngine(1);
18077
- }
18078
- },
18079
- {
18080
- key: "return",
18081
- cmd: () => {
18082
- if (field() === "engine")
18083
- commit();
18084
- }
18085
- }
18086
- ]
18066
+ bindings: quickTaskBindings(field(), {
18067
+ cycleField,
18068
+ stepEngine,
18069
+ commit
18070
+ })
18087
18071
  }));
18088
18072
  const fieldColor = (f) => field() === f ? theme.accent : theme.textMuted;
18089
18073
  return (() => {
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.7.20",
4
+ "version": "0.7.21",
5
5
  "description": "TUI orchestrator for Claude Code (codename)",
6
6
  "type": "module",
7
7
  "packageManager": "bun@1.3.13",