From 732fc1908ba1d55c8c9cc5a6533899b0d3d93088 Mon Sep 17 00:00:00 2001 From: Brian Love Date: Sat, 16 May 2026 20:42:41 -0700 Subject: [PATCH] docs(chat): refresh generated API docs --- apps/website/content/docs/chat/api/api-docs.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/website/content/docs/chat/api/api-docs.json b/apps/website/content/docs/chat/api/api-docs.json index 691f6fa31..0d615d726 100644 --- a/apps/website/content/docs/chat/api/api-docs.json +++ b/apps/website/content/docs/chat/api/api-docs.json @@ -6184,6 +6184,12 @@ "kind": "interface", "description": "Runtime-neutral contract chat primitives consume.\n\nImplementations are produced by runtime adapters (e.g. a LangGraph or\nAG-UI adapter) or by user code for custom backends.\n\n`interrupt` and `subagents` are optional: runtimes that do not support these\nconcepts should leave them undefined, and primitives that need them check\npresence and render a neutral fallback when absent.\n\nInvariant: state lives on signals; `events$` carries only things that are\nnot derivable from signals.", "properties": [ + { + "name": "_internal", + "type": "object", + "description": "Test-only escape hatch for driving lifecycle signals from a spec. Mirrors\nthe `_internal` pattern used by CHAT_LIFECYCLE so tests can flip the\nunderlying writable without going through a full submit/stream cycle.", + "optional": false + }, { "name": "error", "type": "WritableSignal", @@ -6214,6 +6220,12 @@ "description": "", "optional": false }, + { + "name": "lifecycle", + "type": "object", + "description": "Minimal lifecycle stub the chat lib's effects subscribe to. We only\nmodel the signals the chat composition currently reads; richer adapter\nlifecycles (langgraph, ag-ui) extend this contract on their own mocks.\nThe public `lifecycle` view is a readonly signal; tests drive the\nvalue via `_internal.streamStartedAt.set(...)` below.", + "optional": false + }, { "name": "messages", "type": "WritableSignal",