@salesforce/plugin-agent 2.2.4 → 2.4.0

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/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.2.4",
4
+ "version": "2.4.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "enableO11y": true,
@@ -12,7 +12,7 @@
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.3.3",
15
+ "@salesforce/agents": "^2.5.0",
16
16
  "@salesforce/core": "^9.1.9",
17
17
  "@salesforce/kit": "^4.0.0",
18
18
  "@salesforce/sf-plugins-core": "^13.0.0",
@@ -269,7 +269,7 @@
269
269
  "exports": "./lib/index.js",
270
270
  "type": "module",
271
271
  "sfdx": {
272
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.2.4.crt",
273
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.2.4.sig"
272
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.4.0.crt",
273
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/2.4.0.sig"
274
274
  }
275
275
  }
@@ -0,0 +1,88 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ApiCatalogMcpServerAssetAfscriptResult",
4
+ "definitions": {
5
+ "ApiCatalogMcpServerAssetAfscriptResult": {
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "bundle": {
10
+ "type": "object",
11
+ "properties": {
12
+ "name": {
13
+ "type": "string"
14
+ },
15
+ "file": {
16
+ "type": "string"
17
+ },
18
+ "subagents": {
19
+ "type": "array",
20
+ "items": {
21
+ "$ref": "#/definitions/SubagentUpdate"
22
+ }
23
+ }
24
+ },
25
+ "required": ["name", "file", "subagents"],
26
+ "additionalProperties": false
27
+ },
28
+ "actions": {
29
+ "type": "array",
30
+ "items": {
31
+ "$ref": "#/definitions/McpAgentScriptActionOutput"
32
+ }
33
+ }
34
+ },
35
+ "required": ["actions"]
36
+ },
37
+ "SubagentUpdate": {
38
+ "type": "object",
39
+ "properties": {
40
+ "name": {
41
+ "type": "string"
42
+ },
43
+ "added": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "string"
47
+ }
48
+ },
49
+ "skipped": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ }
54
+ }
55
+ },
56
+ "required": ["name", "added", "skipped"],
57
+ "additionalProperties": false
58
+ },
59
+ "McpAgentScriptActionOutput": {
60
+ "type": "object",
61
+ "properties": {
62
+ "toolId": {
63
+ "type": "string"
64
+ },
65
+ "genAiFunctionId": {
66
+ "type": "string"
67
+ },
68
+ "name": {
69
+ "type": "string"
70
+ },
71
+ "source": {
72
+ "type": "string"
73
+ },
74
+ "target": {
75
+ "type": "string"
76
+ },
77
+ "actionBlock": {
78
+ "type": "string"
79
+ },
80
+ "reasoningReference": {
81
+ "type": "string"
82
+ }
83
+ },
84
+ "required": ["toolId", "genAiFunctionId", "name", "source", "target", "actionBlock", "reasoningReference"],
85
+ "additionalProperties": false
86
+ }
87
+ }
88
+ }