@arcgis/ai-agents 5.1.0-next.90 → 5.1.0-next.91
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/dist/agents/arcgisKnowledge/tools/queryGraphData/adapter.d.ts +0 -4
- package/dist/agents/dataExploration/types/types.d.ts +2 -1
- package/dist/agents/layerStyling/types/types.d.ts +2 -1
- package/dist/agents/navigation/state/navigationState.d.ts +2 -1
- package/dist/agents/navigation/tools/goToAddress/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToAddress/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToBookmark/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToBookmark/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToFeatures/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToFeatures/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToFullExtent/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToFullExtent/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToHomeExtent/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToHomeExtent/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToLayer/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToLayer/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToScale/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToScale/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToViewpoint/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToViewpoint/core.d.ts +2 -1
- package/dist/agents/navigation/tools/goToZoom/adapter.d.ts +2 -1
- package/dist/agents/navigation/tools/goToZoom/core.d.ts +2 -1
- package/dist/agents/navigation/tools/index.d.ts +7 -7
- package/dist/index.js +600 -577
- package/dist/types/types.d.ts +5 -1
- package/dist/utils/dateTimeUtils.d.ts +0 -9
- package/dist/utils/fieldStatistics.d.ts +2 -1
- package/dist/utils/toolResponse.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { RunnableConfig } from '@langchain/core/runnables';
|
|
2
1
|
import { default as z } from 'zod';
|
|
3
|
-
export declare function queryGraphDataWrapper({ prompt }: {
|
|
4
|
-
prompt: string;
|
|
5
|
-
}, config?: RunnableConfig): Promise<string>;
|
|
6
2
|
export declare const queryGraphData: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
7
3
|
prompt: z.ZodString;
|
|
8
4
|
}, z.core.$strip>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as z } from 'zod';
|
|
2
|
-
|
|
2
|
+
declare const distanceUnits: readonly ["feet", "kilometers", "meters", "miles", "nautical-miles", "us-nautical-miles"];
|
|
3
3
|
export declare const distanceUnitsSchema: z.ZodEnum<{
|
|
4
4
|
feet: "feet";
|
|
5
5
|
miles: "miles";
|
|
@@ -32,3 +32,4 @@ export interface QueryResponse {
|
|
|
32
32
|
summary: string;
|
|
33
33
|
details: unknown;
|
|
34
34
|
}
|
|
35
|
+
export {};
|
|
@@ -11,7 +11,7 @@ import { VisualVariableParameters } from '@arcgis/core/smartMapping/renderers/op
|
|
|
11
11
|
import { HeatmapRendererParameters } from '@arcgis/core/smartMapping/renderers/heatmap.js';
|
|
12
12
|
import { RendererParameters as dotDensityCreateRendererParameters } from '@arcgis/core/smartMapping/renderers/dotDensity.js';
|
|
13
13
|
export type CreateRendererParams = AgeRendererParameters & colorCreateAgeRendererParameters & colorCreateContinuousRendererParameters & ContinuousRendererParameters & dotDensityCreateRendererParameters & HeatmapRendererParameters & pieChartCreateRendererParameters & predominanceCreateRendererParameters & relationshipCreateRendererParameters & RendererParameters & typeCreateRendererParameters & VisualVariableParameters;
|
|
14
|
-
|
|
14
|
+
type CreateStyleType = "chart-size" | "chart" | "color-age-size" | "color-age" | "color-classed" | "color-size-age" | "color-size-univariate" | "color-size" | "color" | "compare" | "Counts and Amounts (opacity)" | "Discrete Time Periods (categories)" | "dot-density" | "heatmap" | "predominance-size" | "predominance" | "relationship-size" | "relationship" | "size-age" | "size" | "type-size" | "type";
|
|
15
15
|
export interface CreateStyleParams {
|
|
16
16
|
styleName: CreateStyleType;
|
|
17
17
|
fields: string[];
|
|
@@ -20,3 +20,4 @@ export interface CreateStyleParams {
|
|
|
20
20
|
layer: FeatureLayer;
|
|
21
21
|
view: MapView;
|
|
22
22
|
}
|
|
23
|
+
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { VectorSearchFieldResults, AgentExecutionContext, AgentStatus } from '@arcgis/ai-orchestrator';
|
|
1
|
+
import { VectorSearchFieldResults, AgentExecutionContext, AgentStatus, SharedStatePatch } from '@arcgis/ai-orchestrator';
|
|
2
2
|
import { NavigationInternalState } from '../types/types';
|
|
3
3
|
export declare const NavigationState: import('@langchain/langgraph/web').AnnotationRoot<{
|
|
4
4
|
agentExecutionContext: import('@langchain/langgraph/web').BaseChannel<AgentExecutionContext, AgentExecutionContext | import('@langchain/langgraph/web').OverwriteValue<AgentExecutionContext>, unknown>;
|
|
5
5
|
outputMessage: import('@langchain/langgraph/web').BaseChannel<string, string | import('@langchain/langgraph/web').OverwriteValue<string>, unknown>;
|
|
6
6
|
summary: import('@langchain/langgraph/web').BaseChannel<string, string | import('@langchain/langgraph/web').OverwriteValue<string>, unknown>;
|
|
7
7
|
status: import('@langchain/langgraph/web').BaseChannel<AgentStatus, AgentStatus | import('@langchain/langgraph/web').OverwriteValue<AgentStatus>, unknown>;
|
|
8
|
+
sharedStatePatch: import('@langchain/langgraph/web').BaseChannel<SharedStatePatch | undefined, SharedStatePatch | import('@langchain/langgraph/web').OverwriteValue<SharedStatePatch | undefined> | undefined, unknown>;
|
|
8
9
|
intent: import('@langchain/langgraph/web').BaseChannel<string, string | import('@langchain/langgraph/web').OverwriteValue<string>, unknown>;
|
|
9
10
|
vectorSearchLayerResults: import('@langchain/langgraph/web').BaseChannel<{
|
|
10
11
|
id: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as z } from 'zod';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare const goToAddressTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
4
|
address: z.ZodString;
|
|
4
5
|
}, z.core.$strip>, {
|
|
5
6
|
address: string;
|
|
6
7
|
}, {
|
|
7
8
|
address: string;
|
|
8
|
-
},
|
|
9
|
+
}, ToolResponse, unknown, "goToAddress">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
-
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
3
|
+
export declare function goToAddress(address: string, mapView: MapView): Promise<ToolResponse>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare const goToBookmarkTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
4
|
bookmarkName: z.ZodString;
|
|
4
5
|
}, z.core.$strip>, {
|
|
5
6
|
bookmarkName: string;
|
|
6
7
|
}, {
|
|
7
8
|
bookmarkName: string;
|
|
8
|
-
},
|
|
9
|
+
}, ToolResponse, unknown, "goToBookmark">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { ToolResponse } from '../../../../types/types';
|
|
1
2
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
-
export declare function goToBookmark(bookmarkName: string, mapView: MapView): Promise<
|
|
3
|
+
export declare function goToBookmark(bookmarkName: string, mapView: MapView): Promise<ToolResponse>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare const goToFeaturesTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
4
|
layerId: z.ZodString;
|
|
4
5
|
where: z.ZodString;
|
|
@@ -8,4 +9,4 @@ export declare const goToFeaturesTool: import('@langchain/core/tools').DynamicSt
|
|
|
8
9
|
}, {
|
|
9
10
|
layerId: string;
|
|
10
11
|
where: string;
|
|
11
|
-
},
|
|
12
|
+
}, ToolResponse, unknown, "goToFeatures">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { ToolResponse } from '../../../../types/types';
|
|
1
2
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
-
export declare function goToFeatures(layerId: string, where: string, arcgisMapView: MapView): Promise<
|
|
3
|
+
export declare function goToFeatures(layerId: string, where: string, arcgisMapView: MapView): Promise<ToolResponse>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
3
|
+
export declare const goToFullExtentTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{}, z.core.$strip>, string, Record<string, never>, ToolResponse, unknown, "goToFullExtent">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { ToolResponse } from '../../../../types/types';
|
|
1
2
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
-
export declare function goToFullExtent(mapView: MapView): Promise<
|
|
3
|
+
export declare function goToFullExtent(mapView: MapView): Promise<ToolResponse>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { default as z } from 'zod';
|
|
2
|
-
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
3
|
+
export declare const goToHomeExtentTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{}, z.core.$strip>, string, Record<string, never>, ToolResponse, unknown, "goToHomeExtent">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { ToolResponse } from '../../../../types/types';
|
|
1
2
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
-
export declare function goToHomeExtent(mapView: MapView): Promise<
|
|
3
|
+
export declare function goToHomeExtent(mapView: MapView): Promise<ToolResponse>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare const goToLayerTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
4
|
layerId: z.ZodString;
|
|
4
5
|
}, z.core.$strip>, {
|
|
5
6
|
layerId: string;
|
|
6
7
|
}, {
|
|
7
8
|
layerId: string;
|
|
8
|
-
},
|
|
9
|
+
}, ToolResponse, unknown, "goToLayer">;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { default as LinkChartView } from '@arcgis/core/views/LinkChartView.js';
|
|
2
2
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
3
|
-
|
|
3
|
+
import { ToolResponse } from '../../../../types/types';
|
|
4
|
+
export declare function goToLayer(layerId: string, mapView: LinkChartView | MapView): Promise<ToolResponse>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as z } from 'zod';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare const goToScaleTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
4
|
scale: z.ZodNumber;
|
|
4
5
|
}, z.core.$strip>, {
|
|
5
6
|
scale: number;
|
|
6
7
|
}, {
|
|
7
8
|
scale: number;
|
|
8
|
-
},
|
|
9
|
+
}, ToolResponse, unknown, "goToScale">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { ToolResponse } from '../../../../types/types';
|
|
1
2
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
-
export declare function goToScale(scale: number, arcgisMapView: MapView): Promise<
|
|
3
|
+
export declare function goToScale(scale: number, arcgisMapView: MapView): Promise<ToolResponse>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as z } from 'zod';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare const goToViewpointTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
4
|
center: z.ZodObject<{
|
|
4
5
|
longitude: z.ZodNumber;
|
|
@@ -20,4 +21,4 @@ export declare const goToViewpointTool: import('@langchain/core/tools').DynamicS
|
|
|
20
21
|
};
|
|
21
22
|
zoom?: number | undefined;
|
|
22
23
|
scale?: number | undefined;
|
|
23
|
-
},
|
|
24
|
+
}, ToolResponse, unknown, "goToViewpoint">;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare function goToViewpoint(center: {
|
|
3
4
|
longitude: number;
|
|
4
5
|
latitude: number;
|
|
5
6
|
}, arcgisMapView: MapView, options?: {
|
|
6
7
|
zoom?: number;
|
|
7
8
|
scale?: number;
|
|
8
|
-
}): Promise<
|
|
9
|
+
}): Promise<ToolResponse>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as z } from 'zod';
|
|
2
|
+
import { ToolResponse } from '../../../../types/types';
|
|
2
3
|
export declare const goToZoomTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
4
|
zoom: z.ZodNumber;
|
|
4
5
|
}, z.core.$strip>, {
|
|
5
6
|
zoom: number;
|
|
6
7
|
}, {
|
|
7
8
|
zoom: number;
|
|
8
|
-
},
|
|
9
|
+
}, ToolResponse, unknown, "goToZoom">;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { ToolResponse } from '../../../../types/types';
|
|
1
2
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
2
|
-
export declare function goToZoom(zoom: number, arcgisMapView: MapView): Promise<
|
|
3
|
+
export declare function goToZoom(zoom: number, arcgisMapView: MapView): Promise<ToolResponse>;
|
|
@@ -4,13 +4,13 @@ export declare const navigationTools: (import('@langchain/core/tools').DynamicSt
|
|
|
4
4
|
address: string;
|
|
5
5
|
}, {
|
|
6
6
|
address: string;
|
|
7
|
-
},
|
|
7
|
+
}, import('../../../types/types').ToolResponse, unknown, "goToAddress"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
|
|
8
8
|
bookmarkName: import('zod').ZodString;
|
|
9
9
|
}, import('zod/v4/core').$strip>, {
|
|
10
10
|
bookmarkName: string;
|
|
11
11
|
}, {
|
|
12
12
|
bookmarkName: string;
|
|
13
|
-
},
|
|
13
|
+
}, import('../../../types/types').ToolResponse, unknown, "goToBookmark"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
|
|
14
14
|
layerId: import('zod').ZodString;
|
|
15
15
|
where: import('zod').ZodString;
|
|
16
16
|
}, import('zod/v4/core').$strip>, {
|
|
@@ -19,19 +19,19 @@ export declare const navigationTools: (import('@langchain/core/tools').DynamicSt
|
|
|
19
19
|
}, {
|
|
20
20
|
layerId: string;
|
|
21
21
|
where: string;
|
|
22
|
-
},
|
|
22
|
+
}, import('../../../types/types').ToolResponse, unknown, "goToFeatures"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{}, import('zod/v4/core').$strip>, string, Record<string, never>, import('../../../types/types').ToolResponse, unknown, "goToFullExtent"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{}, import('zod/v4/core').$strip>, string, Record<string, never>, import('../../../types/types').ToolResponse, unknown, "goToHomeExtent"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
|
|
23
23
|
layerId: import('zod').ZodString;
|
|
24
24
|
}, import('zod/v4/core').$strip>, {
|
|
25
25
|
layerId: string;
|
|
26
26
|
}, {
|
|
27
27
|
layerId: string;
|
|
28
|
-
},
|
|
28
|
+
}, import('../../../types/types').ToolResponse, unknown, "goToLayer"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
|
|
29
29
|
scale: import('zod').ZodNumber;
|
|
30
30
|
}, import('zod/v4/core').$strip>, {
|
|
31
31
|
scale: number;
|
|
32
32
|
}, {
|
|
33
33
|
scale: number;
|
|
34
|
-
},
|
|
34
|
+
}, import('../../../types/types').ToolResponse, unknown, "goToScale"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
|
|
35
35
|
center: import('zod').ZodObject<{
|
|
36
36
|
longitude: import('zod').ZodNumber;
|
|
37
37
|
latitude: import('zod').ZodNumber;
|
|
@@ -52,10 +52,10 @@ export declare const navigationTools: (import('@langchain/core/tools').DynamicSt
|
|
|
52
52
|
};
|
|
53
53
|
zoom?: number | undefined;
|
|
54
54
|
scale?: number | undefined;
|
|
55
|
-
},
|
|
55
|
+
}, import('../../../types/types').ToolResponse, unknown, "goToViewpoint"> | import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
|
|
56
56
|
zoom: import('zod').ZodNumber;
|
|
57
57
|
}, import('zod/v4/core').$strip>, {
|
|
58
58
|
zoom: number;
|
|
59
59
|
}, {
|
|
60
60
|
zoom: number;
|
|
61
|
-
},
|
|
61
|
+
}, import('../../../types/types').ToolResponse, unknown, "goToZoom">)[];
|