Repository navigation
Private NodeAgent acts in the shared room (public edits + public chat), subtly attributed - #4
Merged
Merged
Conversation
…ts + public chat), subtly attributed
Public lane reuses the entire runRoomAgent spine via a new asOwner arg: a public-scoped agent_priv actor (ownerId) edits the shared sheet through CAS/lock/proposal (per room auto-allow) and says to public chat — all attributed by ownerId. collab.ensurePersonalPublicSession upserts the member's public agent session. store.askPrivateAgent(goal,{publish}) + a 🔒/🌐 composer toggle pick the lane.
Subtle visual identity: personal agent wears the owner's color (Room agent stays orange), a quiet 'via {name}' chip on its public bubbles, and a small owner-colored provenance dot on cells it edited. No banners. docs/PRIVATE_AGENT_V2.md is the product spec.
Verified: extended 3-user eval green (personalPublic: acted-in-room-visible-to-all); prod smoke on noderoom.live — personal agent filled the Revenue variance cell AND posted a 'via Maya' public reply. typecheck app+convex clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
HomenShum
added a commit
that referenced
this pull request
Jun 28, 2026
…lies + memoized markdown Web-design audit batch 2 (chat surface, 5.5/10) - the brief's #1 anti-pattern. - Desktop: cap .r-chat / .r-agent-unified-stream .r-md at 68ch (line-height 1.6) so long replies read as a column, not full-panel sprawl (Perplexity/ChatGPT/Claude). - Mobile: agent replies render full-width (drop messenger bubble radius/border/bg); the gradient bubble stays only for the user's own messages. - Perf: memoize MarkdownBody parse ([text]) so the transcript doesn't re-parse every token. Verified live: .r-chat .r-md max-width 579px (=68ch), line-height 21.6px, no console errors. Typecheck clean, build OK. Deferred to the next chat pass: Stop/Regenerate during streaming (#4), jump-to-latest + inline citations (#15), code-fence buffering + copy button (#8 remainder). Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum
added a commit
that referenced
this pull request
Jun 28, 2026
… (audit #4) The last web-design P0. The send button never swapped to Stop and there was no re-run. - While a public agent run is in flight (longJobActive), the composer send slot becomes a Stop button wired to the existing cancelJob (same abort as the job chrome) - the ChatGPT/Claude pattern, no separate hunt for a cancel control. - After a run ends (longJobTerminal), a Regenerate chip re-runs the last @NodeAgent request. Typecheck/build clean; chat e2e 8/9 pass (the 1 fail is the pre-existing @nodeagent-chip :192, unrelated). Completes all 7 audit P0s. Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum
added a commit
that referenced
this pull request
Jun 28, 2026
feat(chat): Stop while generating + Regenerate (audit #4 - last P0)
HomenShum
added a commit
that referenced
this pull request
Jun 29, 2026
…d) + code-fence buffer & copy (#3/#4/#8) The fleet's Chat refactor dropped #3 (68ch reading column) and #4 (Stop/Regenerate); re-applied both onto the current composer (send swaps to Stop wired to cancelJob while longJobActive; Regenerate chip re-runs the last @NodeAgent request). #8: unterminated code fences mid-stream render as plain text (no longer eat the rest of the reply) + a hover Copy button on each code block. Typecheck/build clean. Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum
added a commit
that referenced
this pull request
Jun 29, 2026
#4 made the composer button conditional (longJobActive ? chat-stop : chat-send). Two send-path tests (specific-model routing, /free alias) rendered with baseStore() whose long job is queued (non-terminal), so the composer correctly showed Stop and chat-send was absent -> prod:gate npm test failed. Clear the long job in those two tests (the sibling empty-CTA test already does this) so they exercise the send path from a sendable state. 14/14 green. Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum
added a commit
that referenced
this pull request
Jun 29, 2026
test(chat): fix chat-send tests broken by #4 Send/Stop swap (unblocks prod:gate)
This branch was successfully 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.
Reimagines the private agent into a personal copilot that can act in the shared room — safely and subtly. Spec:
docs/PRIVATE_AGENT_V2.md.What's new
runRoomAgentspine via a newasOwnerarg): a public-scopedagent_privactor (carryingownerId) edits the shared sheet through the existing CAS / lock / proposal path (per room auto-allow) and posts to public chat — all attributed byownerId.collab.ensurePersonalPublicSessionupserts the member's public agent session.store.askPrivateAgent(goal, { publish })+ a 🔒 Private / 🌐 Room toggle on the private composer. Private = advise-only (v2.0); Room = act in the shared room.via {name}chip on its public bubbles, and a small owner-colored provenance dot on cells it edited. No banners.Verified
{ sameCellWinner, agent: visible-to-all-views, privateAgent: replied-privately, personalPublic: acted-in-room-visible-to-all }.via Mayapublic summary (chip + owner-tinted avatar render).convex dev --once+vercel --prod.🤖 Generated with Claude Code