@threadplane/langgraph 0.0.57 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -204,13 +204,25 @@ interface AgentOptions<T, _ResolvedBag extends BagTemplate> {
|
|
|
204
204
|
clientOptions?: LangGraphClientOptions;
|
|
205
205
|
/** Optional app-owned telemetry sink. No telemetry is emitted unless this is provided. */
|
|
206
206
|
telemetry?: AgentRuntimeTelemetrySink | false;
|
|
207
|
-
/** When true, subagent messages are filtered from the main messages signal. */
|
|
208
|
-
filterSubagentMessages?: boolean;
|
|
209
207
|
/** Tool names that indicate a subagent invocation. */
|
|
210
208
|
subagentToolNames?: string[];
|
|
209
|
+
/**
|
|
210
|
+
* A2UI client capabilities (catalog negotiation) to advertise to the graph.
|
|
211
|
+
* When set, every plain-object run payload carries them under the
|
|
212
|
+
* `a2ui_client_capabilities` state key — mirroring how `client_tools`
|
|
213
|
+
* rides the payload. Read server-side via threadplane-middleware's
|
|
214
|
+
* `a2ui_client_capabilities(state)`. Use `@threadplane/chat`'s
|
|
215
|
+
* `a2uiClientCapabilities()` for the renderer's standard value.
|
|
216
|
+
*/
|
|
217
|
+
a2uiClientCapabilities?: {
|
|
218
|
+
supportedCatalogIds: string[];
|
|
219
|
+
inlineCatalogs?: unknown[];
|
|
220
|
+
};
|
|
211
221
|
/**
|
|
212
222
|
* LangGraph node names whose `messages-tuple` LLM chunks should be projected
|
|
213
223
|
* into the main chat transcript. Omit to accept all top-level message chunks.
|
|
224
|
+
* Child-graph (namespaced) chunks never reach the transcript regardless of
|
|
225
|
+
* this option — they belong to their child stream in `subagents()`.
|
|
214
226
|
*
|
|
215
227
|
* Use this when a graph has side-effect LLM nodes, such as title generation,
|
|
216
228
|
* whose streamed model output should not render as assistant chat content.
|
|
@@ -339,13 +351,13 @@ interface AgentConfig<T = Record<string, unknown>, _Bag extends BagTemplate = Ba
|
|
|
339
351
|
clientOptions?: LangGraphClientOptions;
|
|
340
352
|
/** Optional app-owned telemetry sink. No telemetry is emitted unless this is provided. */
|
|
341
353
|
telemetry?: AgentRuntimeTelemetrySink | false;
|
|
342
|
-
/** When true, subagent messages are filtered from the main messages signal. */
|
|
343
|
-
filterSubagentMessages?: boolean;
|
|
344
354
|
/** Tool names that indicate a subagent invocation. */
|
|
345
355
|
subagentToolNames?: string[];
|
|
346
356
|
/**
|
|
347
357
|
* LangGraph node names whose `messages-tuple` LLM chunks should be projected
|
|
348
358
|
* into the main chat transcript. Omit to accept all top-level message chunks.
|
|
359
|
+
* Child-graph (namespaced) chunks never reach the transcript regardless of
|
|
360
|
+
* this option — they belong to their child stream in `subagents()`.
|
|
349
361
|
*/
|
|
350
362
|
transcriptNodeNames?: string[];
|
|
351
363
|
}
|