@ai-setting/roy-agent-cli 1.5.53 → 1.5.55
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/bin/roy-agent.js +13 -7
- package/dist/index.js +13 -7
- package/dist/roy-agent-linux-x64/bin/roy-agent +0 -0
- package/package.json +3 -3
package/dist/bin/roy-agent.js
CHANGED
|
@@ -7319,7 +7319,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
7319
7319
|
var require_package = __commonJS((exports, module) => {
|
|
7320
7320
|
module.exports = {
|
|
7321
7321
|
name: "@ai-setting/roy-agent-cli",
|
|
7322
|
-
version: "1.5.
|
|
7322
|
+
version: "1.5.55",
|
|
7323
7323
|
type: "module",
|
|
7324
7324
|
description: "CLI for roy-agent - Non-interactive command execution",
|
|
7325
7325
|
main: "./dist/index.js",
|
|
@@ -7345,8 +7345,8 @@ var require_package = __commonJS((exports, module) => {
|
|
|
7345
7345
|
typecheck: "npx tsc --noEmit --skipLibCheck"
|
|
7346
7346
|
},
|
|
7347
7347
|
dependencies: {
|
|
7348
|
-
"@ai-setting/roy-agent-coder-harness": "^1.5.
|
|
7349
|
-
"@ai-setting/roy-agent-core": "^1.5.
|
|
7348
|
+
"@ai-setting/roy-agent-coder-harness": "^1.5.47",
|
|
7349
|
+
"@ai-setting/roy-agent-core": "^1.5.54",
|
|
7350
7350
|
"@ai-setting/roy-agent-ontology-harness": "^1.5.47",
|
|
7351
7351
|
chalk: "^5.6.2",
|
|
7352
7352
|
commander: "^14.0.3",
|
|
@@ -9299,9 +9299,12 @@ class REPL {
|
|
|
9299
9299
|
${COLORS.system("[正在中断...]")}`);
|
|
9300
9300
|
if (this.env) {
|
|
9301
9301
|
const agentComponent = this.env.getComponent("agent");
|
|
9302
|
-
if (agentComponent?.
|
|
9302
|
+
if (agentComponent?.abortAll) {
|
|
9303
|
+
agentComponent.abortAll();
|
|
9304
|
+
logger4.debug("[/abort] AgentComponent.abortAll() called");
|
|
9305
|
+
} else if (agentComponent?.abort) {
|
|
9303
9306
|
agentComponent.abort("default");
|
|
9304
|
-
logger4.debug("[/abort] AgentComponent.abort('default') called");
|
|
9307
|
+
logger4.debug("[/abort] AgentComponent.abort('default') called (fallback)");
|
|
9305
9308
|
}
|
|
9306
9309
|
}
|
|
9307
9310
|
abortStream();
|
|
@@ -9578,9 +9581,12 @@ ${COLORS.error("❌ 执行失败: " + error)}
|
|
|
9578
9581
|
if (this.isExecuting) {
|
|
9579
9582
|
if (this.env) {
|
|
9580
9583
|
const agentComponent = this.env.getComponent("agent");
|
|
9581
|
-
if (agentComponent?.
|
|
9584
|
+
if (agentComponent?.abortAll) {
|
|
9585
|
+
agentComponent.abortAll();
|
|
9586
|
+
logger4.debug("[Esc] AgentComponent.abortAll() called");
|
|
9587
|
+
} else if (agentComponent?.abort) {
|
|
9582
9588
|
agentComponent.abort("default");
|
|
9583
|
-
logger4.debug("[Esc] AgentComponent.abort('default') called");
|
|
9589
|
+
logger4.debug("[Esc] AgentComponent.abort('default') called (fallback)");
|
|
9584
9590
|
}
|
|
9585
9591
|
}
|
|
9586
9592
|
abortStream();
|
package/dist/index.js
CHANGED
|
@@ -7318,7 +7318,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
7318
7318
|
var require_package = __commonJS((exports, module) => {
|
|
7319
7319
|
module.exports = {
|
|
7320
7320
|
name: "@ai-setting/roy-agent-cli",
|
|
7321
|
-
version: "1.5.
|
|
7321
|
+
version: "1.5.55",
|
|
7322
7322
|
type: "module",
|
|
7323
7323
|
description: "CLI for roy-agent - Non-interactive command execution",
|
|
7324
7324
|
main: "./dist/index.js",
|
|
@@ -7344,8 +7344,8 @@ var require_package = __commonJS((exports, module) => {
|
|
|
7344
7344
|
typecheck: "npx tsc --noEmit --skipLibCheck"
|
|
7345
7345
|
},
|
|
7346
7346
|
dependencies: {
|
|
7347
|
-
"@ai-setting/roy-agent-coder-harness": "^1.5.
|
|
7348
|
-
"@ai-setting/roy-agent-core": "^1.5.
|
|
7347
|
+
"@ai-setting/roy-agent-coder-harness": "^1.5.47",
|
|
7348
|
+
"@ai-setting/roy-agent-core": "^1.5.54",
|
|
7349
7349
|
"@ai-setting/roy-agent-ontology-harness": "^1.5.47",
|
|
7350
7350
|
chalk: "^5.6.2",
|
|
7351
7351
|
commander: "^14.0.3",
|
|
@@ -9298,9 +9298,12 @@ class REPL {
|
|
|
9298
9298
|
${COLORS.system("[正在中断...]")}`);
|
|
9299
9299
|
if (this.env) {
|
|
9300
9300
|
const agentComponent = this.env.getComponent("agent");
|
|
9301
|
-
if (agentComponent?.
|
|
9301
|
+
if (agentComponent?.abortAll) {
|
|
9302
|
+
agentComponent.abortAll();
|
|
9303
|
+
logger4.debug("[/abort] AgentComponent.abortAll() called");
|
|
9304
|
+
} else if (agentComponent?.abort) {
|
|
9302
9305
|
agentComponent.abort("default");
|
|
9303
|
-
logger4.debug("[/abort] AgentComponent.abort('default') called");
|
|
9306
|
+
logger4.debug("[/abort] AgentComponent.abort('default') called (fallback)");
|
|
9304
9307
|
}
|
|
9305
9308
|
}
|
|
9306
9309
|
abortStream();
|
|
@@ -9577,9 +9580,12 @@ ${COLORS.error("❌ 执行失败: " + error)}
|
|
|
9577
9580
|
if (this.isExecuting) {
|
|
9578
9581
|
if (this.env) {
|
|
9579
9582
|
const agentComponent = this.env.getComponent("agent");
|
|
9580
|
-
if (agentComponent?.
|
|
9583
|
+
if (agentComponent?.abortAll) {
|
|
9584
|
+
agentComponent.abortAll();
|
|
9585
|
+
logger4.debug("[Esc] AgentComponent.abortAll() called");
|
|
9586
|
+
} else if (agentComponent?.abort) {
|
|
9581
9587
|
agentComponent.abort("default");
|
|
9582
|
-
logger4.debug("[Esc] AgentComponent.abort('default') called");
|
|
9588
|
+
logger4.debug("[Esc] AgentComponent.abort('default') called (fallback)");
|
|
9583
9589
|
}
|
|
9584
9590
|
}
|
|
9585
9591
|
abortStream();
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-setting/roy-agent-cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.55",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI for roy-agent - Non-interactive command execution",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"typecheck": "npx tsc --noEmit --skipLibCheck"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ai-setting/roy-agent-coder-harness": "^1.5.
|
|
30
|
-
"@ai-setting/roy-agent-core": "^1.5.
|
|
29
|
+
"@ai-setting/roy-agent-coder-harness": "^1.5.47",
|
|
30
|
+
"@ai-setting/roy-agent-core": "^1.5.54",
|
|
31
31
|
"@ai-setting/roy-agent-ontology-harness": "^1.5.47",
|
|
32
32
|
"chalk": "^5.6.2",
|
|
33
33
|
"commander": "^14.0.3",
|