Uh oh!
There was an error while loading. Please reload this page.
blog(agent-as-yjs-peer): "The Agent Is Just Another Peer" post + live demo - #6268
Conversation
…aborative doc as a Yjs peer
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Registers the post’s component loader in Blog rendering (all posts): fenced code blocks now use Reviewed by Cursor Bugbot for commit c50247f. Configure here. |
Greptile SummaryThe PR adds an engineering post about streaming an AI agent into a collaborative Yjs document, including an interactive two-peer animation. It also registers the post and updates shared MDX code rendering to use editor-aligned surfaces and tokens.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/content/blog/agent-as-yjs-peer/components/agent-peer-demo.tsx | Adds the scroll-triggered two-peer editing demonstration; the previously reported missing-IntersectionObserver fallback is now guarded before animation state is cleared. |
| apps/sim/content/blog/agent-as-yjs-peer/index.mdx | Adds the new featured engineering article and embeds the interactive demonstration. |
| apps/sim/lib/content/code.tsx | Moves blog code blocks onto the shared editor-style surface and token set. |
| apps/sim/lib/content/mdx.tsx | Centralizes language mapping, adopts the shared class-name helper, and aligns inline-code styling with the editor. |
| apps/sim/lib/blog/registry.ts | Registers the new post’s custom component loader. |
Reviews (5): Last reviewed commit: "fix(blog): guard agent demo rAF loop aga..." | Re-trigger Greptile
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Aug 4, 2026
waleedlatif1
commented
Aug 4, 2026
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit df54aa1. Configure here.
waleedlatif1
commented
Aug 4, 2026
waleedlatif1
commented
Aug 4, 2026
@cursor review |
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Aug 4, 2026
waleedlatif1
commented
Aug 4, 2026
@cursor review |
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Aug 4, 2026
waleedlatif1
commented
Aug 4, 2026
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit c51ece5. Configure here.
Summary
AgentPeerDemo): two peers editing one file at once, streamed once on scroll-in, styled entirely from the real editor's design tokens (collaboration caret, code chip, resource chrome). No shadows, no bespoke motion.Code.Viewer+chipFieldSurfaceClass) instead of a force-dark wrapper — affects all posts.featured: true, which bumps Sim v0.5 out of the 3-card featured row by date.Type of Change
Testing
Tested manually: renders locally (post + index 200), typecheck + biome clean, and every technical claim in the post was verified against the actual implementation (
apply-streamed-markdown.ts,converter.ts,markdown-parse.ts, and the collab tests).Checklist