Repository navigation
nebo.chat: the page's own conversation with its employee, and a chat drawn in the page - #12
Merged
Merged
Conversation
… pass, and a chat drawn in the page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015dw5RFwzdZPHuB2VsN3Mcx
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015dw5RFwzdZPHuB2VsN3Mcx
…read after a reconnect, the socket from first use to unmount Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015dw5RFwzdZPHuB2VsN3Mcx
localrivet
force-pushed
the
app-chat-channel
branch
from
October 23, 2026 15:11
851173b to
d01c221
Compare
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.
SDK half of the app-scoped chat channel (nebo PR on the confinement stack). Stacked on #11 (
app-files-read).nebo.chatno longer frames Nebo's console (/chat-embed/<id>, the owner's APIs and socket). It is the page's own conversation with its app's employee, through the page's pass:history({thread?, before?, limit?})→{messages, running, hasMore}(GET /api/v1/apps/<id>/chat)send(message, {thread?, scope?})(POST …/chat, with thesetContextcontext)stop({thread?}),newThread({thread?})(…/chat/stop,…/chat/new)onMessage(handler):message,stream,complete(notice?),error,stopped, from the app's socket, for the app's own conversations only. A send queued into a running turn (stop_reason: queued_into_running_turn) is not a turn end.mount(el, options): a chat drawn in the page itself (zero-dep; one injected stylesheet under.nebo-chat; light/dark/auto; history, streaming reply, Enter to send, Stop; words rendered as text with code, bold and links, never HTML). Options kept:placeholder,theme,height,borderless,contextId(the thread),scope; newname.README's
nebo.chatsection rewritten;dist/rebuilt;test/chat.test.mjs(URLs with the pass, thread, context; the socket filter).To ship to apps built with npm (Neighbor Mail, Deal Tracker): publish a new version after merge (tag
v0.2.0; release.yml takes the version from the tag). Apps built in Nebo load Nebo's served/sdk/nebo.global.js, rebuilt in the nebo PR.🤖 Generated with Claude Code
https://claude.ai/code/session_015dw5RFwzdZPHuB2VsN3Mcx