You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add project_root to ActiveStepInfo in doc/mcp_interface.md
- Add mypy-required None checks in test_server.py
- Remove invalid kwargs from StartWorkflowResponse in test
- Update traceability comment to reference JOBS-REQ-001.3.10
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: doc/mcp_interface.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -289,6 +289,7 @@ interface StepInputInfo {
289
289
interfaceActiveStepInfo {
290
290
session_id:string; // Session ID — use this for all subsequent finished_step, abort_workflow, go_to_step calls
291
291
step_id:string; // ID of the current step
292
+
project_root:string; // Absolute path to the MCP server's project root (use for .deepwork/ operations)
292
293
job_dir:string; // Absolute path to job directory (templates, scripts, etc.)
293
294
step_expected_outputs:ExpectedOutput[]; // Expected outputs with type and format hints
294
295
step_inputs:StepInputInfo[]; // Inputs provided to this step with their values
@@ -445,6 +446,7 @@ Add to your `.mcp.json`:
445
446
446
447
| Version | Changes |
447
448
|---------|---------|
449
+
| 2.3.0 | Added `project_root` field to `ActiveStepInfo` — the absolute path to the MCP server's project root. Agents use this as the base directory for `.deepwork/` operations (e.g. creating jobs at `[project_root]/.deepwork/jobs/`). The `make_new_job.sh` script now requires `--project-root` instead of inferring the root from `git rev-parse`. |
448
450
| 2.2.0 | `session_id` is now optional (`str | None`) on `start_workflow` only. On Claude Code (platform `"claude"`), the server raises `ToolError` if omitted. On other platforms, omitting it auto-generates a stable UUID; callers use the returned `begin_step.session_id` for all subsequent calls. `finished_step`, `abort_workflow`, and `go_to_step` continue to require `session_id`. Added `inputs` optional parameter to `start_workflow` for passing step argument values directly at workflow start. Added `issue_detected` optional field to all tool responses — present when the server detects configuration issues at startup; instructs agent to suggest repair to the user. |
449
451
| 2.1.0 | Added `important_note` field to `StartWorkflowResponse` — instructs agents to clarify ambiguous user requests via `AskUserQuestion` when available. |
450
452
| 2.0.0 | **Breaking**: `session_id`is now a required `string` parameter on all mutation tools (`start_workflow`, `finished_step`, `abort_workflow`, `go_to_step`). Added `agent_id` optional parameter for sub-agent scoping — sub-agents get their own isolated workflow stacks. State persistence path changed to `.deepwork/tmp/sessions/<platform>/session-<id>/state.json` (with sub-agent state in `agent_<agent_id>.json`). |
0 commit comments