Daily Edition Sources +3

API Discovery: Let an ACP Session Reply Before You Light Up the Client

The Agent Client Protocol’s public TypeScript SDK gives a client a newSession() promise; a fresh Goose change shows why that reply is a useful readiness boundary.

A session request waits for a confirmed new-session response before an available-commands notification reaches a usable command palette; an early notification is crossed out.
Diagram Punksession first, UI second.
repo aaif-goose/goose evidence
3 source signals 1 repo commit 4ae4017
Evidence: commit 4ae4017 / August 10, 2026 / Daily Edition
Open Edition Evidence below

API discovery: the Agent Client Protocol TypeScript SDK exposes ClientSideConnection.newSession() for opening a conversation with an agent. In a fresh Goose ACP commit, session-setup notifications move out of the session/new and session/fork response path; the tests assert that the response arrives before available-command updates.

Try it

Build a small “review this branch” ACP client with a command palette. Open the session, await the returned session ID and capabilities, then render commands or mode selectors from later updates. The useful design is not a spinner for its own sake: it prevents a UI from acting on setup state before it knows which session owns that state.

Copy-paste agent instruction

Build a small Agent Client Protocol client around ClientSideConnection. Await newSession() (and forkSession() when applicable) before enabling command, mode, or permission UI. Treat later session setup notifications as updates for the returned session ID; buffer or ignore updates that cannot yet be associated with that session. Add a deterministic test that proves the session response is observed before available-command state is rendered. Do not invent protocol fields—use the installed ACP SDK types and the target agent’s documented capabilities.

Test caveat

This is a client-initialization pattern, not a claim that the ACP specification mandates Goose’s exact notification order. The public SDK documents the connection and newSession() API; Goose supplies one current implementation receipt and focused tests. No live ACP provider was run for this brief, so test capability negotiation, transport behavior, and event ordering against the specific agent you intend to host.

Evidence Trail

Receipts below the story

The article above is the public narrative. This section keeps the source trail and limits on the same page.

Edition
DateAugust 10, 2026
LaneDaily Edition
Confidence78%
Sources3
Reposaaif-goose/goose

Primary Evidence

Evidence Limits

  • The public ACP SDK exposes a session API; it does not by itself make Goose’s particular notification ordering a universal ACP requirement.
  • The Goose receipt and its focused tests do not establish behavior across every ACP agent, SDK version, transport, authentication setup, or client UI.
  • No live ACP provider was exercised for this brief. Treat the copyable instruction as a test plan for a disposable integration, not as a production certification.
Letters & Corrections

Send a note to the desk

Corrections, missing context, or a follow-up lead.