Repository navigation
Add the ai-chat-acp core subtype (inert core side) - #4300
Merged
Merged
Conversation
Contributor
Author
|
Merge queue: #4300 was taken out of the queue — the merge gate failed on it, on top of main. Reproduce by merging or rebasing |
…ssage parent rule)
A third chat subtype beside ai-chat-native and ai-chat-pty, per the accepted
decision that native ACP chats are a core subtype. Kind core_subtype, category
flat, wire Typed { update: false }, parent ai-chat.
- registry entry, ALL, and the message parent rule now must_have_parent_of
[ai-chat-acp, ai-chat-native]
- seeded schema: session_status (closed enum active/ended, default active) and
session_id (text, local_only)
- AiChatAcpNode wire struct, convert arms and promoted fields, generated
TypeScript, behavior, frontend converter/guard and display entries
- shape record regenerated with change-log entries
- tests for the registry, schema, wire, behavior, retype rebucketing, closed
schema, message parent and the frontend converter
Nothing launches or drives a session; that side is not part of this change.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…gn-off needed) Adding CoreNodeType::AiChatAcp breaks the exhaustive match in the type-to-skill mapping. One `=> None` arm, nothing else under packages/agent. Separable: drop this commit if the agent owner prefers to make the edit. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-4292-ai-chat-acp-core
branch
from
November 18, 2026 10:47
641a0d3 to
b777f3f
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.
DO NOT MERGE until the agent owner agrees
The last commit (
agent_loop: handle ai-chat-acp in the chat-kind match (agent-owner sign-off needed)) is the ONE=> Nonearm inpackages/agent/src/local_agent/agent_loop.rs, forced by the new enum variant (exhaustive match). It is the only change underpackages/agent, in its own commit so it can be dropped if the owner prefers to make the edit. Also hold until the paired docs PR (nodespace-docs #162) is ready to publish (see Sequencing).What
Inert core side of the accepted decision "Native ACP chats are a core subtype". Nothing launches or drives a session.
core_subtype(parentai-chat); category:flat; wire:Typed { update: false }; not embedded, inherits every chat rule.session_status(closed enumactive/ended, defaultactive, required),session_id(text,local_only, system protection).ai-chat-messagemust have a parent ofai-chat-acporai-chat-native.AiChatAcpNode, convert arms, promoted fields, behavior, generated TypeScript, frontend converter/guard, icon and label entries;ai-chat-acplisted inCORE_TYPES_WITHOUT_PLUGINwith a reason (no viewer or plugin until the session side lands).additive, message structure rule rowsrebuild, stored message schema parent declarationadditive.ai-chat, no inbound references, embedding exclusion, frontend converter and normalize.Not done here: message part fields, viewer, retype entry point in the native viewer, session behaviour.
Sequencing
Docs sheet: nodespace-docs #162. The merge gate reads docs main resolved when it starts, so merge #162 just before
bun run mergeof this PR, and revert it if this PR is ejected.Refs #4292
🤖 Generated with Claude Code