@ai-setting/roy-agent-cli 1.5.51 → 1.5.52

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.
@@ -7290,7 +7290,7 @@ var require_dist = __commonJS((exports) => {
7290
7290
  var require_package = __commonJS((exports, module) => {
7291
7291
  module.exports = {
7292
7292
  name: "@ai-setting/roy-agent-cli",
7293
- version: "1.5.51",
7293
+ version: "1.5.52",
7294
7294
  type: "module",
7295
7295
  description: "CLI for roy-agent - Non-interactive command execution",
7296
7296
  main: "./dist/index.js",
@@ -7317,7 +7317,7 @@ var require_package = __commonJS((exports, module) => {
7317
7317
  },
7318
7318
  dependencies: {
7319
7319
  "@ai-setting/roy-agent-coder-harness": "^1.5.46",
7320
- "@ai-setting/roy-agent-core": "^1.5.50",
7320
+ "@ai-setting/roy-agent-core": "^1.5.51",
7321
7321
  "@ai-setting/roy-agent-ontology-harness": "^1.5.47",
7322
7322
  chalk: "^5.6.2",
7323
7323
  commander: "^14.0.3",
@@ -9382,7 +9382,9 @@ ${COLORS.system("[通知2] ❯ " + message.replace(/\n/g, `
9382
9382
  pluginEnabled[key] = true;
9383
9383
  }
9384
9384
  }
9385
+ const agentFromEvent = envEvent.metadata?.agent;
9385
9386
  this.currentAgentContext = {
9387
+ agentType: agentFromEvent,
9386
9388
  pluginEnabled,
9387
9389
  envEvent,
9388
9390
  plugins
package/dist/index.js CHANGED
@@ -7289,7 +7289,7 @@ var require_dist = __commonJS((exports) => {
7289
7289
  var require_package = __commonJS((exports, module) => {
7290
7290
  module.exports = {
7291
7291
  name: "@ai-setting/roy-agent-cli",
7292
- version: "1.5.51",
7292
+ version: "1.5.52",
7293
7293
  type: "module",
7294
7294
  description: "CLI for roy-agent - Non-interactive command execution",
7295
7295
  main: "./dist/index.js",
@@ -7316,7 +7316,7 @@ var require_package = __commonJS((exports, module) => {
7316
7316
  },
7317
7317
  dependencies: {
7318
7318
  "@ai-setting/roy-agent-coder-harness": "^1.5.46",
7319
- "@ai-setting/roy-agent-core": "^1.5.50",
7319
+ "@ai-setting/roy-agent-core": "^1.5.51",
7320
7320
  "@ai-setting/roy-agent-ontology-harness": "^1.5.47",
7321
7321
  chalk: "^5.6.2",
7322
7322
  commander: "^14.0.3",
@@ -9381,7 +9381,9 @@ ${COLORS.system("[通知2] ❯ " + message.replace(/\n/g, `
9381
9381
  pluginEnabled[key] = true;
9382
9382
  }
9383
9383
  }
9384
+ const agentFromEvent = envEvent.metadata?.agent;
9384
9385
  this.currentAgentContext = {
9386
+ agentType: agentFromEvent,
9385
9387
  pluginEnabled,
9386
9388
  envEvent,
9387
9389
  plugins
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-setting/roy-agent-cli",
3
- "version": "1.5.51",
3
+ "version": "1.5.52",
4
4
  "type": "module",
5
5
  "description": "CLI for roy-agent - Non-interactive command execution",
6
6
  "main": "./dist/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@ai-setting/roy-agent-coder-harness": "^1.5.46",
30
- "@ai-setting/roy-agent-core": "^1.5.50",
30
+ "@ai-setting/roy-agent-core": "^1.5.51",
31
31
  "@ai-setting/roy-agent-ontology-harness": "^1.5.47",
32
32
  "chalk": "^5.6.2",
33
33
  "commander": "^14.0.3",