@threadplane/langgraph 0.0.52 → 0.0.53

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.
@@ -2894,6 +2894,12 @@ class MockAgentTransport {
2894
2894
  *
2895
2895
  * Neutral `Agent`-contract signals come from {@link mockAgent}; LangGraph-specific
2896
2896
  * signals are declared here and layered on top.
2897
+ *
2898
+ * @example
2899
+ * ```ts
2900
+ * const agent = mockLangGraphAgent({ isThreadLoading: true });
2901
+ * agent.messages.set([{ id: '1', role: 'assistant', content: 'Hi' }]);
2902
+ * ```
2897
2903
  */
2898
2904
  function mockLangGraphAgent(initial = {}) {
2899
2905
  const base = mockAgent({
@@ -3067,6 +3073,13 @@ function delay(ms) {
3067
3073
  * advanced manual scripting (tool calls, interrupts, multi-batch), provide
3068
3074
  * the agent yourself with
3069
3075
  * `provideAgent({ assistantId, transport: new MockAgentTransport(...) })`.
3076
+ *
3077
+ * @example
3078
+ * ```ts
3079
+ * TestBed.configureTestingModule({
3080
+ * providers: [provideFakeAgent({ responses: ['Hi from the fake LangGraph agent'] })],
3081
+ * });
3082
+ * ```
3070
3083
  */
3071
3084
  function provideFakeAgent(config = {}) {
3072
3085
  return provideAgent({