Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Before finishing a change run `bun test`, `bun run typecheck`, `bun run lint:che
- Errors: throw `AgentCoreCLIError` subclasses (`src/errors/`), which carry `source`
(user/service/internal), `exitCode`, and `meta` for logging and telemetry.
`AgentCoreCLIError.fromError` maps Commander errors to exit code 2 and SDK 4xx to user errors.
`SilentCLIError` (`src/errors/errors.tsx`) is the one to throw when the command has already
`SilentCLIError` (`src/errors/errors.ts`) is the one to throw when the command has already
written its own output and only needs to carry an exit code — a remote command's exit status, for
instance — so the root handler does not print a second message over it.
Error text is asserted behaviour: when you refactor an error path, keep everything the old
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading