@sma1lboy/kobe 0.8.67 → 0.8.69

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.
@@ -251,6 +251,7 @@ var DAEMON_CHANNELS = [
251
251
  "transcript.activity",
252
252
  "session.deliver",
253
253
  "tab.open",
254
+ "tab.close",
254
255
  "engine.lifecycle",
255
256
  "notice.event",
256
257
  "usage.snapshot",
@@ -3,7 +3,7 @@ name: kobe
3
3
  description: Use when controlling kobe tasks, parallel coding attempts, hosted agent sessions, task lifecycle, or the daemon-owned issue tracker from a shell.
4
4
  ---
5
5
 
6
- <!-- kobe-skill-version: 10 — bump in lockstep with KOBE_SKILL_VERSION (src/lib/skill-install.ts). -->
6
+ <!-- kobe-skill-version: 13 — bump in lockstep with KOBE_SKILL_VERSION (src/lib/skill-install.ts). -->
7
7
 
8
8
  # kobe shell control
9
9
 
@@ -85,13 +85,20 @@ kobe api fan-out --repo "$PWD" --agents claude:2,codex:1 --prompt "<prompt>"
85
85
  # (sender + reply command); --plain sends verbatim.
86
86
  kobe api send --task-id <id> --prompt "<complete next turn>"
87
87
 
88
+ # A task can hold several chat tabs. Enumerate them first (inspect's .tabs is
89
+ # the sidebar's tab snapshot: id, kind, vendor, lastTitle), then address one:
90
+ kobe api inspect --task-id <id>
91
+ kobe api send --task-id <id> --tab tab-3 --prompt "<turn>" # exact alive tab
92
+ kobe api send --task-id <id> --tab new --prompt "<turn>" # fresh engine tab
93
+
88
94
  kobe api get-task --task-id <id>
89
95
  kobe api collect --task-ids <id1>,<id2>,<id3> --pretty
90
96
  kobe api list --pretty
91
97
  ```
92
98
 
93
99
  `.running` means the task's canonical Hosted PTY engine session is alive.
94
- `send` reuses it or auto-starts it when absent.
100
+ `send` reuses it or auto-starts it when absent; omitting `--tab` targets that
101
+ canonical engine tab.
95
102
 
96
103
  ## Terminal panes
97
104
 
@@ -105,11 +112,19 @@ headless:
105
112
  kobe api pane-open --command "btop"
106
113
  kobe api pane-open --direction down --command "watch -n1 git status -sb"
107
114
  kobe api pane-open --placement tab --title logs --command "tail -f app.log"
115
+
116
+ # Close panes you opened, by their --title (engine panes are never closed).
117
+ kobe api pane-close --title logs
118
+
119
+ # Toast a one-liner in every attached kobe UI — surface "done / needs input /
120
+ # error" moments without touching any session (kinds get severity styling).
121
+ kobe api notify --title "build green, artifacts in dist/" --kind done
108
122
  ```
109
123
 
110
124
  Defaults: the caller's own task (`$KOBE_TASK_ID`, then the active task),
111
125
  `--placement split`, `--direction right`. Alternate right/down to build a
112
- grid; splits nest at most 4 levels deep and fall back to a tab past that.
126
+ grid; screen size bounds splitting a split that would shrink any pane
127
+ below the minimum usable size (20×6 cells) falls back to a tab.
113
128
  Panes land in the USER'S live workspace — open them when asked (monitors,
114
129
  logs, dashboards), don't scatter panes for work `add`/`fan-out` should own.
115
130
 
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.8.67",
4
+ "version": "0.8.69",
5
5
  "description": "TUI orchestrator for Claude Code (codename)",
6
6
  "type": "module",
7
7
  "packageManager": "bun@1.3.13",