@ai-setting/roy-agent-core 1.6.24 → 1.6.30
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/env/agent/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
AgentComponent,
|
|
3
3
|
AgentComponentConfigSchema,
|
|
4
4
|
SummaryAgent
|
|
5
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../shared/@ai-setting/roy-agent-core-8yt1v68m.js";
|
|
6
6
|
import"../../shared/@ai-setting/roy-agent-core-c1stgqnw.js";
|
|
7
7
|
import"../../shared/@ai-setting/roy-agent-core-h28gcd77.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-br7dmedr.js";
|
package/dist/env/index.js
CHANGED
|
@@ -41,7 +41,7 @@ import"../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
41
41
|
import {
|
|
42
42
|
AgentComponent,
|
|
43
43
|
AgentComponentConfigSchema
|
|
44
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
44
|
+
} from "../shared/@ai-setting/roy-agent-core-8yt1v68m.js";
|
|
45
45
|
import"../shared/@ai-setting/roy-agent-core-c1stgqnw.js";
|
|
46
46
|
import"../shared/@ai-setting/roy-agent-core-h28gcd77.js";
|
|
47
47
|
import"../shared/@ai-setting/roy-agent-core-br7dmedr.js";
|
package/dist/index.js
CHANGED
|
@@ -131,7 +131,7 @@ import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
131
131
|
import {
|
|
132
132
|
AgentComponent,
|
|
133
133
|
AgentComponentConfigSchema
|
|
134
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
134
|
+
} from "./shared/@ai-setting/roy-agent-core-8yt1v68m.js";
|
|
135
135
|
import {
|
|
136
136
|
createInvokeConfig,
|
|
137
137
|
invoke,
|
package/package.json
CHANGED
|
@@ -1060,13 +1060,6 @@ class AgentComponent extends BaseComponent {
|
|
|
1060
1060
|
const toolResult = await this.executeTool(hookCtx);
|
|
1061
1061
|
hookCtx.toolResult = toolResult;
|
|
1062
1062
|
await this.executePluginHooks(agent, "agent:after.tool", hookCtx);
|
|
1063
|
-
{
|
|
1064
|
-
const captured = this.consumeMetaProtocolUserMessage(hookCtx);
|
|
1065
|
-
if (captured) {
|
|
1066
|
-
pendingFakeUserMessage = captured;
|
|
1067
|
-
logger2.debug(`[ReAct] Meta-protocol: captured user message (tool=${toolResult.name}, iter=${iteration}); will flush after loop`);
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
1063
|
if (hookCtx._stopped) {
|
|
1071
1064
|
this.addRemainingToolResults(hookCtx, iterAllToolCalls, iterProcessedCount + 1, "Execution aborted by plugin hook");
|
|
1072
1065
|
break;
|
|
@@ -1083,6 +1076,13 @@ class AgentComponent extends BaseComponent {
|
|
|
1083
1076
|
output: toolOutput
|
|
1084
1077
|
}]
|
|
1085
1078
|
});
|
|
1079
|
+
{
|
|
1080
|
+
const captured = this.consumeMetaProtocolUserMessage(hookCtx);
|
|
1081
|
+
if (captured) {
|
|
1082
|
+
pendingFakeUserMessage = captured;
|
|
1083
|
+
logger2.debug(`[ReAct] Meta-protocol: captured user message (tool=${toolResult.name}, iter=${iteration}); will flush after loop`);
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
1086
|
result.toolCalls.push(hookCtx.currentToolCall);
|
|
1087
1087
|
iterProcessedCount++;
|
|
1088
1088
|
}
|