Repository navigation
refactor: move MaybeUndefined to the model package and runtime internals to internal packages - #179
Merged
Conversation
This was referenced Dec 2, 2026
EugeneTheDev
force-pushed
the
eugenethedev/subagents-stack/04-moves
branch
from
December 3, 2026 15:36
4d73825 to
6c41852
Compare
slapoguzov
approved these changes
Dec 4, 2026
EugeneTheDev
force-pushed
the
eugenethedev/subagents-stack/04-moves
branch
from
December 4, 2026 11:29
6c41852 to
5289587
Compare
Base automatically changed from
eugenethedev/subagents-stack/03-samples
to
master
December 4, 2026 11:30
…als to internal packages - Move `MaybeUndefined` and its serialization helpers from `model.v2` to `model`, unchanged, and update its importers and the `acp-model` API dump. - Move `ClientNesSessionImpl` and `ElicitationSessionStore` (with its test) to `client.internal`, and `RemoteClientSessionOperations` to `agent.internal`. - AGENTS.md: add the "File layout" and "Public versus internal documentation" sections.
EugeneTheDev
force-pushed
the
eugenethedev/subagents-stack/04-moves
branch
from
December 4, 2026 11:30
5289587 to
26c9438
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.
Part 4 of 11 of the stacked split of #158 (v1 subagents).
Contents
MaybeUndefinedand its serialization helpers move frommodel.v2tomodelunchanged, and stay@UnstableApi. The importers are updated.acp-model.api: the class blocks move, and every v2 signature that takesMaybeUndefinedchanges its package.ClientNesSessionImplandElicitationSessionStore(with its test) move toclient.internal.RemoteClientSessionOperationsmoves toagent.internal. All three areinternaland unchanged apart from thepackage line.
Caveats
acp-modelfor v2 users only:MaybeUndefinedchanges package. It is@UnstableApi.Stack
chore: add the multi-agent orchestration toolingbuild: move buildSrc to build-logic and check that internal packages hold no public APIdocs(samples): give each sample its own package, run task and READMErefactor: move MaybeUndefined to the model package and runtime internals to internal packages← this PRfeat(protocol)!: order handler starts by arrival and add response hooksfeat(model): add the v1 subagent models and promote session/close to stablefix(client): make v2 close and delete idempotent and add PendingPermissionsfeat!: add v1 subagents to the agent runtime and deliver session events through ClientSessionOperations.notifyfeat(client)!: add v1 subagent sessions and the Opened marker to the client runtimetest(client): cover v1 client openings and subagents over the wire and across transportsdocs(samples): add a subagents sampleNext steps
master.master(git rebase --onto master <merged> <next>) and force-push it.