@salesforce/plugin-agent 2.1.1 → 2.2.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 (38) hide show
  1. package/README.md +109 -66
  2. package/lib/agentActivation.js +1 -1
  3. package/lib/agentActivation.js.map +1 -1
  4. package/lib/agentTestCache.d.ts +1 -1
  5. package/lib/agentTestCache.js +1 -1
  6. package/lib/agentTestCache.js.map +1 -1
  7. package/lib/commands/agent/generate/agent-spec.js +1 -1
  8. package/lib/commands/agent/generate/agent-spec.js.map +1 -1
  9. package/lib/commands/agent/generate/test-spec.js +2 -2
  10. package/lib/commands/agent/generate/test-spec.js.map +1 -1
  11. package/lib/commands/agent/mcp/create.js.map +1 -1
  12. package/lib/commands/agent/mcp/update.js +1 -4
  13. package/lib/commands/agent/mcp/update.js.map +1 -1
  14. package/lib/commands/agent/preview/start.d.ts +1 -0
  15. package/lib/commands/agent/preview/start.js +3 -2
  16. package/lib/commands/agent/preview/start.js.map +1 -1
  17. package/lib/commands/agent/preview.d.ts +1 -0
  18. package/lib/commands/agent/preview.js +3 -2
  19. package/lib/commands/agent/preview.js.map +1 -1
  20. package/lib/commands/agent/publish/authoring-bundle.js.map +1 -1
  21. package/lib/commands/agent/test/create.js +17 -14
  22. package/lib/commands/agent/test/create.js.map +1 -1
  23. package/lib/commands/agent/test/resume.js +1 -1
  24. package/lib/commands/agent/test/resume.js.map +1 -1
  25. package/lib/commands/agent/test/run-eval.js +1 -1
  26. package/lib/commands/agent/test/run-eval.js.map +1 -1
  27. package/lib/commands/agent/test/run.js.map +1 -1
  28. package/lib/commands/agent/trace/read.js.map +1 -1
  29. package/lib/components/agent-preview-react.js +4 -2
  30. package/lib/components/agent-preview-react.js.map +1 -1
  31. package/lib/flags.d.ts +20 -2
  32. package/lib/flags.js +105 -3
  33. package/lib/flags.js.map +1 -1
  34. package/lib/handleTestResults.js +12 -9
  35. package/lib/handleTestResults.js.map +1 -1
  36. package/messages/shared.md +17 -1
  37. package/oclif.manifest.json +554 -538
  38. package/package.json +21 -17
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-agent",
3
3
  "description": "Commands to interact with Salesforce agents",
4
- "version": "2.1.1",
4
+ "version": "2.2.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "enableO11y": true,
@@ -12,38 +12,41 @@
12
12
  "@inquirer/prompts": "^7.10.1",
13
13
  "@oclif/core": "^5.0.0",
14
14
  "@oclif/multi-stage-output": "^1.0.0",
15
- "@salesforce/agents": "^2.1.0",
16
- "@salesforce/core": "^9.1.8",
15
+ "@salesforce/agents": "^2.3.0",
16
+ "@salesforce/core": "^9.1.9",
17
17
  "@salesforce/kit": "^4.0.0",
18
- "@salesforce/sf-plugins-core": "^13.0.4",
19
- "@salesforce/source-deploy-retrieve": "^13.3.0",
18
+ "@salesforce/sf-plugins-core": "^13.0.0",
19
+ "@salesforce/source-deploy-retrieve": "^13.0.0",
20
20
  "@salesforce/types": "1.8.0",
21
21
  "ansis": "^3.17.0",
22
22
  "fast-xml-parser": "^5.11.1",
23
23
  "glob": "^11.1.0",
24
- "ink": "5.0.1",
24
+ "ink": "^7.1.1",
25
25
  "ink-text-input": "^6.0.0",
26
26
  "inquirer-autocomplete-standalone": "^0.8.1",
27
- "react": "^18.3.1",
27
+ "react": "^19.3.0",
28
28
  "yaml": "^2.9.0"
29
29
  },
30
30
  "devDependencies": {
31
+ "@eslint-react/eslint-plugin": "^5.26.3",
31
32
  "@oclif/plugin-command-snapshot": "^6.0.0",
32
33
  "@oclif/test": "^5.0.0",
33
34
  "@salesforce/cli-plugins-testkit": "^5.3.66",
34
- "@salesforce/dev-scripts": "^11.0.4",
35
+ "@salesforce/dev-scripts": "^15.0.0",
35
36
  "@salesforce/plugin-command-reference": "^3.1.132",
37
+ "@types/chai": "^4.3.17",
36
38
  "@types/inquirer": "^9.0.10",
37
- "@types/react": "^18.3.31",
38
- "eslint-config-xo": "^0.50.0",
39
- "eslint-config-xo-react": "^0.27.0",
40
- "eslint-plugin-react": "^7.37.5",
41
- "eslint-plugin-react-hooks": "^4.6.2",
42
- "eslint-plugin-sf-plugin": "^1.20.33",
39
+ "@types/mocha": "^10.0.10",
40
+ "@types/node": "^18",
41
+ "@types/react": "^19.3.0",
42
+ "@types/sinon": "^10.0.20",
43
+ "eslint": "^10.4.0",
44
+ "eslint-config-salesforce-typescript": "^6.0.0",
45
+ "eslint-plugin-sf-plugin": "^3.0.1",
43
46
  "esmock": "^2.7.6",
44
47
  "oclif": "^5.0.0",
45
48
  "ts-node": "^10.9.2",
46
- "typescript": "^5.9.3"
49
+ "typescript": "^6.0.0"
47
50
  },
48
51
  "engines": {
49
52
  "node": ">=22.0.0"
@@ -179,6 +182,7 @@
179
182
  "src/**/*.ts",
180
183
  "test/**/*.ts",
181
184
  "messages/**",
185
+ "**/eslint.config.*",
182
186
  "**/.eslint*",
183
187
  "**/tsconfig.json"
184
188
  ],
@@ -260,7 +264,7 @@
260
264
  "exports": "./lib/index.js",
261
265
  "type": "module",
262
266
  "sfdx": {
263
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.1.1.crt",
264
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.1.1.sig"
267
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.2.3.crt",
268
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.2.3.sig"
265
269
  }
266
270
  }