Add a script host, deferred tools, and background MCP connect #15

Merged
weichen merged 1 commits from feature/code-orchestration into main 2026-10-03 18:07:11 +00:00
Owner

Why: tool scripts and a large MCP catalog should not block the first prompt or inflate the tool list.

Evidence: GOWORK=off go test of runtime/codeorch, runtime/tools, runtime/mcp, runtime/policy, and adapters/native.

Impact: deferred tools stay out of the declaration list. A server that is not already connected is dialed in the background.

Refs: feature/code-orchestration

Why: tool scripts and a large MCP catalog should not block the first prompt or inflate the tool list. Evidence: GOWORK=off go test of runtime/codeorch, runtime/tools, runtime/mcp, runtime/policy, and adapters/native. Impact: deferred tools stay out of the declaration list. A server that is not already connected is dialed in the background. Refs: feature/code-orchestration
weichen added 1 commit 2026-10-03 18:07:00 +00:00
Add a script host, deferred tools, and background MCP connect
ci / vet-and-test (pull_request) Successful in 49s
ci / docker-checkout-hostgateway (pull_request) Successful in 1s
e4020d297c
Why: models need a capped way to call several tools from one script, and a slow MCP server must not block the first prompt.
Evidence: GOWORK=off go test ./runtime/codeorch/ ./runtime/tools/ ./runtime/mcp/ ./runtime/policy/ ./adapters/native/
Impact: run_tool_script stays unregistered until the caller turns it on. Deferred tools stay out of the model list. An unready MCP server connects in the background.
Refs: feature/code-orchestration
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit ecca2d74b9 into main 2026-10-03 18:07:11 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-Native#15