dsh-taskbridge 1.7.0 → 1.8.0
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 +18 -0
- package/LICENSE +21 -21
- package/README.md +150 -289
- package/THIRD_PARTY_NOTICES.txt +23 -23
- package/antigravity/agents/dsh-taskbridge.md +31 -0
- package/antigravity/skills/dsh-taskbridge/SKILL.md +51 -0
- package/codex/dsh-taskbridge.toml +170 -627
- package/cordis.patch.yml +6 -6
- package/docs/INTRODUCTION.md +119 -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 +13 -2
- package/docs/contracts-stage-b.md +443 -443
- 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/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 +733 -699
- package/lib/client.js +7 -7
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +149 -144
- package/src/antigravity/installer.js +1046 -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 +143 -0
- package/src/client/index.jsx +113 -3
- package/src/client/sidebar.jsx +862 -862
- package/src/client/styles.js +624 -624
- package/src/client/task-cleanup.js +304 -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/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 +72 -0
- package/src/index.js +25 -0
- package/src/jobs/diagnostics.js +15 -15
- package/src/jobs/plan-store.js +1020 -1020
- 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 +12 -5
- 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/permissions.js +1619 -1619
- package/src/runtime/question-call.js +162 -162
- package/src/runtime/questions.js +909 -909
- package/src/runtime/worker-prompt.js +60 -53
- package/src/workspace/audit.js +775 -775
- package/src/workspace/preflight.js +424 -424
- package/src/workspace/worktrees.js +679 -679
package/src/mcp/server.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//
|
|
3
3
|
// Design rule taken from SPEC §10–11: an external MCP client may *exercise* an
|
|
4
4
|
// authorization the operator already created, and may do nothing else. So this
|
|
5
|
-
// server exposes
|
|
5
|
+
// server exposes eleven tools and maps each execution tool onto one execution-plane route:
|
|
6
6
|
//
|
|
7
7
|
// delegate_status → GET /dsh-delegate/x/status
|
|
8
8
|
// delegate_submit → POST /dsh-delegate/x/tasks
|
|
@@ -10,8 +10,11 @@
|
|
|
10
10
|
// delegate_wait → POST /dsh-delegate/x/tasks/observe (repeated)
|
|
11
11
|
// delegate_cancel → POST /dsh-delegate/x/tasks/cancel
|
|
12
12
|
// delegate_permission_decide → POST /dsh-delegate/x/tasks/permission
|
|
13
|
+
// delegate_question_answer → POST /dsh-delegate/x/tasks/question
|
|
13
14
|
// delegate_review → POST /dsh-delegate/x/tasks/review
|
|
15
|
+
// delegate_plan → POST /dsh-delegate/x/plans
|
|
14
16
|
// delegate_preflight → POST /dsh-delegate/x/workspace/preflight
|
|
17
|
+
// delegate_metrics → local process census (no plane route)
|
|
15
18
|
//
|
|
16
19
|
// `delegate_wait` is a read like `delegate_result`, and it is the one tool whose
|
|
17
20
|
// single call may take a long time: it composes several BOUNDED observation
|
|
@@ -308,9 +311,9 @@ export const TOOLS = Object.freeze([
|
|
|
308
311
|
+ 'the caller. An unknown, unfinished, removed or differently-sourced parent is refused rather than '
|
|
309
312
|
+ 'started as a new conversation. '
|
|
310
313
|
+ 'The commander must first plan and scope ONE cohesive, independently verifiable work packet. '
|
|
311
|
-
+ '
|
|
312
|
-
+ '
|
|
313
|
-
+ 'the commander
|
|
314
|
+
+ 'Inspect the project and prior delivery, choose the next ready packet, and tell the operator the approach and reuse decision. '
|
|
315
|
+
+ 'Put the implementation plan in the prompt. Group dependent packets with delegate_plan. A simple task can use one brief. '
|
|
316
|
+
+ 'Rules, planning and final review stay with the commander. Verification-only packets are read-only.',
|
|
314
317
|
// It creates work, so it is not a read; it is not destructive of anything the
|
|
315
318
|
// operator already has, and repeating it creates ANOTHER task (never idempotent).
|
|
316
319
|
annotations: Object.freeze({
|
|
@@ -335,7 +338,11 @@ export const TOOLS = Object.freeze([
|
|
|
335
338
|
+ 'an execution.workspacePath or any other internal execution location in its place, because a '
|
|
336
339
|
+ 'different source path names a different repository and the continuation is refused.',
|
|
337
340
|
},
|
|
338
|
-
prompt: {
|
|
341
|
+
prompt: {
|
|
342
|
+
type: 'string',
|
|
343
|
+
description: 'Give DSH the objective, verified starting facts, code entry points, ordered steps, existing-code or GitHub reuse, owned scope and acceptance evidence. '
|
|
344
|
+
+ 'Make the first implementation step clear. Roadmap context does not authorize future packets. A verification-only packet permits checks and evidence only.',
|
|
345
|
+
},
|
|
339
346
|
title: { type: 'string', maxLength: 120, description: 'Short work-content title in the operator\'s language, e.g. 修复登录错误. Used to name the new DSH Workspace; omit role instructions and task ids. A follow-up keeps its existing Workspace name.' },
|
|
340
347
|
overrides: {
|
|
341
348
|
type: 'object',
|