aws / aws/agentcore-cli

status shows empty '(target: )' when no target is configured

Open
#985 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
283
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
183

Description

## Summary

`agentcore status` renders an empty target label `(target: )` in the header when no deployment target is configured. Should either omit the label or show a default.

## Reproducer

```bash
agentcore create --name Test --defaults --skip-install --skip-git --skip-python-setup --json
cd Test
agentcore status
```

## Actual behavior

```
AgentCore Status (target: )
```

## Expected behavior

Either:
- `AgentCore Status` (omit target when empty)
- `AgentCore Status (target: default)` (show default label)

## Version

`agentcore 0.10.0-1777085255`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.