@ai-setting/roy-agent-cli 1.5.23 → 1.5.25

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.
@@ -7240,7 +7240,7 @@ var require_dist = __commonJS((exports) => {
7240
7240
  var require_package = __commonJS((exports, module) => {
7241
7241
  module.exports = {
7242
7242
  name: "@ai-setting/roy-agent-cli",
7243
- version: "1.5.23",
7243
+ version: "1.5.22",
7244
7244
  type: "module",
7245
7245
  description: "CLI for roy-agent - Non-interactive command execution",
7246
7246
  main: "./dist/index.js",
@@ -14320,6 +14320,12 @@ var EventSourceAddCommand = {
14320
14320
  }).option("cron", {
14321
14321
  describe: "Cron 表达式",
14322
14322
  type: "string"
14323
+ }).option("address", {
14324
+ describe: "Bounty IM 地址(bounty-im 类型)",
14325
+ type: "string"
14326
+ }).option("imServerUrl", {
14327
+ describe: "IM 服务器 URL(bounty-im 类型)",
14328
+ type: "string"
14323
14329
  }),
14324
14330
  async handler(args) {
14325
14331
  const a = args;
@@ -14347,7 +14353,11 @@ var EventSourceAddCommand = {
14347
14353
  command: a.command,
14348
14354
  url: a.url,
14349
14355
  interval: a.interval,
14350
- cron: a.cron
14356
+ cron: a.cron,
14357
+ options: {
14358
+ address: a.address,
14359
+ imServerUrl: a.imServerUrl
14360
+ }
14351
14361
  };
14352
14362
  esComponent.register(config);
14353
14363
  output.success(chalk44.green(`事件源 '${a.name}' 添加成功!`));
@@ -14363,6 +14373,12 @@ var EventSourceAddCommand = {
14363
14373
  if (a.interval) {
14364
14374
  output.log(` Interval: ${chalk44.gray(`${a.interval}ms`)}`);
14365
14375
  }
14376
+ if (a.address) {
14377
+ output.log(` Address: ${chalk44.gray(a.address)}`);
14378
+ }
14379
+ if (a.imServerUrl) {
14380
+ output.log(` IM Server: ${chalk44.gray(a.imServerUrl)}`);
14381
+ }
14366
14382
  output.log("");
14367
14383
  output.log(chalk44.gray(`使用 'roy-agent eventsource start ${config.id.substring(0, 8)}' 启动它。`));
14368
14384
  } finally {
package/dist/index.js CHANGED
@@ -7239,7 +7239,7 @@ var require_dist = __commonJS((exports) => {
7239
7239
  var require_package = __commonJS((exports, module) => {
7240
7240
  module.exports = {
7241
7241
  name: "@ai-setting/roy-agent-cli",
7242
- version: "1.5.23",
7242
+ version: "1.5.22",
7243
7243
  type: "module",
7244
7244
  description: "CLI for roy-agent - Non-interactive command execution",
7245
7245
  main: "./dist/index.js",
@@ -14319,6 +14319,12 @@ var EventSourceAddCommand = {
14319
14319
  }).option("cron", {
14320
14320
  describe: "Cron 表达式",
14321
14321
  type: "string"
14322
+ }).option("address", {
14323
+ describe: "Bounty IM 地址(bounty-im 类型)",
14324
+ type: "string"
14325
+ }).option("imServerUrl", {
14326
+ describe: "IM 服务器 URL(bounty-im 类型)",
14327
+ type: "string"
14322
14328
  }),
14323
14329
  async handler(args) {
14324
14330
  const a = args;
@@ -14346,7 +14352,11 @@ var EventSourceAddCommand = {
14346
14352
  command: a.command,
14347
14353
  url: a.url,
14348
14354
  interval: a.interval,
14349
- cron: a.cron
14355
+ cron: a.cron,
14356
+ options: {
14357
+ address: a.address,
14358
+ imServerUrl: a.imServerUrl
14359
+ }
14350
14360
  };
14351
14361
  esComponent.register(config);
14352
14362
  output.success(chalk44.green(`事件源 '${a.name}' 添加成功!`));
@@ -14362,6 +14372,12 @@ var EventSourceAddCommand = {
14362
14372
  if (a.interval) {
14363
14373
  output.log(` Interval: ${chalk44.gray(`${a.interval}ms`)}`);
14364
14374
  }
14375
+ if (a.address) {
14376
+ output.log(` Address: ${chalk44.gray(a.address)}`);
14377
+ }
14378
+ if (a.imServerUrl) {
14379
+ output.log(` IM Server: ${chalk44.gray(a.imServerUrl)}`);
14380
+ }
14365
14381
  output.log("");
14366
14382
  output.log(chalk44.gray(`使用 'roy-agent eventsource start ${config.id.substring(0, 8)}' 启动它。`));
14367
14383
  } finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-setting/roy-agent-cli",
3
- "version": "1.5.23",
3
+ "version": "1.5.25",
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": "workspace:*",
30
- "@ai-setting/roy-agent-core": "workspace:*",
29
+ "@ai-setting/roy-agent-coder-harness": "1.5.25",
30
+ "@ai-setting/roy-agent-core": "1.5.25",
31
31
  "chalk": "^5.6.2",
32
32
  "commander": "^14.0.3",
33
33
  "pyright": "^1.1.409",