@arcgis/ai-components 5.2.0-next.87 → 5.2.0-next.89

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.
Files changed (51) hide show
  1. package/dist/agent-utils/LLMAgent.js +1 -0
  2. package/dist/cdn/222B5OU6.js +2 -0
  3. package/dist/cdn/{7XY54M57.js → 2FOCAXWJ.js} +1 -1
  4. package/dist/cdn/6VJXUIXY.js +3 -0
  5. package/dist/cdn/{LF2LOV25.js → C5ZL5Z52.js} +5 -5
  6. package/dist/cdn/{HNL4WZKH.js → COL6QYGQ.js} +1 -1
  7. package/dist/cdn/{JKMZQOJQ.js → CXP3ACSA.js} +1 -1
  8. package/dist/cdn/{IOKXNJWG.js → FUZ77UGP.js} +4 -4
  9. package/dist/cdn/{TAJLCMAG.js → HKSFWTWK.js} +5 -5
  10. package/dist/cdn/{WPKGJJ57.js → LPR72QZF.js} +2 -2
  11. package/dist/cdn/{PNFK73E5.js → LS4FJKFE.js} +1 -1
  12. package/dist/cdn/{Y2776DWQ.js → OYSPNIJI.js} +28 -28
  13. package/dist/cdn/{FAR3DFFK.js → PEYYWXFE.js} +1 -1
  14. package/dist/cdn/{NTBDGSXI.js → SUYWKYWI.js} +2 -2
  15. package/dist/cdn/{B3YSZHAE.js → VTQKRCKU.js} +1 -1
  16. package/dist/cdn/Y5TYSBLZ.js +3 -0
  17. package/dist/cdn/{CF6ZLMFG.js → Y7QZBO46.js} +1 -1
  18. package/dist/cdn/{EMLOVMD4.js → ZVGUAOXE.js} +1 -1
  19. package/dist/cdn/agent-utils/index.js +1 -1
  20. package/dist/cdn/index.js +1 -1
  21. package/dist/chunks/adapter.js +60 -55
  22. package/dist/chunks/arcgisKnowledgeGraph.js +3 -2
  23. package/dist/chunks/dataExplorationGraph.js +3 -2
  24. package/dist/chunks/helpGraph.js +3 -2
  25. package/dist/chunks/layerStylingGraph.js +1 -0
  26. package/dist/chunks/navigationGraph.js +3 -2
  27. package/dist/chunks/orchestrator.js +322 -193
  28. package/dist/chunks/toolCallResponse.js +3 -2
  29. package/dist/components/arcgis-assistant/customElement.d.ts +16 -0
  30. package/dist/components/arcgis-assistant/customElement.js +190 -178
  31. package/dist/components/arcgis-assistant-agent/customElement.js +209 -208
  32. package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +1 -0
  33. package/dist/components/arcgis-assistant-help-agent/customElement.js +1 -0
  34. package/dist/components/arcgis-assistant-knowledge-agent/customElement.js +1 -0
  35. package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +6 -5
  36. package/dist/components/arcgis-assistant-navigation-agent/customElement.js +1 -0
  37. package/dist/docs/api.json +1 -1
  38. package/dist/docs/docs.json +1 -1
  39. package/dist/docs/vscode.html-custom-data.json +1 -1
  40. package/dist/docs/web-types.json +1 -1
  41. package/dist/loader.js +1 -1
  42. package/dist/orchestrator/orchestrator/orchestratorEvents.d.ts +78 -0
  43. package/dist/types/lumina.d.ts +2 -1
  44. package/dist/types/preact.d.ts +2 -1
  45. package/dist/types/react.d.ts +2 -1
  46. package/dist/types/stencil.d.ts +2 -1
  47. package/package.json +5 -5
  48. package/dist/cdn/L7XTRDFM.js +0 -3
  49. package/dist/cdn/W5G35GO4.js +0 -2
  50. package/dist/cdn/ZUNLFO6M.js +0 -3
  51. /package/dist/cdn/{ONMNQBPO.js → SZ2QSSB3.js} +0 -0
@@ -7,6 +7,7 @@ import "@arcgis/toolkit/string";
7
7
  import { i as le } from "./generateLayerDescriptions.js";
8
8
  import "@langchain/core/messages";
9
9
  import "@langchain/core/callbacks/dispatch/web";
10
+ import "@langchain/core/callbacks/base";
10
11
  import "@langchain/openai";
11
12
  import "@arcgis/core/config.js";
12
13
  import * as ce from "@arcgis/core/core/reactiveUtils.js";
@@ -46,7 +47,7 @@ import re from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
46
47
  import { fetchKnowledgeGraph as Y, executeQueryStreaming as je, executeSearchStreaming as Fe } from "@arcgis/core/rest/knowledgeGraphService.js";
47
48
  import _e from "@arcgis/core/rest/knowledgeGraph/GraphSearchStreaming.js";
48
49
  import { getBindParametersFromCypherQuery as Qe } from "@arcgis/core/applications/KnowledgeStudio/generalSharedKgUtils.js";
49
- const k = (e, t) => t ?? e, Sa = m.Root({
50
+ const k = (e, t) => t ?? e, va = m.Root({
50
51
  ...pe(),
51
52
  // internal to the navigation agent
52
53
  intent: m({
@@ -92,13 +93,13 @@ ${Object.keys(Z).join(`
92
93
  const Ie = (e, t = 300) => {
93
94
  const r = e.replace(/\s+/gu, " ").replace(/[*_`#>\-]/gu, "").trim();
94
95
  return r.length > t ? `${r.slice(0, t)}...` : r;
95
- }, va = (e, t) => (r, a) => {
96
+ }, Ra = (e, t) => (r, a) => {
96
97
  const o = a?.configurable?.services;
97
98
  for (const i of e)
98
99
  if (!o?.[i])
99
100
  throw new Error(`${t} requires services.${i} to be available.`);
100
101
  return r;
101
- }, Ra = m.Root({
102
+ }, xa = m.Root({
102
103
  ...G(),
103
104
  vectorSearchLayerIds: m(),
104
105
  vectorSearchFieldResults: m(),
@@ -108,8 +109,8 @@ const Ie = (e, t = 300) => {
108
109
  reducer: ee,
109
110
  default: () => []
110
111
  })
111
- }), Oe = [me, ge, fe, we], xa = [ye, he, ue], Ke = new de(Oe, { handleToolErrors: !1 });
112
- async function Ca(e, t) {
112
+ }), Oe = [me, ge, fe, we], Ca = [ye, he, ue], Ke = new de(Oe, { handleToolErrors: !1 });
113
+ async function $a(e, t) {
113
114
  const { messages: r } = await Ke.invoke({ messages: e.dataExplorationMessages }, t), a = [], o = [];
114
115
  for (const i of r) {
115
116
  const s = i.content;
@@ -230,7 +231,7 @@ const Je = c.object({
230
231
  fields: c.array(c.string()).describe("The fields to use for the chart renderer (multiple numeric fields)"),
231
232
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
232
233
  includeSize: c.boolean().optional().describe("Whether to vary the chart size (chart-size)")
233
- }), $a = g(He, {
234
+ }), Pa = g(He, {
234
235
  name: "chart",
235
236
  description: `Label: Charts
236
237
  Description: Show the values of two or more categories as a proportion of the total using a pie chart.
@@ -313,7 +314,7 @@ const rr = c.object({
313
314
  fields: c.array(c.string()).describe("The field(s) to use for the color-age renderer (temporal/date data)"),
314
315
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
315
316
  theme: c.enum(["above-and-below", "above", "below", "centered-on", "extremes", "high-to-low"]).optional().describe("Optional theme for the color ramp")
316
- }), Pa = g(er, {
317
+ }), Ea = g(er, {
317
318
  name: "color-age",
318
319
  description: `Label: Age (color)
319
320
  Description: Use colors along a continuous color ramp to represent the age of features. Age reflects the length of time from a start date to an end date.
@@ -392,7 +393,7 @@ const ir = c.object({
392
393
  fields: c.array(c.string()).describe("The field(s) to use for the color renderer"),
393
394
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
394
395
  theme: c.enum(["above-and-below", "above", "below", "centered-on", "extremes", "high-to-low"]).optional().describe("Optional theme for the color ramp")
395
- }), Ea = g(nr, {
396
+ }), za = g(nr, {
396
397
  name: "color",
397
398
  description: `Label: Counts and Amounts (color)
398
399
  Description: Vary color along a continuous color ramp to represent numeric or ranked data.
@@ -470,7 +471,7 @@ const dr = c.object({
470
471
  fields: c.array(c.string()).describe("The fields to use for the color-size univariate renderer"),
471
472
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
472
473
  theme: c.enum(["above-and-below", "above", "below", "centered-on", "extremes", "high-to-low"]).optional().describe("Optional theme for the color and size ramps")
473
- }), za = g(pr, {
474
+ }), ka = g(pr, {
474
475
  name: "color-size-univariate",
475
476
  description: `Label: Color and Size (univariate)
476
477
  Description: Vary symbol size and color based on the values of two numeric attributes.
@@ -544,7 +545,7 @@ const gr = c.object({
544
545
  layerId: c.string().describe("The id of the layer to apply the dot density renderer to"),
545
546
  fields: c.array(c.string()).describe("The field(s) to use for the dot density renderer (population or count data)"),
546
547
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use")
547
- }), ka = g(mr, {
548
+ }), Aa = g(mr, {
548
549
  name: "dot-density",
549
550
  description: `Dot Density
550
551
  Use dot density to visualize the distribution of one attribute or compare the density of multiple attributes. This is only valid for polygon layers.
@@ -619,7 +620,7 @@ const Sr = c.object({
619
620
  layerId: c.string().describe("The id of the layer to apply the heatmap renderer to"),
620
621
  fields: c.array(c.string()).describe("The field(s) to use for the heatmap renderer (typically point density)"),
621
622
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use")
622
- }), Aa = g(Tr, {
623
+ }), qa = g(Tr, {
623
624
  name: "heatmap",
624
625
  description: `Label: Heat Map
625
626
  Description: Show areas of high density with colors that appear to glow hotter. This is only valid for point layers.
@@ -694,7 +695,7 @@ const $r = c.object({
694
695
  fields: c.array(c.string()).describe("The fields to use for the predominance renderer (competing categories)"),
695
696
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
696
697
  includeSize: c.boolean().optional().describe("Whether to include size visualization (predominance-size)")
697
- }), qa = g(Cr, {
698
+ }), Na = g(Cr, {
698
699
  name: "predominance",
699
700
  description: `Label: Predominant category
700
701
  Description: Compare attributes that share a common subject and unit of measurement to see which has the highest value.
@@ -775,7 +776,7 @@ const Ar = c.object({
775
776
  layerId: c.string().describe("The id of the layer to apply the relationship renderer to"),
776
777
  fields: c.array(c.string()).describe("The two fields to use for the relationship renderer (bivariate visualization)"),
777
778
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use")
778
- }), Na = g(kr, {
779
+ }), Ma = g(kr, {
779
780
  name: "relationship",
780
781
  description: `Label: Relationship
781
782
  Description: Overlays two color ramps to represent the relationship between two numeric attributes.
@@ -846,7 +847,7 @@ const Lr = c.object({
846
847
  fields: c.array(c.string()).describe("The field(s) to use for the size-age renderer (temporal data with size)"),
847
848
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
848
849
  theme: c.enum(["above-and-below", "above", "below", "centered-on", "extremes", "high-to-low"]).optional().describe("Optional theme for the size ramp")
849
- }), Ma = g(Dr, {
850
+ }), Da = g(Dr, {
850
851
  name: "size-age",
851
852
  description: `Label: Age (size)
852
853
  Description: Vary symbol sizes along a continuous ramp to represent the age of features. Age reflects the length of time from a start date to an end date.
@@ -919,7 +920,7 @@ const Qr = c.object({
919
920
  fields: c.array(c.string()).describe("The field(s) to use for the size renderer (numeric data)"),
920
921
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
921
922
  theme: c.enum(["above-and-below", "above", "below", "centered-on", "extremes", "high-to-low"]).optional().describe("Optional theme for the size ramp")
922
- }), Da = g(_r, {
923
+ }), La = g(_r, {
923
924
  name: "size",
924
925
  description: `Label: Counts and Amounts (size)
925
926
  Description: Vary symbol sizes along a continuous ramp to represent numeric or ranked data.
@@ -1001,7 +1002,7 @@ const Br = c.object({
1001
1002
  fields: c.array(c.string()).describe("The field(s) to use for the type renderer (categorical data)"),
1002
1003
  colorSchemes: c.array(c.string()).optional().describe("Optional color scheme tags to use"),
1003
1004
  theme: c.enum(["above-and-below", "above", "below", "centered-on", "extremes", "high-to-low"]).optional().describe("Optional theme for the color scheme")
1004
- }), La = g(Vr, {
1005
+ }), Ga = g(Vr, {
1005
1006
  name: "type",
1006
1007
  description: `Label: Types (unique symbols)
1007
1008
  Description: Represent features as categories with different symbol colors or shapes. Examples include type of tree, road class, or province name.
@@ -1009,13 +1010,13 @@ Keywords: categorical, category, type, unique, discrete, point of interest, regi
1009
1010
  Example: Color each feature based on the region it belongs to
1010
1011
  Fields: This style requires a single field which may be a string, number, or date type. It is usually a string.`,
1011
1012
  schema: Br
1012
- }), Ga = m.Root({
1013
+ }), ja = m.Root({
1013
1014
  ...G(),
1014
1015
  vectorSearchLayerIds: m(),
1015
1016
  vectorSearchFieldResults: m(),
1016
1017
  layerFieldInfo: m(),
1017
1018
  selectedLayerId: m()
1018
- }), ja = m.Root({
1019
+ }), Fa = m.Root({
1019
1020
  ...G(),
1020
1021
  // internal to the help agent
1021
1022
  helpInternalState: m({
@@ -1024,7 +1025,7 @@ Fields: This style requires a single field which may be a string, number, or dat
1024
1025
  toolCallMessage: void 0
1025
1026
  })
1026
1027
  })
1027
- }), Fa = m.Root({
1028
+ }), _a = m.Root({
1028
1029
  ...G(),
1029
1030
  intent: m({
1030
1031
  reducer: (e, t) => t
@@ -1060,7 +1061,7 @@ function q(e) {
1060
1061
  view: a
1061
1062
  };
1062
1063
  }
1063
- function _a(e) {
1064
+ function Qa(e) {
1064
1065
  const r = e?.configurable?.context;
1065
1066
  if (te(e) === "knowledgeGraph")
1066
1067
  return "knowledgeGraph";
@@ -1711,7 +1712,7 @@ Number of records added: ${h.length}`,
1711
1712
  error: d
1712
1713
  };
1713
1714
  }
1714
- }, Qa = g(dt, {
1715
+ }, Ia = g(dt, {
1715
1716
  name: M,
1716
1717
  description: `Adds records (entities or relationships) to the current link chart visualization from an inquiry into the knowledge graph data. The inquiry will retrieve data from the graph database that will serve as the basis for the records to be added to the link chart. The user should have explicitly requested to add records to the current link chart from their prompt. "add to new link chart" is not a valid prompt for this tool.
1717
1718
 
@@ -1762,7 +1763,7 @@ const _ = "applyLayout", ht = c.object({
1762
1763
  errorMessage: "The applyLayout tool can only be used with a LinkChartView.",
1763
1764
  error: new Error()
1764
1765
  };
1765
- }, Ia = g(yt, {
1766
+ }, Oa = g(yt, {
1766
1767
  name: _,
1767
1768
  description: "Apply a diagram layout to the link chart",
1768
1769
  schema: ht
@@ -1791,7 +1792,7 @@ const Q = "changeNonspatialVisibility", gt = c.object({
1791
1792
  errorMessage: "The changeNonspatialVisibility tool can only be used with a LinkChartView.",
1792
1793
  error: new Error()
1793
1794
  };
1794
- }, Oa = g(ft, {
1795
+ }, Ka = g(ft, {
1795
1796
  name: Q,
1796
1797
  description: "Change whether or not nonspatial data is visible in the link chart. The value must be either 'hidden' or 'visible'.",
1797
1798
  schema: gt
@@ -1891,7 +1892,7 @@ Explanation: ${l}`,
1891
1892
  errorMessage: "The createLinkChart tool can only be used with a LinkChartView.",
1892
1893
  error: new Error()
1893
1894
  };
1894
- }, Ka = g(Tt, {
1895
+ }, Va = g(Tt, {
1895
1896
  name: D,
1896
1897
  description: "Creates a new link chart visualization from an inquiry into the knowledge graph data. The inquiry will retrieve data from the graph database that will serve as the basis for the new link chart. The user should have explicitly requested the creation of a new link chart from their prompt using language like 'create new link chart' or 'add to new link chart'.",
1897
1898
  schema: bt
@@ -1966,11 +1967,15 @@ ${w.length > y ? `Showing top ${y} results:
1966
1967
  details: {
1967
1968
  generatedQuery: p,
1968
1969
  explanation: d,
1969
- resultHeader: h,
1970
+ resultHeader: {
1971
+ headerKeys: f,
1972
+ exceededTransferLimit: h.exceededTransferLimit,
1973
+ outSpatialReference: h.outSpatialReference
1974
+ },
1970
1975
  queryResults: u
1971
1976
  }
1972
1977
  };
1973
- }, Va = g(vt, {
1978
+ }, Ba = g(vt, {
1974
1979
  name: I,
1975
1980
  description: "Allows users to explore the data in their knowledge graph via cypher query. Generates and executes a cypher query based on the user's inquiry into the knowledge graph, and displays the results in the chat pane without modifying the user's link chart if any. Use this tool when the user is asking an exploratory question about their data as a whole that can be answered via cypher query, for example 'What are the top 5 suppliers by total parts cost?' or 'How many employees do we have in each department?'.",
1976
1981
  schema: St
@@ -2006,7 +2011,7 @@ Explanation: ${s}`,
2006
2011
  error: i
2007
2012
  };
2008
2013
  }
2009
- }, Ba = g(xt, {
2014
+ }, Wa = g(xt, {
2010
2015
  name: O,
2011
2016
  description: "Generates an Open Cypher query based on the user's prompt which represents an inquiry into the data of the knowledge service and its graph database, attempting to filter based on certain conditions and traverse specified relationships. The generated query should be syntactically correct and optimized for performance.",
2012
2017
  schema: Rt
@@ -2105,7 +2110,7 @@ const K = "searchGraphData", Pt = c.object({
2105
2110
  searchResults: o.results
2106
2111
  }
2107
2112
  };
2108
- }, Wa = g(Et, {
2113
+ }, Ua = g(Et, {
2109
2114
  name: K,
2110
2115
  description: `
2111
2116
  Search the knowledge graph using one or more search texts, using lucene search syntax, against indexed string properties defined on their entities and relationships. Use this tool when the user asks a question about their knowledge graph data as a whole, that could be answered via lucene text search of properties stored on graph elements, e.g requiring fuzzy matching. Otherwise if the inquiry is looking for connected records (e.g. paths), data aggregations, etc explore the data via the queryGraphData tool.
@@ -2120,36 +2125,36 @@ const K = "searchGraphData", Pt = c.object({
2120
2125
  schema: Pt
2121
2126
  });
2122
2127
  export {
2123
- La as A,
2124
- Ra as D,
2128
+ Ga as A,
2129
+ xa as D,
2125
2130
  W as G,
2126
- ja as H,
2127
- Ga as L,
2128
- Sa as N,
2129
- Ia as a,
2130
- Ba as b,
2131
- Oa as c,
2132
- Ka as d,
2133
- Qa as e,
2134
- _a as f,
2131
+ Fa as H,
2132
+ ja as L,
2133
+ va as N,
2134
+ Oa as a,
2135
+ Wa as b,
2136
+ Ka as c,
2137
+ Va as d,
2138
+ Ia as e,
2139
+ Qa as f,
2135
2140
  L as g,
2136
2141
  N as h,
2137
- Fa as i,
2138
- xa as j,
2142
+ _a as i,
2143
+ Ca as j,
2139
2144
  Oe as k,
2140
- Ca as l,
2141
- $a as m,
2142
- Pa as n,
2143
- Ea as o,
2144
- za as p,
2145
- Va as q,
2146
- va as r,
2147
- Wa as s,
2145
+ $a as l,
2146
+ Pa as m,
2147
+ Ea as n,
2148
+ za as o,
2149
+ ka as p,
2150
+ Ba as q,
2151
+ Ra as r,
2152
+ Ua as s,
2148
2153
  Ie as t,
2149
- ka as u,
2150
- Aa as v,
2151
- qa as w,
2152
- Na as x,
2153
- Ma as y,
2154
- Da as z
2154
+ Aa as u,
2155
+ qa as v,
2156
+ Na as w,
2157
+ Ma as x,
2158
+ Da as y,
2159
+ La as z
2155
2160
  };
@@ -8,6 +8,7 @@ import "@arcgis/toolkit/string";
8
8
  import { h as N, e as R } from "./generateLayerDescriptions.js";
9
9
  import { AIMessage as y } from "@langchain/core/messages";
10
10
  import "@langchain/core/callbacks/dispatch/web";
11
+ import "@langchain/core/callbacks/base";
11
12
  import "@langchain/openai";
12
13
  import "@arcgis/core/config.js";
13
14
  import "@arcgis/core/core/reactiveUtils.js";
@@ -217,7 +218,7 @@ _example: "Discover and add all the relationships originating at 'Entity E' to t
217
218
  _example: "Show me all entities with a name similar to 'Smith' and add them to the link chart"_
218
219
  _example: "Find reports in my graph that have a title similar to 'Quarterly Earnings'"_
219
220
  _example: "Find John Smith and all people he has made phone calls to in the last year"_
220
- _example: "What is the average age of all people who work for Esri?"_`, le = {
221
+ _example: "What is the average age of all people who work for Esri?"_`, de = {
221
222
  id: "arcgisKnowledge",
222
223
  name: "ArcgisKnowledge Agent",
223
224
  description: J,
@@ -225,5 +226,5 @@ _example: "What is the average age of all people who work for Esri?"_`, le = {
225
226
  workspace: m
226
227
  };
227
228
  export {
228
- le as A
229
+ de as A
229
230
  };
@@ -8,6 +8,7 @@ import "@arcgis/toolkit/string";
8
8
  import { h as M, e as A } from "./generateLayerDescriptions.js";
9
9
  import { AIMessage as _ } from "@langchain/core/messages";
10
10
  import { s } from "./index.js";
11
+ import "@langchain/core/callbacks/base";
11
12
  import "@langchain/openai";
12
13
  import "@arcgis/core/config.js";
13
14
  import "@arcgis/core/core/reactiveUtils.js";
@@ -241,7 +242,7 @@ ${i}` : n = "Vector search completed. No matching layers found.", await s({ text
241
242
  _Example: “What’s the average population?”_
242
243
  _Example: “Which values are in the status field?”_
243
244
 
244
- This agent does NOT handle help/metadata requests such as listing available layers, listing field names/columns/attributes for a layer, or capability guidance.`, xe = {
245
+ This agent does NOT handle help/metadata requests such as listing available layers, listing field names/columns/attributes for a layer, or capability guidance.`, fe = {
245
246
  id: "dataExploration",
246
247
  name: "Data Exploration Agent",
247
248
  description: K,
@@ -249,5 +250,5 @@ ${i}` : n = "Vector search completed. No matching layers found.", await s({ text
249
250
  workspace: T
250
251
  };
251
252
  export {
252
- xe as D
253
+ fe as D
253
254
  };
@@ -8,6 +8,7 @@ import "@arcgis/toolkit/string";
8
8
  import { h as y } from "./generateLayerDescriptions.js";
9
9
  import "@langchain/core/messages";
10
10
  import "@langchain/core/callbacks/dispatch/web";
11
+ import "@langchain/core/callbacks/base";
11
12
  import "@langchain/openai";
12
13
  import "@arcgis/core/config.js";
13
14
  import "@arcgis/core/core/reactiveUtils.js";
@@ -120,7 +121,7 @@ const M = () => new d(u).addNode("requireHelpServices", H).addNode("agent", _).a
120
121
 
121
122
  IF the user asks map related queries, but those that are not performed by any of the agents, call this agent so we can respond that the requested action is not supported.
122
123
  _Example: "Create a chart"_
123
- _Example: "Create a table"_`, O = {
124
+ _Example: "Create a table"_`, Q = {
124
125
  id: "help",
125
126
  name: "Help Agent",
126
127
  description: k,
@@ -128,5 +129,5 @@ const M = () => new d(u).addNode("requireHelpServices", H).addNode("agent", _).a
128
129
  workspace: u
129
130
  };
130
131
  export {
131
- O as H
132
+ Q as H
132
133
  };
@@ -7,6 +7,7 @@ import "@arcgis/toolkit/string";
7
7
  import { h as v } from "./generateLayerDescriptions.js";
8
8
  import "@langchain/core/messages";
9
9
  import { s as i } from "./index.js";
10
+ import "@langchain/core/callbacks/base";
10
11
  import "@langchain/openai";
11
12
  import "@arcgis/core/config.js";
12
13
  import "@arcgis/core/core/reactiveUtils.js";
@@ -8,6 +8,7 @@ import "@arcgis/toolkit/string";
8
8
  import { h as L, i as M } from "./generateLayerDescriptions.js";
9
9
  import "@langchain/core/messages";
10
10
  import "@langchain/core/callbacks/dispatch/web";
11
+ import "@langchain/core/callbacks/base";
11
12
  import "@langchain/openai";
12
13
  import "@arcgis/core/config.js";
13
14
  import "@arcgis/core/core/reactiveUtils.js";
@@ -274,7 +275,7 @@ ${s.results.map((d) => ` - ${d.name} (${d.score.toFixed(2)})`).join(`
274
275
  _Example: “Center the map on San Francisco at scale 50000”_
275
276
  _Example: “Zoom to the features in the schools layer where city = 'Austin'”_
276
277
  _Example: “Go to the Downtown bookmark”_
277
- _Example: “Where is Mount Rainier?”_`, Re = {
278
+ _Example: “Where is Mount Rainier?”_`, Le = {
278
279
  id: "navigation",
279
280
  name: "Navigation Agent",
280
281
  description: ee,
@@ -282,5 +283,5 @@ ${s.results.map((d) => ` - ${d.name} (${d.score.toFixed(2)})`).join(`
282
283
  workspace: k
283
284
  };
284
285
  export {
285
- Re as N
286
+ Le as N
286
287
  };