dsh-taskbridge 1.3.2 → 1.4.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 +23 -2
- package/README.md +19 -13
- package/bin/dsh-delegate-mcp.js +4 -0
- package/codex/dsh-taskbridge.toml +129 -24
- package/docs/INTRODUCTION.md +19 -15
- package/docs/INTRODUCTION.zh.md +38 -34
- package/docs/codex-integration.md +63 -20
- package/docs/plugin-market.md +1 -1
- package/docs/releases/1.4.0-token-benchmark.zh.md +40 -0
- package/docs/releases/1.4.0.zh.md +54 -0
- package/docs/releases/1.4.1.zh.md +59 -0
- package/docs/runtime-compatibility.md +17 -9
- package/docs/silent-wait.md +87 -10
- package/docs/taskbridge-upgrade.md +1 -1
- package/lib/client.js +305 -65
- package/package.json +7 -3
- package/src/client/api.js +326 -46
- package/src/client/index.jsx +226 -52
- package/src/codex/installer.js +39 -6
- package/src/config/defaults.js +12 -0
- package/src/config/settings.js +12 -10
- package/src/config/validate.js +26 -11
- package/src/http/execution-plane.js +179 -9
- package/src/http/respond.js +179 -175
- package/src/http/user-plane.js +5 -4
- package/src/index.d.ts +157 -3
- package/src/index.js +1 -1
- package/src/jobs/activity.js +1369 -1008
- package/src/jobs/diagnostics.js +15 -0
- package/src/jobs/engine.js +1029 -12
- package/src/jobs/history.js +152 -6
- package/src/jobs/review-note.js +63 -0
- package/src/mcp/server.js +345 -21
- package/src/mcp/wait.js +67 -10
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Closed vocabulary shared by the activity monitor and the MCP wait answer.
|
|
2
|
+
//
|
|
3
|
+
// This module exists only to hold string constants that BOTH sides compare, so the
|
|
4
|
+
// producer and the consumer cannot drift apart, and so neither has to import the other.
|
|
5
|
+
// It has no imports of its own: it is the leaf of the graph, which is what keeps the
|
|
6
|
+
// `server ⇄ wait` pair and the engine from forming a cycle over one literal.
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* `failure.kind` for a repeated-tool-failure reminder.
|
|
10
|
+
*
|
|
11
|
+
* The reminder rides the existing `attention` reason rather than adding a new one; this
|
|
12
|
+
* discriminator is what lets a host tell "silent for the configured interval" from "kept
|
|
13
|
+
* failing the same operation", which need different decisions.
|
|
14
|
+
*/
|
|
15
|
+
export const REPEATED_FAILURE_KIND = 'repeated-tool-failure';
|