Skip to content

[Coda] Add structured workspace command action - #2972

Open
George Ng (GeorgeNgMsft) wants to merge 3 commits into
mainfrom
georgengmsft-structured-command-execution
Open

[Coda] Add structured workspace command action#2972
George Ng (GeorgeNgMsft) wants to merge 3 commits into
mainfrom
georgengmsft-structured-command-execution

Conversation

@GeorgeNgMsft

@GeorgeNgMsft George Ng (GeorgeNgMsft) commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds an action to directly run structured commands for the VS Code Coda integration and MCP clients. Allows the user to conveniently run their build commands quickly and in the same window as TypeAgent.
Structured command: run command pnpm run build or execute command pnpm run lint uses the new grammar and structured runner.

Examples :
image
image
image

  • Exposes typed
    un_workspace_command and cancel_workspace_command MCP tools with structured output.
  • Runs bounded focused build, test, lint, and diagnostic commands in exactly one connected workspace.
  • Returns stdout, stderr, exit code, duration, timeout, cancellation, and truncation metadata; includes safe cancellation and process cleanup.
  • Preserves the existing integrated-terminal behavior while adding schema, grammar, documentation, and focused tests.

Validation

  • pnpm --filter agent-coda run build && pnpm --filter agent-coda run test:local
  • pnpm --filter @typeagent/code-agent run build plus targeted result-relay test
  • pnpm --filter command-executor-mcp run build plus targeted MCP schema test
  • Prettier and lint, complexity, circular-dependency, and debt ratchets

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@GeorgeNgMsft George Ng (GeorgeNgMsft) changed the title Add structured workspace command action [Code Agent] Add action for running workspace commands Sep 4, 2026
@GeorgeNgMsft George Ng (GeorgeNgMsft) changed the title [Code Agent] Add action for running workspace commands [Coda] Add structured workspace command action Sep 4, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant