@losoft/taube 0.1.6 → 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 CHANGED
@@ -1,136 +1,42 @@
1
1
  # Taube
2
2
 
3
- Taube lets Codex CLI, Claude Code, Cursor, 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.
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.
4
4
 
5
- > Ask Codex to review my current diff. Report any bugs with file names and line numbers.
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.
6
6
 
7
- Each host plugin adds the `taube-dispatch` skill. It calls the same local CLI in all four hosts. Taube starts a fresh target session through the Agent Client Protocol (ACP), without an MCP server. [acpx documentation](https://acpx.sh/)
7
+ ## Try it
8
8
 
9
- ```text
10
- Claude Code → taube → acpx → Codex
11
- ```
12
-
13
- You can also use the Taube command directly from a shell or script.
14
-
15
- ## Install Taube
16
-
17
- You need Node.js 22.13 or later and npm. Install the CLI for the host where you start tasks. Sign in to each target agent you plan to use.
18
-
19
- Install Taube globally from [npm](https://www.npmjs.com/package/@losoft/taube).
20
-
21
- ```sh
22
- npm install -g @losoft/taube
23
- taube surfaces
24
- ```
25
-
26
- The `taube surfaces` command lists supported targets and their effort options in JSON. The `launcher.onPath` field shows whether Taube found the ACP launcher for that target on `PATH`. Taube reports the sign-in status as `unverified`. On the first dispatch to a target, `acpx` can install its adapter through npm.
27
-
28
- ### Install from GitHub
29
-
30
- To install from GitHub, 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.
31
-
32
- ```sh
33
- npm install --prefix "$HOME/.local/share/taube" github:lorenzh/taube
34
- export PATH="$HOME/.local/share/taube/node_modules/.bin:$PATH"
35
- taube surfaces
36
- ```
37
-
38
- Add the `export PATH` line to your shell startup file to use Taube in future sessions.
39
-
40
- ### Install your host plugin
41
-
42
- Choose the host you use to start the task. Start the host from a shell with `taube` on its `PATH`.
43
-
44
- #### Codex
45
-
46
- ```sh
47
- codex plugin marketplace add https://github.com/lorenzh/taube.git
48
- codex plugin add taube@taube-plugins
49
- ```
50
-
51
- Start a new Codex session. Type `$` and select `taube-dispatch`.
52
-
53
- #### Claude Code
54
-
55
- ```sh
56
- claude plugin marketplace add https://github.com/lorenzh/taube.git
57
- claude plugin install taube@taube-plugins
58
- ```
59
-
60
- Start a new Claude Code session and run `/taube:taube-dispatch`.
61
-
62
- #### Cursor
63
-
64
- Add the GitHub marketplace from a terminal signed in to Cursor:
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.
65
10
 
66
11
  ```sh
67
- cursor-agent plugin marketplace add https://github.com/lorenzh/taube.git
68
- ```
69
-
70
- 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.
71
-
72
- For a single CLI session, Cursor can also load the plugin included with a global npm installation.
73
-
74
- ```sh
75
- cursor-agent --plugin-dir "$(npm root -g)/@losoft/taube/plugins/taube"
76
- ```
77
-
78
- If you installed from GitHub with the prefix above, use this path.
79
-
80
- ```sh
81
- cursor-agent --plugin-dir "$HOME/.local/share/taube/node_modules/@losoft/taube/plugins/taube"
82
- ```
83
-
84
- #### Grok Build
85
-
86
- ```sh
87
- grok plugin install 'lorenzh/taube#plugins/taube' --trust
88
- ```
89
-
90
- `--trust` confirms that you trust the plugin from this repository. Start a new Grok Build session and run `/taube-dispatch`.
91
-
92
- ## Dispatch a task
93
-
94
- Ask Taube in your host to delegate a task to `codex`, `claude`, `cursor`, or `grok`. Include the working directory, the scope, and the result you want. An orchestration workflow can call `taube surfaces` to list targets before handing off a brief through `taube-dispatch`.
95
-
96
- From a shell or script, send the brief on standard input.
97
-
98
- ```sh
99
- taube dispatch codex --cwd "$PWD" <<'BRIEF'
12
+ npx --yes @losoft/taube surfaces
13
+ npx --yes @losoft/taube dispatch codex --cwd "$PWD" <<'BRIEF'
100
14
  Review the recent changes for bugs. Return findings with file names and line numbers. Leave the files unchanged.
101
15
  BRIEF
102
16
  ```
103
17
 
104
- The working directory defaults to the current directory. Use `--model ID` and `--effort LEVEL` to set individual options. If you omit either option, Taube uses the target's default for that option. Use model IDs and effort values supported by the target adapter. To dispatch to Cursor, put `cursor-agent` on your `PATH` and sign in with `cursor-agent login`. Choose a model variant offered by Cursor with `--model`. The Cursor adapter in this setup does not expose a separate `--effort` setting.
105
-
106
- Taube streams the agent's answer to stdout and writes diagnostics to stderr. If the process fails or the turn is incomplete, Taube exits with a nonzero status. Some adapters return provider errors as answer text and mark the turn complete.
18
+ `surfaces` lists the available targets. A foreground dispatch streams the assistant’s answer to standard output.
107
19
 
108
- ### Authentication and permissions
109
-
110
- The target uses its own login and permission settings. Taube does not inherit the calling host's Auto mode. Taube runs without interactive permission prompts. The calling host must allow the child process to reach its provider and access its session files.
111
-
112
- Run Taube in workspaces you trust. The `acpx` CLI reads local project configuration. That configuration can set a custom launcher.
113
-
114
- ## Development
115
-
116
- Run the checks from a local copy of the repository.
117
-
118
- ```sh
119
- bun install --frozen-lockfile
120
- bun run check
121
- bun test
122
- ```
20
+ ## Coordinate agents
123
21
 
124
- 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.
22
+ Use the same dispatcher ID for jobs that belong together. With the CLI installed, start two sessions and wait for their results:
125
23
 
126
24
  ```sh
127
- TAUBE_TEST_NATIVE_PLUGINS=1 bun test test/plugins.test.ts
25
+ export TAUBE_DISPATCHER="review-$(node -p 'crypto.randomUUID()')"
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
128
29
  ```
129
30
 
130
- Contributions go through pull requests. CI checks the build, types, formatting, tests, and synchronized patch versions.
31
+ Open [Taube Monitor](https://github.com/lorenzh/taube-monitor) to follow sessions and inspect their conversations in a terminal.
131
32
 
132
- 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)
33
+ ## Documentation
133
34
 
134
- ## License
35
+ | Guide | What it covers |
36
+ | --- | --- |
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 |
135
41
 
136
- [MIT](LICENSE)
42
+ [MIT license](LICENSE)