@okxweb3/a2a-node 0.0.15-beta-1d2e01866f-260623014705 → 0.0.15

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/cli.js CHANGED
@@ -2718,7 +2718,7 @@ function detectGatewayInvocation(env = process.env) {
2718
2718
  if (!isTruthyRuntimeMarker(env.OKX_A2A_IN_GATEWAY)) {
2719
2719
  return null;
2720
2720
  }
2721
- const provider = env.OKX_A2A_GATEWAY_PROVIDER ?? env.OKX_A2A_AI_PROVIDER ?? env.OKX_AGENT_TASK_AI_CLI;
2721
+ const provider = env.OKX_A2A_GATEWAY_PROVIDER;
2722
2722
  if (!provider) {
2723
2723
  return null;
2724
2724
  }
@@ -7369,7 +7369,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
7369
7369
  client: {
7370
7370
  id: "gateway-client",
7371
7371
  displayName: "okx-a2a-node",
7372
- version: "0.0.15-beta-1d2e01866f-260623014705",
7372
+ version: "0.0.15",
7373
7373
  platform: "node",
7374
7374
  mode: "backend",
7375
7375
  instanceId
@@ -7380,7 +7380,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
7380
7380
  commands: [],
7381
7381
  permissions: {},
7382
7382
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
7383
- userAgent: `okx-a2a-node/${"0.0.15-beta-1d2e01866f-260623014705"}`,
7383
+ userAgent: `okx-a2a-node/${"0.0.15"}`,
7384
7384
  auth: {
7385
7385
  ...config.token ? { token: config.token } : {},
7386
7386
  ...config.password ? { password: config.password } : {}
@@ -23932,7 +23932,7 @@ var init_sentry_config = __esm({
23932
23932
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
23933
23933
  SENTRY_CONFIG = {
23934
23934
  projectName: "okx/openclaw-okx-a2a-extension",
23935
- release: "0.0.15-beta-1d2e01866f-260623014705",
23935
+ release: "0.0.15",
23936
23936
  environment
23937
23937
  };
23938
23938
  }
@@ -91133,12 +91133,12 @@ async function runListenerWithLock(options, paths) {
91133
91133
  }));
91134
91134
  }
91135
91135
  });
91136
- service.setPluginVersion("0.0.15-beta-1d2e01866f-260623014705");
91136
+ service.setPluginVersion("0.0.15");
91137
91137
  await service.init();
91138
91138
  const pluginVersionStatus = service.pluginVersionStatus;
91139
91139
  if (pluginVersionStatus.unavailable) {
91140
91140
  throw new Error(
91141
- `@okxweb3/a2a-node v${"0.0.15-beta-1d2e01866f-260623014705"} is below the required minimum v${pluginVersionStatus.minVersion}`
91141
+ `@okxweb3/a2a-node v${"0.0.15"} is below the required minimum v${pluginVersionStatus.minVersion}`
91142
91142
  );
91143
91143
  }
91144
91144
  const systemConfig = service.getSystemConfig();
@@ -91156,7 +91156,7 @@ async function runListenerWithLock(options, paths) {
91156
91156
  onchainosAgentId: "*",
91157
91157
  reason: "system-config missing sentryDsn",
91158
91158
  pluginId: "@okxweb3/a2a-node",
91159
- pluginVersion: "0.0.15-beta-1d2e01866f-260623014705"
91159
+ pluginVersion: "0.0.15"
91160
91160
  });
91161
91161
  }
91162
91162
  logWithTimestamp(
@@ -93969,7 +93969,7 @@ async function getCurrentNodeCliVersion() {
93969
93969
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
93970
93970
  }
93971
93971
  function getBundledNodeCliVersion() {
93972
- return true ? "0.0.15-beta-1d2e01866f-260623014705" : null;
93972
+ return true ? "0.0.15" : null;
93973
93973
  }
93974
93974
  function readConfiguredAiProvider() {
93975
93975
  const explicit = process.env.OKX_AGENT_TASK_AI_CLI ?? process.env.OKX_A2A_AI_PROVIDER;
@@ -94026,7 +94026,7 @@ async function updateOpenClaw(release, options) {
94026
94026
  } else {
94027
94027
  console.log(`[${label}] OpenClaw plugin okx-a2a is not currently installed; uninstall skipped`);
94028
94028
  }
94029
- await runCommand("openclaw", ["plugins", "install", pluginSpec]);
94029
+ await runCommand("openclaw", ["plugins", "install", pluginSpec, OPENCLAW_UNSAFE_INSTALL_FLAG]);
94030
94030
  if (options.restart) {
94031
94031
  console.log(`[${label}] restarting OpenClaw gateway`);
94032
94032
  await runCommand("openclaw", ["gateway", "restart"]);
@@ -94588,7 +94588,7 @@ async function runCommandCaptureOptional(command, args) {
94588
94588
  });
94589
94589
  });
94590
94590
  }
94591
- var import_node_child_process7, import_node_fs15, import_promises6, import_node_os6, import_node_path19, UPDATE_PACKAGES, redirectCommandStdoutToStderr;
94591
+ var import_node_child_process7, import_node_fs15, import_promises6, import_node_os6, import_node_path19, UPDATE_PACKAGES, OPENCLAW_UNSAFE_INSTALL_FLAG, redirectCommandStdoutToStderr;
94592
94592
  var init_update_cli = __esm({
94593
94593
  "src/update-cli.ts"() {
94594
94594
  "use strict";
@@ -94605,6 +94605,7 @@ var init_update_cli = __esm({
94605
94605
  openclaw: "@okxweb3/a2a-openclaw",
94606
94606
  hermes: "@okxweb3/a2a-hermes"
94607
94607
  };
94608
+ OPENCLAW_UNSAFE_INSTALL_FLAG = "--dangerously-force-unsafe-install";
94608
94609
  redirectCommandStdoutToStderr = false;
94609
94610
  }
94610
94611
  });
@@ -94625,7 +94626,7 @@ init_task_config();
94625
94626
  init_sentry_logger();
94626
94627
  init_sentry_config();
94627
94628
  function printUsage2() {
94628
- console.log(`okx-a2a ${"0.0.15-beta-1d2e01866f-260623014705"}
94629
+ console.log(`okx-a2a ${"0.0.15"}
94629
94630
 
94630
94631
  Usage:
94631
94632
  okx-a2a <command> [options]
@@ -94662,7 +94663,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
94662
94663
  `);
94663
94664
  }
94664
94665
  function printVersion() {
94665
- console.log("0.0.15-beta-1d2e01866f-260623014705");
94666
+ console.log("0.0.15");
94666
94667
  }
94667
94668
  function printDaemonUsage() {
94668
94669
  console.log(`Usage: okx-a2a daemon <start|restart|stop|status> [options]
package/dist/index.js CHANGED
@@ -70319,7 +70319,7 @@ function detectGatewayInvocation(env = process.env) {
70319
70319
  if (!isTruthyRuntimeMarker(env.OKX_A2A_IN_GATEWAY)) {
70320
70320
  return null;
70321
70321
  }
70322
- const provider = env.OKX_A2A_GATEWAY_PROVIDER ?? env.OKX_A2A_AI_PROVIDER ?? env.OKX_AGENT_TASK_AI_CLI;
70322
+ const provider = env.OKX_A2A_GATEWAY_PROVIDER;
70323
70323
  if (!provider) {
70324
70324
  return null;
70325
70325
  }
@@ -86093,7 +86093,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
86093
86093
  client: {
86094
86094
  id: "gateway-client",
86095
86095
  displayName: "okx-a2a-node",
86096
- version: "0.0.15-beta-1d2e01866f-260623014705",
86096
+ version: "0.0.15",
86097
86097
  platform: "node",
86098
86098
  mode: "backend",
86099
86099
  instanceId
@@ -86104,7 +86104,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
86104
86104
  commands: [],
86105
86105
  permissions: {},
86106
86106
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
86107
- userAgent: `okx-a2a-node/${"0.0.15-beta-1d2e01866f-260623014705"}`,
86107
+ userAgent: `okx-a2a-node/${"0.0.15"}`,
86108
86108
  auth: {
86109
86109
  ...config.token ? { token: config.token } : {},
86110
86110
  ...config.password ? { password: config.password } : {}
@@ -89650,7 +89650,7 @@ function userWatchEventDeliveredSentryExtra(event) {
89650
89650
  var environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
89651
89651
  var SENTRY_CONFIG = {
89652
89652
  projectName: "okx/openclaw-okx-a2a-extension",
89653
- release: "0.0.15-beta-1d2e01866f-260623014705",
89653
+ release: "0.0.15",
89654
89654
  environment
89655
89655
  };
89656
89656
 
@@ -89771,12 +89771,12 @@ async function runListenerWithLock(options, paths) {
89771
89771
  }));
89772
89772
  }
89773
89773
  });
89774
- service.setPluginVersion("0.0.15-beta-1d2e01866f-260623014705");
89774
+ service.setPluginVersion("0.0.15");
89775
89775
  await service.init();
89776
89776
  const pluginVersionStatus = service.pluginVersionStatus;
89777
89777
  if (pluginVersionStatus.unavailable) {
89778
89778
  throw new Error(
89779
- `@okxweb3/a2a-node v${"0.0.15-beta-1d2e01866f-260623014705"} is below the required minimum v${pluginVersionStatus.minVersion}`
89779
+ `@okxweb3/a2a-node v${"0.0.15"} is below the required minimum v${pluginVersionStatus.minVersion}`
89780
89780
  );
89781
89781
  }
89782
89782
  const systemConfig = service.getSystemConfig();
@@ -89794,7 +89794,7 @@ async function runListenerWithLock(options, paths) {
89794
89794
  onchainosAgentId: "*",
89795
89795
  reason: "system-config missing sentryDsn",
89796
89796
  pluginId: "@okxweb3/a2a-node",
89797
- pluginVersion: "0.0.15-beta-1d2e01866f-260623014705"
89797
+ pluginVersion: "0.0.15"
89798
89798
  });
89799
89799
  }
89800
89800
  logWithTimestamp(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okxweb3/a2a-node",
3
- "version": "0.0.15-beta-1d2e01866f-260623014705",
3
+ "version": "0.0.15",
4
4
  "description": "Host-agnostic Node CLI for E2E encrypted agent-to-agent communication via XMTP",
5
5
  "main": "dist/index.js",
6
6
  "bin": {