Skip to content

CLI: add --agent flag to models status - #4780

Merged
gumadeiras merged 3 commits into
openclaw:mainfrom
jlowin:feat/models-status-agent-flag
Jan 30, 2026
Merged

gumadeiras merged 3 commits into
openclaw:mainfrom
jlowin:feat/models-status-agent-flag

Conversation

@jlowin

@jlowin jlowin commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

openclaw models status always resolves the default agent's directory, so there's no way to inspect a named agent's auth profiles, models.json, or usage stats without overriding OPENCLAW_AGENT_DIR.

This adds --agent <id> to models status (and the bare models shortcut), following the same pattern already used by models auth order get/set/clear. When provided, the status command resolves the named agent's directory via resolveAgentDir() and shows that agent's auth store, profiles, and usage data.

openclaw models status --agent jeremiah
openclaw models status --agent jeremiah --json

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes commands Command implementations labels Jan 30, 2026
@gumadeiras gumadeiras self-assigned this Jan 30, 2026
@gumadeiras
gumadeiras force-pushed the feat/models-status-agent-flag branch from 1965fd7 to 4ffd542 Compare January 30, 2026 20:46
@gumadeiras
gumadeiras merged commit daf27dd into openclaw:main Jan 30, 2026
21 of 23 checks passed
gumadeiras added a commit that referenced this pull request Jan 30, 2026
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Jan 30, 2026
@gumadeiras

Copy link
Copy Markdown
Member

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: 4ffd542
  • Merge commit: daf27dd

Thanks @jlowin!

YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
ayushozha pushed a commit to ayushozha/openclaw that referenced this pull request Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants