Skip to content

refactor: move MaybeUndefined to the model package and runtime internals to internal packages - #179

Merged
EugeneTheDev merged 1 commit into
masterfrom
eugenethedev/subagents-stack/04-moves
Dec 4, 2026
Merged

EugeneTheDev merged 1 commit into
masterfrom
eugenethedev/subagents-stack/04-moves

Conversation

@EugeneTheDev

@EugeneTheDev EugeneTheDev commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Part 4 of 11 of the stacked split of #158 (v1 subagents).

Contents

  • MaybeUndefined and its serialization helpers move from model.v2 to model unchanged, and stay
    @UnstableApi. The importers are updated.
  • acp-model.api: the class blocks move, and every v2 signature that takes MaybeUndefined changes its package.
  • ClientNesSessionImpl and ElicitationSessionStore (with its test) move to client.internal.
    RemoteClientSessionOperations moves to agent.internal. All three are internal and unchanged apart from the
    package line.
  • AGENTS.md: new "File layout" and "Public versus internal documentation" sections.

Caveats

  • This is a binary change to acp-model for v2 users only: MaybeUndefined changes package. It is
    @UnstableApi.

Stack

  1. chore: add the multi-agent orchestration tooling #176 — chore: add the multi-agent orchestration tooling
  2. build: move buildSrc to build-logic and check that internal packages hold no public API #177 — build: move buildSrc to build-logic and check that internal packages hold no public API
  3. docs(samples): give each sample its own package, run task and README #178 — docs(samples): give each sample its own package, run task and README
  4. refactor: move MaybeUndefined to the model package and runtime internals to internal packages #179 — refactor: move MaybeUndefined to the model package and runtime internals to internal packages ← this PR
  5. feat(protocol)!: order handler starts by arrival and add response hooks #180 — feat(protocol)!: order handler starts by arrival and add response hooks
  6. feat(model): add the v1 subagent models and promote session/close to stable #181 — feat(model): add the v1 subagent models and promote session/close to stable
  7. fix(client): make v2 close and delete idempotent and add PendingPermissions #182 — fix(client): make v2 close and delete idempotent and add PendingPermissions
  8. feat!: add v1 subagents to the agent runtime and deliver session events through ClientSessionOperations.notify #183 — feat!: add v1 subagents to the agent runtime and deliver session events through ClientSessionOperations.notify
  9. feat(client)!: add v1 subagent sessions and the Opened marker to the client runtime #184 — feat(client)!: add v1 subagent sessions and the Opened marker to the client runtime
  10. test(client): cover v1 client openings and subagents over the wire and across transports #185 — test(client): cover v1 client openings and subagents over the wire and across transports
  11. docs(samples): add a subagents sample #186 — docs(samples): add a subagents sample

Next steps

@EugeneTheDev
EugeneTheDev force-pushed the eugenethedev/subagents-stack/04-moves branch from 6c41852 to 5289587 Compare December 4, 2026 11:29
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
EugeneTheDev force-pushed the eugenethedev/subagents-stack/04-moves branch from 5289587 to 26c9438 Compare December 4, 2026 11:30
@EugeneTheDev
EugeneTheDev merged commit 7ff355a into master Dec 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants