@arcgis/ai-components 5.1.0-next.84 → 5.1.0-next.86
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/cdn/{7FHVX2LD.js → 2FQTU6HL.js} +1 -1
- package/dist/cdn/{4QKZJOZQ.js → 4TY43HO3.js} +1 -1
- package/dist/cdn/{3D2FSGMT.js → ERCMPLS4.js} +9 -2
- package/dist/cdn/{2E6GEUNH.js → FTUILS6R.js} +25 -25
- package/dist/cdn/{5EBQQWWP.js → GJQVEIZF.js} +1 -1
- package/dist/cdn/{GLO6QOGW.js → HLDIWEWD.js} +1 -1
- package/dist/cdn/{FMWLET2P.js → NCMEKPIM.js} +1 -1
- package/dist/cdn/{OIFDHIDJ.js → NGNUEOOK.js} +1 -1
- package/dist/cdn/ZIER3BNM.js +226 -0
- package/dist/cdn/index.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/package.json +6 -6
- package/dist/cdn/TDBJ6YZ6.js +0 -224
- /package/dist/cdn/{WI3JQXAS.js → PLPJJRCP.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./ZIER3BNM.js";import b from"./FTUILS6R.js";import"./PLPJJRCP.js";import{a as e,c as a}from"./B4DEC7PH.js";import"./KVH3PDVW.js";import"./YGW7TUNX.js";import{v as s,y as r}from"./AKEZZ3RP.js";import"./CFDTXKJ6.js";export default $arcgis.t(([,{c:i}])=>{var t=class extends s{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-styling-agent requires a mapView");return{mapView:this.#t}}load(){this.#t=e(this,"arcgis-assistant-layer-styling-agent"),a(this)}};r("arcgis-assistant-layer-styling-agent",t);return t},b,c)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./ZIER3BNM.js";import b from"./FTUILS6R.js";import"./PLPJJRCP.js";import{a as r,c as e}from"./B4DEC7PH.js";import"./KVH3PDVW.js";import"./YGW7TUNX.js";import{v as a,y as s}from"./AKEZZ3RP.js";import"./CFDTXKJ6.js";export default $arcgis.t(([,{b:i}])=>{var t=class extends a{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-data-exploration-agent requires a mapView");return{mapView:this.#t}}load(){this.#t=r(this,"arcgis-assistant-data-exploration-agent"),e(this)}};s("arcgis-assistant-data-exploration-agent",t);return t},b,c)
|
|
@@ -20,6 +20,11 @@ Return either:
|
|
|
20
20
|
3. \`requiresFollowUp\` \u2014 whether another orchestration step will likely be needed after this agent succeeds
|
|
21
21
|
- or \`null\` if no registered agent applies
|
|
22
22
|
|
|
23
|
+
Important
|
|
24
|
+
|
|
25
|
+
- Return null only when the request is clearly outside the scope of all registered agents.
|
|
26
|
+
- If any agent can take the next useful step, select the best one instead of returning null.
|
|
27
|
+
|
|
23
28
|
Latest user request:
|
|
24
29
|
{userRequest}
|
|
25
30
|
|
|
@@ -35,12 +40,11 @@ Each step has:
|
|
|
35
40
|
- agentId: string
|
|
36
41
|
- assignedTask: string
|
|
37
42
|
- summary: string
|
|
38
|
-
- status: "success" | "failed" | "
|
|
43
|
+
- status: "success" | "failed" | "unknown"
|
|
39
44
|
|
|
40
45
|
Use prior steps to:
|
|
41
46
|
|
|
42
47
|
- Avoid repeating work that has already succeeded
|
|
43
|
-
- Continue or refine steps that were partial
|
|
44
48
|
- Retry or adjust steps that failed when appropriate
|
|
45
49
|
|
|
46
50
|
{priorSteps}
|
|
@@ -53,6 +57,9 @@ Rules:
|
|
|
53
57
|
- Do not plan the full workflow up front. Only decide the next best step.
|
|
54
58
|
- Prefer an agent that can directly complete the user\u2019s request.
|
|
55
59
|
- Only break the request into multiple steps when necessary.
|
|
60
|
+
- When multiple agents could help, choose the best fit instead of returning \`null\`.
|
|
61
|
+
- Base the choice on the registered agent descriptions, not on whether the user used exact matching keywords.
|
|
62
|
+
- If no agent can fully complete the request, but one agent can take the next useful step, choose that agent and set requiresFollowUp to true.
|
|
56
63
|
|
|
57
64
|
Assigned Task Guidelines (IMPORTANT):
|
|
58
65
|
|