grok-taskflow 0.2.1 → 0.2.2

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 CHANGED
@@ -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.1 opencode-taskflow-mcp
318
+ npx -y -p opencode-taskflow@0.2.2 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.1 grok-taskflow-mcp
327
+ npx -y -p grok-taskflow@0.2.2 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.
@@ -10,14 +10,14 @@ import { makeMcpHandlers as coreMakeMcpHandlers, makeToolHandlers as coreMakeToo
10
10
  import { grokSubagentRunner } from "taskflow-hosts";
11
11
  /** Per-call tool handlers with grok subagent execution bound in. */
12
12
  export function makeToolHandlers(cwd) {
13
- return coreMakeToolHandlers(cwd, grokSubagentRunner);
13
+ return coreMakeToolHandlers(cwd, grokSubagentRunner, { host: "grok" });
14
14
  }
15
15
  /** Full MCP method dispatch table (protocol + tools), grok-bound. */
16
16
  export function makeMcpHandlers(cwd) {
17
- return coreMakeMcpHandlers(cwd, grokSubagentRunner);
17
+ return coreMakeMcpHandlers(cwd, grokSubagentRunner, { host: "grok" });
18
18
  }
19
19
  /** Start the stdio MCP server. Resolves when the client disconnects. */
20
20
  export function startMcpServer(cwd = process.cwd()) {
21
- return coreStartMcpServer(grokSubagentRunner, cwd);
21
+ return coreStartMcpServer(grokSubagentRunner, cwd, { host: "grok" });
22
22
  }
23
23
  //# sourceMappingURL=server.js.map
@@ -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;AACtD,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,eAAe,CAAC,GAAW;IAC1C,OAAO,mBAAmB,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC;AACrD,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,cAAc,CAAC,GAAG,GAAW,OAAO,CAAC,GAAG,EAAE;IACzD,OAAO,kBAAkB,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC;AACpD,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,oEAAoE;AACpE,MAAM,UAAU,gBAAgB,CAC/B,GAAW;IAEX,OAAO,oBAAoB,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AACxE,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,eAAe,CAAC,GAAW;IAC1C,OAAO,mBAAmB,CAAC,GAAG,EAAE,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AACvE,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,cAAc,CAAC,GAAG,GAAW,OAAO,CAAC,GAAG,EAAE;IACzD,OAAO,kBAAkB,CAAC,kBAAkB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AACtE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grok-taskflow",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
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.1",
53
- "taskflow-hosts": "0.2.1",
54
- "taskflow-mcp-core": "0.2.1"
52
+ "taskflow-core": "0.2.2",
53
+ "taskflow-hosts": "0.2.2",
54
+ "taskflow-mcp-core": "0.2.2"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "rm -rf dist && tsc -p tsconfig.build.json && node ../../scripts/copy-readme.mjs grok-taskflow"