@forge/manifest 11.3.1-next.2 → 11.3.1-next.4
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/CHANGELOG.md +12 -0
- package/out/schema/manifest-schema.json +0 -5
- package/out/schema/manifest.d.ts +0 -12
- package/out/validators/modules-validators/rovo/validate-agent-connector-remote-endpoints.d.ts.map +1 -1
- package/out/validators/modules-validators/rovo/validate-agent-connector-remote-endpoints.js +18 -20
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 11.3.1-next.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 29aa91c: Update manifest definitions
|
|
8
|
+
|
|
9
|
+
## 11.3.1-next.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 10f70c2: Revert the implementation for protocols.agent2Agent.agent property of rovo:agentConnector extension
|
|
14
|
+
|
|
3
15
|
## 11.3.1-next.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -28519,14 +28519,9 @@
|
|
|
28519
28519
|
"type": "object",
|
|
28520
28520
|
"additionalProperties": false,
|
|
28521
28521
|
"required": [
|
|
28522
|
-
"agentCard",
|
|
28523
28522
|
"jsonRpcTransport"
|
|
28524
28523
|
],
|
|
28525
28524
|
"properties": {
|
|
28526
|
-
"agentCard": {
|
|
28527
|
-
"$ref": "#/definitions/protocolEndpoint",
|
|
28528
|
-
"description": "Returns metadata about the agent, including its capabilities and supported actions."
|
|
28529
|
-
},
|
|
28530
28525
|
"jsonRpcTransport": {
|
|
28531
28526
|
"$ref": "#/definitions/protocolEndpoint",
|
|
28532
28527
|
"description": "Enables Agent2Agent protocol over JSON-RPC 2.0 transport."
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -24059,12 +24059,6 @@ export interface Modules {
|
|
|
24059
24059
|
*/
|
|
24060
24060
|
protocols: {
|
|
24061
24061
|
agent2Agent: {
|
|
24062
|
-
/**
|
|
24063
|
-
* Returns metadata about the agent, including its capabilities and supported actions.
|
|
24064
|
-
*/
|
|
24065
|
-
agentCard: {
|
|
24066
|
-
endpoint: Endpoint1;
|
|
24067
|
-
};
|
|
24068
24062
|
/**
|
|
24069
24063
|
* Enables Agent2Agent protocol over JSON-RPC 2.0 transport.
|
|
24070
24064
|
*/
|
|
@@ -24087,12 +24081,6 @@ export interface Modules {
|
|
|
24087
24081
|
*/
|
|
24088
24082
|
protocols: {
|
|
24089
24083
|
agent2Agent: {
|
|
24090
|
-
/**
|
|
24091
|
-
* Returns metadata about the agent, including its capabilities and supported actions.
|
|
24092
|
-
*/
|
|
24093
|
-
agentCard: {
|
|
24094
|
-
endpoint: Endpoint1;
|
|
24095
|
-
};
|
|
24096
24084
|
/**
|
|
24097
24085
|
* Enables Agent2Agent protocol over JSON-RPC 2.0 transport.
|
|
24098
24086
|
*/
|
package/out/validators/modules-validators/rovo/validate-agent-connector-remote-endpoints.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-agent-connector-remote-endpoints.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/rovo/validate-agent-connector-remote-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAGjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,eAAO,MAAM,qCAAqC,eACpC,OAAO,sBACC,MAAM,EAAE,KAC3B,eAAe,
|
|
1
|
+
{"version":3,"file":"validate-agent-connector-remote-endpoints.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/rovo/validate-agent-connector-remote-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAGjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,eAAO,MAAM,qCAAqC,eACpC,OAAO,sBACC,MAAM,EAAE,KAC3B,eAAe,EAmCjB,CAAC"}
|
|
@@ -11,27 +11,25 @@ const validateAgentConnectorRemoteEndpoints = (allModules, yamlContentByLine) =>
|
|
|
11
11
|
const endpointModules = allModules[endpointModuleKey] ?? [];
|
|
12
12
|
agentConnectors?.forEach((agentConnector) => {
|
|
13
13
|
const a2aProtocol = agentConnector.protocols.agent2Agent;
|
|
14
|
-
const
|
|
14
|
+
const endpointReference = a2aProtocol.jsonRpcTransport?.endpoint;
|
|
15
15
|
const agentKey = agentConnector.key;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
});
|
|
16
|
+
const endpointModule = endpointModules.find((e) => e.key === endpointReference);
|
|
17
|
+
if (!endpointModule) {
|
|
18
|
+
validationErrors.push({
|
|
19
|
+
message: text_1.errors.modules.rovo.incorrectA2AEndpointReference(agentKey, endpointReference),
|
|
20
|
+
reference: text_1.References.Modules,
|
|
21
|
+
level: 'error',
|
|
22
|
+
...(0, utils_1.findPosition)(agentKey, yamlContentByLine)
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
if (endpointModule && !endpointModule?.remote) {
|
|
26
|
+
validationErrors.push({
|
|
27
|
+
message: text_1.errors.modules.rovo.incorrectA2AEndpointConfiguration(agentKey, endpointReference),
|
|
28
|
+
reference: text_1.References.Modules,
|
|
29
|
+
level: 'error',
|
|
30
|
+
...(0, utils_1.findPosition)(endpointReference, yamlContentByLine)
|
|
31
|
+
});
|
|
32
|
+
}
|
|
35
33
|
});
|
|
36
34
|
return validationErrors;
|
|
37
35
|
};
|