@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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@losoft/taube",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Delegate a coding task to Codex, Claude Code, Grok Build
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"description": "Delegate a coding task to Codex, Claude Code, or Grok Build over the Agent Client Protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"dist",
|
|
19
19
|
"plugins",
|
|
20
20
|
".agents/plugins",
|
|
21
|
-
".claude-plugin"
|
|
22
|
-
".cursor-plugin"
|
|
21
|
+
".claude-plugin"
|
|
23
22
|
],
|
|
24
23
|
"packageManager": "bun@1.4.2",
|
|
25
24
|
"engines": {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taube",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Dispatch coding agents from the terminal with Taube.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"skills": "./skills/",
|
|
7
7
|
"interface": {
|
|
8
8
|
"displayName": "Taube",
|
|
9
|
-
"shortDescription": "Dispatch Codex, Claude Code,
|
|
9
|
+
"shortDescription": "Dispatch Codex, Claude Code, or Grok",
|
|
10
10
|
"category": "Productivity"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: taube-dispatch
|
|
3
|
-
description: Taube dispatch surface for agent orchestration. Use when orchestrating-agents or orchestrate-agents looks up available dispatch surfaces, when an agent needs to list or check its Taube sessions, or when the user asks to delegate coding work to Codex, Claude Code,
|
|
3
|
+
description: Taube dispatch surface for agent orchestration. Use when orchestrating-agents or orchestrate-agents looks up available dispatch surfaces, when an agent needs to list or check its Taube sessions, or when the user asks to delegate coding work to Codex, Claude Code, or Grok through Taube.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Dispatch coding agents with Taube
|
|
@@ -15,7 +15,7 @@ Run `command -v taube` in the host shell to check PATH. If found, run `taube sur
|
|
|
15
15
|
|
|
16
16
|
Run discovery before offering Taube as a dispatch surface. Report each supported target, effort option, and detected launcher from its JSON output. Limit a discovery request to reporting these capabilities.
|
|
17
17
|
|
|
18
|
-
Read `launcher.
|
|
18
|
+
Read `launcher.source` for the effective launch method and `authenticated` with `checkedAt` for the last known login. A null timestamp means authentication has never been checked. To refresh the login status on request, run `taube auth check <target>` with the CLI invocation selected above. When the user or orchestrator needs model choices, run `taube surfaces TARGET --models --cwd DIR` for one target or omit TARGET to query all adapters with the selected CLI invocation and the dispatch working directory. Offer the IDs in the target’s `modelIds` list. If the list is null, report its `modelError`. Obtain effort values from verified target information or the user. If discovery fails, report the failure.
|
|
19
19
|
|
|
20
20
|
Done when the orchestrator has the available choices or the reason discovery could not return them.
|
|
21
21
|
|
|
@@ -25,25 +25,41 @@ Use the target, working directory, and settings authorized by the user or the en
|
|
|
25
25
|
|
|
26
26
|
Taube uses `TAUBE_DISPATCHER` or an unambiguous Codex or Claude Code conversation ID to associate work with the caller. If the host supplies neither, generate an ID once with `node -p 'crypto.randomUUID()'`. Pass the same value to `dispatch --dispatcher ID` from the first dispatch and to `sessions --dispatcher ID` on later calls.
|
|
27
27
|
|
|
28
|
-
Pass the brief on stdin to `taube dispatch <codex|claude|grok
|
|
28
|
+
Pass the brief on stdin to `taube dispatch <codex|claude|grok> [--model ID] [--effort LEVEL] [--cwd DIR]` when `taube` is on PATH. Otherwise, pass it on stdin to `npx --yes @losoft/taube dispatch <codex|claude|grok> [--model ID] [--effort LEVEL] [--cwd DIR]`. Use the CLI invocation selected during discovery throughout the task to avoid sending the brief twice.
|
|
29
|
+
|
|
30
|
+
For a short brief, use `--prompt TEXT`. For an existing UTF-8 text file, use `--prompt-file FILE`. When the caller needs a structured result, use `--output json` and read `status`, `exitCode`, `text`, and `error`. The output also includes the Taube `sessionId` and the adapter’s `acpSessionId`.
|
|
29
31
|
|
|
30
32
|
When a model or effort is selected, pass it explicitly. Omit an optional setting only when the target default is acceptable to the caller. If the target cannot select a required setting, report the limit and ask for a supported choice before dispatch.
|
|
31
33
|
|
|
32
34
|
Done when Taube has accepted the authorized brief or returned a dispatch error.
|
|
33
35
|
|
|
36
|
+
For parallel jobs, use `dispatch --detach` to get the registered session ID while the worker runs. Pass a unique `--request-id NAME` to each dispatch under the same dispatcher identity. Use `sessions send --request-id NAME` for a targeted follow-up. Wait for the whole batch with `sessions wait --request-id NAME1 --request-id NAME2 --include-result`. Check each record’s status, then read `result.text`. Its source is `final` when the adapter identified the last assistant message, or `transcript` when the reply may include progress. A missing result is null. A detached start returns a registration receipt; for a single foreground job use `dispatch --output json`. Use `sessions turns --request-id NAME` for earlier turns. Match a follow-up receipt's `messageId` to its turn, or check `messages` for queued or discarded delivery. Report `selection.confirmed` as the selected adapter option. When present, `reportedModel` identifies the concrete model reported for the turn.
|
|
37
|
+
|
|
34
38
|
## Check your sessions
|
|
35
39
|
|
|
36
40
|
Run `taube sessions` or `npx --yes @losoft/taube sessions` to see the current caller’s direct dispatches. Add `--status running` for active work or `--status finished` for all terminal outcomes. Read each record’s `status` and `exitCode` before reporting success. Use `--all` when the user asks for an overview across dispatchers.
|
|
37
41
|
|
|
42
|
+
To add instructions to a running dispatch, use `taube sessions send ID --prompt TEXT`, `--prompt-file FILE`, or stdin. A `queued` receipt means Taube accepted the message for the next turn in that ACP session. Read the original dispatch output for the reply.
|
|
43
|
+
|
|
44
|
+
For a follow-up to a completed run, use `taube sessions resume ID --prompt TEXT --output json` in the same dispatcher scope. Save the new Taube ID for further continuations. The ACP ID is shared with the source run.
|
|
45
|
+
|
|
46
|
+
When a running session needs context space, use `taube sessions compact ID`. Check the queued turn and the next reported `contextWindow` for its outcome. To clean up old local history, preview `taube sessions prune --older-than 30d` in the requested dispatcher scope. Add `--apply` when the user has authorized removal.
|
|
47
|
+
|
|
48
|
+
To handle the first completion in a known batch, use `taube sessions wait --any` with its session IDs or request names. Check every returned terminal record, then wait using only `pendingSessionIds` and `pendingRequestIds`.
|
|
49
|
+
|
|
50
|
+
When waiting for work, run `taube sessions watch --id ID --once` for one known Taube session or `taube sessions watch --once --status finished` for the next terminal outcome in the current scope. Leave the shell call open until it returns, then read the event’s `session.status` and `session.exitCode`. Use the continuous `taube sessions watch` form when the host can consume each JSON line as it arrives.
|
|
51
|
+
|
|
52
|
+
For an authorized editing task in Claude, `--accept-edits` requests Claude’s native edit mode. Commands may still need separate permission. If the job fails, inspect `failure.code`, `failure.toolKind`, and `failure.toolTitle` where present.
|
|
53
|
+
|
|
38
54
|
## 3. Report the result
|
|
39
55
|
|
|
40
|
-
|
|
56
|
+
For a foreground dispatch, read the result when the command exits. For a detached dispatch, wait for the session, check its terminal status and exit code, then read `response` when waiting with `--include-response`, or open `sessions turns` for the conversation. Use `--include-final-response` for the final assistant message. When `finalResponse` is null, use the turn history or the full recorded response. Report the result and the agent’s verification. Report failures with the available error or stop reason.
|
|
41
57
|
|
|
42
58
|
Done when the orchestrator has the result or the concrete reason the agent run failed.
|
|
43
59
|
|
|
44
60
|
## Example
|
|
45
61
|
|
|
46
|
-
For a
|
|
62
|
+
For a Claude Code review using target defaults, confirm `claude` in `taube surfaces`, then pass the brief to Taube.
|
|
47
63
|
|
|
48
64
|
```sh
|
|
49
65
|
taube dispatch claude --cwd "$PWD" <<'BRIEF'
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "taube-plugins",
|
|
3
|
-
"owner": {
|
|
4
|
-
"name": "Taube contributors"
|
|
5
|
-
},
|
|
6
|
-
"metadata": {
|
|
7
|
-
"description": "Taube plugins for dispatching coding agents."
|
|
8
|
-
},
|
|
9
|
-
"plugins": [
|
|
10
|
-
{
|
|
11
|
-
"name": "taube",
|
|
12
|
-
"source": "plugins/taube",
|
|
13
|
-
"description": "Dispatch coding agents from the terminal with Taube."
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
}
|