feat(web): Agents and Skills pages read stock deployments; create agent deploys a workflow asset (CL-8433) - #874
Merged
Merged
Conversation
…nt deploys a workflow asset (CL-8433)
TheGreatAxios
force-pushed
the
cl-8433-agents-stock
branch
from
September 18, 2026 05:00
19b0c4f to
ffc225b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
apps/webover from the deleted/api/tenants/:t/agent-definitions/*and/planner/agent-definitionsroutes to stock Interchange: an agent is a workflow deployment (GET /workflows/deployments,GET/POST /workflows/runs,.../health,.../events,.../approvals).agents-page.tsx) lists deployed definitions with their own top-level run's address, status, and 7-day run count; the per-row model-capabilities fetch and the Archive bulk action are removed (both depended on deleted routes with no stock replacement).agent-detail-page.tsx) is now an observe-only page: definition status, its live run's address, health, event log, and approvals — the instructions/model/skills editor is gone (no stock write route backs it).apps/web/src/agent-deploy.tsgeneralizesmyra-deploy.ts's deploy pipeline (ensure aworkflow-kind asset, push a rendered source tree over git, deploy viaPOST /workflows/deployments) over{name, systemPrompt}, resolving the tenant's existing inference offering the same way Myra's own deploy does.create-agent-panel.tsxdeploys through that path via auseMutation(name + system prompt only — no drafting assist, no per-agent model/skill pins, since the routes that backed those are gone).skills-page.tsx,skill-detail-page.tsx,create-skill-dialog.tsx) needed no changes — they already read the nativekind:"skill"asset registry viaskills-api.ts, never the deleted agent-definition-skill-pin route.agent-skills-picker.tsx(which only backed that pin) is deleted as dead code.useQuery(useAgentDirectory,useAgentRunHealth/Events/Approvals), the deploy write is auseMutationthat invalidates the directory query on success; nouseEffect-driven fetches were introduced.Verified
grep -rn "agent-definitions\|planner/agent" apps/web/srcreturns nothing outsideapps/web/src/chat/api.ts(owned by a separate ticket).bunx tsc -p apps/web --noEmit— clean.bun run fmt/bun run lint— clean (pre-existing unrelated warnings inapps/sidecaronly).myra-workbench.test.ts,run-status-tone-parity.test.ts,fetch-dedupe.test.tsx) pass; fullapps/websuite passes except a pre-existingimport.meta.globbun-test incompatibility intools/registry-publish.ts(unrelated to this change) and what looks like unrelated test-order flake incomposer.test.tsx(passes 24/24 in isolation).What's left / blockers
PAGE_LIMITceiling, unchanged).DELETE /workflows/runs/:runIdisworkflowRunOperationUnsupported) — dropped rather than shipped as dead buttons.chat/api.ts's ownagent-definitions/*calls (visible list, capabilities inventory, per-workbench instructions editor) are untouched, per scope — that's a separate ticket's cutover.Test plan
bunx tsc -p apps/web --noEmitbun run fmtbun run lint