Skip to content

refactor(agency-swarm): isolate run transport payload#271

Open
nicko-ai wants to merge 1 commit into
devfrom
codex/agency-transport-containment
Open

refactor(agency-swarm): isolate run transport payload#271
nicko-ai wants to merge 1 commit into
devfrom
codex/agency-transport-containment

Conversation

@nicko-ai

@nicko-ai nicko-ai commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Issue for this PR

Not required for refactor PRs.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Moves Agent Swarm run history selection and attachment transport payload shaping into the existing Agency Swarm history transport module. The session stream path keeps the same behavior while the fork-specific transport logic is more contained.

How did you verify your code works?

  • npx --yes bun@1.3.13 test --timeout 30000 test/session/agency-swarm.test.ts from packages/opencode
  • npx --yes bun@1.3.13 run typecheck from packages/opencode
  • pre-push hook ran bun turbo typecheck

Screenshots / recordings

Not applicable.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

- move run history selection and attachment transport shaping into agency-swarm-history-transport

- keep session stream behavior unchanged while shrinking agency-swarm.ts
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

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.

1 participant