grok-taskflow 0.2.1 → 0.2.3
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 +5 -4
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +10 -3
- package/dist/mcp/server.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -131,7 +131,7 @@ Save it as `.pi/taskflows/audit-api.json`, then run:
|
|
|
131
131
|
/tf:audit-api dir=src/api
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
On Codex, Claude Code, OpenCode, and Grok Build, run the same saved definition by name through `taskflow_run`.
|
|
134
|
+
On Codex, Claude Code, OpenCode, and Grok Build, run the same saved definition by name through `taskflow_run`. For long DAGs, use `mode: "background"`, then manage the durable run with `taskflow_runs` (`list` / `status` / `wait` / `cancel`); list output reports active concurrency and can filter `running` or `terminal` runs.
|
|
135
135
|
|
|
136
136
|
[Follow the full quickstart →](https://heggria.github.io/taskflow/en/docs/getting-started)
|
|
137
137
|
|
|
@@ -200,7 +200,7 @@ FlowIR canonicalizes the graph and gives it a content hash. That compiled identi
|
|
|
200
200
|
|---|---|---:|
|
|
201
201
|
| `verify` / `compile` | Is the graph structurally safe to run? | **0** |
|
|
202
202
|
| `ir` | What is the canonical graph and content hash? | **0** |
|
|
203
|
-
| `resume` | What unfinished work remains? | Only unfinished phases |
|
|
203
|
+
| `resume` | What unfinished work remains? (forks a new run; original untouched) | Only unfinished phases |
|
|
204
204
|
| `trace` | What calls and runtime decisions actually happened? | **0** to inspect |
|
|
205
205
|
| `replay` | What if thresholds or budgets had been different? | **0** |
|
|
206
206
|
| `why-stale` | What changed, and what depends on it? | **0** |
|
|
@@ -315,7 +315,7 @@ claude plugin install claude-taskflow@taskflow
|
|
|
315
315
|
|
|
316
316
|
```bash
|
|
317
317
|
opencode mcp add taskflow -- \
|
|
318
|
-
npx -y -p opencode-taskflow@0.2.
|
|
318
|
+
npx -y -p opencode-taskflow@0.2.3 opencode-taskflow-mcp
|
|
319
319
|
```
|
|
320
320
|
|
|
321
321
|
[OpenCode guide →](https://heggria.github.io/taskflow/en/docs/guides/opencode)
|
|
@@ -324,7 +324,7 @@ opencode mcp add taskflow -- \
|
|
|
324
324
|
|
|
325
325
|
```bash
|
|
326
326
|
grok mcp add taskflow -- \
|
|
327
|
-
npx -y -p grok-taskflow@0.2.
|
|
327
|
+
npx -y -p grok-taskflow@0.2.3 grok-taskflow-mcp
|
|
328
328
|
```
|
|
329
329
|
|
|
330
330
|
Grok Build support is new in 0.2. Its CLI stream does not report token/cost usage, so budget-declaring flows are rejected rather than silently running without enforcement.
|
|
@@ -365,6 +365,7 @@ The test suite covers orchestration semantics, persistence and file-lock races,
|
|
|
365
365
|
| [Host Guides](https://heggria.github.io/taskflow/en/docs/guides/) | Pi, Codex, Claude Code, OpenCode, and Grok setup |
|
|
366
366
|
| [Reference](https://heggria.github.io/taskflow/en/docs/reference/) | Commands, shorthand, and exact tool surfaces |
|
|
367
367
|
| [Showcase](https://heggria.github.io/taskflow/en/docs/showcase/) | Real flows and case studies |
|
|
368
|
+
| [0.2.0 Frontier Assessment](https://github.com/heggria/taskflow/blob/main/docs/taskflow-0.2.0-frontier-assessment.zh-CN.md) | Independent, evidence-based technical assessment (Chinese) |
|
|
368
369
|
|
|
369
370
|
Also see [`examples/`](https://github.com/heggria/taskflow/blob/main/examples), the [changelog](https://github.com/heggria/taskflow/blob/main/CHANGELOG.md), and the [release guide](https://github.com/heggria/taskflow/blob/main/RELEASE.md).
|
|
370
371
|
|
package/dist/mcp/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAWxE,oEAAoE;AACpE,wBAAgB,gBAAgB,CAC/B,GAAG,EAAE,MAAM,GACT,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CAE3F;AAED,qEAAqE;AACrE,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAEvE;AAED,wEAAwE;AACxE,wBAAgB,cAAc,CAAC,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzE"}
|
package/dist/mcp/server.js
CHANGED
|
@@ -8,16 +8,23 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { makeMcpHandlers as coreMakeMcpHandlers, makeToolHandlers as coreMakeToolHandlers, startMcpServer as coreStartMcpServer, } from "taskflow-mcp-core/server";
|
|
10
10
|
import { grokSubagentRunner } from "taskflow-hosts";
|
|
11
|
+
const HOST_OPTIONS = {
|
|
12
|
+
host: "grok",
|
|
13
|
+
detachedRunner: {
|
|
14
|
+
module: import.meta.resolve("taskflow-hosts/grok"),
|
|
15
|
+
exportName: "grokSubagentRunner",
|
|
16
|
+
},
|
|
17
|
+
};
|
|
11
18
|
/** Per-call tool handlers with grok subagent execution bound in. */
|
|
12
19
|
export function makeToolHandlers(cwd) {
|
|
13
|
-
return coreMakeToolHandlers(cwd, grokSubagentRunner);
|
|
20
|
+
return coreMakeToolHandlers(cwd, grokSubagentRunner, HOST_OPTIONS);
|
|
14
21
|
}
|
|
15
22
|
/** Full MCP method dispatch table (protocol + tools), grok-bound. */
|
|
16
23
|
export function makeMcpHandlers(cwd) {
|
|
17
|
-
return coreMakeMcpHandlers(cwd, grokSubagentRunner);
|
|
24
|
+
return coreMakeMcpHandlers(cwd, grokSubagentRunner, HOST_OPTIONS);
|
|
18
25
|
}
|
|
19
26
|
/** Start the stdio MCP server. Resolves when the client disconnects. */
|
|
20
27
|
export function startMcpServer(cwd = process.cwd()) {
|
|
21
|
-
return coreStartMcpServer(grokSubagentRunner, cwd);
|
|
28
|
+
return coreStartMcpServer(grokSubagentRunner, cwd, HOST_OPTIONS);
|
|
22
29
|
}
|
|
23
30
|
//# sourceMappingURL=server.js.map
|
package/dist/mcp/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACN,eAAe,IAAI,mBAAmB,EACtC,gBAAgB,IAAI,oBAAoB,EACxC,cAAc,IAAI,kBAAkB,GACpC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,oEAAoE;AACpE,MAAM,UAAU,gBAAgB,CAC/B,GAAW;IAEX,OAAO,oBAAoB,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/mcp/server.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACN,eAAe,IAAI,mBAAmB,EACtC,gBAAgB,IAAI,oBAAoB,EACxC,cAAc,IAAI,kBAAkB,GACpC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,YAAY,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE;QACf,MAAM,EAAE,OAAO,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC;QAClD,UAAU,EAAE,oBAAoB;KAChC;CACQ,CAAC;AAEX,oEAAoE;AACpE,MAAM,UAAU,gBAAgB,CAC/B,GAAW;IAEX,OAAO,oBAAoB,CAAC,GAAG,EAAE,kBAAkB,EAAE,YAAY,CAAC,CAAC;AACpE,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,eAAe,CAAC,GAAW;IAC1C,OAAO,mBAAmB,CAAC,GAAG,EAAE,kBAAkB,EAAE,YAAY,CAAC,CAAC;AACnE,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,cAAc,CAAC,GAAG,GAAW,OAAO,CAAC,GAAG,EAAE;IACzD,OAAO,kBAAkB,CAAC,kBAAkB,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC;AAClE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grok-taskflow",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Run taskflow on Grok Build: a Grok subagent runner plus an MCP server (and a plug-and-play Grok plugin) that exposes the taskflow_* tools to Grok Build users.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"grok",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"taskflow-core": "0.2.
|
|
53
|
-
"taskflow-hosts": "0.2.
|
|
54
|
-
"taskflow-mcp-core": "0.2.
|
|
52
|
+
"taskflow-core": "0.2.3",
|
|
53
|
+
"taskflow-hosts": "0.2.3",
|
|
54
|
+
"taskflow-mcp-core": "0.2.3"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && node ../../scripts/copy-readme.mjs grok-taskflow"
|