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
* refactor(schema): rename 'agents' to 'runtimes' in AgentCoreProjectSpec
The top-level 'agents' array property in agentcore.json is renamed to
'runtimes' to better reflect the resource type (AgentCoreRuntime).
This is a schema-only rename — no changes to CLI commands, flags, or
user-facing strings.
Scope: JSON schema, Zod schemas, LLM-compacted types, deployed-state,
all source references, tests, and documentation.
* refactor(cli): rename --agent flags to --runtime across all commands
Rename CLI flags from agent terminology to runtime:
- --agent <name> → --runtime <name> (with -a → -r short alias)
- --agent-runtime-id → --runtime-id
- --agent-arn → --runtime-arn
- --agents → --runtimes (gateway primitive)
Update resolveAgent() to accept { runtime?: string }.
Update all action handlers, option types, error messages, and tests.
Keep --agent-id and --agent-alias-id unchanged (Bedrock Agent IDs).
Keep 'agentcore add agent' / 'agentcore remove agent' commands unchanged.
* refactor(schema): rename agentName to runtimeName in MCP bindings and make type optional
- Rename `agentName` to `runtimeName` in McpRuntimeBindingSchema and
all consuming code (attach.ts, llm-compacted types, JSON schema)
- Make `type: "AgentCoreRuntime"` optional on AgentEnvSpec for backward
compatibility; stop emitting it in new runtime configs
- Update tests to match new schema shape
* fix(integ): update add-remove-evaluator test to use --runtime flag
The integ test was still using --agent for online-eval commands,
which was renamed to --runtime in the CLI flags rename commit.
Also removes unused addOnlineEvalArgs variable.
0 commit comments