@losoft/taube 0.1.7 → 0.1.8
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 +18 -214
- package/dist/cli.js +2778 -394
- package/package.json +3 -4
- package/plugins/taube/.claude-plugin/plugin.json +1 -1
- package/plugins/taube/.codex-plugin/plugin.json +2 -2
- package/plugins/taube/.grok-plugin/plugin.json +1 -1
- package/plugins/taube/skills/taube-dispatch/SKILL.md +21 -5
- package/.cursor-plugin/marketplace.json +0 -16
- package/plugins/taube/.cursor-plugin/plugin.json +0 -9
package/README.md
CHANGED
|
@@ -1,238 +1,42 @@
|
|
|
1
1
|
# Taube
|
|
2
2
|
|
|
3
|
-
Taube lets Codex CLI, Claude Code,
|
|
4
|
-
|
|
5
|
-
> Ask Codex to review my current diff. Report any bugs with file names and line numbers.
|
|
3
|
+
Taube lets Codex CLI, Claude Code, and Grok Build hand tasks to each other from the terminal. You stay in the original conversation and get the other agent's answer there.
|
|
6
4
|
|
|
7
5
|
Taube connects directly to target adapters through the Agent Client Protocol (ACP). Each task starts a fresh session. The `taube-dispatch` skill calls the same CLI from each host.
|
|
8
6
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
You need Node.js 22.13 or later and npm. Sign in to each target agent you plan to use.
|
|
12
|
-
|
|
13
|
-
Run Taube from a shell or script without a global install.
|
|
14
|
-
|
|
15
|
-
```sh
|
|
16
|
-
npx @losoft/taube surfaces
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
In scripts, use `npx --yes @losoft/taube` to skip the npm install prompt. See the [CLI reference](#cli-reference) for dispatch examples and options.
|
|
20
|
-
|
|
21
|
-
### Install the skill on its own
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
npx skills add lorenzh/taube --skill taube-dispatch
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Choose the host where you want to use the skill. For a project install in Codex without prompts, run the following command.
|
|
28
|
-
|
|
29
|
-
```sh
|
|
30
|
-
npx --yes skills add lorenzh/taube --skill taube-dispatch --agent codex --yes
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Install the CLI globally
|
|
34
|
-
|
|
35
|
-
```sh
|
|
36
|
-
npm install -g @losoft/taube
|
|
37
|
-
taube surfaces
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Install the CLI from GitHub
|
|
41
|
-
|
|
42
|
-
You also need Git and Bun 1.4.2 or later. Keep `bun` on your `PATH` during installation. If you use npm 12, add `--allow-git=root` to the install command.
|
|
43
|
-
|
|
44
|
-
```sh
|
|
45
|
-
npm install --prefix "$HOME/.local/share/taube" github:lorenzh/taube
|
|
46
|
-
export PATH="$HOME/.local/share/taube/node_modules/.bin:$PATH"
|
|
47
|
-
taube surfaces
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Add the `export PATH` line to your shell startup file to use Taube in future sessions.
|
|
7
|
+
## Try it
|
|
51
8
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
Choose the host where you want to use `taube-dispatch`.
|
|
55
|
-
|
|
56
|
-
#### Codex
|
|
57
|
-
|
|
58
|
-
```sh
|
|
59
|
-
codex plugin marketplace add https://github.com/lorenzh/taube.git
|
|
60
|
-
codex plugin add taube@taube-plugins
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Start a new Codex session. Type `$` and select `taube-dispatch`.
|
|
64
|
-
|
|
65
|
-
#### Claude Code
|
|
66
|
-
|
|
67
|
-
```sh
|
|
68
|
-
claude plugin marketplace add https://github.com/lorenzh/taube.git
|
|
69
|
-
claude plugin install taube@taube-plugins
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Start a new Claude Code session and run `/taube:taube-dispatch`.
|
|
73
|
-
|
|
74
|
-
#### Cursor
|
|
75
|
-
|
|
76
|
-
Add the GitHub marketplace from a terminal signed in to Cursor.
|
|
77
|
-
|
|
78
|
-
```sh
|
|
79
|
-
cursor-agent plugin marketplace add https://github.com/lorenzh/taube.git
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Start `cursor-agent`, open `/plugins`, and install **Taube** from **taube-plugins**. In a fresh session, ask Cursor to use `taube-dispatch` to list the available targets. If you use the `agent` command, check `agent --version` first. Both Cursor and Grok can provide that name.
|
|
83
|
-
|
|
84
|
-
For a single CLI session, Cursor can also load the plugin included with a global npm installation.
|
|
85
|
-
|
|
86
|
-
```sh
|
|
87
|
-
cursor-agent --plugin-dir "$(npm root -g)/@losoft/taube/plugins/taube"
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
If you installed from GitHub with the prefix above, use this path.
|
|
91
|
-
|
|
92
|
-
```sh
|
|
93
|
-
cursor-agent --plugin-dir "$HOME/.local/share/taube/node_modules/@losoft/taube/plugins/taube"
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
#### Grok Build
|
|
97
|
-
|
|
98
|
-
```sh
|
|
99
|
-
grok plugin install 'lorenzh/taube#plugins/taube' --trust
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
`--trust` confirms that you trust the plugin from this repository. Start a new Grok Build session and run `/taube-dispatch`.
|
|
103
|
-
|
|
104
|
-
## CLI reference
|
|
105
|
-
|
|
106
|
-
| Command | What it does |
|
|
107
|
-
| --- | --- |
|
|
108
|
-
| `npx @losoft/taube surfaces` | Lists targets, launchers, and the last authentication check as JSON. |
|
|
109
|
-
| `npx @losoft/taube dispatch <target> [--cwd DIR] [--model ID] [--effort LEVEL] [--dispatcher ID]` | Reads one instruction from stdin and sends it to a fresh target session. |
|
|
110
|
-
| `npx @losoft/taube sessions [options]` | Lists the current dispatcher’s sessions as JSON, newest first. |
|
|
111
|
-
| `npx @losoft/taube auth check <target>` | Checks the target CLI’s login status and saves the result. |
|
|
112
|
-
| `npx @losoft/taube --version` | Prints the package version. Short form: `-V`. |
|
|
113
|
-
| `npx @losoft/taube --help` | Shows usage. You can also use `-h`, `dispatch --help`, or `dispatch <target> --help`. |
|
|
114
|
-
|
|
115
|
-
If `taube` is on `PATH`, you can use it in place of `npx @losoft/taube`.
|
|
9
|
+
You need Node.js 22.13 or later and npm. Sign in to each target agent you plan to use. In scripts, `npx --yes` skips the npm install prompt.
|
|
116
10
|
|
|
117
11
|
```sh
|
|
12
|
+
npx --yes @losoft/taube surfaces
|
|
118
13
|
npx --yes @losoft/taube dispatch codex --cwd "$PWD" <<'BRIEF'
|
|
119
14
|
Review the recent changes for bugs. Return findings with file names and line numbers. Leave the files unchanged.
|
|
120
15
|
BRIEF
|
|
121
16
|
```
|
|
122
17
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
| Option | Default | What it sets |
|
|
126
|
-
| --- | --- | --- |
|
|
127
|
-
| `--cwd DIR` | Current directory | Working directory for the adapter and the new session. Relative paths start from the current directory. |
|
|
128
|
-
| `--model ID` | Target session default | A model ID advertised by the target adapter. |
|
|
129
|
-
| `--effort LEVEL` | Target session default | An effort value advertised by the target adapter. For Cursor, use a model variant with `--model`. |
|
|
130
|
-
| `--dispatcher ID` | Calling session identity, when available | Associate this dispatch with a caller so it can find its own work later. |
|
|
18
|
+
`surfaces` lists the available targets. A foreground dispatch streams the assistant’s answer to standard output.
|
|
131
19
|
|
|
132
|
-
|
|
20
|
+
## Coordinate agents
|
|
133
21
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
```sh
|
|
137
|
-
npx @losoft/taube sessions --status running
|
|
138
|
-
npx @losoft/taube sessions --dispatcher review-42 --status finished
|
|
139
|
-
npx @losoft/taube sessions --all
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
A session is `running` until the dispatch ends. The `finished` filter matches `completed`, `failed`, and `interrupted`. You can filter by each of those outcomes separately. Each record includes a Taube `id`, the target and dispatcher, working directory, timestamps, exit code, and the adapter's `acpSessionId` once available. After a hard process kill, the exit code and finish time can be unknown.
|
|
143
|
-
|
|
144
|
-
For a shell or host without a conversation ID, choose a dispatcher ID once and reuse it across calls. For example:
|
|
22
|
+
Use the same dispatcher ID for jobs that belong together. With the CLI installed, start two sessions and wait for their results:
|
|
145
23
|
|
|
146
24
|
```sh
|
|
147
25
|
export TAUBE_DISPATCHER="review-$(node -p 'crypto.randomUUID()')"
|
|
148
|
-
|
|
149
|
-
|
|
26
|
+
taube dispatch codex --detach --request-id implementation --prompt 'Summarize the changes.'
|
|
27
|
+
taube dispatch claude --detach --request-id review --prompt 'Review the changes for regressions.'
|
|
28
|
+
taube sessions wait --request-id implementation --request-id review --include-response
|
|
150
29
|
```
|
|
151
30
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
If the caller has no identifiable conversation, a dispatch records a null dispatcher. It remains visible with `--all`. In that situation, the default list asks for a dispatcher ID or `--all`.
|
|
155
|
-
|
|
156
|
-
Taube stores session metadata and authentication results under `~/.taube`. Set `LOSOFT_TABE_HOME` to use another directory. Session records contain metadata only. Dispatcher filters share the file permissions of the local OS account.
|
|
157
|
-
|
|
158
|
-
### Targets and launchers
|
|
159
|
-
|
|
160
|
-
| Target ID | Agent | ACP launcher | Launcher profile | Effort option |
|
|
161
|
-
| --- | --- | --- | --- | --- |
|
|
162
|
-
| `codex` | Codex | `codex-acp` | `codex` | `reasoning_effort` |
|
|
163
|
-
| `claude` | Claude Code | `claude-agent-acp` | `claude` | `effort` |
|
|
164
|
-
| `cursor` | Cursor | `cursor-agent acp` | `cursor` | None |
|
|
165
|
-
| `grok` | Grok Build | `grok agent stdio` | `grok-build` | `reasoning_effort` |
|
|
31
|
+
Open [Taube Monitor](https://github.com/lorenzh/taube-monitor) to follow sessions and inspect their conversations in a terminal.
|
|
166
32
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
Each `surfaces` entry includes the target ID, launcher profile, and built-in launcher command. `launcher.onPath` reports whether that executable is on `PATH`. `effortOption` names the adapter setting or is `null` for Cursor. Taube checks model IDs and effort values against the options the adapter advertises for the session.
|
|
170
|
-
|
|
171
|
-
### Authentication and permissions
|
|
172
|
-
|
|
173
|
-
`taube surfaces` reads the last known `authenticated` value and its UTC timestamp, `checkedAt`. A new target starts with `authenticated: false` and `checkedAt: null`, meaning it still needs a check. To refresh one target explicitly, run:
|
|
174
|
-
|
|
175
|
-
```sh
|
|
176
|
-
npx @losoft/taube auth check codex
|
|
177
|
-
```
|
|
33
|
+
## Documentation
|
|
178
34
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
A successful dispatch also records `authenticated: true` and refreshes the timestamp. If the adapter explicitly requests authentication, Taube records `false`. Other dispatch failures preserve the previous result. To sign in, use the target CLI. For Cursor, run `cursor-agent login`.
|
|
182
|
-
|
|
183
|
-
For Codex, `CODEX_PATH` selects the `codex` executable. If `CODEX_PATH` is unset, Taube looks for `codex` on `PATH`.
|
|
184
|
-
|
|
185
|
-
Taube declines interactive permission requests and fails the dispatch. The target controls permissions for its built-in tools. The calling host's Auto mode does not apply to the target. The calling host still controls access to the provider and local session files. Taube supplies no ACP file or terminal operations.
|
|
186
|
-
|
|
187
|
-
### Local launcher override
|
|
188
|
-
|
|
189
|
-
Taube reads `.acpxrc.json` directly in the working directory set by `--cwd`. It uses `agents[profile].argv` to set the launcher for the selected target. The first array item is the executable. The remaining items are arguments. Taube starts the executable directly, with no shell expansion.
|
|
190
|
-
|
|
191
|
-
```json
|
|
192
|
-
{
|
|
193
|
-
"agents": {
|
|
194
|
-
"grok-build": {
|
|
195
|
-
"argv": ["/path/to/grok", "agent", "stdio"]
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
Taube accepts only the `argv` key in the selected launcher profile. Taube uses this file only for local launcher configuration. Global acpx configuration and acpx permission policies have no effect. On Windows, use a native executable or an interpreter as the override command. Run Taube in a directory you trust because its local configuration can run an executable.
|
|
202
|
-
|
|
203
|
-
### Output and exit status
|
|
204
|
-
|
|
205
|
-
Taube streams the answer from the target to stdout and sends diagnostics to stderr. A failed dispatch can leave partial answer text on stdout. Some adapters put provider errors in the answer and report a complete turn.
|
|
206
|
-
|
|
207
|
-
| Status | Meaning |
|
|
35
|
+
| Guide | What it covers |
|
|
208
36
|
| --- | --- |
|
|
209
|
-
|
|
|
210
|
-
|
|
|
211
|
-
|
|
|
212
|
-
|
|
|
213
|
-
|
|
214
|
-
If Taube reports an empty instruction, send a non-empty brief on stdin. If the adapter rejects a model or effort value, select a value it advertises. If a launcher fails to start, check `PATH` and the local launcher override. For a missing Codex or Claude adapter, also check that `npx` is available.
|
|
215
|
-
|
|
216
|
-
## Development
|
|
217
|
-
|
|
218
|
-
Run the checks from a local copy of the repository.
|
|
219
|
-
|
|
220
|
-
```sh
|
|
221
|
-
bun install --frozen-lockfile
|
|
222
|
-
bun run check
|
|
223
|
-
bun test
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
To run installation checks for Codex, Claude Code, and Grok Build, put `codex`, `claude`, and `grok` on your `PATH`. The tests use isolated configuration directories and do not send model prompts.
|
|
227
|
-
|
|
228
|
-
```sh
|
|
229
|
-
TAUBE_TEST_NATIVE_PLUGINS=1 bun test test/plugins.test.ts
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
Contributions go through pull requests. CI checks the build, types, formatting, tests, and synchronized patch versions.
|
|
233
|
-
|
|
234
|
-
When a merge changes the npm package, CI publishes a new npm version. For this check, CI ignores the root README, version numbers, and development metadata. [Contributor instructions](AGENTS.md)
|
|
235
|
-
|
|
236
|
-
## License
|
|
37
|
+
| [Installation](docs/installation.md) | npm, GitHub, native host plugins and the standalone dispatch skill |
|
|
38
|
+
| [CLI reference](docs/cli.md) | Commands and flags, streams and structured output, authentication, permissions, and exit codes |
|
|
39
|
+
| [Session coordination](docs/cli.md#coordinate-parallel-dispatches) | Detached jobs, dispatcher scopes, follow-ups, and waiting for results |
|
|
40
|
+
| [Development](docs/development.md) | Local checks, plugin integration tests, and releases |
|
|
237
41
|
|
|
238
|
-
[MIT](LICENSE)
|
|
42
|
+
[MIT license](LICENSE)
|