feat: add mastracode integration#440
Conversation
refs ogulcancelik#337 Co-Authored-By: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
|
@wardpeet thanks for the pr. the upstream conflict looks small enough to resolve; it is mostly newer integrations landing in the same registry code. i checked mastracode hooks docs. the available events appear to be my main question is whether those hooks are lifecycle-complete enough to use as the source of truth. mastracode has permission rules with also, have you confirmed esc/interruption behavior? the docs say if the hooks are only event notifications rather than a complete status lifecycle, i would prefer not to make them the primary integration path. we had similar issues with claude code and codex: missed or ambiguous hook events made state drift, and we ended up relying on screen reads because herdr needs current visible status, not just event history. if mastracode has stable visible ui states, please consider adding screen heuristics instead; |
|
@wardpeet i assume you don't have much time to support this. let me know when you want to :) |
|
Hey sorry, pushing a new feature. Afterwards i'll re-open. I've been using herdr non stop! :D |
let me know when you are able to support the pr :D also please check docs now herdr has two tiers of agents, first citizen agents who have full lifecylce hook supports or not, both require new manifest shapes, also agent detect cli should help you to debug the correct manifest regarding screens. if mastracode uses osc for titles even better! |
Summary
Refs #337
Test plan
git diff --checksh -n src/integration/assets/mastracode/herdr-agent-state.shHERDR_ENV=0 sh src/integration/assets/mastracode/herdr-agent-state.sh working <<<'{}'justandcargoare not available in this local environment, so the full Rust check suite could not be run here.