@arcgis/ai-components 5.2.0-next.106 → 5.2.0-next.107
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/agent-utils/BaseAgent.js +1 -1
- package/dist/agent-utils/FunctionAgent.js +1 -1
- package/dist/agent-utils/LLMAgent.js +1 -1
- package/dist/agent-utils/WorkflowAgent.js +1 -1
- package/dist/agent-utils/index.js +1 -1
- package/dist/agent-utils/middlewares/humanInTheLoop.js +1 -1
- package/dist/agent-utils/middlewares/middleware.js +1 -1
- package/dist/agent-utils/middlewares/trace.js +1 -1
- package/dist/agent-utils/middlewares/types.js +1 -1
- package/dist/agent-utils/tools/FunctionTool.js +1 -1
- package/dist/agent-utils/workflows/ConditionalWorkflow.js +1 -1
- package/dist/agent-utils/workflows/LoopWorkflow.js +1 -1
- package/dist/agent-utils/workflows/ParallelWorkflow.js +1 -1
- package/dist/agent-utils/workflows/RouterWorkflow.js +1 -1
- package/dist/agent-utils/workflows/SequentialWorkflow.js +1 -1
- package/dist/agent-utils/workflows/SwitchWorkflow.js +1 -1
- package/dist/agents/runtime/skill/createSkillAgent.d.ts +1 -1
- package/dist/agents/runtime/skill/createSkillAgent.js +42 -44
- package/dist/agents/runtime/skill/types.d.ts +1 -1
- package/dist/agents/runtime/skill/types.js +1 -1
- package/dist/agents/tools/filter/clearFilters/adapter.js +1 -1
- package/dist/agents/tools/filter/resetMap/adapter.js +1 -1
- package/dist/agents/tools/filter/setFeatureEffect/adapter.js +1 -1
- package/dist/agents/tools/help/listFields/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToAddress/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToBookmark/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToFeatures/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToFullExtent/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToHomeExtent/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToLayer/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToScale/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToViewpoint/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToZoom/adapter.js +1 -1
- package/dist/agents/tools/query/getAttribute/adapter.js +1 -1
- package/dist/agents/tools/query/getStatistics/adapter.js +1 -1
- package/dist/agents/tools/query/getTopFeatures/adapter.js +1 -1
- package/dist/agents/tools/query/queryFeatures/adapter.js +1 -1
- package/dist/agents/tools/search/findRelevantFields/adapter.js +1 -1
- package/dist/agents/tools/search/findRelevantLayers/adapter.js +1 -1
- package/dist/agents/tools/shared/resolveToolArtifact.js +1 -1
- package/dist/agents/tools/shared/types.js +1 -1
- package/dist/cdn/25MBI4PD.js +2 -0
- package/dist/cdn/{3XDT7MWI.js → 275FFTBE.js} +2 -2
- package/dist/cdn/{XQ3NBBQ3.js → 2F4TPWZQ.js} +1 -1
- package/dist/cdn/{KJLLN4P4.js → 2LVYAXHG.js} +3 -3
- package/dist/cdn/{5MK44FNO.js → 2NRCE53B.js} +2 -2
- package/dist/cdn/{XKH37FLY.js → 2WXXSZP5.js} +2 -2
- package/dist/cdn/{APFZY4PI.js → 3KNLFIM3.js} +2 -2
- package/dist/cdn/{VMZZR7MY.js → 3PPXAIRE.js} +2 -2
- package/dist/cdn/{JMNHFKGL.js → 45BDE3MG.js} +2 -2
- package/dist/cdn/{S4LELUBK.js → 477I66FH.js} +2 -2
- package/dist/cdn/4CFCV47G.js +2 -0
- package/dist/cdn/{TPULIO6I.js → 4IWDBEMN.js} +2 -2
- package/dist/cdn/{HHBNLCJP.js → 4OI4QEV7.js} +2 -2
- package/dist/cdn/{2W7LK4HA.js → 4UAREC76.js} +2 -2
- package/dist/cdn/{TEI6WXW7.js → 4VBOTWC3.js} +2 -2
- package/dist/cdn/{RLEHNAIA.js → 4YOG5F3W.js} +1 -1
- package/dist/cdn/5X23DDDZ.js +2 -0
- package/dist/cdn/65ZACLYB.js +2 -0
- package/dist/cdn/{D5EKX26R.js → 6KWGSXIN.js} +2 -2
- package/dist/cdn/{O4NVW75A.js → 6MRTZ4OM.js} +2 -2
- package/dist/cdn/{6YZGKVYB.js → 77NAJM5H.js} +2 -2
- package/dist/cdn/{NEV6OZN3.js → 7DOYUO7L.js} +2 -2
- package/dist/cdn/{EYOWRGDP.js → 7JJX6VGI.js} +2 -2
- package/dist/cdn/{ONQ6JSBJ.js → A6LBMS7A.js} +1 -1
- package/dist/cdn/{EOD5PNOL.js → AP3KPOHN.js} +2 -2
- package/dist/cdn/AUCKEB52.js +2 -0
- package/dist/cdn/B3HXSEBN.js +2 -0
- package/dist/cdn/{6ECRQVHY.js → BAKJLCYO.js} +2 -2
- package/dist/cdn/{74CVYM72.js → BJMGT6GV.js} +2 -2
- package/dist/cdn/{5LMYUEK7.js → BTOBEN7Q.js} +2 -2
- package/dist/cdn/BTTCBEPW.js +2 -0
- package/dist/cdn/{UZLQALHY.js → BVUCNXC5.js} +1 -1
- package/dist/cdn/{RFVZ7KCG.js → CAOMMQSY.js} +1 -1
- package/dist/cdn/{P4GFYBBO.js → CBYBFBD3.js} +2 -2
- package/dist/cdn/{725MBCQF.js → CKUUYQLO.js} +2 -2
- package/dist/cdn/{MWYBF3F3.js → CSE6BHOJ.js} +2 -2
- package/dist/cdn/{XTCLJEID.js → CX2HJ67C.js} +2 -2
- package/dist/cdn/EELMDCPV.js +2 -0
- package/dist/cdn/{6RAWG2KQ.js → EGRRZTF6.js} +2 -2
- package/dist/cdn/EHYDAEGL.js +2 -0
- package/dist/cdn/{TBYDZN4H.js → EK3PM4L5.js} +2 -2
- package/dist/cdn/{PYGX4HN7.js → ENAEE4UU.js} +2 -2
- package/dist/cdn/EXMEB4X2.js +2 -0
- package/dist/cdn/{AGQ5ADFU.js → EYGZJKVD.js} +2 -2
- package/dist/cdn/{BTTBKTFM.js → FK2CVSXW.js} +2 -2
- package/dist/cdn/FLUI6GCU.js +2 -0
- package/dist/cdn/{ZU2FHVNK.js → FPH52WOH.js} +2 -2
- package/dist/cdn/FRYS2PZJ.js +2 -0
- package/dist/cdn/FSLQCZRN.js +2 -0
- package/dist/cdn/{PQ2DPOFM.js → FTTLFIBV.js} +2 -2
- package/dist/cdn/{2AMUOR7X.js → FV6FHLYW.js} +2 -2
- package/dist/cdn/{TFRWUAB6.js → G24MNC7D.js} +2 -2
- package/dist/cdn/{6OOZSZRJ.js → GN56DOYL.js} +2 -2
- package/dist/cdn/{ROQGPAR5.js → HIJGY4GU.js} +2 -2
- package/dist/cdn/{BL273EGZ.js → HMMYCSOK.js} +2 -2
- package/dist/cdn/{ES6D4UD6.js → HNTSDY3J.js} +2 -2
- package/dist/cdn/HQOK6DDH.js +2 -0
- package/dist/cdn/{HB72YIII.js → HV7MVIQV.js} +2 -2
- package/dist/cdn/I3SUE2TR.js +2 -0
- package/dist/cdn/{VAXH6RUQ.js → I72ST4JR.js} +2 -2
- package/dist/cdn/{FYZATVB3.js → IHUWQOMK.js} +2 -2
- package/dist/cdn/{J6A4AS7E.js → JMXXRRKQ.js} +2 -2
- package/dist/cdn/{5HBAJ57P.js → JPXEMNPR.js} +2 -2
- package/dist/cdn/{UHEYPSOR.js → JYNHWJUZ.js} +2 -2
- package/dist/cdn/KAX4A7SF.js +2 -0
- package/dist/cdn/{BQYF37UD.js → KBSXHSBX.js} +2 -2
- package/dist/cdn/{CCC6LBMY.js → KKCLHXHG.js} +1 -1
- package/dist/cdn/{7UF3WRLO.js → L2HLFWCV.js} +2 -2
- package/dist/cdn/{LK7ZIQW6.js → L3BTURBA.js} +2 -2
- package/dist/cdn/{IRSJXHRN.js → LBTGOMCT.js} +2 -2
- package/dist/cdn/{34O57OGV.js → LLY5A2E2.js} +1 -1
- package/dist/cdn/{OOGADOKQ.js → LXIKAXUT.js} +2 -2
- package/dist/cdn/{S627D4K7.js → M2U456J5.js} +2 -2
- package/dist/cdn/{UAG6GDUG.js → M3KKORBG.js} +2 -2
- package/dist/cdn/M5B6X46F.js +2 -0
- package/dist/cdn/{SDWWUWAF.js → MZUDIQQH.js} +2 -2
- package/dist/cdn/{CEKOEHB3.js → NNPA3NLK.js} +2 -2
- package/dist/cdn/{MXTXJKFE.js → NPWLYHMU.js} +2 -2
- package/dist/cdn/NV7CL4S3.js +2 -0
- package/dist/cdn/{3UEKINYC.js → OALQBAZR.js} +2 -2
- package/dist/cdn/{RHYNE5OE.js → OF3TAARW.js} +1 -1
- package/dist/cdn/{F5NIRETW.js → P53TDER7.js} +2 -2
- package/dist/cdn/{SXM4NUT5.js → PJLGCS33.js} +2 -2
- package/dist/cdn/{EJJFG5DE.js → PJPP6LOS.js} +2 -2
- package/dist/cdn/PUZ6RAFQ.js +2 -0
- package/dist/cdn/{IHP25JWI.js → QAX6UF4L.js} +2 -2
- package/dist/cdn/{JEBRN3EU.js → QTEPFTAU.js} +2 -2
- package/dist/cdn/ROS22KOA.js +2 -0
- package/dist/cdn/RPOFBIE7.js +2 -0
- package/dist/cdn/{COH3QXWG.js → S5GFNIHC.js} +3 -3
- package/dist/cdn/{A7BKHIMA.js → SBNNJ5WA.js} +2 -2
- package/dist/cdn/SI22EJLC.js +2 -0
- package/dist/cdn/{7QIX4PZR.js → SJMAKF4P.js} +2 -2
- package/dist/cdn/{6P44KOKX.js → SKCUGZ7G.js} +2 -2
- package/dist/cdn/{V6HOUZPZ.js → SNG3WODY.js} +2 -2
- package/dist/cdn/{JWZD3D5E.js → STOGCXJH.js} +2 -2
- package/dist/cdn/{OMF6ITSG.js → SUC2MIGE.js} +2 -2
- package/dist/cdn/SXYKNDOF.js +2 -0
- package/dist/cdn/SZ2L5556.js +2 -0
- package/dist/cdn/{4ALF2CJY.js → T6W6F4TF.js} +2 -2
- package/dist/cdn/{RN6WMVZX.js → TFAJNKBC.js} +2 -2
- package/dist/cdn/{R74ZHFA6.js → TLPZELG3.js} +1 -1
- package/dist/cdn/{2O4DON37.js → TNLFUXIB.js} +2 -2
- package/dist/cdn/{RLB6TK6B.js → TXZQZR3I.js} +2 -2
- package/dist/cdn/UGIHS7OA.js +2 -0
- package/dist/cdn/{UDRKUVZP.js → UX457AQR.js} +2 -2
- package/dist/cdn/{ICBIUFK7.js → V266DJ5V.js} +2 -2
- package/dist/cdn/{FDOMMK2M.js → V4PJMCJZ.js} +1 -1
- package/dist/cdn/{3VCPN2KW.js → V52GSTOC.js} +2 -2
- package/dist/cdn/{UHICISBZ.js → VGLBH473.js} +2 -2
- package/dist/cdn/{WSWB3B7B.js → VHNTHPH7.js} +2 -2
- package/dist/cdn/{OZ2CM3J2.js → VK6CCPTG.js} +2 -2
- package/dist/cdn/{AOVJ34QE.js → VLPELJUS.js} +2 -2
- package/dist/cdn/VT5EWFH7.js +2 -0
- package/dist/cdn/{Y7LGFSHO.js → VXLKTQ36.js} +2 -2
- package/dist/cdn/{CFAC4FN3.js → W54XYT2A.js} +2 -2
- package/dist/cdn/{RZIXMISL.js → X42ACC66.js} +2 -2
- package/dist/cdn/{7EOS4SGJ.js → XNUWVZN7.js} +2 -2
- package/dist/cdn/{2OUIRKTV.js → XOTPSCNF.js} +2 -2
- package/dist/cdn/{ZZZB3GES.js → XRVGYRXL.js} +2 -2
- package/dist/cdn/{JKKU4K4C.js → XV7RMYLR.js} +2 -2
- package/dist/cdn/{3SD47V7G.js → XVJFPZTW.js} +2 -2
- package/dist/cdn/XZF7Y6B2.js +2 -0
- package/dist/cdn/Y4ZOB6UH.js +2 -0
- package/dist/cdn/{ZFOG3KXV.js → Y6CV2NZR.js} +2 -2
- package/dist/cdn/YMJKT5OK.js +2 -0
- package/dist/cdn/{6GODC6RU.js → YOW3YKWR.js} +2 -2
- package/dist/cdn/{OKVLGJAG.js → ZA7ZU2F7.js} +2 -2
- package/dist/cdn/{OL7QBAGS.js → ZJWR4W2S.js} +2 -2
- package/dist/cdn/ZWIKFBOU.js +2 -0
- package/dist/cdn/{MXAZE2VM.js → ZY3JQCZQ.js} +36 -36
- package/dist/cdn/agent-utils/index.js +2 -2
- package/dist/cdn/agent-utils/middlewares/humanInTheLoop.js +2 -2
- package/dist/cdn/agent-utils/middlewares/middleware.js +2 -2
- package/dist/cdn/agent-utils/middlewares/trace.js +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/BaseWorkflow.js +1 -1
- package/dist/chunks/SKILL.js +1 -1
- package/dist/chunks/SKILL2.js +1 -1
- package/dist/chunks/SKILL3.js +1 -1
- package/dist/chunks/SKILL4.js +1 -1
- package/dist/chunks/adapter.js +1 -1
- package/dist/chunks/aiFactory.js +1 -1
- package/dist/chunks/arcgisKnowledgeGraph.js +1 -1
- package/dist/chunks/arcgisToolRegistry.js +88 -0
- package/dist/chunks/arcgis_knowledge_current_lc_context.js +1 -1
- package/dist/chunks/arcgis_knowledge_current_map_context.js +1 -1
- package/dist/chunks/arcgis_knowledge_cypher_query_prompt.js +1 -1
- package/dist/chunks/arcgis_knowledge_lucene_generation_prompt.js +1 -1
- package/dist/chunks/arcgis_knowledge_summarize_result_prompt.js +1 -1
- package/dist/chunks/arcgis_knowledge_tool_prompt.js +1 -1
- package/dist/chunks/baseAgentState.js +1 -1
- package/dist/chunks/converterUtils.js +1 -1
- package/dist/chunks/dataExplorationAgent.js +3 -14
- package/dist/chunks/data_explore_filter_prompt.js +1 -1
- package/dist/chunks/data_explore_query_prompt.js +1 -1
- package/dist/chunks/embeddings.worker.js +1 -1
- package/dist/chunks/fetchAgentContext.js +1 -1
- package/dist/chunks/fetchService.js +1 -1
- package/dist/chunks/fieldStatistics.js +1 -1
- package/dist/chunks/field_descriptions_prompt.js +1 -1
- package/dist/chunks/formatFeatureAttributes.js +1 -1
- package/dist/chunks/generateLayerDescriptions.js +1 -1
- package/dist/chunks/graph.js +1 -1
- package/dist/chunks/helpAgent.js +11 -14
- package/dist/chunks/help_prompt.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/intent_prompt.js +1 -1
- package/dist/chunks/layerStylingGraph.js +1 -1
- package/dist/chunks/layer_descriptions_prompt.js +1 -1
- package/dist/chunks/layer_styling_prompt.js +1 -1
- package/dist/chunks/mergeWhereClauses.js +1 -1
- package/dist/chunks/navigationAgent.js +7 -20
- package/dist/chunks/navigation_intent_prompt.js +1 -1
- package/dist/chunks/navigation_tool_prompt.js +1 -1
- package/dist/chunks/orchestrator.js +1 -1
- package/dist/chunks/requireAgentServices.js +1 -1
- package/dist/chunks/resolvePointGeometryFilter.js +1 -1
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/slottableRequestUtils.js +1 -1
- package/dist/chunks/state.js +1 -1
- package/dist/chunks/summarize_query_response_prompt.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/arcgis-assistant/customElement.js +1 -1
- package/dist/components/arcgis-assistant-agent/customElement.js +130 -212
- package/dist/components/arcgis-assistant-chat/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-entry/customElement.js +1 -1
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-help-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-interrupt/customElement.js +1 -1
- package/dist/components/arcgis-assistant-interrupt-preview/customElement.js +1 -1
- package/dist/components/arcgis-assistant-knowledge-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-block/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-feedback/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-footer/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-loading/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-log/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-read-aloud/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-text/customElement.js +1 -1
- package/dist/components/arcgis-assistant-navigation-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-speech-input/customElement.js +1 -1
- package/dist/components/arcgis-assistant-suggested-prompts/customElement.js +1 -1
- package/dist/components/arcgis-assistant-user-message/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +5 -5
- package/dist/cdn/23C34FEU.js +0 -2
- package/dist/cdn/2OHRNRNT.js +0 -2
- package/dist/cdn/2S6L3P4Q.js +0 -2
- package/dist/cdn/3IOP64NG.js +0 -2
- package/dist/cdn/3OH35VXS.js +0 -2
- package/dist/cdn/434TAA3J.js +0 -2
- package/dist/cdn/AFSBL4ZP.js +0 -2
- package/dist/cdn/BVSK2GWP.js +0 -2
- package/dist/cdn/EGN5BCHV.js +0 -2
- package/dist/cdn/HLN5675C.js +0 -2
- package/dist/cdn/IFFOSSNB.js +0 -2
- package/dist/cdn/IO7DYFL2.js +0 -2
- package/dist/cdn/JD2TB7H4.js +0 -2
- package/dist/cdn/KZ73TZOB.js +0 -2
- package/dist/cdn/LEO3USHH.js +0 -2
- package/dist/cdn/LNIMGXB4.js +0 -2
- package/dist/cdn/MG2W2ZF3.js +0 -2
- package/dist/cdn/MSXMHRI7.js +0 -2
- package/dist/cdn/PK5KI2XF.js +0 -2
- package/dist/cdn/PWFUEBTT.js +0 -2
- package/dist/cdn/RSJSRETN.js +0 -2
- package/dist/cdn/RSR66KB4.js +0 -2
- package/dist/cdn/SL4Y7IRG.js +0 -2
- package/dist/cdn/STUBN3L5.js +0 -2
- package/dist/cdn/T2OYKP3V.js +0 -2
- package/dist/cdn/U3ETGDT7.js +0 -2
- package/dist/cdn/VXFQANGJ.js +0 -2
- package/dist/cdn/WW4BEFDF.js +0 -2
- package/dist/cdn/XGCQS3N4.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import m from "@arcgis/core/core/Accessor.js";
|
|
3
3
|
import { property as i, subclass as l } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
4
4
|
import { a as u } from "../chunks/state.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as u, subclass as p } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { isGraphInterrupt as m } from "@langchain/langgraph/web";
|
|
4
4
|
import { BaseAgent as d } from "./BaseAgent.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as h, subclass as c } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { BaseAgent as m } from "./BaseAgent.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { NodeInterrupt as s } from "@langchain/langgraph/web";
|
|
3
3
|
import { createAgentMiddleware as f, createToolMiddleware as I } from "./middleware.js";
|
|
4
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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { s as r } from "../../chunks/index.js";
|
|
3
3
|
import { AIMessage as i, ToolMessage as s } from "@langchain/core/messages";
|
|
4
4
|
import { createAgentMiddleware as c, createToolMiddleware as d } from "./middleware.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import c from "@arcgis/core/core/Accessor.js";
|
|
3
3
|
import { property as a, subclass as p } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
4
4
|
import { tool as d } from "@langchain/core/tools";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as u, subclass as f } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { B as p, g as c } from "../../chunks/BaseWorkflow.js";
|
|
4
4
|
var g = Object.defineProperty, w = Object.getOwnPropertyDescriptor, a = (e, r, n, t) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as u, subclass as w } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { c as f } from "../../chunks/graph.js";
|
|
4
4
|
import { B as h } from "../../chunks/BaseWorkflow.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as A, subclass as I } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { c as U } from "../../chunks/graph.js";
|
|
4
4
|
import { a as W } from "../../chunks/state.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as h, subclass as g } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { B as v, g as l } from "../../chunks/BaseWorkflow.js";
|
|
4
4
|
var w = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, f = (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as p, subclass as f } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { B as c, g as i, a as m } from "../../chunks/BaseWorkflow.js";
|
|
4
4
|
var d = Object.defineProperty, w = Object.getOwnPropertyDescriptor, u = (e, o, r, t) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { property as u, subclass as _ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
3
3
|
import { B as y, g as v } from "../../chunks/BaseWorkflow.js";
|
|
4
4
|
var A = Object.defineProperty, N = Object.getOwnPropertyDescriptor, g = (e) => {
|
|
@@ -16,7 +16,7 @@ export type SkillAgentOptions = {
|
|
|
16
16
|
name: string;
|
|
17
17
|
description: string;
|
|
18
18
|
skillLoaders: readonly [SkillLoader, ...SkillLoader[]];
|
|
19
|
-
toolLoaders
|
|
19
|
+
toolLoaders?: ToolLoaders;
|
|
20
20
|
modelTier?: ModelTier;
|
|
21
21
|
systemPrompt: string;
|
|
22
22
|
runtimeContextLoader?: RuntimeContextLoader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { getCurrentTaskInput as I, Annotation as q, StateGraph as D, START as G, END as K, isGraphInterrupt as J } from "@langchain/langgraph/web";
|
|
3
3
|
import { createMiddleware as y, createAgent as L } from "langchain";
|
|
4
4
|
import d, { z as m } from "zod";
|
|
@@ -7,7 +7,8 @@ import { s as p } from "../../../chunks/index.js";
|
|
|
7
7
|
import { a as U } from "../../../chunks/baseAgentState.js";
|
|
8
8
|
import { ToolMessage as B } from "@langchain/core/messages";
|
|
9
9
|
import { tool as R } from "@langchain/core/tools";
|
|
10
|
-
|
|
10
|
+
import { r as H } from "../../../chunks/arcgisToolRegistry.js";
|
|
11
|
+
const w = (e) => typeof e == "object" && e !== null && !Array.isArray(e), Q = ["point", "polyline", "polygon", "extent", "custom"], W = (e) => typeof e == "string" && Q.some((t) => t === e), X = (e, t) => {
|
|
11
12
|
if (!(!w(e) || !("value" in e))) {
|
|
12
13
|
if (w(e.sharedStatePatch)) {
|
|
13
14
|
const s = { ...t.sharedStatePatch };
|
|
@@ -17,13 +18,13 @@ const w = (e) => typeof e == "object" && e !== null && !Array.isArray(e), H = ["
|
|
|
17
18
|
}
|
|
18
19
|
if (Array.isArray(e.sharedResourceAdditions))
|
|
19
20
|
for (const s of e.sharedResourceAdditions)
|
|
20
|
-
w(s) &&
|
|
21
|
+
w(s) && W(s.kind) && typeof s.description == "string" && "payload" in s && t.sharedResourceAdditions.push({
|
|
21
22
|
kind: s.kind,
|
|
22
23
|
description: s.description,
|
|
23
24
|
payload: s.payload
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
|
-
},
|
|
27
|
+
}, Y = () => {
|
|
27
28
|
const e = { sharedResourceAdditions: [] };
|
|
28
29
|
return {
|
|
29
30
|
middleware: y({
|
|
@@ -36,14 +37,14 @@ const w = (e) => typeof e == "object" && e !== null && !Array.isArray(e), H = ["
|
|
|
36
37
|
for (const o of s)
|
|
37
38
|
if (B.isInstance(o) && o.status !== "error") {
|
|
38
39
|
const r = o.artifact;
|
|
39
|
-
|
|
40
|
+
X(r, e);
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
}),
|
|
44
45
|
collectedEffects: e
|
|
45
46
|
};
|
|
46
|
-
},
|
|
47
|
+
}, Z = (e) => y({
|
|
47
48
|
name: "TraceMiddleware",
|
|
48
49
|
wrapModelCall: async (t, s) => {
|
|
49
50
|
await p({ text: "Determining the next step" }, e);
|
|
@@ -64,23 +65,23 @@ const w = (e) => typeof e == "object" && e !== null && !Array.isArray(e), H = ["
|
|
|
64
65
|
throw await p({ text: `Failed executing ${t.toolCall.name}` }, e), o;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
}), M = ["custom", "extent", "point", "polygon", "polyline"],
|
|
68
|
+
}), M = ["custom", "extent", "point", "polygon", "polyline"], V = d.object({
|
|
68
69
|
id: d.string(),
|
|
69
70
|
kind: d.enum(M),
|
|
70
71
|
description: d.string()
|
|
71
|
-
}),
|
|
72
|
+
}), ee = d.object({
|
|
72
73
|
kinds: d.array(d.enum(M)).optional().describe("Optional resource kinds to include. Omit to list all available resources.")
|
|
73
|
-
}),
|
|
74
|
+
}), te = ({ kinds: e }, t) => {
|
|
74
75
|
const s = I(t), o = e ? new Set(e) : void 0, r = (s.agentExecutionContext?.sharedResources ?? []).flatMap((n) => {
|
|
75
|
-
const i =
|
|
76
|
+
const i = V.safeParse(n);
|
|
76
77
|
return i.success && (!o || o.has(i.data.kind)) ? [i.data] : [];
|
|
77
78
|
});
|
|
78
79
|
return JSON.stringify({ resources: r }, null, 2);
|
|
79
|
-
},
|
|
80
|
+
}, oe = R(te, {
|
|
80
81
|
name: "listSharedResources",
|
|
81
82
|
description: "List IDs, kinds, and descriptions for resources created by earlier agents. Use this to reuse prior results instead of repeating work. Resource payloads are hidden.",
|
|
82
|
-
schema:
|
|
83
|
-
}),
|
|
83
|
+
schema: ee
|
|
84
|
+
}), se = (e) => {
|
|
84
85
|
if (e.size === 0)
|
|
85
86
|
throw new Error("At least one skill is required.");
|
|
86
87
|
const t = [...e.keys()];
|
|
@@ -97,7 +98,7 @@ const w = (e) => typeof e == "object" && e !== null && !Array.isArray(e), H = ["
|
|
|
97
98
|
schema: d.object({ name: d.enum(t) })
|
|
98
99
|
}
|
|
99
100
|
);
|
|
100
|
-
},
|
|
101
|
+
}, re = (e) => {
|
|
101
102
|
const t = /^---\r?\nname: (?<name>[^\r\n]+)\r?\ndescription: (?<description>[^\r\n]+)\r?\n(?:allowed-tools: (?<allowedTools>[^\r\n]+)\r?\n)?---\r?\n(?<instructions>[\s\S]+)$/u.exec(
|
|
102
103
|
e
|
|
103
104
|
)?.groups;
|
|
@@ -109,59 +110,56 @@ const w = (e) => typeof e == "object" && e !== null && !Array.isArray(e), H = ["
|
|
|
109
110
|
description: t.description,
|
|
110
111
|
instructions: t.instructions.trim()
|
|
111
112
|
};
|
|
112
|
-
},
|
|
113
|
-
const t = await Promise.all(e.map(async (o) =>
|
|
113
|
+
}, ae = async (e) => {
|
|
114
|
+
const t = await Promise.all(e.map(async (o) => re(await o()))), s = /* @__PURE__ */ new Map();
|
|
114
115
|
for (const o of t) {
|
|
115
116
|
if (s.has(o.name))
|
|
116
117
|
throw new Error(`Skill name must be unique: ${o.name}`);
|
|
117
118
|
s.set(o.name, o);
|
|
118
119
|
}
|
|
119
120
|
return s;
|
|
120
|
-
},
|
|
121
|
+
}, T = "load_skill", $ = (e) => typeof e == "object" && e !== null && "name" in e && typeof e.name == "string" ? e.name : void 0, ne = (e, t, s = []) => {
|
|
121
122
|
let o = t;
|
|
122
123
|
return y({
|
|
123
124
|
name: "ActiveSkillMiddleware",
|
|
124
125
|
wrapModelCall: async (r, n) => {
|
|
125
126
|
const i = /* @__PURE__ */ new Set([
|
|
126
|
-
|
|
127
|
+
T,
|
|
127
128
|
...s,
|
|
128
129
|
...o?.allowedTools ?? []
|
|
129
130
|
]);
|
|
130
131
|
return await n({
|
|
131
132
|
...r,
|
|
132
133
|
tools: r.tools.filter((l) => {
|
|
133
|
-
const a =
|
|
134
|
+
const a = $(l);
|
|
134
135
|
return a !== void 0 && i.has(a);
|
|
135
136
|
})
|
|
136
137
|
});
|
|
137
138
|
},
|
|
138
139
|
wrapToolCall: async (r, n) => {
|
|
139
140
|
const i = await n(r);
|
|
140
|
-
if (r.toolCall.name ===
|
|
141
|
-
const l =
|
|
141
|
+
if (r.toolCall.name === T) {
|
|
142
|
+
const l = $(r.toolCall.args), a = l ? e.get(l) : void 0;
|
|
142
143
|
a && (o = a);
|
|
143
144
|
}
|
|
144
145
|
return i;
|
|
145
146
|
}
|
|
146
147
|
});
|
|
147
|
-
},
|
|
148
|
+
}, ie = async (e, t = {}) => {
|
|
148
149
|
const s = new Set([...e.values()].flatMap((o) => o.allowedTools));
|
|
149
150
|
return await Promise.all(
|
|
150
151
|
[...s].map(async (o) => {
|
|
151
|
-
const r = t[o];
|
|
152
|
-
if (!r)
|
|
153
|
-
throw new Error(`Skill tool does not have a loader: ${o}`);
|
|
154
|
-
const n = await r();
|
|
152
|
+
const r = t[o], n = r ? await r() : await H(o);
|
|
155
153
|
if (n.name !== o)
|
|
156
154
|
throw new Error(`Skill tool "${o}" resolved to "${n.name}".`);
|
|
157
155
|
return n;
|
|
158
156
|
})
|
|
159
157
|
);
|
|
160
|
-
},
|
|
161
|
-
const s = await
|
|
158
|
+
}, le = async (e, t = {}) => {
|
|
159
|
+
const s = await ae(e), o = [...s.values()];
|
|
162
160
|
if (o.length === 0)
|
|
163
161
|
throw new Error("createSkillRuntime requires at least one skill.");
|
|
164
|
-
const r = [
|
|
162
|
+
const r = [oe], n = new Set(r.map((a) => a.name));
|
|
165
163
|
for (const a of o) {
|
|
166
164
|
const h = a.allowedTools.find((f) => n.has(f));
|
|
167
165
|
if (h)
|
|
@@ -169,9 +167,9 @@ const w = (e) => typeof e == "object" && e !== null && !Array.isArray(e), H = ["
|
|
|
169
167
|
`Skill "${a.name}" must not declare framework tool "${h}" in allowed-tools; it is provided automatically.`
|
|
170
168
|
);
|
|
171
169
|
}
|
|
172
|
-
const i = await
|
|
170
|
+
const i = await ie(s, t), l = o.length === 1 ? o[0] : void 0;
|
|
173
171
|
return {
|
|
174
|
-
activeSkillMiddleware:
|
|
172
|
+
activeSkillMiddleware: ne(
|
|
175
173
|
s,
|
|
176
174
|
l,
|
|
177
175
|
r.map((a) => a.name)
|
|
@@ -184,11 +182,11 @@ ${o.map((a) => `- ${a.name}: ${a.description}`).join(`
|
|
|
184
182
|
`)}
|
|
185
183
|
|
|
186
184
|
Call load_skill before using a skill and follow its instructions. Framework tools and the active skill's tools are available. Switch skills when another skill is needed to complete the task.`,
|
|
187
|
-
tools: l ? [...r, ...i] : [
|
|
185
|
+
tools: l ? [...r, ...i] : [se(s), ...r, ...i]
|
|
188
186
|
};
|
|
189
|
-
},
|
|
187
|
+
}, v = q.Root({ ...U() }), ce = m.object({
|
|
190
188
|
agentExecutionContext: m.custom()
|
|
191
|
-
}),
|
|
189
|
+
}), x = m.object({
|
|
192
190
|
outcome: m.enum(["completed", "blocked"]).describe(
|
|
193
191
|
'Return "completed" when the assigned task is done, including valid empty results. Return "blocked" when required information, context, or state is unavailable and the task cannot proceed.'
|
|
194
192
|
),
|
|
@@ -198,7 +196,7 @@ Call load_skill before using a skill and follow its instructions. Framework tool
|
|
|
198
196
|
summary: m.string().describe(
|
|
199
197
|
"A concise orchestration summary. For a blocker, identify the missing prerequisite and capability needed."
|
|
200
198
|
)
|
|
201
|
-
}),
|
|
199
|
+
}), Ae = ({
|
|
202
200
|
id: e,
|
|
203
201
|
name: t,
|
|
204
202
|
description: s,
|
|
@@ -211,15 +209,15 @@ Call load_skill before using a skill and follow its instructions. Framework tool
|
|
|
211
209
|
fallbackMessage: h = `${t} request completed.`,
|
|
212
210
|
failureMessage: f = "I couldn't complete this request."
|
|
213
211
|
}) => {
|
|
214
|
-
const
|
|
212
|
+
const C = async (S, u) => {
|
|
215
213
|
await p({ text: `Running ${t}` }, u);
|
|
216
214
|
try {
|
|
217
|
-
const { activeSkillMiddleware: c, skillsPrompt: k, tools:
|
|
215
|
+
const { activeSkillMiddleware: c, skillsPrompt: k, tools: E } = await le(o, r), { collectedEffects: P, middleware: N } = Y(), { assignedTask: j, priorSteps: O, userRequest: z } = S.agentExecutionContext, A = await l?.({ config: u }), F = await L({
|
|
218
216
|
model: await _({ modelTier: n, config: u }),
|
|
219
|
-
tools:
|
|
220
|
-
stateSchema:
|
|
221
|
-
responseFormat:
|
|
222
|
-
middleware: [c, N,
|
|
217
|
+
tools: E,
|
|
218
|
+
stateSchema: ce,
|
|
219
|
+
responseFormat: x,
|
|
220
|
+
middleware: [c, N, Z(u)],
|
|
223
221
|
systemPrompt: `${i}
|
|
224
222
|
|
|
225
223
|
Primary task assigned by the orchestrator: ${j}
|
|
@@ -235,7 +233,7 @@ Call load_skill before using a skill and follow its instructions. Framework tool
|
|
|
235
233
|
|
|
236
234
|
${k}
|
|
237
235
|
${a ?? ""}`
|
|
238
|
-
}).invoke({ messages: [], agentExecutionContext: S.agentExecutionContext }, u), g =
|
|
236
|
+
}).invoke({ messages: [], agentExecutionContext: S.agentExecutionContext }, u), g = x.parse(F.structuredResponse), b = g.outputMessage || h;
|
|
239
237
|
return {
|
|
240
238
|
outputMessage: b,
|
|
241
239
|
status: g.outcome === "completed" ? "success" : "failed",
|
|
@@ -255,8 +253,8 @@ Reason: ${k}`,
|
|
|
255
253
|
};
|
|
256
254
|
}
|
|
257
255
|
};
|
|
258
|
-
return { id: e, name: t, description: s, createGraph: () => new D(
|
|
256
|
+
return { id: e, name: t, description: s, createGraph: () => new D(v).addNode("agent", C).addEdge(G, "agent").addEdge("agent", K), workspace: v };
|
|
259
257
|
};
|
|
260
258
|
export {
|
|
261
|
-
|
|
259
|
+
Ae as createSkillAgent
|
|
262
260
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RunnableConfig } from "@langchain/core/runnables";
|
|
2
2
|
import type { StructuredToolInterface } from "@langchain/core/tools";
|
|
3
3
|
|
|
4
|
-
/** Maps skill tool names to lazy tool loaders. */
|
|
4
|
+
/** Maps skill tool names to custom or configured lazy tool loaders. */
|
|
5
5
|
export type ToolLoaders = Readonly<Record<string, ToolLoader>>;
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { z as i } from "zod";
|
|
3
3
|
import { tool as k } from "@langchain/core/tools";
|
|
4
4
|
import { f as s } from "../../../../chunks/fetchAgentContext.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.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/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.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/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { tool as f } from "@langchain/core/tools";
|
|
3
3
|
import i from "zod";
|
|
4
4
|
import { f as h, g } from "../../../../chunks/formatFeatureAttributes.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { tool as L } from "@langchain/core/tools";
|
|
3
3
|
import t from "zod";
|
|
4
4
|
import E from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { tool as v } from "@langchain/core/tools";
|
|
3
3
|
import { a as C } from "../../../../chunks/formatFeatureAttributes.js";
|
|
4
4
|
import { g as R, i as F, a as I, s as G, r as O } from "../../../../chunks/resolvePointGeometryFilter.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.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,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{a as n}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import{a as n}from"./A6LBMS7A.js";import{Dc as o}from"./M2U456J5.js";import{a as i}from"./5X23DDDZ.js";async function a(e){let t=e.map.initialViewProperties?.viewpoint?.targetGeometry;if(t)await e.goTo(t);else throw new Error("Initial extent is undefined");return{text:"Successfully zoomed to home extent"}}async function m(e,t){let{mapView:r}=n(t,["mapView"]);return await a(r)}var s=i.object({}),f=o(m,{name:"goToHomeExtent",description:"Go to the initial web map view extent",schema:s});export{f as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
var i=(e,o)=>(s,t)=>{let c=t?.configurable?.services;for(let r of e)if(!c?.[r])throw new Error(`${o} requires services.${r} to be available.`);return s};export{i as a};
|