@threadplane/langgraph 0.0.56 → 0.0.58
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
|
@@ -208,6 +208,26 @@ interface AgentOptions<T, _ResolvedBag extends BagTemplate> {
|
|
|
208
208
|
filterSubagentMessages?: boolean;
|
|
209
209
|
/** Tool names that indicate a subagent invocation. */
|
|
210
210
|
subagentToolNames?: string[];
|
|
211
|
+
/**
|
|
212
|
+
* A2UI client capabilities (catalog negotiation) to advertise to the graph.
|
|
213
|
+
* When set, every plain-object run payload carries them under the
|
|
214
|
+
* `a2ui_client_capabilities` state key — mirroring how `client_tools`
|
|
215
|
+
* rides the payload. Read server-side via threadplane-middleware's
|
|
216
|
+
* `a2ui_client_capabilities(state)`. Use `@threadplane/chat`'s
|
|
217
|
+
* `a2uiClientCapabilities()` for the renderer's standard value.
|
|
218
|
+
*/
|
|
219
|
+
a2uiClientCapabilities?: {
|
|
220
|
+
supportedCatalogIds: string[];
|
|
221
|
+
inlineCatalogs?: unknown[];
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* LangGraph node names whose `messages-tuple` LLM chunks should be projected
|
|
225
|
+
* into the main chat transcript. Omit to accept all top-level message chunks.
|
|
226
|
+
*
|
|
227
|
+
* Use this when a graph has side-effect LLM nodes, such as title generation,
|
|
228
|
+
* whose streamed model output should not render as assistant chat content.
|
|
229
|
+
*/
|
|
230
|
+
transcriptNodeNames?: string[];
|
|
211
231
|
}
|
|
212
232
|
/** Reference to a subagent's streaming state. */
|
|
213
233
|
interface SubagentStreamRef {
|
|
@@ -335,6 +355,11 @@ interface AgentConfig<T = Record<string, unknown>, _Bag extends BagTemplate = Ba
|
|
|
335
355
|
filterSubagentMessages?: boolean;
|
|
336
356
|
/** Tool names that indicate a subagent invocation. */
|
|
337
357
|
subagentToolNames?: string[];
|
|
358
|
+
/**
|
|
359
|
+
* LangGraph node names whose `messages-tuple` LLM chunks should be projected
|
|
360
|
+
* into the main chat transcript. Omit to accept all top-level message chunks.
|
|
361
|
+
*/
|
|
362
|
+
transcriptNodeNames?: string[];
|
|
338
363
|
}
|
|
339
364
|
/**
|
|
340
365
|
* Wire the LangGraph adapter into Angular's dependency injection.
|