@threadplane/langgraph 0.0.52 → 0.0.54

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadplane/langgraph",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "description": "LangGraph adapter for @threadplane/chat — Angular bindings for LangGraph Platform.",
5
5
  "keywords": [
6
6
  "angular",
@@ -557,6 +557,12 @@ interface MockLangGraphAgent extends LangGraphAgent<any, any> {
557
557
  *
558
558
  * Neutral `Agent`-contract signals come from {@link mockAgent}; LangGraph-specific
559
559
  * signals are declared here and layered on top.
560
+ *
561
+ * @example
562
+ * ```ts
563
+ * const agent = mockLangGraphAgent({ isThreadLoading: true });
564
+ * agent.messages.set([{ id: '1', role: 'assistant', content: 'Hi' }]);
565
+ * ```
560
566
  */
561
567
  declare function mockLangGraphAgent(initial?: MockAgentOptions & {
562
568
  langGraphMessages?: BaseMessage[];
@@ -572,6 +578,13 @@ declare function mockLangGraphAgent(initial?: MockAgentOptions & {
572
578
  * advanced manual scripting (tool calls, interrupts, multi-batch), provide
573
579
  * the agent yourself with
574
580
  * `provideAgent({ assistantId, transport: new MockAgentTransport(...) })`.
581
+ *
582
+ * @example
583
+ * ```ts
584
+ * TestBed.configureTestingModule({
585
+ * providers: [provideFakeAgent({ responses: ['Hi from the fake LangGraph agent'] })],
586
+ * });
587
+ * ```
575
588
  */
576
589
  declare function provideFakeAgent(config?: FakeAgentConfig): Provider[];
577
590