dsh-taskbridge 1.7.1 → 1.8.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/CHANGELOG.md +24 -0
- package/LICENSE +21 -21
- package/README.md +733 -877
- package/THIRD_PARTY_NOTICES.txt +23 -23
- package/antigravity/agents/dsh-taskbridge.md +32 -0
- package/antigravity/skills/dsh-taskbridge/SKILL.md +51 -0
- package/codex/dsh-taskbridge.toml +181 -631
- package/cordis.patch.yml +6 -6
- package/docs/INTRODUCTION.md +122 -295
- package/docs/INTRODUCTION.zh.md +134 -279
- package/docs/antigravity-integration.md +42 -0
- package/docs/auth-contract.md +138 -138
- package/docs/claude-code.md +6 -11
- package/docs/codex-integration.md +2 -2
- package/docs/contracts-stage-b.md +443 -443
- package/docs/conversation-placement.md +7 -6
- package/docs/plugin-market.md +30 -30
- package/docs/redaction-contract.md +170 -170
- package/docs/releases/1.7.0.zh.md +11 -11
- package/docs/releases/1.8.0.zh.md +16 -0
- package/docs/releases/1.8.1.zh.md +24 -0
- package/docs/runtime-compatibility.md +1 -1
- package/docs/taskbridge-upgrade.md +28 -28
- package/docs/taskdispatch-upgrade.md +25 -25
- package/docs/workspace-contract.md +538 -538
- package/docs/workspace-grouping.md +126 -126
- package/icon.svg +1 -1
- package/lib/client.d.ts +804 -699
- package/lib/client.js +7 -7
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +150 -144
- package/src/antigravity/installer.js +1068 -0
- package/src/antigravity/seam.js +142 -0
- package/src/auth/fence.js +361 -361
- package/src/auth/grants.js +789 -789
- package/src/client/api.js +266 -3
- package/src/client/index.jsx +224 -11
- package/src/client/sidebar.jsx +862 -862
- package/src/client/styles.js +624 -624
- package/src/client/task-cleanup.js +429 -304
- package/src/client/task-records-table.jsx +217 -217
- package/src/client/task-view.js +307 -307
- package/src/client/workspace-groups.js +482 -482
- package/src/client/workspaces-browser.jsx +770 -770
- package/src/codex/agent-ownership.js +270 -270
- package/src/codex/installer.js +6 -0
- package/src/codex/toml.js +784 -784
- package/src/config/defaults.js +11 -15
- package/src/config/redact.js +245 -245
- package/src/config/store.js +186 -186
- package/src/credentials/seam.js +202 -202
- package/src/http/respond.js +6 -5
- package/src/http/user-plane.js +83 -1
- package/src/index.js +25 -0
- package/src/jobs/diagnostics.js +15 -15
- package/src/jobs/engine.js +1 -0
- package/src/jobs/history.js +1 -1
- package/src/jobs/plan-store.js +1103 -1020
- package/src/jobs/record-cleanup.js +452 -7
- package/src/jobs/review-note.js +63 -63
- package/src/jobs/task-descriptions.js +82 -82
- package/src/jobs/task-display.js +73 -73
- package/src/jobs/task-tree.js +786 -786
- package/src/jobs/title.js +134 -134
- package/src/mcp/continuation.js +317 -317
- package/src/mcp/server.js +34 -27
- package/src/mcp/wait.js +34 -15
- package/src/model/connectivity.js +371 -371
- package/src/model/discovery.js +582 -582
- package/src/model/native-catalog.js +68 -68
- package/src/model/openai-adapter.js +671 -671
- package/src/model/probe.js +264 -264
- package/src/model/providers.js +756 -756
- package/src/model/routing.js +321 -321
- package/src/runtime/agent-runner.js +1 -0
- package/src/runtime/permissions.js +1619 -1619
- package/src/runtime/question-call.js +162 -162
- package/src/runtime/questions.js +909 -909
- package/src/runtime/session-placement.js +36 -1
- package/src/runtime/worker-prompt.js +61 -55
- package/src/workspace/audit.js +775 -775
- package/src/workspace/preflight.js +424 -424
- package/src/workspace/worktrees.js +833 -679
package/cordis.patch.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# dsh-delegate bundle patch: mounts the delegation service into the profile.
|
|
2
|
-
# The plugin is inert on load: local MCP dispatch stays OFF until the operator
|
|
3
|
-
# enables the single switch in the DSH plugin settings page.
|
|
4
|
-
- insert:
|
|
5
|
-
- id: dsh-taskbridge
|
|
6
|
-
name: dsh-taskbridge
|
|
1
|
+
# dsh-delegate bundle patch: mounts the delegation service into the profile.
|
|
2
|
+
# The plugin is inert on load: local MCP dispatch stays OFF until the operator
|
|
3
|
+
# enables the single switch in the DSH plugin settings page.
|
|
4
|
+
- insert:
|
|
5
|
+
- id: dsh-taskbridge
|
|
6
|
+
name: dsh-taskbridge
|
package/docs/INTRODUCTION.md
CHANGED
|
@@ -1,295 +1,122 @@
|
|
|
1
|
-
# DSH TaskBridge
|
|
2
|
-
|
|
3
|
-
**
|
|
4
|
-
|
|
5
|
-
> **Codex
|
|
6
|
-
|
|
7
|
-
[简体中文](INTRODUCTION.zh.md) · [
|
|
8
|
-
|
|
9
|
-
TaskBridge is a task delegation plugin for **DeepSeek Harness (DSH)**.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- **
|
|
22
|
-
- **
|
|
23
|
-
- **
|
|
24
|
-
- **
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
| **
|
|
34
|
-
| **
|
|
35
|
-
| **
|
|
36
|
-
| **
|
|
37
|
-
| **
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
dsh-taskbridge
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
###
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
| **Project overrides** | Apply project-specific settings instead of the global selection. |
|
|
124
|
-
|
|
125
|
-
**You choose the executor.** Managed commander rules preserve the configured provider, model and reasoning effort. An unavailable combination is reported instead of silently switching to another model.
|
|
126
|
-
|
|
127
|
-
Settings affect subsequent dispatches. A running task keeps its submission-time configuration snapshot.
|
|
128
|
-
|
|
129
|
-
### Worktree or shared workspace
|
|
130
|
-
|
|
131
|
-
| Mode | Where files change | When to use it |
|
|
132
|
-
| --- | --- | --- |
|
|
133
|
-
| **Independent worktree (default)** | An isolated Git worktree created from the source repository's committed baseline. | Keep candidate changes separate from the current checkout and review before integrating. |
|
|
134
|
-
| **Shared workspace** | The authorized project directory itself. | Explicitly work in the current directory, including its existing uncommitted content. |
|
|
135
|
-
|
|
136
|
-
Worktree mode requires a usable Git repository and committed baseline. Preflight blocks a dirty source checkout to avoid handing the executor an older version of the project. Commit the intended baseline first, or explicitly choose shared mode with its implications understood.
|
|
137
|
-
|
|
138
|
-
**Accepting a review does not merge a worktree, create a commit or push.** Integration into the project remains part of the work you authorize the commander to perform.
|
|
139
|
-
|
|
140
|
-
### One switch controls local delegation
|
|
141
|
-
|
|
142
|
-
The switch starts disabled. Installing the plugin or merely mentioning DSH does not start a task. Even with the switch enabled, the commander needs an explicit assignment.
|
|
143
|
-
|
|
144
|
-
Disabling the switch rejects new tasks and requests that running tasks stop. Local use does not require manually issuing signed connections.
|
|
145
|
-
|
|
146
|
-
## Quiet waiting
|
|
147
|
-
|
|
148
|
-
Quiet waiting reduces repeated status checks and intermediate-code reads while the executor is still working.
|
|
149
|
-
|
|
150
|
-
| Situation | Response |
|
|
151
|
-
| --- | --- |
|
|
152
|
-
| New output, reasoning activity or tool events | Update the activity timestamp and keep waiting internally. |
|
|
153
|
-
| **5 minutes** without new activity | Program-level execution and connection checks; no commander model call just for the check. |
|
|
154
|
-
| **10 minutes** without new activity | Return a brief diagnosis for the commander to assess. |
|
|
155
|
-
| Permission request or question | Return the information needed for a decision, then continue the same task. |
|
|
156
|
-
| Repeated identical operation failures reach the threshold | Send an acknowledged reminder; the default threshold is 3 and is adjustable. |
|
|
157
|
-
| Completion, failure, cancellation or interruption | Return for review or exception handling. |
|
|
158
|
-
|
|
159
|
-
The 5/10-minute values measure **continuous inactivity**. They are not intervals for periodically asking GPT to inspect the work. UI refreshes and connection heartbeats do not count as execution activity, and a lack of file changes alone does not mean the task has stalled.
|
|
160
|
-
|
|
161
|
-
Advanced settings control inactivity thresholds and repeated-failure reminders. If a waiting limit or client timeout ends a call, continue the same task; that does not automatically cancel, redispatch or switch its model. See [quiet waiting](silent-wait.md) for the detailed contract.
|
|
162
|
-
|
|
163
|
-
## Conversations and task organization
|
|
164
|
-
|
|
165
|
-
### Separate independent work
|
|
166
|
-
|
|
167
|
-
A new task starts a new conversation in the corresponding DSH Workspace, named after the work, such as “Fix settings persistence” or “Add login regression tests.” In worktree mode, independent tasks normally have separate execution directories. A shared directory can map to the same DSH Workspace, while independent tasks still get separate conversations.
|
|
168
|
-
|
|
169
|
-
### Continue corrections with the original context
|
|
170
|
-
|
|
171
|
-
After review, tell the commander:
|
|
172
|
-
|
|
173
|
-
> Continue the previous task. Send the three review findings together to the original executor, keep its conversation and workspace, and review again after the corrections are delivered.
|
|
174
|
-
|
|
175
|
-
The commander uses `continueFromTaskId` to identify that task explicitly. The original conversation and candidate changes stay available; matching project paths alone do not make unrelated tasks share one chat.
|
|
176
|
-
|
|
177
|
-
After a DSH restart, the plugin checks the original task and workspace identities before attempting continuation. A missing directory or unverifiable identity is reported.
|
|
178
|
-
|
|
179
|
-
### Use DSH teams when appropriate
|
|
180
|
-
|
|
181
|
-
**You set the default; the dispatcher may decide one task.** Execution settings have a
|
|
182
|
-
**"Enable agent collaboration for new tasks"** switch, and upgrades and fresh installs
|
|
183
|
-
both start it **off**:
|
|
184
|
-
|
|
185
|
-
- Upgrading or installing never turns it on by itself.
|
|
186
|
-
- It decides only what a **new dispatch** does when it states no per-task choice. When the
|
|
187
|
-
dispatcher states `true` or `false` for one dispatch, **that choice wins**.
|
|
188
|
-
- **Continuations** with no new choice keep the collaboration choice the task they
|
|
189
|
-
continue **recorded**. If that task recorded none (an older record), the plugin applies
|
|
190
|
-
nothing and writes nothing: the Session keeps the mode it already has.
|
|
191
|
-
- It affects **later submissions only**; a task that already started keeps its own
|
|
192
|
-
frozen snapshot.
|
|
193
|
-
- It is **not DSH's global switch**: the plugin writes only that one task's own Session
|
|
194
|
-
and never changes DSH's global default or a conversation you adjusted yourself.
|
|
195
|
-
|
|
196
|
-
On a DSH without agent-teams support, an **explicit** `true` or `false` is refused
|
|
197
|
-
**before the prompt** and the task detail states why; it never quietly runs in the previous
|
|
198
|
-
mode. The one exception is the implicit off default: such an ordinary dispatch still runs,
|
|
199
|
-
but reports **not applied** (not "turned off"), which keeps older dispatches working. This
|
|
200
|
-
decision does not change your configured API, model or effort, and team members' additional
|
|
201
|
-
permissions currently have to be handled through the main executor. Cancellation works the
|
|
202
|
-
same either way.
|
|
203
|
-
|
|
204
|
-
One outer task always holds **one conversation and one concurrency slot**: enabling
|
|
205
|
-
collaboration adds neither, and there is no reason to dispatch extra tasks for it.
|
|
206
|
-
|
|
207
|
-
## Task history: progress and acceptance
|
|
208
|
-
|
|
209
|
-
Open **Task history → Details** to inspect:
|
|
210
|
-
|
|
211
|
-
- **Execution:** phase, recent activity, current tool and inactivity diagnosis.
|
|
212
|
-
- **Effective settings:** actual provider, model, effort and isolation.
|
|
213
|
-
- **Agent collaboration:** the choice frozen on this task, where it came from (per-task
|
|
214
|
-
request / inherited continuation / TaskBridge default), and what DSH confirmed or why it
|
|
215
|
-
could not be applied.
|
|
216
|
-
- **Task relationships:** execution workspace, conversation and continuation links.
|
|
217
|
-
- **Decisions:** permission requests and their per-operation allow/deny records.
|
|
218
|
-
- **Delivery evidence:** changed files, diffs, verification and results.
|
|
219
|
-
- **Review:** commander acceptance and complete review notes.
|
|
220
|
-
|
|
221
|
-
| Status | Meaning |
|
|
222
|
-
| --- | --- |
|
|
223
|
-
| **Running / waiting for a tool** | Execution is active; the program keeps waiting. |
|
|
224
|
-
| **Awaiting a permission decision** | A specific operation needs commander judgment. |
|
|
225
|
-
| **Awaiting host review** | Delivery exists, but final commander acceptance is not yet recorded. |
|
|
226
|
-
| **Accepted** | The commander has recorded acceptance. |
|
|
227
|
-
| **Changes requested** | Findings are recorded and can be handled by continuing the task. |
|
|
228
|
-
| **Review persistence unconfirmed** | Saving has not been confirmed; do not treat the conclusion as durably recorded. |
|
|
229
|
-
|
|
230
|
-
Background list refreshes are program operations, not model calls. Full review notes can be expanded from task details.
|
|
231
|
-
|
|
232
|
-
## FAQ
|
|
233
|
-
|
|
234
|
-
### Will Codex delegate everything after installation?
|
|
235
|
-
|
|
236
|
-
No. Enable the local switch and explicitly assign work to TaskBridge. Managed rules distinguish discussion from delegation; you can still ask Codex to perform work itself.
|
|
237
|
-
|
|
238
|
-
### Does dispatch use the model I selected in DSH?
|
|
239
|
-
|
|
240
|
-
It uses the effective TaskBridge execution configuration. A matching project override can replace the global selection, and running tasks retain their submission-time snapshot. Check the actual routing in task details.
|
|
241
|
-
|
|
242
|
-
### Do I have to approve every operation manually?
|
|
243
|
-
|
|
244
|
-
Requests return to the commander using TaskBridge. It assesses the specific operation against your authorized scope and asks you when a new decision is required. A single approval applies only to that operation.
|
|
245
|
-
|
|
246
|
-
### Does quiet waiting guarantee zero Codex token use?
|
|
247
|
-
|
|
248
|
-
No. Planning, approvals, answers, exception handling and review still use model calls. Savings depend on the task, client waiting behavior and context size. See the [historical waiting-stage comparison](https://github.com/ranranyya/dsh-taskbridge/blob/master/docs/releases/1.5.0-token-benchmark.zh.md) for measurements and their limits.
|
|
249
|
-
|
|
250
|
-
### Why does a finished task still say “awaiting host review”?
|
|
251
|
-
|
|
252
|
-
Reading the result does not record acceptance. The commander must review it, call `delegate_review` and confirm persistence. Managed rules include this step.
|
|
253
|
-
|
|
254
|
-
### Why is the old introduction or integration still visible after an update?
|
|
255
|
-
|
|
256
|
-
Check the installed DSH plugin version and refresh the page. Registry mirrors and discovery indexes may be cached; online updates for a local `.tgz` installation depend on DSH's source management.
|
|
257
|
-
|
|
258
|
-
For Codex, use the install/update button and reload the client. Use the MCP-only repair control when that is the affected entry. Custom edits remain protected and require separate handling.
|
|
259
|
-
|
|
260
|
-
### Does TaskBridge install every dependency and client integration?
|
|
261
|
-
|
|
262
|
-
Enable TaskBridge in DSH and keep DSH running during delegated tasks. Set up the dependencies each project needs. To connect Codex for the first time, open **Codex integration** in the plugin and click **Install / update TaskBridge agent**. Claude Code and Claude Desktop integration is planned for 2.0.
|
|
263
|
-
|
|
264
|
-
## Client support and the 2.0 plan
|
|
265
|
-
|
|
266
|
-
| Client | Current status | Plan |
|
|
267
|
-
| --- | --- | --- |
|
|
268
|
-
| **Codex** | Supported, with agent and MCP installation, update and repair controls. | Continue improving delegation and review. |
|
|
269
|
-
| **Claude Code** | Not yet available. | Integration planned for **2.0**. |
|
|
270
|
-
| **Claude Desktop** | Not yet available. | Integration planned for **2.0**. |
|
|
271
|
-
|
|
272
|
-
The goal for 2.0 is to let more commanders use the execution models configured in DSH. Setup details and delivery scope will be documented in the 2.0 release notes. Use Codex with the current release.
|
|
273
|
-
|
|
274
|
-
## Documentation and feedback
|
|
275
|
-
|
|
276
|
-
| Guide | Covers |
|
|
277
|
-
| --- | --- |
|
|
278
|
-
| [Codex integration](codex-integration.md) | Installation, updates, repairs, configuration locations and managed rules. |
|
|
279
|
-
| [Claude integration plans](claude-code.md) | Planned 2.0 support for Claude Code and Claude Desktop. |
|
|
280
|
-
| [Quiet waiting](silent-wait.md) | Activity timing, continuation, reminders and validation scope. |
|
|
281
|
-
| [Workspaces and isolation](workspace-contract.md) | Preflight, worktrees, shared mode and task identity. |
|
|
282
|
-
| [Conversation placement](conversation-placement.md) | Workspace naming, conversation creation and explicit continuation. |
|
|
283
|
-
| [Plugin discovery and updates](plugin-market.md) | Custom indexes, npm and GitHub installation sources. |
|
|
284
|
-
| [Migration](taskbridge-upgrade.md) | Upgrading from DSH Delegate / TaskDispatch. |
|
|
285
|
-
| [1.5.4 release notes](https://github.com/ranranyya/dsh-taskbridge/blob/master/docs/releases/1.5.4.zh.md) | Persisted task records, explicit goals and summaries, and placement checks. |
|
|
286
|
-
| [1.5.3 release notes](https://github.com/ranranyya/dsh-taskbridge/blob/master/docs/releases/1.5.3.zh.md) | Review summaries, full-note layout, mixed line endings, and commander planning rules. |
|
|
287
|
-
| [1.5.2 release notes](https://github.com/ranranyya/dsh-taskbridge/blob/master/docs/releases/1.5.2.zh.md) | The introduction update and its validation scope. |
|
|
288
|
-
|
|
289
|
-
TaskBridge uses runtime capability checks rather than a DSH version whitelist; see [runtime notes](runtime-compatibility.md). A separate CLI execution channel and validation of every runtime environment are not complete. Existing limits are documented in the [1.5.1 notes](https://github.com/ranranyya/dsh-taskbridge/blob/master/docs/releases/1.5.1.zh.md).
|
|
290
|
-
|
|
291
|
-
Report issues and suggestions on [GitHub Issues](https://github.com/ranranyya/dsh-taskbridge/issues). Include the plugin version, reproduction steps and relevant redacted errors; leave out API keys.
|
|
292
|
-
|
|
293
|
-
## License
|
|
294
|
-
|
|
295
|
-
[MIT](../LICENSE)
|
|
1
|
+
# DSH TaskBridge
|
|
2
|
+
|
|
3
|
+
**Plan and review in your favorite commander. Delegate the implementation to DeepSeek Harness (DSH).**
|
|
4
|
+
|
|
5
|
+
> **Supports Codex and Antigravity out of the box. Claude Code and Claude Desktop integration is planned for 2.0.**
|
|
6
|
+
|
|
7
|
+
[简体中文](INTRODUCTION.zh.md) · [Quick start](#quick-start) · [Key capabilities](#key-capabilities) · [How it works](#how-it-works) · [FAQ](#faq) · [Changelog](../CHANGELOG.md)
|
|
8
|
+
|
|
9
|
+
TaskBridge is a multi-client task delegation plugin for **DeepSeek Harness (DSH)**.
|
|
10
|
+
Keep designing, breaking down work and reviewing diffs inside **Codex** or **Antigravity**, while letting the model configured in DSH edit files, run tools and verify tests over a clean, standard MCP interface.
|
|
11
|
+
|
|
12
|
+
Execution stays a **black box** to the commander: API connections, worker model, reasoning effort, Git worktree isolation and DSH native workspaces/sessions are managed inside the TaskBridge plugin. The commander focuses purely on planning, per-operation approvals and final review.
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+
## Why TaskBridge
|
|
17
|
+
|
|
18
|
+
When you want Codex or Antigravity to drive architecture and code review, while delegating implementation to models already connected in DSH, copying prompts and diffs back and forth breaks down fast. TaskBridge bridges the two cleanly:
|
|
19
|
+
|
|
20
|
+
- **Clean layered black-box architecture:** Configure provider, model and reasoning effort once in DSH. Every commander talks to the same standard MCP surface (11 bounded tools, compact single-line JSON payloads) without leaking low-level routing or workspace details into prompts.
|
|
21
|
+
- **Plan before dispatch:** The commander inspects code first and sends a concrete implementation brief and acceptance criteria (or builds a multi-step plan tree). DSH executes the plan using native file/search tools first and reports evidence back if a premise conflicts with the repository.
|
|
22
|
+
- **Quiet waiting with low commander overhead:** A local wait loop tracks real worker activity without busy polling, and Antigravity delegates wait & routine approval loops to a lightweight `flash` background subagent so flagship context stays clean.
|
|
23
|
+
- **Same-session follow-ups:** Review diffs and test evidence together, record an explicit accept or rework verdict, and send consolidated fixes right back to the original DSH session and worktree.
|
|
24
|
+
- **Isolated parallel runs & linked cleanup:** Default Git worktree isolation lets one project run multiple independent work packets in parallel, and **Task history** offers preset selection, linked worktree/session/plan cleanup, `interrupted` record removal and orphan residual sweeps.
|
|
25
|
+
|
|
26
|
+
## Key capabilities
|
|
27
|
+
|
|
28
|
+
| Capability | What you get |
|
|
29
|
+
| --- | --- |
|
|
30
|
+
| **Codex & Antigravity one-click setup** | Dedicated settings tabs to install, update, repair MCP only, or cleanly remove managed integrations while preserving any user edits via content digests. |
|
|
31
|
+
| **Reuse DSH APIs & models** | Pick from providers already enabled in DSH with your chosen worker model and reasoning effort; credentials stay inside DSH. |
|
|
32
|
+
| **Task trees, history & linked cleanup** | Plan multi-level goals and subtasks; filter task records by date, batch-select with presets (`All`, `Accepted`, `Failed / Cancelled / Interrupted`), inspect full review notes, jump to the native DSH session, and optionally archive sessions, remove isolated worktrees/workspaces, clean empty plan ancestors and sweep historical orphans (never touching source files or shared workspaces). |
|
|
33
|
+
| **Worktree isolation & workspace tree** | Run isolated parallel worktrees (nested automatically under DSH's `TaskBridge` sidebar root and titled per task) or explicit shared checkouts (reusing the project's native workspace and keeping its original name), with lightweight badges on dispatched sessions. |
|
|
34
|
+
| **Tiered silent monitoring** | No default total execution timeout. By default, a one-time local self-check runs 10 minutes after execution starts, and a commander check-in triggers after 40 minutes with no new delivery — plus deduplicated repeated-failure reminders (all adjustable or toggleable). |
|
|
35
|
+
| **Per-operation approvals & native questions** | Commands beyond workspace write require exact-fingerprint commander approval for that single call (omitting bulky monitoring blobs during interactive pauses); native DSH questions forward cleanly and resume waiting in one call. |
|
|
36
|
+
| **Optional Agent Teams** | Off by default; configurable as a new-task default or per dispatch, with continuations inheriting the chain's choice. |
|
|
37
|
+
| **Auto-save, presets & project overrides** | Changes save automatically; store reusable worker presets and per-project overrides. |
|
|
38
|
+
|
|
39
|
+
## Quick start
|
|
40
|
+
|
|
41
|
+
### 1. Install in DSH
|
|
42
|
+
|
|
43
|
+
Open **Plugins → Add plugin** in DSH, install and enable:
|
|
44
|
+
|
|
45
|
+
```text
|
|
46
|
+
dsh-taskbridge
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
> Switch to the official npm registry if a regional mirror lags behind, or install a `.tgz` archive from GitHub Releases. The local MCP bridge requires Node.js 24+ (automatically resolved by the integration installer without ever pointing at the Electron GUI binary).
|
|
50
|
+
|
|
51
|
+
### 2. Choose your worker model
|
|
52
|
+
|
|
53
|
+
1. Open **DSH TaskBridge Settings → API management** and add an enabled DSH provider.
|
|
54
|
+
2. Open **Execution settings** and choose the provider, worker model and supported reasoning effort.
|
|
55
|
+
3. Confirm the page shows a saved status before dispatching.
|
|
56
|
+
|
|
57
|
+
### 3. Connect a commander
|
|
58
|
+
|
|
59
|
+
- **Codex:** Open **Codex integration** and click **Install / update TaskBridge agent**, then reload Codex and dispatch by naming `dsh-taskbridge` (or explicitly assigning the task to DSH / TaskBridge).
|
|
60
|
+
- **Antigravity:** Open **Antigravity integration** and click **Install / update Antigravity plugin**. This installs a self-contained bundle under `~/.gemini/config/plugins/dsh-taskbridge/` (`plugin.json`, on-demand `SKILL.md`, lightweight background dispatcher subagent, and plugin-scoped `mcp_config.json`) without modifying your global Antigravity config. When Antigravity prompts for external MCP confirmation on the first `delegate_*` call, choose **Always Allow** so quiet waiting is not interrupted.
|
|
61
|
+
|
|
62
|
+
### 4. Flip the switch and dispatch
|
|
63
|
+
|
|
64
|
+
Enable **Allow local MCP calls to DSH delegation** at the top of the settings page (off by default). Then assign a task from Codex or Antigravity, for example:
|
|
65
|
+
|
|
66
|
+
> Use TaskBridge to have DSH fix the autosave draft-loss bug in this repository. Inspect the code first, write a clear implementation plan limited to the save queue, add regression tests, and review the delivered diff and test results.
|
|
67
|
+
|
|
68
|
+
Follow execution live in DSH's workspace sidebar and review delivery records in **Task history**.
|
|
69
|
+
|
|
70
|
+
## How it works
|
|
71
|
+
|
|
72
|
+
The settings page has a top delegation switch and five tabs: **API management, Execution settings, Task history, Codex integration, and Antigravity integration**.
|
|
73
|
+
|
|
74
|
+
### Isolation modes
|
|
75
|
+
|
|
76
|
+
- **Independent worktree (default):** Creates an isolated Git worktree from the committed baseline so candidate edits stay separate and independent tasks can run in parallel; automatically nested under DSH's `TaskBridge` sidebar node and named after the task title.
|
|
77
|
+
- **Shared workspace:** Runs directly inside the authorized checkout when uncommitted changes exist and in-place execution is explicitly approved after preflight; reuses the project's own native DSH workspace, preserves its original name, and is strictly protected from linked cleanup deletion.
|
|
78
|
+
|
|
79
|
+
> **Git repository requirement:** Both **worktree** and **shared** modes require an initialized Git repository root with at least one commit (general non-code Q&A or plain folders are not dispatched through TaskBridge). Accepting a review records your conclusion only — it never merges a worktree, commits or pushes automatically.
|
|
80
|
+
|
|
81
|
+
### Quiet waiting & monitoring
|
|
82
|
+
|
|
83
|
+
- **Quiet local wait:** During normal execution, the local wait loop observes the run silently without asking the commander to poll or read in-progress files.
|
|
84
|
+
- **10 minutes after execution starts (default):** Runs **one** read-only local self-check per run (no commander model call); ongoing worker activity does not postpone it.
|
|
85
|
+
- **40 minutes with no new delivery to the commander (default):** Sends a concise progress diagnosis to the commander without cancelling the task. Even if DSH is actively working, this check-in still fires if no new result has been delivered back within 40 minutes.
|
|
86
|
+
- **Repeated identical tool failures (default threshold: 3):** Sends an acknowledged reminder so loops do not burn tokens unchecked.
|
|
87
|
+
|
|
88
|
+
The two clocks measure different boundaries (**execution start** vs. **time since last delivery** — internal model steps, tool calls, heartbeats and self-check readings do not reset the 40-minute clock). Neither is a hard execution timeout, and healthy runs are never killed by a default cap. See [Silent waiting](silent-wait.md).
|
|
89
|
+
|
|
90
|
+
## FAQ
|
|
91
|
+
|
|
92
|
+
**Does installing TaskBridge make Codex or Antigravity send everything to DSH automatically?**
|
|
93
|
+
No. Dispatch only happens when the local delegation switch is enabled AND you explicitly assign a Git-repository code/verification task to DSH / TaskBridge. General Q&A (even if `@dsh-taskbridge` is mentioned) stays in the commander.
|
|
94
|
+
|
|
95
|
+
**Will plugin updates overwrite my custom edits to `dsh-taskbridge.toml` or `SKILL.md`?**
|
|
96
|
+
No. Ownership is verified by content digest: unmodified plugin-managed files refresh automatically on upgrade, while customized files are preserved and reported. Use **Repair MCP only** to refresh just the MCP connection.
|
|
97
|
+
|
|
98
|
+
**Does the Antigravity integration touch my global `mcp_config.json` or `config.json`?**
|
|
99
|
+
No. Everything lives inside `~/.gemini/config/plugins/dsh-taskbridge/` so Antigravity can enable, disable or remove it cleanly as one unit.
|
|
100
|
+
|
|
101
|
+
**How does TaskBridge reduce commander token usage?**
|
|
102
|
+
Planning, approvals, questions and final review still use the commander, while TaskBridge cuts overhead at three layers: (1) quiet local waiting with no intermediate polling; (2) Antigravity defaults to a lightweight `flash` background subagent for wait & approval loops, returning only a concise summary to the flagship model; and (3) worker prompts prefer native file/search tools over shell commands, paired with compact single-line JSON MCP responses that trim bulky monitoring blobs during interactive pauses.
|
|
103
|
+
|
|
104
|
+
## Client support & roadmap
|
|
105
|
+
|
|
106
|
+
| Client | Status | Integration |
|
|
107
|
+
| --- | --- | --- |
|
|
108
|
+
| **Codex** | Supported | One-click managed companion (`agents/dsh-taskbridge.toml`) + MCP entry |
|
|
109
|
+
| **Antigravity** | Supported | One-click self-contained plugin (`plugins/dsh-taskbridge/`: Skill + Subagent + MCP) |
|
|
110
|
+
| **Claude Code / Claude Desktop** | Planned (2.0) | Shares the same standard MCP interface; see [Claude roadmap](claude-code.md) |
|
|
111
|
+
|
|
112
|
+
## Documentation & feedback
|
|
113
|
+
|
|
114
|
+
- [Codex integration](codex-integration.md) · [Antigravity integration](antigravity-integration.md) · [Claude roadmap](claude-code.md)
|
|
115
|
+
- [Silent waiting](silent-wait.md) · [Workspace isolation](workspace-contract.md) · [Conversation placement](conversation-placement.md)
|
|
116
|
+
- [Runtime compatibility](runtime-compatibility.md) · [Plugin market](plugin-market.md) · [Legacy migration](taskbridge-upgrade.md)
|
|
117
|
+
|
|
118
|
+
Report issues or share suggestions on [GitHub Issues](https://github.com/ranranyya/dsh-taskbridge/issues) with your plugin version, steps to reproduce and redacted diagnostics (never include API keys).
|
|
119
|
+
|
|
120
|
+
## License
|
|
121
|
+
|
|
122
|
+
[MIT](../LICENSE)
|