@sma1lboy/kobe 0.8.65 → 0.8.68
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.
- package/dist/cli/index.js +400 -400
- package/dist/cli/pty-host-node.mjs +1 -0
- package/dist/skills/kobe/SKILL.md +36 -10
- package/dist/web-ui/assets/{index-kwi5l86q.js → index-CXwdEUyN.js} +2 -2
- package/dist/web-ui/assets/{worktrees-DBbyo2ew.js → worktrees-D4Me4lHr.js} +1 -1
- package/dist/web-ui/index.html +1 -1
- package/dist/web-ui/pty-server.mjs +1 -1
- package/package.json +1 -1
|
@@ -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:
|
|
6
|
+
<!-- kobe-skill-version: 11 — bump in lockstep with KOBE_SKILL_VERSION (src/lib/skill-install.ts). -->
|
|
7
7
|
|
|
8
8
|
# kobe shell control
|
|
9
9
|
|
|
@@ -31,15 +31,17 @@ lifecycle tracking, and an explicit outcome contract.
|
|
|
31
31
|
child the user cannot see or manage.
|
|
32
32
|
- Following up on a task you started → `send`; waiting on results →
|
|
33
33
|
`await`; comparing → `collect`; reporting your own verdict → `report`.
|
|
34
|
-
- Messaging another task's agent → `send
|
|
35
|
-
the
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
- Messaging another task's agent → `send`, and ONLY `send` — never relay
|
|
35
|
+
through the user, a side file, or a generic peer channel. Sent from
|
|
36
|
+
inside a kobe task, the prompt arrives prefixed `[KOBE PEER] from
|
|
37
|
+
"<title>" (task <id> — load the kobe agent skill FIRST …)`, so the
|
|
38
|
+
receiver knows who is talking, that this skill is required reading, and
|
|
39
|
+
how to answer — peer conversations need no coordinator and no human
|
|
40
|
+
relay. That prefix is the contract: do not strip it with `--plain` for
|
|
41
|
+
coordination messages (`--plain` is only for a verbatim paste the
|
|
42
|
+
receiver should treat as content, not conversation). Received a
|
|
43
|
+
`[KOBE PEER]` message yourself? Load this skill first — required, not
|
|
44
|
+
optional — then reply with the baked-in command, not by asking the user.
|
|
43
45
|
- `dispatch` stays the dispatcher's verb (deliver-only into an
|
|
44
46
|
already-hosted session; never impersonate the user in someone else's
|
|
45
47
|
terminal).
|
|
@@ -91,6 +93,30 @@ kobe api list --pretty
|
|
|
91
93
|
`.running` means the task's canonical Hosted PTY engine session is alive.
|
|
92
94
|
`send` reuses it or auto-starts it when absent.
|
|
93
95
|
|
|
96
|
+
## Terminal panes
|
|
97
|
+
|
|
98
|
+
Split the workspace terminal the user is watching (tmux-style) or open a
|
|
99
|
+
separate command tab — the attached TUI performs it, so this is a no-op
|
|
100
|
+
headless:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# Split the focused tab; the pane runs the command via `sh -lc` and
|
|
104
|
+
# closes when it exits. Omit --command for an interactive shell.
|
|
105
|
+
kobe api pane-open --command "btop"
|
|
106
|
+
kobe api pane-open --direction down --command "watch -n1 git status -sb"
|
|
107
|
+
kobe api pane-open --placement tab --title logs --command "tail -f app.log"
|
|
108
|
+
|
|
109
|
+
# Close panes you opened, by their --title (engine panes are never closed).
|
|
110
|
+
kobe api pane-close --title logs
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Defaults: the caller's own task (`$KOBE_TASK_ID`, then the active task),
|
|
114
|
+
`--placement split`, `--direction right`. Alternate right/down to build a
|
|
115
|
+
grid; screen size bounds splitting — a split that would shrink any pane
|
|
116
|
+
below the minimum usable size (20×6 cells) falls back to a tab.
|
|
117
|
+
Panes land in the USER'S live workspace — open them when asked (monitors,
|
|
118
|
+
logs, dashboards), don't scatter panes for work `add`/`fan-out` should own.
|
|
119
|
+
|
|
94
120
|
## Lifecycle
|
|
95
121
|
|
|
96
122
|
| Verb | Purpose |
|