mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-06-27 08:18:48 -04:00
dc20faa611
## Summary - Fix TypeScript view examples to use `ctx.sender` as a property, matching the server SDK `ViewCtx` API. - Update the architecture overview TypeScript view snippet to use `players.rowType` and `undefined` for optional view returns. - Clarify shared `ViewContext` prose so it does not imply every language uses a callable `ctx.sender()` API. - Improve docs agent-readiness metadata: - publish `/docs/robots.txt` with a docs sitemap directive and Content-Signal policy - add Markdown alternate links for the existing `/docs/llms.txt` and `/docs/llms-full.txt` outputs - generate `/.well-known/agent-skills`-style discovery metadata under `/docs/.well-known/agent-skills/` from the repo's existing `skills/` source files during docs builds ## Validation - `pnpm --dir docs build` - `pnpm --dir docs typecheck` - Verified the docs build emits `robots.txt` and `.well-known/agent-skills/index.json`. - Verified generated Agent Skills SHA-256 digests match the emitted `SKILL.md` artifacts. ## Notes The Cloudflare agent-readiness scan for `spacetimedb.com` still depends on the root/marketing host exposing root-level files such as `/robots.txt`, `/sitemap.xml`, and `/.well-known/agent-skills/index.json`. This PR makes the docs origin produce the corresponding docs-scoped artifacts at `/docs/...`; the root host can route or mirror these if we want the exact `spacetimedb.com` scan to pick them up. --------- Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com> Co-authored-by: rain <rain@rain.local> Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
22 lines
266 B
Plaintext
22 lines
266 B
Plaintext
# Dependencies
|
|
/node_modules
|
|
|
|
# Production
|
|
/build
|
|
|
|
# Generated files
|
|
.docusaurus
|
|
.cache-loader
|
|
static/.well-known/agent-skills/
|
|
|
|
# Misc
|
|
.DS_Store
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|