Repository navigation
Specbook 0.4.0
Agents can now build your requests and flows, and the viewer embed can open on a live API.
What's new
- Agents can build your requests and flows.
specbook initwrites an agent guide to.specbook/agent-guide.mdand adds a short section toAGENTS.md(orCLAUDE.md). It never edits a file you wrote unless you pass--agents, and--no-agentsskips it. The docs site also servesllms.txt. - Embed opens where you want. The viewer embed takes
defaultEnv("live", or a server name from your spec) to start on that environment instead ofmock. - Array positions in placeholders.
{{tags[0].name}}works, and placeholders read only a value's own properties. - Clearer failures. A failing request shows its full URL with the base path, and an unreachable API says why: connection refused, DNS, timeout or certificate.
- Docs: the Content-Security-Policy for the hosted viewer lists
style-srcas well asscript-srcandworker-src(withblob:).
Fixes
- A request from your project is called a request in the viewer, and its note says only what is true.
- On a phone the header keeps the brand whole and its links get their own row.
- The docs hero has a button that opens your own spec in the viewer.
Full changelog: v0.3.0...v0.4.0