fabro/lib/packages/fabro-api-client/src
Scott Werner 72da10816f Simplify implicit run environment selection
Make the CLI resolve an omitted environment the same way the server does:
list the catalog once and apply the shared selection helper, instead of
fetching `default`, sniffing the 404, and then listing. Replace the
iterator-count dance in the helper with a slice match, lean on `?` for
error conversion at both call sites, and move the selection error type
into the crate's error module. Document `environment_selection_required`
in the endpoint's error codes and de-duplicate the docs prose.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 11:47:45 -04:00
..
.openapi-generator Align remote workflow selectors with run targets 2026-08-31 17:13:20 -04:00
api Simplify implicit run environment selection 2026-09-03 11:47:45 -04:00
models Select the sole managed run environment 2026-09-02 16:39:30 -04:00
.openapi-generator-ignore Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
api.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
base.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
common.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
configuration.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00
index.ts Bump API spec version to 0.2.0 for the blob-write wire break 2026-08-17 13:56:19 -04:00