@arcgis/ai-components 6.0.0-next.1 → 6.0.0-next.3

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 (368) hide show
  1. package/dist/agent-utils/BaseAgent.js +1 -1
  2. package/dist/agent-utils/FunctionAgent.js +1 -1
  3. package/dist/agent-utils/LLMAgent.js +1 -1
  4. package/dist/agent-utils/SkillAgent.js +1 -1
  5. package/dist/agent-utils/WorkflowAgent.js +1 -1
  6. package/dist/agent-utils/createSchema.js +1 -1
  7. package/dist/agent-utils/middlewares/humanInTheLoop.js +23 -21
  8. package/dist/agent-utils/middlewares/middleware.js +1 -1
  9. package/dist/agent-utils/middlewares/trace.js +1 -1
  10. package/dist/agent-utils/middlewares/types.js +1 -1
  11. package/dist/agent-utils/tools/FunctionTool.js +1 -1
  12. package/dist/agent-utils/tools/MCPToolProvider.js +1 -1
  13. package/dist/agent-utils/tools/WebMCPToolProvider.js +1 -1
  14. package/dist/agent-utils/workflows/ConditionalWorkflow.js +1 -1
  15. package/dist/agent-utils/workflows/LoopWorkflow.js +1 -1
  16. package/dist/agent-utils/workflows/ParallelWorkflow.js +1 -1
  17. package/dist/agent-utils/workflows/RouterWorkflow.js +1 -1
  18. package/dist/agent-utils/workflows/SequentialWorkflow.js +1 -1
  19. package/dist/agent-utils/workflows/SwitchWorkflow.js +1 -1
  20. package/dist/agents/agents/arcgisKnowledge/graph/arcgisKnowledgeGraph.js +1 -1
  21. package/dist/agents/agents/dataExploration/dataExplorationAgent.js +1 -1
  22. package/dist/agents/agents/dataExplorationGraph/graph/dataExplorationGraph.js +1 -1
  23. package/dist/agents/agents/help/helpAgent.js +11 -11
  24. package/dist/agents/agents/helpGraph/graph/helpGraph.js +1 -1
  25. package/dist/agents/agents/layerStyling/context/layerStylingContext.js +1 -1
  26. package/dist/agents/agents/layerStyling/graph/layerStylingGraph.js +1 -1
  27. package/dist/agents/agents/navigation/navigationAgent.js +1 -1
  28. package/dist/agents/agents/navigationGraph/graph/navigationGraph.js +1 -1
  29. package/dist/agents/tools/filter/clearFilters/adapter.js +1 -1
  30. package/dist/agents/tools/filter/resetMap/adapter.js +1 -1
  31. package/dist/agents/tools/filter/setFeatureEffect/adapter.js +1 -1
  32. package/dist/agents/tools/help/listFields/adapter.js +1 -1
  33. package/dist/agents/tools/navigation/goToAddress/adapter.js +1 -1
  34. package/dist/agents/tools/navigation/goToBookmark/adapter.js +35 -18
  35. package/dist/agents/tools/navigation/goToFeatures/adapter.js +1 -1
  36. package/dist/agents/tools/navigation/goToFullExtent/adapter.js +1 -1
  37. package/dist/agents/tools/navigation/goToHomeExtent/adapter.js +1 -1
  38. package/dist/agents/tools/navigation/goToLayer/adapter.js +1 -1
  39. package/dist/agents/tools/navigation/goToScale/adapter.js +1 -1
  40. package/dist/agents/tools/navigation/goToViewpoint/adapter.js +1 -1
  41. package/dist/agents/tools/navigation/goToZoom/adapter.js +1 -1
  42. package/dist/agents/tools/query/getAttribute/adapter.js +1 -1
  43. package/dist/agents/tools/query/getStatistics/adapter.js +1 -1
  44. package/dist/agents/tools/query/getTopFeatures/adapter.js +1 -1
  45. package/dist/agents/tools/query/queryFeatures/adapter.js +1 -1
  46. package/dist/agents/tools/search/findRelevantFields/adapter.js +1 -1
  47. package/dist/agents/tools/search/findRelevantLayers/adapter.js +1 -1
  48. package/dist/agents/tools/shared/resolveToolArtifact.js +1 -1
  49. package/dist/agents/tools/shared/types.js +1 -1
  50. package/dist/cdn/24KEZCPF.js +2 -0
  51. package/dist/cdn/{2UKFCF2J.js → 272R36XK.js} +2 -2
  52. package/dist/cdn/{FX4LV2S3.js → 2H32MDP2.js} +1 -1
  53. package/dist/cdn/{VAXH6RUQ.js → 2HNGMLFD.js} +2 -2
  54. package/dist/cdn/{24TK55FP.js → 2JD3G7IW.js} +2 -2
  55. package/dist/cdn/{P4CHI7W3.js → 2NOLMOEP.js} +2 -2
  56. package/dist/cdn/{ZU2FHVNK.js → 2OW3DCUT.js} +2 -2
  57. package/dist/cdn/2PGZDONH.js +2 -0
  58. package/dist/cdn/2WY5MPMY.js +2 -0
  59. package/dist/cdn/{2DWN3SKH.js → 3COVQI26.js} +2 -2
  60. package/dist/cdn/{VIJVRJHL.js → 3UVQLYUK.js} +2 -2
  61. package/dist/cdn/46NXKDIE.js +2 -0
  62. package/dist/cdn/{BIEX4MVV.js → 5HNKH5OK.js} +2 -2
  63. package/dist/cdn/{46DT6BIG.js → 5INBG23U.js} +1 -1
  64. package/dist/cdn/{YJXRCO4T.js → 5LBUP33F.js} +2 -2
  65. package/dist/cdn/{JEWJ4M25.js → 5OGABLOF.js} +5 -5
  66. package/dist/cdn/{UZLQALHY.js → 5PV2GUZW.js} +1 -1
  67. package/dist/cdn/{EEHDAYOG.js → 5XZ5VL42.js} +2 -2
  68. package/dist/cdn/{DI3VGUJY.js → 63OF33IL.js} +2 -2
  69. package/dist/cdn/{NHWT7CXX.js → 6ELWX4W5.js} +2 -2
  70. package/dist/cdn/{OKVLGJAG.js → 6J3J7VLW.js} +2 -2
  71. package/dist/cdn/{AOVJ34QE.js → 6QOSUG64.js} +2 -2
  72. package/dist/cdn/{GVFJHADC.js → 6UGT2UG5.js} +2 -2
  73. package/dist/cdn/{QEGO4B2W.js → 7GDMXAF5.js} +2 -2
  74. package/dist/cdn/7JIXXYZR.js +2 -0
  75. package/dist/cdn/{X5ET73QZ.js → 7OQK2F7O.js} +2 -2
  76. package/dist/cdn/{FSLPYC4Y.js → A4ZVCRVF.js} +2 -2
  77. package/dist/cdn/{OVIQ5NSE.js → AGDGDULE.js} +2 -2
  78. package/dist/cdn/{TPULIO6I.js → AMA67DVI.js} +2 -2
  79. package/dist/cdn/AO42IPOX.js +2 -0
  80. package/dist/cdn/{UOKYHQNO.js → AOT3PM2Q.js} +2 -2
  81. package/dist/cdn/{EG5BMYZO.js → AQ7KG25Q.js} +2 -2
  82. package/dist/cdn/AY2ZONWQ.js +2 -0
  83. package/dist/cdn/{JZPPP4QY.js → BMVPOFHU.js} +2 -2
  84. package/dist/cdn/BWUQRZPK.js +2 -0
  85. package/dist/cdn/{XWNZMKQF.js → C3VLDYS2.js} +2 -2
  86. package/dist/cdn/{PQ2DPOFM.js → C5Q6E7UC.js} +2 -2
  87. package/dist/cdn/{FDOMMK2M.js → CETIZ4IQ.js} +1 -1
  88. package/dist/cdn/CKDKQVS3.js +2 -0
  89. package/dist/cdn/{TENUVOFJ.js → COANVCKH.js} +2 -2
  90. package/dist/cdn/CV5YAJMD.js +2 -0
  91. package/dist/cdn/{BBB5EJUB.js → CWZG7DML.js} +3 -3
  92. package/dist/cdn/{2O52MJ3D.js → D7CRICBG.js} +2 -2
  93. package/dist/cdn/D7FEOAW3.js +2 -0
  94. package/dist/cdn/{PGUEODFA.js → DY6MO2CA.js} +2 -2
  95. package/dist/cdn/EKMCGN6R.js +2 -0
  96. package/dist/cdn/EUIURCPS.js +2 -0
  97. package/dist/cdn/{RFDMNYTA.js → EWZNZZ5S.js} +2 -2
  98. package/dist/cdn/{DGCWQYN3.js → FGQH46Z2.js} +2 -2
  99. package/dist/cdn/FIZMK7GS.js +1 -0
  100. package/dist/cdn/FONIQ7VF.js +2 -0
  101. package/dist/cdn/G4L7RUTK.js +49 -0
  102. package/dist/cdn/{FYZATVB3.js → G7MCIFV2.js} +2 -2
  103. package/dist/cdn/{SDWWUWAF.js → GGAXXX5X.js} +2 -2
  104. package/dist/cdn/GS5JDPZH.js +2 -0
  105. package/dist/cdn/{T3SCINN5.js → H4QWVTEZ.js} +2 -2
  106. package/dist/cdn/H653UVNH.js +2 -0
  107. package/dist/cdn/{ZSLHB6MF.js → H6J65TWL.js} +2 -2
  108. package/dist/cdn/{UHEYPSOR.js → HCPI2RJE.js} +2 -2
  109. package/dist/cdn/{PCAMBPOA.js → HJOWCZPL.js} +2 -2
  110. package/dist/cdn/{5REENYPV.js → HTNKDDEV.js} +2 -2
  111. package/dist/cdn/{6WYVG3JI.js → HU527DML.js} +2 -2
  112. package/dist/cdn/{DJG6DBCU.js → I2RQZAFF.js} +3 -3
  113. package/dist/cdn/I37ZJHTM.js +2 -0
  114. package/dist/cdn/{GHFOAS7T.js → I724KIFI.js} +2 -2
  115. package/dist/cdn/IH5P2PWJ.js +2 -0
  116. package/dist/cdn/{C67KQCPS.js → J3T5HB77.js} +2 -2
  117. package/dist/cdn/{EXLDRGUC.js → JCWFLYB4.js} +2 -2
  118. package/dist/cdn/{IHP25JWI.js → JSRNLNOE.js} +2 -2
  119. package/dist/cdn/JZT4ECVH.js +2 -0
  120. package/dist/cdn/{MPWEXYYB.js → KDA5VPLO.js} +2 -2
  121. package/dist/cdn/KRPPMEOF.js +2 -0
  122. package/dist/cdn/{GBFRJF4F.js → KURNYULZ.js} +2 -2
  123. package/dist/cdn/{ZKWXHSEQ.js → L46O52F7.js} +2 -2
  124. package/dist/cdn/{FJV7CI7O.js → LDDP7NSY.js} +2 -2
  125. package/dist/cdn/{ZQTCPJUV.js → LGIXZLOP.js} +2 -2
  126. package/dist/cdn/{OGZFST2A.js → LMAIOLS2.js} +2 -2
  127. package/dist/cdn/{CFAC4FN3.js → LWEKPFV6.js} +2 -2
  128. package/dist/cdn/{L5IPMRHC.js → M52LKZN7.js} +2 -2
  129. package/dist/cdn/{AQF6BBWC.js → M5UMOOL2.js} +2 -2
  130. package/dist/cdn/MNMCIS4E.js +15 -0
  131. package/dist/cdn/{7X22QXJP.js → MR3R5YHQ.js} +2 -2
  132. package/dist/cdn/{MD2FTKQT.js → MSHEHZYP.js} +3 -3
  133. package/dist/cdn/{M6JQGHCE.js → MUSLUFKI.js} +2 -2
  134. package/dist/cdn/MYLY2ABI.js +2 -0
  135. package/dist/cdn/{AMP43OT2.js → N2GN5WOI.js} +2 -2
  136. package/dist/cdn/{RE7MJTEF.js → NAVK5JJ2.js} +3 -3
  137. package/dist/cdn/NDSYDURO.js +2 -0
  138. package/dist/cdn/{7ZTYHZIN.js → NK2QRPS6.js} +2 -2
  139. package/dist/cdn/{GMZUN5SF.js → NYFL2F5L.js} +2 -2
  140. package/dist/cdn/{PGH7POKS.js → OKDXM5D4.js} +2 -2
  141. package/dist/cdn/{JFL5IWPK.js → OMUWBY75.js} +2 -2
  142. package/dist/cdn/{34O57OGV.js → OPQCY33W.js} +1 -1
  143. package/dist/cdn/{R74ZHFA6.js → OUMTV5H5.js} +1 -1
  144. package/dist/cdn/OVH4S4ZB.js +3 -0
  145. package/dist/cdn/{5FDBJI24.js → OZDRETY2.js} +2 -2
  146. package/dist/cdn/{DYSPEU7W.js → PR4VMSKD.js} +1 -1
  147. package/dist/cdn/{HSMAXOOA.js → PXBS2FXE.js} +2 -2
  148. package/dist/cdn/{XEJFVUNQ.js → QAVDW7A7.js} +1 -1
  149. package/dist/cdn/{ONQ6JSBJ.js → QBZP6XOE.js} +1 -1
  150. package/dist/cdn/RNJ7T5GF.js +2 -0
  151. package/dist/cdn/{YBWRFVA6.js → RQYDIQVD.js} +3 -3
  152. package/dist/cdn/{BMPBJXD7.js → S6OUM5X2.js} +2 -2
  153. package/dist/cdn/{A22375P3.js → SUMXIUIS.js} +2 -2
  154. package/dist/cdn/SW3D6QD4.js +2 -0
  155. package/dist/cdn/{GEFFWUB2.js → T2OYUOSO.js} +1 -1
  156. package/dist/cdn/T7LYQ56H.js +2 -0
  157. package/dist/cdn/{DZOQFEOB.js → TFXK2POV.js} +2 -2
  158. package/dist/cdn/{XQ3NBBQ3.js → TIQUULA4.js} +1 -1
  159. package/dist/cdn/{LCI5MEDN.js → TOUYGIGK.js} +2 -2
  160. package/dist/cdn/TZQ6XEKW.js +2 -0
  161. package/dist/cdn/{5LA77ZBW.js → UMTRLI63.js} +2 -2
  162. package/dist/cdn/{NPV4MEAZ.js → UP7RW5K2.js} +2 -2
  163. package/dist/cdn/{XCLICBG7.js → UR2S7L6Z.js} +2 -2
  164. package/dist/cdn/{CEKOEHB3.js → UWHRBGWN.js} +2 -2
  165. package/dist/cdn/{UQRBY7ID.js → UXDRYDOD.js} +2 -2
  166. package/dist/cdn/{JUPTVXLY.js → UZ7XFHYI.js} +2 -2
  167. package/dist/cdn/{AAUVOBPS.js → VINKTQFR.js} +1 -1
  168. package/dist/cdn/{SWXUQFB6.js → VU7IOGNS.js} +2 -2
  169. package/dist/cdn/{HC5DJL2U.js → W2SIOY2B.js} +2 -2
  170. package/dist/cdn/{FBARYPZ7.js → W36IUEUB.js} +2 -2
  171. package/dist/cdn/{5TW2NFES.js → WEBAQIUT.js} +2 -2
  172. package/dist/cdn/{WSIZ2OTL.js → WHIWOYHN.js} +1 -1
  173. package/dist/cdn/WOL5YMJ2.js +2 -0
  174. package/dist/cdn/{66VWTARH.js → X3YFCWQZ.js} +2 -2
  175. package/dist/cdn/{ICBIUFK7.js → X4EQEKM7.js} +2 -2
  176. package/dist/cdn/{TJBU5BQK.js → XBWGOD6I.js} +2 -2
  177. package/dist/cdn/{6E6T6U7W.js → XGDXTTYW.js} +2 -2
  178. package/dist/cdn/{CDS2HGQY.js → XLHYQNAM.js} +2 -2
  179. package/dist/cdn/{NEV6OZN3.js → XMQJWPXI.js} +2 -2
  180. package/dist/cdn/{QT3B5K4R.js → XQUKC4YK.js} +2 -2
  181. package/dist/cdn/{JEBRN3EU.js → XSH4B7FP.js} +2 -2
  182. package/dist/cdn/{LK7ZIQW6.js → XVWSIDZV.js} +2 -2
  183. package/dist/cdn/{J6A4AS7E.js → XYMIFFBW.js} +2 -2
  184. package/dist/cdn/{MPQ2OZXN.js → Y3ZKMD47.js} +2 -2
  185. package/dist/cdn/{YPLPDUMB.js → YAANCUW2.js} +2 -2
  186. package/dist/cdn/{KY7M4WHO.js → YD5LVM7V.js} +2 -2
  187. package/dist/cdn/{AMURN3LO.js → YGI277SH.js} +2 -2
  188. package/dist/cdn/{YI6NIHNI.js → YGSDJ4V3.js} +2 -2
  189. package/dist/cdn/YIF2OD6F.js +2 -0
  190. package/dist/cdn/YJEARDAZ.js +2 -0
  191. package/dist/cdn/{XC3T3Z5R.js → YSEHJQ4L.js} +2 -2
  192. package/dist/cdn/Z44NI2YQ.js +2 -0
  193. package/dist/cdn/{UYP5PH5E.js → ZUKM4DGB.js} +2 -2
  194. package/dist/cdn/ZVVNATCX.js +2 -0
  195. package/dist/cdn/agent-utils/BaseAgent.js +2 -2
  196. package/dist/cdn/agent-utils/FunctionAgent.js +2 -2
  197. package/dist/cdn/agent-utils/LLMAgent.js +2 -2
  198. package/dist/cdn/agent-utils/SkillAgent.js +2 -2
  199. package/dist/cdn/agent-utils/WorkflowAgent.js +2 -2
  200. package/dist/cdn/agent-utils/createSchema.js +2 -2
  201. package/dist/cdn/agent-utils/middlewares/humanInTheLoop.js +2 -2
  202. package/dist/cdn/agent-utils/middlewares/middleware.js +2 -2
  203. package/dist/cdn/agent-utils/middlewares/trace.js +2 -2
  204. package/dist/cdn/agent-utils/tools/FunctionTool.js +2 -2
  205. package/dist/cdn/agent-utils/tools/MCPToolProvider.js +2 -2
  206. package/dist/cdn/agent-utils/tools/WebMCPToolProvider.js +2 -2
  207. package/dist/cdn/agent-utils/workflows/ConditionalWorkflow.js +2 -2
  208. package/dist/cdn/agent-utils/workflows/LoopWorkflow.js +2 -2
  209. package/dist/cdn/agent-utils/workflows/ParallelWorkflow.js +2 -2
  210. package/dist/cdn/agent-utils/workflows/RouterWorkflow.js +2 -2
  211. package/dist/cdn/agent-utils/workflows/SequentialWorkflow.js +2 -2
  212. package/dist/cdn/agent-utils/workflows/SwitchWorkflow.js +2 -2
  213. package/dist/cdn/index.js +2 -2
  214. package/dist/cdn/orchestrator/embeddings/getEmbeddings.js +2 -2
  215. package/dist/cdn/orchestrator/models/chatModel.js +2 -2
  216. package/dist/cdn/orchestrator/models/prompts.js +2 -2
  217. package/dist/cdn/orchestrator/signals.js +2 -2
  218. package/dist/cdn/orchestrator/state/runtime.js +2 -2
  219. package/dist/chunks/BaseWorkflow.js +1 -1
  220. package/dist/chunks/SKILL.js +1 -1
  221. package/dist/chunks/SKILL2.js +1 -1
  222. package/dist/chunks/SKILL3.js +7 -11
  223. package/dist/chunks/SKILL4.js +1 -1
  224. package/dist/chunks/adapter.js +1 -1
  225. package/dist/chunks/adapter2.js +1 -1
  226. package/dist/chunks/aiFactory.js +1 -1
  227. package/dist/chunks/aiUtilityService.js +1 -1
  228. package/dist/chunks/arcgisToolRegistry.js +1 -1
  229. package/dist/chunks/arcgis_knowledge_current_lc_context.js +1 -1
  230. package/dist/chunks/arcgis_knowledge_current_map_context.js +1 -1
  231. package/dist/chunks/arcgis_knowledge_cypher_query_prompt.js +1 -1
  232. package/dist/chunks/arcgis_knowledge_lucene_generation_prompt.js +1 -1
  233. package/dist/chunks/arcgis_knowledge_summarize_result_prompt.js +1 -1
  234. package/dist/chunks/arcgis_knowledge_tool_prompt.js +1 -1
  235. package/dist/chunks/converterUtils.js +1 -1
  236. package/dist/chunks/createSkillAgent.js +1 -1
  237. package/dist/chunks/data_explore_filter_prompt.js +1 -1
  238. package/dist/chunks/data_explore_query_prompt.js +1 -1
  239. package/dist/chunks/embeddings.worker.js +1 -1
  240. package/dist/chunks/fetchAgentContext.js +1 -1
  241. package/dist/chunks/fetchService.js +1 -1
  242. package/dist/chunks/fetchUtils.js +1 -1
  243. package/dist/chunks/fieldStatistics.js +1 -1
  244. package/dist/chunks/field_descriptions_prompt.js +1 -1
  245. package/dist/chunks/formatFeatureAttributes.js +1 -1
  246. package/dist/chunks/getPrompt.js +1 -1
  247. package/dist/chunks/graph.js +1 -1
  248. package/dist/chunks/helpState.js +1 -1
  249. package/dist/chunks/help_prompt.js +1 -1
  250. package/dist/chunks/intent_prompt.js +19 -108
  251. package/dist/chunks/layerQueryToolCalling.js +1 -1
  252. package/dist/chunks/layerStylingState.js +1 -1
  253. package/dist/chunks/layer_descriptions_prompt.js +1 -1
  254. package/dist/chunks/layer_styling_prompt.js +1 -1
  255. package/dist/chunks/localization.js +1 -1
  256. package/dist/chunks/mergeWhereClauses.js +1 -1
  257. package/dist/chunks/modelConfig.js +1 -1
  258. package/dist/chunks/modelPricing.js +1 -1
  259. package/dist/chunks/navigationState.js +1 -1
  260. package/dist/chunks/navigation_intent_prompt.js +1 -1
  261. package/dist/chunks/navigation_tool_prompt.js +1 -1
  262. package/dist/chunks/observationSnapshot.js +1 -1
  263. package/dist/chunks/reducers.js +1 -1
  264. package/dist/chunks/requireAgentServices.js +1 -1
  265. package/dist/chunks/resolveFieldNames.js +1 -1
  266. package/dist/chunks/resolveGeometryFilter.js +1 -1
  267. package/dist/chunks/runtime.js +2 -2
  268. package/dist/chunks/runtime2.js +1 -1
  269. package/dist/chunks/runtimeSpans.js +1 -1
  270. package/dist/chunks/schema.js +1 -1
  271. package/dist/chunks/slottableRequestUtils.js +1 -1
  272. package/dist/chunks/state.js +1 -1
  273. package/dist/chunks/summarize_query_response_prompt.js +1 -1
  274. package/dist/chunks/textFormatters.js +1 -1
  275. package/dist/chunks/toolCallResponse.js +1 -1
  276. package/dist/chunks/useT9n.js +1 -1
  277. package/dist/chunks/utils.js +1 -1
  278. package/dist/chunks/utils2.js +1 -1
  279. package/dist/chunks/utils3.js +1 -1
  280. package/dist/chunks/webmapSchema.js +1 -1
  281. package/dist/components/arcgis-assistant/customElement.js +101 -101
  282. package/dist/components/arcgis-assistant/types.d.ts +2 -0
  283. package/dist/components/arcgis-assistant-agent/customElement.js +1 -1
  284. package/dist/components/arcgis-assistant-chat/customElement.js +1 -1
  285. package/dist/components/arcgis-assistant-chat-entry/customElement.js +1 -1
  286. package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +1 -1
  287. package/dist/components/arcgis-assistant-help-agent/customElement.js +1 -1
  288. package/dist/components/arcgis-assistant-interrupt/customElement.d.ts +6 -0
  289. package/dist/components/arcgis-assistant-interrupt/customElement.js +25 -24
  290. package/dist/components/arcgis-assistant-interrupt-preview/customElement.js +1 -1
  291. package/dist/components/arcgis-assistant-knowledge-agent/customElement.js +1 -1
  292. package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +1 -1
  293. package/dist/components/arcgis-assistant-message/customElement.js +1 -1
  294. package/dist/components/arcgis-assistant-message-block/customElement.js +1 -1
  295. package/dist/components/arcgis-assistant-message-feedback/customElement.js +1 -1
  296. package/dist/components/arcgis-assistant-message-footer/customElement.js +1 -1
  297. package/dist/components/arcgis-assistant-message-loading/customElement.js +1 -1
  298. package/dist/components/arcgis-assistant-message-log/customElement.js +1 -1
  299. package/dist/components/arcgis-assistant-message-read-aloud/customElement.js +1 -1
  300. package/dist/components/arcgis-assistant-message-text/customElement.js +1 -1
  301. package/dist/components/arcgis-assistant-navigation-agent/customElement.js +1 -1
  302. package/dist/components/arcgis-assistant-observation-inspector/customElement.js +1 -1
  303. package/dist/components/arcgis-assistant-observation-latency/customElement.js +1 -1
  304. package/dist/components/arcgis-assistant-observation-panel/customElement.js +1 -1
  305. package/dist/components/arcgis-assistant-observation-run/customElement.js +1 -1
  306. package/dist/components/arcgis-assistant-observation-usage/customElement.js +1 -1
  307. package/dist/components/arcgis-assistant-speech-input/customElement.js +1 -1
  308. package/dist/components/arcgis-assistant-suggested-prompts/customElement.js +1 -1
  309. package/dist/components/arcgis-assistant-user-message/customElement.js +1 -1
  310. package/dist/docs/api.json +1 -1
  311. package/dist/docs/docs.json +1 -1
  312. package/dist/docs/vscode.html-custom-data.json +1 -1
  313. package/dist/docs/web-types.json +1 -1
  314. package/dist/index.js +1 -1
  315. package/dist/loader.js +2 -2
  316. package/dist/orchestrator/embeddings/cosineSimilarity.js +1 -1
  317. package/dist/orchestrator/embeddings/getEmbeddings.js +1 -1
  318. package/dist/orchestrator/embeddings/webmapEmbeddings.js +1 -1
  319. package/dist/orchestrator/models/chatModel.js +1 -1
  320. package/dist/orchestrator/models/prompts.js +1 -1
  321. package/dist/orchestrator/orchestrator/orchestrator.js +1 -1
  322. package/dist/orchestrator/orchestrator/orchestratorEvents.js +1 -1
  323. package/dist/orchestrator/signals.js +1 -1
  324. package/dist/orchestrator/state/runtime.js +1 -1
  325. package/dist/orchestrator/state/types.js +1 -1
  326. package/dist/orchestrator/types.d.ts +6 -0
  327. package/dist/orchestrator/types.js +1 -1
  328. package/dist/types/lumina.d.ts +1 -1
  329. package/dist/types/preact.d.ts +1 -1
  330. package/dist/types/react.d.ts +1 -1
  331. package/dist/types/stencil.d.ts +1 -1
  332. package/dist/utils/index.js +1 -1
  333. package/package.json +5 -5
  334. package/dist/cdn/2UDDCWNW.js +0 -2
  335. package/dist/cdn/434TAA3J.js +0 -2
  336. package/dist/cdn/4KFTUBFL.js +0 -2
  337. package/dist/cdn/6PK2UPG3.js +0 -2
  338. package/dist/cdn/74CVYM72.js +0 -19
  339. package/dist/cdn/7HVIVV3O.js +0 -2
  340. package/dist/cdn/7MCFHVEH.js +0 -3
  341. package/dist/cdn/AO2G4EXA.js +0 -2
  342. package/dist/cdn/AWPLRVPS.js +0 -2
  343. package/dist/cdn/C76HLPKU.js +0 -2
  344. package/dist/cdn/CADNOKIK.js +0 -2
  345. package/dist/cdn/CHHC6YNW.js +0 -2
  346. package/dist/cdn/DBRBT54R.js +0 -2
  347. package/dist/cdn/DJKEGIQZ.js +0 -2
  348. package/dist/cdn/EGSD465U.js +0 -2
  349. package/dist/cdn/HLWG7OIR.js +0 -2
  350. package/dist/cdn/HWIM4KWF.js +0 -2
  351. package/dist/cdn/KKWCHNYQ.js +0 -2
  352. package/dist/cdn/KX6CZEVZ.js +0 -2
  353. package/dist/cdn/M2G44RTS.js +0 -2
  354. package/dist/cdn/MB7SEHPZ.js +0 -2
  355. package/dist/cdn/MC2V5WT3.js +0 -2
  356. package/dist/cdn/MZFWD5CQ.js +0 -2
  357. package/dist/cdn/NMFEXE4D.js +0 -2
  358. package/dist/cdn/OT5ECP4V.js +0 -138
  359. package/dist/cdn/OYHYHALE.js +0 -2
  360. package/dist/cdn/QUZTFUWM.js +0 -1
  361. package/dist/cdn/RF6HWZMB.js +0 -2
  362. package/dist/cdn/RFPTOFM4.js +0 -2
  363. package/dist/cdn/RKURZ5T2.js +0 -2
  364. package/dist/cdn/SJ4UMNIS.js +0 -2
  365. package/dist/cdn/USPB2QBX.js +0 -2
  366. package/dist/cdn/V6EX4YCY.js +0 -2
  367. package/dist/cdn/VA4M72JC.js +0 -2
  368. package/dist/cdn/VQ67NANV.js +0 -2
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { a } from "../chunks/state.js";
3
3
  const t = () => {
4
4
  throw new Error("createGraph method not implemented.");
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { isGraphInterrupt as o } from "@langchain/langgraph/web";
3
3
  import { BaseAgent as c } from "./BaseAgent.js";
4
4
  import { c as u } from "../chunks/graph.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { ChatPromptTemplate as c } from "@langchain/core/prompts";
3
3
  import { ToolMessage as l } from "@langchain/core/messages";
4
4
  import { isGraphInterrupt as g } from "@langchain/langgraph/web";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { BaseAgent as r } from "./BaseAgent.js";
3
3
  import { c as a } from "../chunks/createSkillAgent.js";
4
4
  class d extends r {
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { BaseAgent as h } from "./BaseAgent.js";
3
3
  import { c as n } from "../chunks/graph.js";
4
4
  class l extends h {
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  async function c(e) {
3
3
  const { createZodObjectSchema: t } = await import("../chunks/schema.js");
4
4
  return t(e);
@@ -1,20 +1,20 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { NodeInterrupt as s } from "@langchain/langgraph/web";
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import { NodeInterrupt as c } from "@langchain/langgraph/web";
3
3
  import { createAgentMiddleware as f, createToolMiddleware as I } from "./middleware.js";
4
- const m = "human-in-the-loop", w = "Agent execution requires approval", p = "Agent execution rejected by the user.", h = "human-in-the-loop-tool", y = "Tool execution requires approval";
5
- function k(t = {}) {
4
+ const h = "human-in-the-loop", w = "Agent execution requires approval", p = "Agent execution rejected by the user.", m = "human-in-the-loop-tool", y = "Tool execution requires approval";
5
+ function C(t = {}) {
6
6
  const { outputKey: n } = t;
7
7
  return f(
8
- m,
8
+ h,
9
9
  {
10
10
  wrapAgent: async (e, r) => {
11
11
  const a = T(e), o = M(a, e), i = u(e.config?.configurable);
12
12
  if (i?.agentId !== a)
13
- throw new s(await g({ agentId: a, interruptId: o, options: t, request: e }));
13
+ throw new c(await g({ agentId: a, interruptId: o, options: t, request: e }));
14
14
  if (i.id !== o) {
15
15
  if (b(a, i.id))
16
16
  return await r(e);
17
- throw new s(await g({ agentId: a, interruptId: o, options: t, request: e }));
17
+ throw new c(await g({ agentId: a, interruptId: o, options: t, request: e }));
18
18
  }
19
19
  if (i.payload === !1)
20
20
  return { outputMessage: p, status: "failed", summary: p };
@@ -25,17 +25,17 @@ function k(t = {}) {
25
25
  { outputKey: n }
26
26
  );
27
27
  }
28
- function v(t = {}) {
28
+ function k(t = {}) {
29
29
  const { outputKey: n } = t;
30
- return I(h, {
30
+ return I(m, {
31
31
  wrapToolCall: async (e, r) => {
32
32
  const a = e.tool.name, o = A(e.config?.configurable), i = R(o, e.toolCallId ?? a), l = u(e.config?.configurable);
33
33
  if (l?.agentId !== o || l.id !== i)
34
- throw new s(await $({ agentId: o, interruptId: i, options: t, request: e }));
34
+ throw new c(await $({ agentId: o, interruptId: i, options: t, request: e }));
35
35
  if (l.payload === !1)
36
36
  return `Tool call "${a}" was rejected by the user.`;
37
- const d = n ? { ...e.input, [n]: l.payload } : e.input, c = { ...e, input: d };
38
- return await r(c);
37
+ const d = n ? { ...e.input, [n]: l.payload } : e.input, s = { ...e, input: d };
38
+ return await r(s);
39
39
  }
40
40
  });
41
41
  }
@@ -46,7 +46,8 @@ async function g(t) {
46
46
  id: e,
47
47
  kind: o?.kind ?? "booleanChoice",
48
48
  message: o?.message ?? w,
49
- metadata: o?.metadata
49
+ metadata: o?.metadata,
50
+ showOtherOption: o?.showOtherOption
50
51
  };
51
52
  }
52
53
  function T(t) {
@@ -66,21 +67,22 @@ function R(t, n) {
66
67
  return `${t}:tool:${n}`;
67
68
  }
68
69
  async function $(t) {
69
- const { agentId: n, interruptId: e, options: r, request: a } = t, { input: o, tool: i, toolCallId: l } = a, d = i.name, c = await r.interrupt?.({ ...a, args: o, toolName: d, toolCallId: l });
70
+ const { agentId: n, interruptId: e, options: r, request: a } = t, { input: o, tool: i, toolCallId: l } = a, d = i.name, s = await r.interrupt?.({ ...a, args: o, toolName: d, toolCallId: l });
70
71
  return {
71
72
  agentId: n,
72
73
  id: e,
73
- kind: c?.kind ?? "booleanChoice",
74
- message: c?.message ?? `${y}
74
+ kind: s?.kind ?? "booleanChoice",
75
+ message: s?.message ?? `${y}
75
76
  Tool: ${d}`,
76
- metadata: c?.metadata ?? {
77
+ showOtherOption: s?.showOtherOption,
78
+ metadata: s?.metadata ?? {
77
79
  args: o,
78
80
  toolCallId: l,
79
81
  toolName: d
80
82
  }
81
83
  };
82
84
  }
83
- function H(t) {
85
+ function v(t) {
84
86
  return u(t?.configurable)?.payload;
85
87
  }
86
88
  function u(t) {
@@ -88,7 +90,7 @@ function u(t) {
88
90
  return n && typeof n == "object" && "id" in n && "agentId" in n ? n : null;
89
91
  }
90
92
  export {
91
- k as createHumanInTheLoopMiddleware,
92
- v as createHumanInTheLoopToolMiddleware,
93
- H as getHumanInTheLoopPayload
93
+ C as createHumanInTheLoopMiddleware,
94
+ k as createHumanInTheLoopToolMiddleware,
95
+ v as getHumanInTheLoopPayload
94
96
  };
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { createMiddleware as p } from "langchain";
3
3
  function g(e, t, r) {
4
4
  return {
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { sendTraceMessage as n } from "../../orchestrator/signals.js";
3
3
  import { AIMessage as i, ToolMessage as c } from "@langchain/core/messages";
4
4
  import { createAgentMiddleware as s, createToolMiddleware as d } from "./middleware.js";
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
 
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as c } from "@langchain/core/tools";
3
3
  class h {
4
4
  //#region Lifecycle
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { DynamicStructuredTool as a } from "@langchain/core/tools";
3
3
  import { Client as c, StreamableHTTPClientTransport as l } from "@modelcontextprotocol/client";
4
4
  class u {
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { DynamicStructuredTool as c } from "@langchain/core/tools";
3
3
  function u(n) {
4
4
  return n instanceof Error && /^Failed to parse (?:input|arguments)/u.test(n.message);
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { B as l, g as r } from "../../chunks/BaseWorkflow.js";
3
3
  class g extends l {
4
4
  //#region Lifecycle
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as d } from "../../chunks/graph.js";
3
3
  import { B as l } from "../../chunks/BaseWorkflow.js";
4
4
  class m extends l {
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as M } from "../../chunks/graph.js";
3
3
  import { a as R } from "../../chunks/state.js";
4
4
  import { B as k, c as P, g as m, a as F } from "../../chunks/BaseWorkflow.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { B as u, g as n } from "../../chunks/BaseWorkflow.js";
3
3
  class g extends u {
4
4
  //#region Lifecycle
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { B as u, g as s, a as l } from "../../chunks/BaseWorkflow.js";
3
3
  class m extends u {
4
4
  //#region Lifecycle
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { B as l, g as c } from "../../chunks/BaseWorkflow.js";
3
3
  class f extends l {
4
4
  //#region Lifecycle
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { StateGraph as x, START as k, END as c, Command as b } from "@langchain/langgraph/web";
3
3
  import { a as K, c as _, g as T, b as A, d as S, s as M, q as v, e as q, f as C, G as E, h as u } from "../../../../chunks/adapter2.js";
4
4
  import { invokeToolPrompt as G, invokeTextPrompt as N } from "../../../../orchestrator/models/prompts.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as e } from "../../../chunks/createSkillAgent.js";
3
3
  const t = [
4
4
  async () => (await import("../../../chunks/SKILL2.js")).default,
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { StateGraph as R, START as F, END as y } from "@langchain/langgraph/web";
3
3
  import { f as w, q as C, D as v, l as N } from "../../../../chunks/layerQueryToolCalling.js";
4
4
  import { sendTraceMessage as s } from "../../../../orchestrator/signals.js";
@@ -1,7 +1,7 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as o } from "../../../chunks/createSkillAgent.js";
3
- const d = (a, e) => {
4
- const r = Array.from(a?.values() ?? []).map(({ fieldRegistry: n, layerItem: t }) => {
3
+ const d = (i, e) => {
4
+ const a = Array.from(i?.values() ?? []).map(({ fieldRegistry: n, layerItem: t }) => {
5
5
  const s = Array.from(n.values(), ({ name: l }) => l);
6
6
  return {
7
7
  title: t.title,
@@ -9,23 +9,23 @@ const d = (a, e) => {
9
9
  fields: s.slice(0, 10),
10
10
  additionalFieldCount: Math.max(s.length - 10, 0)
11
11
  };
12
- }), i = (e?.list() ?? []).map(({ agent: { description: n, id: t, name: s } }) => ({
12
+ }), r = (e?.list() ?? []).map(({ agent: { description: n, id: t, name: s } }) => ({
13
13
  id: t,
14
14
  name: s,
15
15
  description: n
16
16
  }));
17
- return JSON.stringify({ layers: r, agents: i }, null, 2);
18
- }, c = ({ config: a }) => {
19
- const e = a?.configurable?.services;
17
+ return JSON.stringify({ layers: a, agents: r }, null, 2);
18
+ }, p = ({ config: i }) => {
19
+ const e = i?.configurable?.services;
20
20
  return d(e?.layersAndFieldsRegistry, e?.agentRegistry);
21
- }, p = [async () => (await import("../../../chunks/SKILL3.js")).default], m = o({
21
+ }, c = [async () => (await import("../../../chunks/SKILL3.js")).default], m = o({
22
22
  id: "help",
23
23
  name: "Help Agent",
24
- description: "Answers questions about the current map, its layers and fields, and available assistant capabilities. Use for general help, unsupported map actions, and unrelated requests that should be redirected to map-related questions.",
25
- skillLoaders: p,
24
+ description: "Answers questions about the map, its layers, and fields in those layers, including listing all or matching layers by title or description and fields by name, alias, type, or description. Explains assistant capabilities and redirects unsupported map actions or unrelated questions to map-related help.",
25
+ skillLoaders: c,
26
26
  modelTier: "default",
27
27
  systemPrompt: "You are an ArcGIS map help agent.",
28
- runtimeContextLoader: c
28
+ runtimeContextLoader: p
29
29
  });
30
30
  export {
31
31
  m as HelpAgent
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { StateGraph as d, START as g, END as i } from "@langchain/langgraph/web";
3
3
  import { H as u } from "../../../../chunks/helpState.js";
4
4
  import { invokeToolPrompt as h } from "../../../../orchestrator/models/prompts.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  const e = ["mapView"];
3
3
  export {
4
4
  e as layerStylingContextRequiredKeys
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { NodeInterrupt as w, StateGraph as E, START as L, END as h } from "@langchain/langgraph/web";
3
3
  import { sendTraceMessage as i } from "../../../../orchestrator/signals.js";
4
4
  import { f as p } from "../../../../chunks/fetchService.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as r } from "../../../chunks/createSkillAgent.js";
3
3
  import { f as n } from "../../../chunks/fetchAgentContext.js";
4
4
  const s = ({ config: a }) => {
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { StateGraph as E, START as $, END as R } from "@langchain/langgraph/web";
3
3
  import { N as T } from "../../../../chunks/navigationState.js";
4
4
  import { invokeToolPrompt as C, invokeStructuredPrompt as F } from "../../../../orchestrator/models/prompts.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as l } from "@langchain/core/tools";
3
3
  import o from "zod";
4
4
  import { f } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as n } from "@langchain/core/tools";
3
3
  import i from "zod";
4
4
  import { f as l } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import e from "zod";
3
3
  import { tool as h } from "@langchain/core/tools";
4
4
  import m from "@arcgis/core/layers/support/FeatureEffect.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as n } from "@langchain/core/tools";
3
3
  import s from "zod";
4
4
  import { f as c } from "../../../../chunks/fetchService.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as f } from "@langchain/core/tools";
3
3
  import s from "@arcgis/core/config.js";
4
4
  import u from "@arcgis/core/Graphic.js";
@@ -1,30 +1,47 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { z as i } from "zod";
3
- import { tool as k } from "@langchain/core/tools";
4
- import { f as s } from "../../../../chunks/fetchAgentContext.js";
5
- async function c(o, t) {
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import { z as s } from "zod";
3
+ import p from "@arcgis/core/geometry/Polygon.js";
4
+ import { tool as f } from "@langchain/core/tools";
5
+ import { f as w } from "../../../../chunks/fetchAgentContext.js";
6
+ async function g(o, t) {
6
7
  const e = t.map.bookmarks;
7
8
  if (!e || e.length === 0)
8
9
  throw new Error("No bookmarks found in the map.");
9
- const n = e.find((m) => m.name === o);
10
- if (!n)
11
- throw new Error(`Bookmark with name "${o}" not found.`);
12
- const a = n.viewpoint;
10
+ const a = e.find((h) => h.name === o);
13
11
  if (!a)
12
+ throw new Error(`Bookmark with name "${o}" not found.`);
13
+ const n = a.viewpoint;
14
+ if (!n)
14
15
  throw new Error(`Bookmark with name "${o}" does not have a valid viewpoint.`);
15
- return await t.goTo(a), { text: `Navigated to bookmark: ${o}` };
16
+ const i = n.targetGeometry?.extent;
17
+ if (!i)
18
+ throw new Error(`Bookmark with name "${o}" does not have a valid target geometry.`);
19
+ const c = p.fromExtent(i);
20
+ await t.goTo(n);
21
+ const m = `Navigated to bookmark: ${o}`, k = {
22
+ value: m,
23
+ sharedResourceAdditions: [
24
+ {
25
+ kind: "polygon",
26
+ description: `Bookmark: ${o}`,
27
+ payload: c.toJSON()
28
+ }
29
+ ]
30
+ };
31
+ return [m, k];
16
32
  }
17
- async function h({ bookmarkName: o }, t) {
18
- const { mapView: r } = s(t, ["mapView"]);
19
- return await Promise.resolve(c(o, r));
33
+ async function d({ bookmarkName: o }, t) {
34
+ const { mapView: r } = w(t, ["mapView"]);
35
+ return await g(o, r);
20
36
  }
21
- const w = i.object({
22
- bookmarkName: i.string().describe("The name of the bookmark to navigate to.")
23
- }), b = k(h, {
37
+ const v = s.object({
38
+ bookmarkName: s.string().describe("The name of the bookmark to navigate to.")
39
+ }), T = f(d, {
24
40
  name: "goToBookmark",
25
41
  description: "Go to the extent of the bookmark with the given name.",
26
- schema: w
42
+ schema: v,
43
+ responseFormat: "content-and-artifact"
27
44
  });
28
45
  export {
29
- b as goToBookmarkTool
46
+ T as goToBookmarkTool
30
47
  };
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { z as i } from "zod";
3
3
  import { tool as u } from "@langchain/core/tools";
4
4
  import { f as c } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { z as n } from "zod";
3
3
  import r from "@arcgis/core/geometry/Extent.js";
4
4
  import { tool as i } from "@langchain/core/tools";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as n } from "@langchain/core/tools";
3
3
  import i from "zod";
4
4
  import { f as r } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { z as r } from "zod";
3
3
  import { tool as i } from "@langchain/core/tools";
4
4
  import { f as c } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import t from "zod";
3
3
  import { tool as a } from "@langchain/core/tools";
4
4
  import { f as i } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import t from "zod";
3
3
  import { tool as c } from "@langchain/core/tools";
4
4
  import l from "@arcgis/core/geometry/Point.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import t from "zod";
3
3
  import { tool as m } from "@langchain/core/tools";
4
4
  import { f as i } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as d } from "@langchain/core/tools";
3
3
  import s from "zod";
4
4
  import { f as h, g } from "../../../../chunks/formatFeatureAttributes.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as E } from "@langchain/core/tools";
3
3
  import t from "zod";
4
4
  import N from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as x } from "@langchain/core/tools";
3
3
  import t from "zod";
4
4
  import G from "@arcgis/core/rest/support/TopFeaturesQuery.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as C } from "@langchain/core/tools";
3
3
  import { a as R } from "../../../../chunks/formatFeatureAttributes.js";
4
4
  import { g as O, i as S, a as I, s as G, r as N } from "../../../../chunks/resolveGeometryFilter.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as y } from "@langchain/core/tools";
3
3
  import t from "zod";
4
4
  import { f as h } from "../../../../chunks/fetchAgentContext.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { tool as y } from "@langchain/core/tools";
3
3
  import i from "zod";
4
4
  import { f as n } from "../../../../chunks/fetchService.js";
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { ToolMessage as a } from "@langchain/core/messages";
3
3
  const i = (r) => typeof r == "object" && r !== null && "value" in r, c = ({ messages: r, schema: n, toolName: t }) => {
4
4
  for (let o = r.length - 1; o >= 0; o--) {
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import e from "zod";
3
3
  const t = ["feet", "kilometers", "meters", "miles", "nautical-miles", "us-nautical-miles"], i = e.enum(t);
4
4
  export {
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import b from"./Y3ZKMD47.js";import a from"./BMVPOFHU.js";import"./QBZP6XOE.js";import"./GS5JDPZH.js";import"./A4ZVCRVF.js";import"./N2GN5WOI.js";import"./272R36XK.js";import"./5PV2GUZW.js";export default $arcgis.t(([,a])=>{return a},a,b)