Repository navigation
Conversation
…ith the agent", and the Agent API REST reference - SDKs nav group moves next to API in Reference. The Node page is now the TypeScript SDK; both language pages follow Install / Set up the client / Build with the agent / Specifications / Browser agents / Credits / Errors, with a full create -> stream -> build next -> status walkthrough. Overview has TypeScript/Python CodeGroups and a language table. Page slugs are unchanged (parity baseline and existing links). - New Agent API group: overview + one page per operation (create, send, events SSE, build, status, stop), and the six operations, their schemas and examples in api-reference/openapi.json. - Example checkers mock the /agent/projects routes and assert the walkthrough hits each one; source coverage reads routes/agent_api.ts. - llms.txt lists the new pages (trimmed elsewhere to stay under 16 KB). The guides target predev-api 1.2.0, which is not published yet. The CI pins stay at 1.1.0 until then; check:node and check:python pass locally against the 1.2.0 build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PwA31qPkrcHj7kogbsmWS4
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
architect-agent/sdks/nodeetc.), so the parity baseline and existing links keep working. Only titles change.agent-api/overview(flow, endpoints, access, billing, limits, errors) plus one page per operation: create project, send message, events (SSE contract + resume with cursor), build, status, stop./agent/projects...operations with schemas, request/response examples for every status, and cURL samples (Agenttag).check-node-examples.mjs/check-python-examples.pymock the agent routes, and each now asserts the walkthrough calls every one.--source-rootcoverage also readsroutes/agent_api.ts.Backend: arjunpredev/predev-app#2671 · SDK: predotdev/predev-api#2
Before merging
The guides target predev-api 1.2.0, which is not published yet (SDK PR above). CI pins stay at
predev-api==1.1.0/"predev-api": "1.1.0", socheck:nodeandcheck:pythonwill fail onclient.agentuntil:v1.2.0on predev-api after its PR merges), thenpackage.json+ lockfile (npm install -D predev-api@1.2.0) and the pip pin in.github/workflows/docs-ci.yml.Verified locally
node scripts/check-docs.mjs: passed (110 pages, 20 REST ops, 426 schema-checked OpenAPI examples)node scripts/check-node-examples.mjswith a local 1.2.0 build: passed (21 mocked requests, 8 agent)python scripts/check-python-examples.pywith a local 1.2.0 install: passedcheck-docs.mjs --source-rootagainst the backend branch: all six agent routes match. One pre-existing gap is unrelated to this PR:GET /browser-agent-screenshotis undocumented.🤖 Generated with Claude Code
https://claude.ai/code/session_01PwA31qPkrcHj7kogbsmWS4