finish docs and update readme for full release#11
Merged
Conversation
- Update README to remove construction banner, fix package names, add React section - Rewrite all 6 handbook pages (overview, quickstart, procedures, channels, react, sidekick) - Add 3 recipe pages (drizzle, covenant-types, auth) - Delete todo.md placeholder - Fix "Recpies" typo in astro config - Update docs landing page https://claude.ai/code/session_01L1FGpgqKdWgJmPsYiMAeFR
Replaces the static Tabs code block with a self-contained Astro component that shows the three-file pattern (covenant/server/client) in tabbed code blocks and a live todo app below it. The demo simulates Covenant's resource invalidation loop — mutations update a server log panel showing which resources were touched, then the listener refetches and re-renders the list. No extra dependencies; uses Astro's built-in Code component for syntax-highlighted tabs and vanilla JS for the interactive logic. https://claude.ai/code/session_01L1FGpgqKdWgJmPsYiMAeFR
- Add @astrojs/node adapter to docs for SSR support - Add @covenant-rpc/core and @covenant-rpc/server as workspace deps in docs - Create docs/src/lib/covenant.ts and server.ts — real CovenantServer with an in-memory todo store, same code shown in the code tabs - Create docs/src/pages/api/covenant.ts — two-line Astro route handler using vanillaAdapter pattern (server.handle = APIRoute) - Rewrite TodoDemo.astro to fetch() the real /api/covenant endpoint instead of simulating server behavior in-browser; server log panel shows actual resources returned by each procedure call - Fix zod version conflict: pin docs to ^3.0.0 to match root workspace zod v3 and avoid Zod v4 JIT compilation errors during Astro static prerendering https://claude.ai/code/session_01L1FGpgqKdWgJmPsYiMAeFR
Adds two new handbook pages covering: - adapters: how to mount CovenantServer on Bun, Next.js, Elysia, Hono, and Express - connections: all four connection interfaces with production and testing implementations https://claude.ai/code/session_01L1FGpgqKdWgJmPsYiMAeFR
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.
https://claude.ai/code/session_01L1FGpgqKdWgJmPsYiMAeFR