@axiom-lattice/protocols 6.4.0 → 7.0.1
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +208 -0
- package/dist/index.d.mts +37 -21
- package/dist/index.d.ts +37 -21
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -7
- package/src/AgentLatticeProtocol.ts +4 -27
- package/src/McpLatticeProtocol.ts +15 -0
- package/src/MessageProtocol.ts +17 -0
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
var AgentType = /* @__PURE__ */ ((AgentType2) => {
|
|
3
3
|
AgentType2["REACT"] = "react";
|
|
4
4
|
AgentType2["DEEP_AGENT"] = "deep_agent";
|
|
5
|
-
AgentType2["PROCESSING"] = "processing";
|
|
6
5
|
AgentType2["A2A_REMOTE"] = "a2a_remote";
|
|
7
6
|
AgentType2["WORKFLOW"] = "workflow";
|
|
8
7
|
return AgentType2;
|
|
@@ -19,9 +18,6 @@ function hasTools(config) {
|
|
|
19
18
|
function isDeepAgentConfig(config) {
|
|
20
19
|
return config.type === "deep_agent" /* DEEP_AGENT */;
|
|
21
20
|
}
|
|
22
|
-
function isProcessingAgentConfig(config) {
|
|
23
|
-
return config.type === "processing" /* PROCESSING */;
|
|
24
|
-
}
|
|
25
21
|
function getToolsFromConfig(config) {
|
|
26
22
|
if (hasTools(config)) {
|
|
27
23
|
return config.tools || [];
|
|
@@ -29,7 +25,7 @@ function getToolsFromConfig(config) {
|
|
|
29
25
|
return [];
|
|
30
26
|
}
|
|
31
27
|
function getSubAgentsFromConfig(config) {
|
|
32
|
-
if (isDeepAgentConfig(config)
|
|
28
|
+
if (isDeepAgentConfig(config)) {
|
|
33
29
|
return config.subAgents || [];
|
|
34
30
|
}
|
|
35
31
|
return [];
|
|
@@ -1206,7 +1202,6 @@ export {
|
|
|
1206
1202
|
isDeepAgentConfig,
|
|
1207
1203
|
isExecutionResultEventKey,
|
|
1208
1204
|
isMcpUiRef,
|
|
1209
|
-
isProcessingAgentConfig,
|
|
1210
1205
|
isProjectRoomEventId,
|
|
1211
1206
|
isWorkflowAgentConfig,
|
|
1212
1207
|
isWorkspacePublicRoomProjectId,
|