Skip to content

@W-22167805@ add sf agent trace list command#409

Open
WillieRuemmele wants to merge 5 commits intomainfrom
wr/listTraces
Open

@W-22167805@ add sf agent trace list command#409
WillieRuemmele wants to merge 5 commits intomainfrom
wr/listTraces

Conversation

@WillieRuemmele
Copy link
Copy Markdown
Contributor

@WillieRuemmele WillieRuemmele commented Apr 30, 2026

Work Item

@W-22167805@

Summary

Adds the sf agent trace list command for listing trace files recorded during agent preview sessions. Reads from the local .sfdx/agents/ cache — no org connection required.

Changes

  • New command: sf agent trace list
  • Flags: --agent (substring match, replaces separate --api-name/--authoring-bundle), --session-id, --since (ISO 8601, validated at flag-parse time)
  • Messages: messages/agent.trace.list.md
  • Schema and snapshot updated

Files Changed

  • src/commands/agent/trace/list.ts
  • messages/agent.trace.list.md
  • schemas/agent-trace-list.json
  • command-snapshot.json
  • test/commands/agent/trace/list.test.ts

Test Plan

  • 19 unit tests passing
  • npm run build and npm test pass cleanly
  • Schema and deprecation snapshot regenerated

Dependencies

@WillieRuemmele WillieRuemmele changed the title @W-21785101@ add sf agent preview trace list command @W-22167805@ add sf agent trace list command Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants