Repository navigation
add AGENTS.md for coding agents - #1
Merged
Merged
Conversation
The lo1 SDK's JSON Schema $id, and the URL its README tells users to point their editors at, is https://lo1.dev/schemas/lo1.v1.schema.json, which 404'd. A copy of lo1's packages/sdk/schemas/lo1.v1.schema.json now lives in public/schemas, and schema-sync.yml checks it against lo1's main weekly and on changes, as celerity-docs does for the handler manifest schema. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The heading renders as lo1-restart-services, so the link landed at the top of the cli page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds AGENTS.md, and a CLAUDE.md that imports it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sitemap urls Pages with child pages are exported at llms.mdx/<path>/index, so their copy markdown and open in links 404'd. Docs pages took the home page's open graph title and url, and every page's og:url was the home page. Sitemap urls lacked the trailing slash the static export redirects to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds an
AGENTS.mdfor coding agents, with a one-lineCLAUDE.mdthat imports it. It also serves the lo1 config schema at the URL the SDK promises, and fixes a broken anchor and three site bugs. Merging deploys the site.Reading order
$id, which is also the URL its README tells users to point their editors at, ishttps://lo1.dev/schemas/lo1.v1.schema.json. It 404'd.public/schemas/lo1.v1.schema.jsonis an unchanged copy of lo1'spackages/sdk/schemas/lo1.v1.schema.json.schema-sync.ymlchecks the copy against lo1'smainbyte for byte, every Monday and whenpublic/schemas/changes. It's adapted from celerity-docs' check for the handler manifest schema.configuration.mdxlinked/docs/cli#lo1-restart, but the heading renders aslo1-restart-services.AGENTS.md(third commit). These sections matter most:.env.exampleto.env, because its placeholders switch search on and makesync-contenttry to run.$idpath can't move.lo1 doctorlinks/docs/troubleshooting.examples/shop.maindeploys, with nothing building a PR first./docsand/docs/plugins404'd. The export writes pages with child pages atllms.mdx/<path>/index, sotoMarkdownUrlnow adds/indexfor those.createMetadata, so they took the home page's OpenGraph title.createMetadataalso hard-codedog:urlto the site root for every page. Each page now sets its ownog:url, and docs pages get their own title./, the canonical form withtrailingSlash: true, so they no longer redirect.Found while writing this, not changed here
src/app/(home)andsrc/componentsas only the landing page, and doesn't mention the blog, analytics or newsletter.ALGOLIA_SECRET_API_KEY"also", but the sync checks the app ID and the secret key, not the index name.Verification
yarn install --immutable, thenyarn next buildwithout.env.out/schemas/lo1.v1.schema.jsonis exported, identical to the copy and to lo1'smain(cmpagainst the raw GitHub URL).id="lo1-restart-services"is inout/docs/cli/index.html.yarn check-linksreports no errors.yarn lint(no errors; its 3 warnings are in files this PR doesn't touch) and the build pass. In the export:/docs/links/llms.mdx/indexand/docs/plugins/links/llms.mdx/plugins/index, and both files exist./docs/cli/still links/llms.mdx/cli.og:titleandog:urlare per page:Introduction | lo1athttps://lo1.dev/docs/,CLI reference | lo1athttps://lo1.dev/docs/cli/,Privacy | lo1athttps://lo1.dev/privacy/, and the home page athttps://lo1.dev/./.🤖 Generated with Claude Code