@okxweb3/a2a-node 0.2.7-beta-1b272a79cf-260817115019 → 0.2.7

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.
Files changed (3) hide show
  1. package/dist/cli.js +13 -13
  2. package/dist/index.js +10 -10
  3. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -26648,7 +26648,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
26648
26648
  client: {
26649
26649
  id: "gateway-client",
26650
26650
  displayName: "okx-a2a-node",
26651
- version: "0.2.7-beta-1b272a79cf-260817115019",
26651
+ version: "0.2.7",
26652
26652
  platform: "node",
26653
26653
  mode: "backend",
26654
26654
  instanceId
@@ -26659,7 +26659,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
26659
26659
  commands: [],
26660
26660
  permissions: {},
26661
26661
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
26662
- userAgent: `okx-a2a-node/${"0.2.7-beta-1b272a79cf-260817115019"}`,
26662
+ userAgent: `okx-a2a-node/${"0.2.7"}`,
26663
26663
  auth: {
26664
26664
  ...config.token ? { token: config.token } : {},
26665
26665
  ...config.password ? { password: config.password } : {}
@@ -28568,7 +28568,7 @@ var init_sentry_config = __esm({
28568
28568
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
28569
28569
  SENTRY_CONFIG = {
28570
28570
  projectName: "okx/openclaw-okx-a2a-extension",
28571
- release: "0.2.7-beta-1b272a79cf-260817115019",
28571
+ release: "0.2.7",
28572
28572
  environment,
28573
28573
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
28574
28574
  };
@@ -39738,7 +39738,7 @@ async function exportDiagnosticLogs(options) {
39738
39738
  node: process.version,
39739
39739
  platform: process.platform,
39740
39740
  arch: process.arch,
39741
- packageVersion: true ? "0.2.7-beta-1b272a79cf-260817115019" : "unknown",
39741
+ packageVersion: true ? "0.2.7" : "unknown",
39742
39742
  sensitiveContentIncluded: options.includeSensitiveContent,
39743
39743
  listenerAndLlmContentIncluded: true,
39744
39744
  credentialsAlwaysRedacted: true,
@@ -67648,12 +67648,12 @@ async function runListenerWithLock(options, paths) {
67648
67648
  });
67649
67649
  }
67650
67650
  });
67651
- service.setPluginVersion("0.2.7-beta-1b272a79cf-260817115019");
67651
+ service.setPluginVersion("0.2.7");
67652
67652
  await service.init();
67653
67653
  const pluginVersionStatus = service.pluginVersionStatus;
67654
67654
  if (pluginVersionStatus.unavailable) {
67655
67655
  throw new Error(
67656
- `@okxweb3/a2a-node v${"0.2.7-beta-1b272a79cf-260817115019"} is below the required minimum v${pluginVersionStatus.minVersion}`
67656
+ `@okxweb3/a2a-node v${"0.2.7"} is below the required minimum v${pluginVersionStatus.minVersion}`
67657
67657
  );
67658
67658
  }
67659
67659
  const systemConfig = service.getSystemConfig();
@@ -67671,7 +67671,7 @@ async function runListenerWithLock(options, paths) {
67671
67671
  onchainosAgentId: "*",
67672
67672
  reason: "system-config missing sentryDsn",
67673
67673
  pluginId: "@okxweb3/a2a-node",
67674
- pluginVersion: "0.2.7-beta-1b272a79cf-260817115019"
67674
+ pluginVersion: "0.2.7"
67675
67675
  });
67676
67676
  }
67677
67677
  logWithTimestamp(
@@ -116073,7 +116073,7 @@ async function getCurrentNodeCliVersion() {
116073
116073
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
116074
116074
  }
116075
116075
  function getBundledNodeCliVersion() {
116076
- return true ? "0.2.7-beta-1b272a79cf-260817115019" : null;
116076
+ return true ? "0.2.7" : null;
116077
116077
  }
116078
116078
  function readConfiguredAiProvider() {
116079
116079
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -116283,7 +116283,7 @@ async function updateHermes(release, options) {
116283
116283
  }
116284
116284
  }
116285
116285
  async function installGatewayPluginForDoctor(target) {
116286
- const release = isPrereleaseVersion("0.2.7-beta-1b272a79cf-260817115019") ? "beta" : "latest";
116286
+ const release = isPrereleaseVersion("0.2.7") ? "beta" : "latest";
116287
116287
  const insideTargetGateway = detectGatewayInvocation() === target;
116288
116288
  const options = {
116289
116289
  restart: !insideTargetGateway,
@@ -117329,7 +117329,7 @@ async function runDoctor(options = {}) {
117329
117329
  platform: options.platform ?? process.platform,
117330
117330
  env: options.env ?? process.env,
117331
117331
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
117332
- cliVersion: options.cliVersion ?? (true ? "0.2.7-beta-1b272a79cf-260817115019" : "0.0.0"),
117332
+ cliVersion: options.cliVersion ?? (true ? "0.2.7" : "0.0.0"),
117333
117333
  fixMode: options.fix === true,
117334
117334
  nonInteractive: options.nonInteractive === true,
117335
117335
  packageChanged: false,
@@ -118351,7 +118351,7 @@ init_sentry_logger();
118351
118351
  init_sentry_config();
118352
118352
  var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
118353
118353
  function printUsage3() {
118354
- console.log(`okx-a2a ${"0.2.7-beta-1b272a79cf-260817115019"}
118354
+ console.log(`okx-a2a ${"0.2.7"}
118355
118355
 
118356
118356
  Usage:
118357
118357
  okx-a2a <command> [options]
@@ -118391,7 +118391,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
118391
118391
  `);
118392
118392
  }
118393
118393
  function printVersion() {
118394
- console.log("0.2.7-beta-1b272a79cf-260817115019");
118394
+ console.log("0.2.7");
118395
118395
  }
118396
118396
  function printDaemonUsage() {
118397
118397
  console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
@@ -119830,7 +119830,7 @@ async function main() {
119830
119830
  if (command === "xmtp-test") {
119831
119831
  const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
119832
119832
  await handleXmtpTestCommand2(process.argv.slice(3), {
119833
- packageVersion: "0.2.7-beta-1b272a79cf-260817115019",
119833
+ packageVersion: "0.2.7",
119834
119834
  agentSdkVersion: "2.3.0",
119835
119835
  nodeSdkVersion: "6.1.0",
119836
119836
  nodeBindingsVersion: "1.11.0"
package/dist/index.js CHANGED
@@ -32148,7 +32148,7 @@ var init_sentry_config = __esm({
32148
32148
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
32149
32149
  SENTRY_CONFIG = {
32150
32150
  projectName: "okx/openclaw-okx-a2a-extension",
32151
- release: "0.2.7-beta-1b272a79cf-260817115019",
32151
+ release: "0.2.7",
32152
32152
  environment,
32153
32153
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
32154
32154
  };
@@ -33089,7 +33089,7 @@ async function getCurrentNodeCliVersion() {
33089
33089
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
33090
33090
  }
33091
33091
  function getBundledNodeCliVersion() {
33092
- return true ? "0.2.7-beta-1b272a79cf-260817115019" : null;
33092
+ return true ? "0.2.7" : null;
33093
33093
  }
33094
33094
  function readConfiguredAiProvider() {
33095
33095
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -33299,7 +33299,7 @@ async function updateHermes(release, options) {
33299
33299
  }
33300
33300
  }
33301
33301
  async function installGatewayPluginForDoctor(target) {
33302
- const release = isPrereleaseVersion("0.2.7-beta-1b272a79cf-260817115019") ? "beta" : "latest";
33302
+ const release = isPrereleaseVersion("0.2.7") ? "beta" : "latest";
33303
33303
  const insideTargetGateway = detectGatewayInvocation() === target;
33304
33304
  const options = {
33305
33305
  restart: !insideTargetGateway,
@@ -60534,7 +60534,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
60534
60534
  client: {
60535
60535
  id: "gateway-client",
60536
60536
  displayName: "okx-a2a-node",
60537
- version: "0.2.7-beta-1b272a79cf-260817115019",
60537
+ version: "0.2.7",
60538
60538
  platform: "node",
60539
60539
  mode: "backend",
60540
60540
  instanceId
@@ -60545,7 +60545,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
60545
60545
  commands: [],
60546
60546
  permissions: {},
60547
60547
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
60548
- userAgent: `okx-a2a-node/${"0.2.7-beta-1b272a79cf-260817115019"}`,
60548
+ userAgent: `okx-a2a-node/${"0.2.7"}`,
60549
60549
  auth: {
60550
60550
  ...config.token ? { token: config.token } : {},
60551
60551
  ...config.password ? { password: config.password } : {}
@@ -66732,12 +66732,12 @@ async function runListenerWithLock(options, paths) {
66732
66732
  });
66733
66733
  }
66734
66734
  });
66735
- service.setPluginVersion("0.2.7-beta-1b272a79cf-260817115019");
66735
+ service.setPluginVersion("0.2.7");
66736
66736
  await service.init();
66737
66737
  const pluginVersionStatus = service.pluginVersionStatus;
66738
66738
  if (pluginVersionStatus.unavailable) {
66739
66739
  throw new Error(
66740
- `@okxweb3/a2a-node v${"0.2.7-beta-1b272a79cf-260817115019"} is below the required minimum v${pluginVersionStatus.minVersion}`
66740
+ `@okxweb3/a2a-node v${"0.2.7"} is below the required minimum v${pluginVersionStatus.minVersion}`
66741
66741
  );
66742
66742
  }
66743
66743
  const systemConfig = service.getSystemConfig();
@@ -66755,7 +66755,7 @@ async function runListenerWithLock(options, paths) {
66755
66755
  onchainosAgentId: "*",
66756
66756
  reason: "system-config missing sentryDsn",
66757
66757
  pluginId: "@okxweb3/a2a-node",
66758
- pluginVersion: "0.2.7-beta-1b272a79cf-260817115019"
66758
+ pluginVersion: "0.2.7"
66759
66759
  });
66760
66760
  }
66761
66761
  logWithTimestamp(
@@ -69453,7 +69453,7 @@ async function exportDiagnosticLogs(options) {
69453
69453
  node: process.version,
69454
69454
  platform: process.platform,
69455
69455
  arch: process.arch,
69456
- packageVersion: true ? "0.2.7-beta-1b272a79cf-260817115019" : "unknown",
69456
+ packageVersion: true ? "0.2.7" : "unknown",
69457
69457
  sensitiveContentIncluded: options.includeSensitiveContent,
69458
69458
  listenerAndLlmContentIncluded: true,
69459
69459
  credentialsAlwaysRedacted: true,
@@ -71316,7 +71316,7 @@ async function runDoctor(options = {}) {
71316
71316
  platform: options.platform ?? process.platform,
71317
71317
  env: options.env ?? process.env,
71318
71318
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
71319
- cliVersion: options.cliVersion ?? (true ? "0.2.7-beta-1b272a79cf-260817115019" : "0.0.0"),
71319
+ cliVersion: options.cliVersion ?? (true ? "0.2.7" : "0.0.0"),
71320
71320
  fixMode: options.fix === true,
71321
71321
  nonInteractive: options.nonInteractive === true,
71322
71322
  packageChanged: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okxweb3/a2a-node",
3
- "version": "0.2.7-beta-1b272a79cf-260817115019",
3
+ "version": "0.2.7",
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": {