cyber-mux 0.8.0 → 0.9.1
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/.claude-plugin/plugin.json +14 -0
- package/.codex-plugin/plugin.json +17 -0
- package/.cursor-plugin/plugin.json +14 -0
- package/README.md +14 -0
- package/dist/agent.d.mts +1 -1
- package/dist/agent.mjs +2 -2
- package/dist/{backend-Dg5JGbd3.mjs → backend-26cY2q8x.mjs} +2 -2
- package/dist/{backend-Dg5JGbd3.mjs.map → backend-26cY2q8x.mjs.map} +1 -1
- package/dist/{cli-BB14CKcd.mjs → cli-ul7DWxah.mjs} +36 -19
- package/dist/cli-ul7DWxah.mjs.map +1 -0
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{mux-CDrZQglk.d.mts → mux-DOhM8bnO.d.mts} +435 -29
- package/dist/mux-DOhM8bnO.d.mts.map +1 -0
- package/dist/plugin.mjs +1 -1
- package/dist/template.mjs +1 -1
- package/dist/{worktree-Bj6IgHv7.mjs → worktree-08MMRO3P.mjs} +66 -2
- package/dist/worktree-08MMRO3P.mjs.map +1 -0
- package/dist/worktree.d.mts +2 -2
- package/dist/worktree.mjs +2 -2
- package/package.json +10 -2
- package/plugin.json +30 -0
- package/skills/mux/README.md +23 -0
- package/skills/mux/SKILL.md +74 -0
- package/src/cli-error.ts +5 -5
- package/src/cli-options.ts +4 -1
- package/src/output.ts +28 -12
- package/src/worktree-pool.ts +146 -0
- package/src/worktree.ts +31 -4
- package/dist/cli-BB14CKcd.mjs.map +0 -1
- package/dist/mux-CDrZQglk.d.mts.map +0 -1
- package/dist/worktree-Bj6IgHv7.mjs.map +0 -1
- package/dist/worktree-QnKzOVzL.d.mts +0 -351
- package/dist/worktree-QnKzOVzL.d.mts.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cyber-mux",
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "Cross-multiplexer pane control: open, send, read, focus, and close panes over tmux, herdr, wezterm, and more.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "unional",
|
|
7
|
+
"email": "homawong@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://cyberuni.github.io/cyber-mux/",
|
|
10
|
+
"repository": "https://github.com/cyberuni/cyber-mux",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": ["tmux", "herdr", "multiplexer", "terminal", "pane", "agent"],
|
|
13
|
+
"skills": "./skills/"
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cyber-mux",
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "Cross-multiplexer pane control: open, send, read, focus, and close panes over tmux, herdr, wezterm, and more.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "unional",
|
|
7
|
+
"email": "homawong@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://cyberuni.github.io/cyber-mux/",
|
|
10
|
+
"repository": "https://github.com/cyberuni/cyber-mux",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": ["tmux", "herdr", "multiplexer", "terminal", "pane", "agent"],
|
|
13
|
+
"skills": "./skills/",
|
|
14
|
+
"interface": {
|
|
15
|
+
"displayName": "cyber-mux"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cyber-mux",
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "Cross-multiplexer pane control: open, send, read, focus, and close panes over tmux, herdr, wezterm, and more.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "unional",
|
|
7
|
+
"email": "homawong@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://cyberuni.github.io/cyber-mux/",
|
|
10
|
+
"repository": "https://github.com/cyberuni/cyber-mux",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": ["tmux", "herdr", "multiplexer", "terminal", "pane", "agent"],
|
|
13
|
+
"skills": "./skills/"
|
|
14
|
+
}
|
package/README.md
CHANGED
|
@@ -12,12 +12,26 @@ send, read, focus, and close panes without caring which multiplexer you are insi
|
|
|
12
12
|
`cyber-mux` is the mux seam used by [`cyberlegion`](https://github.com/cyberuni/cyberplace), kept
|
|
13
13
|
deliberately narrow: it drives panes and nothing else.
|
|
14
14
|
|
|
15
|
+
Part of [cyber-civitas](https://cyber-civitas.github.io), a self-contained system for running AI coding agents. This package is its pane control beneath the runtime layer.
|
|
16
|
+
|
|
15
17
|
## Install
|
|
16
18
|
|
|
17
19
|
```bash
|
|
18
20
|
npx cyber-mux mode
|
|
19
21
|
```
|
|
20
22
|
|
|
23
|
+
### Agent plugin
|
|
24
|
+
|
|
25
|
+
`cyber-mux` also ships as an agent plugin for Claude Code, Cursor, Codex, and GitHub Copilot CLI. Its
|
|
26
|
+
`mux` skill drives panes from inside an agent session (`/cyber-mux:mux --help`). In Claude Code:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
/plugin marketplace add cyberuni/cyber-mux
|
|
30
|
+
/plugin install cyber-mux@cyberuni-cyber-mux-local
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Other runtimes and usage: <https://cyberuni.github.io/cyber-mux/getting-started/agent-plugin/>
|
|
34
|
+
|
|
21
35
|
## What it does
|
|
22
36
|
|
|
23
37
|
- **Detects** the multiplexer you are running under — env fast-path (`CYBER_MUX` / `CYBER_MUX_PANE`),
|
package/dist/agent.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Exec } from "./exec-B81m4yjz.mjs";
|
|
2
|
-
import { m as MuxTarget, n as AgentStatus, o as MuxAdapter, r as AgentWaitOptions, t as AgentLifecycle } from "./mux-
|
|
2
|
+
import { m as MuxTarget, n as AgentStatus, o as MuxAdapter, r as AgentWaitOptions, t as AgentLifecycle } from "./mux-DOhM8bnO.mjs";
|
|
3
3
|
//#region src/agent-states.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The agent-wait STATE-SET refusal — what an `AgentLifecycle` backend answers when it has the native
|
package/dist/agent.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as agentWaitStatesSatisfiable, r as resolveMuxAdapter, x as refuseAgentWaitStates, y as AgentWaitStatesUnsupportedError } from "./backend-
|
|
1
|
+
import { V as nodeExec } from "./worktree-08MMRO3P.mjs";
|
|
2
|
+
import { b as agentWaitStatesSatisfiable, r as resolveMuxAdapter, x as refuseAgentWaitStates, y as AgentWaitStatesUnsupportedError } from "./backend-26cY2q8x.mjs";
|
|
3
3
|
//#region src/agent.ts
|
|
4
4
|
/**
|
|
5
5
|
* An agent-lifecycle wait asked of a backend that has no native agent-state primitive (`agent wait` on
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as withReason, V as nodeExec, c as normalizeWorktreePath } from "./worktree-08MMRO3P.mjs";
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
//#region src/env-fallback.ts
|
|
@@ -6202,4 +6202,4 @@ function callerPane(adapter, env) {
|
|
|
6202
6202
|
//#endregion
|
|
6203
6203
|
export { DEFAULT_WAIT_POLL_MS as A, restoringFocus as B, partition as C, PaneZoomUnsupportedError as D, isReadTruncated as E, PaneMoveUnsupportedError as F, envFallback as G, FloatingPanesUnsupportedError as H, canBreakPanes as I, canMovePanes as L, matchWaitPattern as M, pollForOutput as N, canZoomPanes as O, PaneBreakUnsupportedError as P, refusePaneBreak as R, herdrMuxAdapter as S, capturedRows as T, canFloatPanes as U, soleFocusedPane as V, refuseFloatingPane as W, RMUX_WORKSPACE_GROUP_OPTION as _, nudge as a, agentWaitStatesSatisfiable as b, createZellijAdapter as c, weztermMuxAdapter as d, nodeNewId as f, RMUX_TAB_NAME_OPTION as g, tmuxMuxAdapter as h, isStaged as i, assertWaitPattern as j, refusePaneZoom as k, zellijMuxAdapter as l, TMUX_WORKSPACE_GROUP_OPTION as m, resolveMux as n, currentPane as o, TMUX_TAB_NAME_OPTION as p, resolveMuxAdapter as r, probeMultiplexer as s, callerPane as t, createWeztermAdapter as u, rmuxMuxAdapter as v, FULL_SCROLLBACK_LINES as w, refuseAgentWaitStates as x, AgentWaitStatesUnsupportedError as y, refusePaneMove as z };
|
|
6204
6204
|
|
|
6205
|
-
//# sourceMappingURL=backend-
|
|
6205
|
+
//# sourceMappingURL=backend-26cY2q8x.mjs.map
|