@sma1lboy/kobe 0.5.13 → 0.5.15
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/README.md +2 -5
- package/dist/bin/kobed.js +30 -3
- package/dist/cli/index.js +6172 -458
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -28,11 +28,10 @@ that's the gap kobe fills.
|
|
|
28
28
|
|
|
29
29
|
[](https://www.npmjs.com/package/@sma1lboy/kobe)
|
|
30
30
|
|
|
31
|
-
You need
|
|
31
|
+
You need two things on `PATH`:
|
|
32
32
|
|
|
33
33
|
- [**Bun**](https://bun.sh) ≥ 1.0 — kobe's renderer is opentui, which uses Bun-FFI.
|
|
34
34
|
- [**`claude`** CLI](https://docs.anthropic.com/en/docs/claude-code) — the engine kobe drives. Run `claude --version` to confirm it's installed and signed in.
|
|
35
|
-
- **`tmux`** — the embedded terminal pane uses one tmux session per task. On macOS: `brew install tmux`.
|
|
36
35
|
|
|
37
36
|
Then:
|
|
38
37
|
|
|
@@ -148,9 +147,7 @@ and confirm `claude --version` works in the same shell you launched kobe from.
|
|
|
148
147
|
**`bun: command not found`** — install [Bun](https://bun.sh) (`curl -fsSL https://bun.sh/install | bash`).
|
|
149
148
|
kobe's renderer requires Bun ≥ 1.0; it does not run under Node.
|
|
150
149
|
|
|
151
|
-
**The terminal pane is blank
|
|
152
|
-
The embedded terminal is one tmux session per task; without `tmux` on `PATH`,
|
|
153
|
-
the pane stays empty but the rest of kobe still works.
|
|
150
|
+
**The terminal pane is blank** — kobe starts your `$SHELL` through Bun's native PTY. Confirm `$SHELL` points at an installed shell, your Bun version supports `Bun.spawn({ terminal })`, and the active task's worktree path still exists. `KOBE_TERMINAL_BACKEND=pipe` is available only as a fallback.
|
|
154
151
|
|
|
155
152
|
**`posix_spawnp failed` when running `bun run test:behavior`** — on macOS arm64,
|
|
156
153
|
Bun's installer occasionally ships `node-pty`'s prebuilt `spawn-helper` without
|
package/dist/bin/kobed.js
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
3
5
|
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
function __accessProp(key) {
|
|
9
|
+
return this[key];
|
|
10
|
+
}
|
|
11
|
+
var __toESMCache_node;
|
|
12
|
+
var __toESMCache_esm;
|
|
13
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
14
|
+
var canCache = mod != null && typeof mod === "object";
|
|
15
|
+
if (canCache) {
|
|
16
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
17
|
+
var cached = cache.get(mod);
|
|
18
|
+
if (cached)
|
|
19
|
+
return cached;
|
|
20
|
+
}
|
|
21
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
22
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
if (canCache)
|
|
30
|
+
cache.set(mod, to);
|
|
31
|
+
return to;
|
|
32
|
+
};
|
|
33
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
4
34
|
var __returnValue = (v) => v;
|
|
5
35
|
function __exportSetter(name, newValue) {
|
|
6
36
|
this[name] = __returnValue.bind(null, newValue);
|
|
@@ -2671,9 +2701,6 @@ function kobeStateDir() {
|
|
|
2671
2701
|
function kvStatePath() {
|
|
2672
2702
|
return join5(homeDir(), ".config", "kobe", "state.json");
|
|
2673
2703
|
}
|
|
2674
|
-
function tmuxBin() {
|
|
2675
|
-
return process.env.KOBE_TMUX_BIN ?? "tmux";
|
|
2676
|
-
}
|
|
2677
2704
|
var init_env = () => {};
|
|
2678
2705
|
|
|
2679
2706
|
// src/state/repos.ts
|