@arcgis/ai-agents 5.1.0-next.72 → 5.1.0-next.74

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.
@@ -1,8 +1,10 @@
1
1
  import { AgentExecutionContext, AgentStatus } from '@arcgis/ai-orchestrator';
2
+ import { HelpInternalState } from '../types/types';
2
3
  export declare const HelpState: import('@langchain/langgraph/web').AnnotationRoot<{
3
4
  agentExecutionContext: import('@langchain/langgraph/web').BaseChannel<AgentExecutionContext, AgentExecutionContext | import('@langchain/langgraph/web').OverwriteValue<AgentExecutionContext>, unknown>;
4
5
  outputMessage: import('@langchain/langgraph/web').BaseChannel<string, string | import('@langchain/langgraph/web').OverwriteValue<string>, unknown>;
5
6
  summary: import('@langchain/langgraph/web').BaseChannel<string, string | import('@langchain/langgraph/web').OverwriteValue<string>, unknown>;
6
7
  status: import('@langchain/langgraph/web').BaseChannel<AgentStatus, AgentStatus | import('@langchain/langgraph/web').OverwriteValue<AgentStatus>, unknown>;
8
+ helpInternalState: import('@langchain/langgraph/web').BaseChannel<HelpInternalState, HelpInternalState | import('@langchain/langgraph/web').OverwriteValue<HelpInternalState>, unknown>;
7
9
  }>;
8
10
  export type HelpGraphStateType = typeof HelpState.State;
@@ -0,0 +1,4 @@
1
+ import { AIMessage } from '@langchain/core/messages';
2
+ export type HelpInternalState = {
3
+ toolCallMessage?: AIMessage;
4
+ };
@@ -1,4 +1,5 @@
1
1
  import { VectorSearchFieldResults, AgentExecutionContext, AgentStatus } from '@arcgis/ai-orchestrator';
2
+ import { NavigationInternalState } from '../types/types';
2
3
  export declare const NavigationState: import('@langchain/langgraph/web').AnnotationRoot<{
3
4
  agentExecutionContext: import('@langchain/langgraph/web').BaseChannel<AgentExecutionContext, AgentExecutionContext | import('@langchain/langgraph/web').OverwriteValue<AgentExecutionContext>, unknown>;
4
5
  outputMessage: import('@langchain/langgraph/web').BaseChannel<string, string | import('@langchain/langgraph/web').OverwriteValue<string>, unknown>;
@@ -22,5 +23,6 @@ export declare const NavigationState: import('@langchain/langgraph/web').Annotat
22
23
  score: number;
23
24
  }[]>, unknown>;
24
25
  vectorSearchFieldResults: import('@langchain/langgraph/web').BaseChannel<VectorSearchFieldResults, VectorSearchFieldResults | import('@langchain/langgraph/web').OverwriteValue<VectorSearchFieldResults>, unknown>;
26
+ navigationInternalState: import('@langchain/langgraph/web').BaseChannel<NavigationInternalState, NavigationInternalState | import('@langchain/langgraph/web').OverwriteValue<NavigationInternalState>, unknown>;
25
27
  }>;
26
28
  export type NavigationGraphStateType = typeof NavigationState.State;
@@ -1,4 +1,5 @@
1
1
  import { default as SpatialReference } from '@arcgis/core/geometry/SpatialReference.js';
2
+ import { AIMessage } from '@langchain/core/messages';
2
3
  export interface GeocodeResponse {
3
4
  candidates?: {
4
5
  address: string;
@@ -11,3 +12,6 @@ export interface GeocodeResponse {
11
12
  };
12
13
  }[];
13
14
  }
15
+ export type NavigationInternalState = {
16
+ toolCallMessage?: AIMessage;
17
+ };