You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dev: Agent Inspector never shows the Local/Deployed switch for deployed runtimes (regression from 0.19) #2752
In agentcore dev --mode browser, the Agent Inspector always shows "Local only" for a runtime, also when the runtime is deployed. The Local/Deployed switch does not show, so you cannot invoke the deployed runtime from the Inspector.
This worked in CLI 0.19.0. It is a regression in 1.0.
The bundled Inspector UI shows the switch only when the agent has deploymentStatus === "deployed". The dev server in 1.0.1 does not send this field:
GET /api/resources (handleResources in dist/main.js) builds agents from the project spec only. It never adds deploymentStatus, deployed, or invocationUrl.
POST /invocations (handleInvocations) only forwards to a locally running agent. It has no path to a deployed runtime.
In CLI 0.19.0, the dev server (dist/cli/index.mjs) sends deploymentStatus, deployed, and invocationUrl for agents, harnesses, and memories.
This is the same gap as #2735, which reports it for memories.
The Inspector shows the Local/Deployed switch for PocAgent, and "Deployed" invokes the deployed runtime, as in CLI 0.19.0.
Actual Behavior
The Inspector shows the badge "Local only" with the tooltip "This agent is not deployed. Run 'agentcore deploy' to deploy your project resources in your AWS account."
CLI Version
1.0.1
Operating System
macOS
Additional Context
Build type CodeZip, runtime PYTHON_3_14, protocol HTTP, no memory.
Possible fix: in dev, resolve runtimes against the target's deployed state (as agentcore status does via resolveProjectResources), set deploymentStatus in /api/resources, and route "Deployed" invocations to InvokeAgentRuntime.
Activity