Repository navigation
hub: cut chat, commands, and agent-runtime out of the composition root (CL-8175) - #802
Merged
Merged
Conversation
… out of the composition root (CL-8175)
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.
Chat is mail. The hub no longer constructs or mounts anything from
@corbits/chat,@corbits/commands,@corbits/agent-runtime, or@corbits/turn-artifacts.Deleted from
apps/hub/src/index.ts(1759 → ~1200 lines): chat routes and command routes mounts, chat store / room messages / thread / reaction / pin / block-response stores, the chat platform and orchestrator, turn queue and cancellation, write claims and turn-mail correlation, the relaunch sweep, the run-trigger client and its internal-token session branch, artifact delivery wiring on finalized turns, the connection-settle hook (onConnecteddropped from every connections/MCP mount), the workflow-participant routes, the pinned-tool-grants stub, and the cipher tag.Moved to their real owners:
display-nameandid-leak-guardinto@corbits/agent-directory; the crypto provider cache into@corbits/webhook-triggers.@corbits/agent-directoryno longer filters on workbench-host definition names (there are none after the cutover).Tests deleted: chat mount, relaunch sweep close, crypto-cache wiring, the cipher-tag cases. Next slice deletes
packages/chat/commands/agent-runtime/turn-artifactsand their web/chat-ui consumers.