@losoft/taube 0.1.5 → 0.1.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@losoft/taube",
3
- "version": "0.1.5",
4
- "description": "Delegate a coding task to Codex, Claude Code, Grok Build, or Cursor through acpx.",
3
+ "version": "0.1.7",
4
+ "description": "Delegate a coding task to Codex, Claude Code, Grok Build, or Cursor over the Agent Client Protocol.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "prepare": "bun run build"
33
33
  },
34
34
  "dependencies": {
35
- "acpx": "0.23.0"
35
+ "@agentclientprotocol/sdk": "1.9.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@biomejs/biome": "2.6.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taube",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Dispatch coding agents from the terminal with Taube.",
5
5
  "author": {
6
6
  "name": "Taube contributors"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taube",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Dispatch coding agents from the terminal with Taube.",
5
5
  "license": "MIT",
6
6
  "skills": "./skills/",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taube",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Dispatch coding agents from the terminal with Taube.",
5
5
  "author": {
6
6
  "name": "Taube contributors"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taube",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Dispatch coding agents from the terminal with Taube.",
5
5
  "license": "MIT"
6
6
  }
@@ -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, or when the user asks to delegate coding work to Codex, Claude Code, Grok, or Cursor through Taube.
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, Grok, or Cursor through Taube.
4
4
  ---
5
5
 
6
6
  # Dispatch coding agents with Taube
@@ -11,9 +11,11 @@ Find available coding agents and send an authorized task to the chosen agent.
11
11
 
12
12
  ## 1. Discover the dispatch surface
13
13
 
14
- Run `taube surfaces` in a shell 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.
14
+ Run `command -v taube` in the host shell to check PATH. If found, run `taube surfaces`. If absent, run `npx --yes @losoft/taube surfaces`. Taube requires Node.js 22.13 or later and npm. With a standalone `npx skills add` install, the `npx` command runs the CLI without a separate global install.
15
15
 
16
- Treat launcher detection as a PATH check and authentication as unverified. Obtain concrete model IDs and effort values from verified target information or the user. If `taube` is missing or discovery fails, report the failure.
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
+
18
+ Read `launcher.onPath` for launcher availability 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. Obtain concrete model IDs and effort values from verified target information or the user. If discovery fails, report the failure.
17
19
 
18
20
  Done when the orchestrator has the available choices or the reason discovery could not return them.
19
21
 
@@ -21,10 +23,18 @@ Done when the orchestrator has the available choices or the reason discovery cou
21
23
 
22
24
  Use the target, working directory, and settings authorized by the user or the enclosing orchestration workflow. Write a self-contained brief with the task, relevant files, scope, and expected result.
23
25
 
24
- Pass the brief on stdin to `taube dispatch <codex|claude|grok|cursor> [--model ID] [--effort LEVEL] [--cwd DIR]`. 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.
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
+
28
+ Pass the brief on stdin to `taube dispatch <codex|claude|grok|cursor> [--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|cursor> [--model ID] [--effort LEVEL] [--cwd DIR]`. Use the CLI invocation selected during discovery throughout the task to avoid sending the brief twice.
29
+
30
+ 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.
25
31
 
26
32
  Done when Taube has accepted the authorized brief or returned a dispatch error.
27
33
 
34
+ ## Check your sessions
35
+
36
+ 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
+
28
38
  ## 3. Report the result
29
39
 
30
40
  Wait for the command to exit. Report the result and any verification the agent provides. If the command fails, report its error and treat the task as unfinished.
@@ -40,3 +50,11 @@ taube dispatch claude --cwd "$PWD" <<'BRIEF'
40
50
  Review the README for broken relative links. Return each link and its line number. Leave the files untouched.
41
51
  BRIEF
42
52
  ```
53
+
54
+ If `taube` is absent from PATH, confirm `claude` in `npx --yes @losoft/taube surfaces` and dispatch with the same brief on stdin.
55
+
56
+ ```sh
57
+ npx --yes @losoft/taube dispatch claude --cwd "$PWD" <<'BRIEF'
58
+ Review the README for broken relative links. Return each link and its line number. Leave the files untouched.
59
+ BRIEF
60
+ ```