Skip to content

agentHost: add side chats#334

Merged
connor4312 merged 9 commits into
mainfrom
conno/side-chats
Jul 24, 2026
Merged

agentHost: add side chats#334
connor4312 merged 9 commits into
mainfrom
conno/side-chats

Conversation

@connor4312

Copy link
Copy Markdown
Member

Summary

  • add capability-gated side chats sourced from completed chat turns
  • replace ChatForkSource with the required discriminated ChatSource
  • preserve side-chat origin and attach bounded chat transcripts using endTurn
  • regenerate schemas and all language clients with cross-language round-trip coverage
  • constrain inline ChatOrigin schema branches with literal discriminators

Testing

  • npm test
  • TypeScript client: 63 tests passed
  • Rust workspace: 72 tests passed; focused round-trip corpus passed after the endTurn rename
  • Kotlin client: full suite passed; 33 round-trip corpus tests passed after the rename
  • Go client: full suite passed; focused round-trip corpus passed after the rename

Notes

  • swift test remains blocked on Windows by pre-existing missing CoreFoundation symbols in AnyCodable.swift.

@connor4312 connor4312 changed the title chat: add side chats agentHost: initial implementation of /btw Jul 14, 2026
connor4312 and others added 4 commits July 22, 2026 13:56
Add capability-gated side chats sourced from completed turns, preserve their origin, and allow bounded chat transcripts to be attached back into another chat. Regenerate schemas and clients and add cross-language round-trip coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
connor4312 and others added 4 commits July 23, 2026 08:32
Drop the nested active/completed source-turn union for side-chat sources and origins so references remain stable as turns move from active to history.

Update the docs, fixtures, schemas, and generated clients to resolve side-chat turnIds against the current active turn or retained history as needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Require fork chat sources to carry the same stable kind/turnId
shape as side chats across source types, schema, docs, and generated clients.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Force generated ChatSource branches to serialize their exact discriminants in Go, Kotlin, and Swift, and cover the public APIs with exact-kind tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@connor4312 connor4312 changed the title agentHost: initial implementation of /btw agentHost: add side chats Jul 23, 2026
Persist an immutable selected-text snapshot, with optional response-part provenance, on side-chat sources and origins.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@connor4312
connor4312 marked this pull request as ready for review July 24, 2026 00:34
@connor4312
connor4312 merged commit 6db103c into main Jul 24, 2026
9 checks passed
@connor4312
connor4312 deleted the conno/side-chats branch July 24, 2026 00:52
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