Skip to content

Serve invoke metadata from the host - #140

Merged
hexuria merged 4 commits into
mainfrom
feat/gpui-agent-invoke-table
Nov 30, 2026
Merged

hexuria merged 4 commits into
mainfrom
feat/gpui-agent-invoke-table

Conversation

@hexuria

@hexuria hexuria commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • add host-declared invoke metadata and an additive read-only invokes protocol op
  • validate invoke arguments against the todo host table before dispatch
  • export/convert table rows into the existing recipe schema shape
  • merge live invoke metadata into CLI and MCP recipe validation/planning/running when a target is explicitly selected, while preserving offline file-only validation by default
  • document the live-schema and compatibility behavior

Refs #117.

Test plan

  • cargo test -p gpui-agent -p gpui-agent-recipe — 516 passed
  • cargo test -p gpui-agent-cli — 153 passed
  • cargo test --test recipe_live_schema — 11 passed
  • scripts/ci-recipe.sh — end-to-end receipt ok
  • clippy/fmt clean on touched crates

Generated with Devin

Only the app knows which invokes it answers, but hand-written schema
files drifted from the app dispatch. Declare the invoke table once in
the host, expose it through an additive read-only protocol op, validate
arguments before dispatch, and let recipe tooling merge the live table
when a target is explicitly selected.

Refs #117.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@hexuria
hexuria merged commit 448223b into main Nov 30, 2026
9 checks passed
@hexuria
hexuria deleted the feat/gpui-agent-invoke-table branch November 30, 2026 20:07
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