Repository navigation
v0.3.0
From reading genmedia (fal's CLI) side by side, and from Open's console moving to production.
Added
opensume agent(alsoquickstart): one page to hand a coding agent. It has the install line for each platform, the API host and the one to avoid (api.sume.com), how to pass the key, the five commands that do the work,--max-usdand the exit codes. It prints Markdown by default and fields with--json.--write <file>keeps the page in a marked block of an AGENTS.md; run it again to refresh the block. It makes no network calls.- Every request field is a flag:
--rendering_speed fast,--captions.style glass,--model_params '{"seed":7}', and--no-<field>for false. Values are typed by the schema like--set, and a near miss gets the closest flag or field.schemaandrun <model> --helpshow each field's flag. OPENSUME_OUTPUT=jsonmakes every command print JSON without--json;autodoes so only when stdout is not a terminal. Completion scripts are never JSON.--help --jsonlists the install lines, the wrong host andOPENSUME_OUTPUT. The root help tells someone with no key where to make one, and points agents atopensume agent.doctorfails when the API host isapi.sume.com, sume.com's own API.
Changed
- open.sume.com is now Open's production console, so its keys work on the default host with no setup. The development host the CLI names is now Open's own,
https://open-api-development.up.railway.app(keys from open.dev.sume.com).api.dev.sume.comis sume.com's development API. - The 0.2.4 hint that sent unknown models to the development API is gone, because Open's development API lists the same models as production.
- Type errors name the field without
--set, for examplenum_images takes a whole number. - AGENTS.md now starts with the page
opensume agentprints, and a test keeps the two equal.