Skip to content

Ai transport features#443

Draft
mschristensen wants to merge 9 commits intomainfrom
ai-transport-features
Draft

Ai transport features#443
mschristensen wants to merge 9 commits intomainfrom
ai-transport-features

Conversation

@mschristensen
Copy link
Contributor

No description provided.

mschristensen and others added 6 commits March 21, 2026 17:50
Add a /commit skill that generates commit messages following the
repository's conventions, presents them for approval, and commits.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Define the version, general principles, and architectural constraints
for the Ably AI Transport SDK. Covers the two-layer architecture,
codec parameterization, header discipline, channel model, dependency
injection, and error handling conventions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add encoder core (AIT-CD1 through AIT-CD6) and decoder core (AIT-CD7
through AIT-CD10) spec points covering the contract between domain event
streams and Ably message primitives.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Define the server transport layer covering factory construction,
turn lifecycle (start, addMessages, streamResponse, end), cancel
routing with filter headers, and transport close semantics.

Spec points AIT-ST1 through AIT-ST11.
Add AIT-CT1 through AIT-CT18 covering the client transport layer:
factory construction, send/regenerate/edit operations, cancel
propagation, event subscriptions, message access, history with
pagination, close lifecycle, conversation tree with branching and
fork semantics, stream routing, echo detection, multi-client sync,
active turn tracking, and waitForTurn.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add common and AI Transport-specific error code sections to the
specification. Common codes (BadRequest 40000, InvalidArgument 40003)
are listed for completeness. Custom codes in the 104xxx range cover
encoder recovery, transport subscription errors, cancel listener
errors, turn lifecycle errors, closed transport operations, and
transport send failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot temporarily deployed to staging/pull/443 March 24, 2026 20:34 Inactive
When multiple messages are sent in a single send() call, each
subsequent message must parent off the previous message in the batch
rather than the original auto-computed parent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot temporarily deployed to staging/pull/443 March 24, 2026 23:12 Inactive
Return msg-ids from addMessages() instead of tracking them internally,
and simplify streamResponse() parent resolution to per-operation override
then turn-level parent. This makes parent linking explicit rather than
relying on implicit internal state.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot temporarily deployed to staging/pull/443 March 24, 2026 23:27 Inactive
Replace "echo" terminology with "relay" and "optimistic reconciliation"
in AIT-CT13d and AIT-CT15 to better describe the mechanism by which
own messages are matched and merged with their optimistic entries.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant