@okxweb3/a2a-node 0.1.12-beta-db3bdd0802-260807121700 → 0.2.0

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
@@ -9433,7 +9433,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
9433
9433
  client: {
9434
9434
  id: "gateway-client",
9435
9435
  displayName: "okx-a2a-node",
9436
- version: "0.1.12-beta-db3bdd0802-260807121700",
9436
+ version: "0.2.0",
9437
9437
  platform: "node",
9438
9438
  mode: "backend",
9439
9439
  instanceId
@@ -9444,7 +9444,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
9444
9444
  commands: [],
9445
9445
  permissions: {},
9446
9446
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
9447
- userAgent: `okx-a2a-node/${"0.1.12-beta-db3bdd0802-260807121700"}`,
9447
+ userAgent: `okx-a2a-node/${"0.2.0"}`,
9448
9448
  auth: {
9449
9449
  ...config.token ? { token: config.token } : {},
9450
9450
  ...config.password ? { password: config.password } : {}
@@ -27414,7 +27414,7 @@ var init_sentry_config = __esm({
27414
27414
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
27415
27415
  SENTRY_CONFIG = {
27416
27416
  projectName: "okx/openclaw-okx-a2a-extension",
27417
- release: "0.1.12-beta-db3bdd0802-260807121700",
27417
+ release: "0.2.0",
27418
27418
  environment,
27419
27419
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
27420
27420
  };
@@ -38584,7 +38584,7 @@ async function exportDiagnosticLogs(options) {
38584
38584
  node: process.version,
38585
38585
  platform: process.platform,
38586
38586
  arch: process.arch,
38587
- packageVersion: true ? "0.1.12-beta-db3bdd0802-260807121700" : "unknown",
38587
+ packageVersion: true ? "0.2.0" : "unknown",
38588
38588
  sensitiveContentIncluded: options.includeSensitiveContent,
38589
38589
  listenerAndLlmContentIncluded: true,
38590
38590
  credentialsAlwaysRedacted: true,
@@ -65274,12 +65274,12 @@ async function runListenerWithLock(options, paths) {
65274
65274
  });
65275
65275
  }
65276
65276
  });
65277
- service.setPluginVersion("0.1.12-beta-db3bdd0802-260807121700");
65277
+ service.setPluginVersion("0.2.0");
65278
65278
  await service.init();
65279
65279
  const pluginVersionStatus = service.pluginVersionStatus;
65280
65280
  if (pluginVersionStatus.unavailable) {
65281
65281
  throw new Error(
65282
- `@okxweb3/a2a-node v${"0.1.12-beta-db3bdd0802-260807121700"} is below the required minimum v${pluginVersionStatus.minVersion}`
65282
+ `@okxweb3/a2a-node v${"0.2.0"} is below the required minimum v${pluginVersionStatus.minVersion}`
65283
65283
  );
65284
65284
  }
65285
65285
  const systemConfig = service.getSystemConfig();
@@ -65297,7 +65297,7 @@ async function runListenerWithLock(options, paths) {
65297
65297
  onchainosAgentId: "*",
65298
65298
  reason: "system-config missing sentryDsn",
65299
65299
  pluginId: "@okxweb3/a2a-node",
65300
- pluginVersion: "0.1.12-beta-db3bdd0802-260807121700"
65300
+ pluginVersion: "0.2.0"
65301
65301
  });
65302
65302
  }
65303
65303
  logWithTimestamp(
@@ -113372,7 +113372,7 @@ async function getCurrentNodeCliVersion() {
113372
113372
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
113373
113373
  }
113374
113374
  function getBundledNodeCliVersion() {
113375
- return true ? "0.1.12-beta-db3bdd0802-260807121700" : null;
113375
+ return true ? "0.2.0" : null;
113376
113376
  }
113377
113377
  function readConfiguredAiProvider() {
113378
113378
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -113582,7 +113582,7 @@ async function updateHermes(release, options) {
113582
113582
  }
113583
113583
  }
113584
113584
  async function installGatewayPluginForDoctor(target) {
113585
- const release = isPrereleaseVersion("0.1.12-beta-db3bdd0802-260807121700") ? "beta" : "latest";
113585
+ const release = isPrereleaseVersion("0.2.0") ? "beta" : "latest";
113586
113586
  const insideTargetGateway = detectGatewayInvocation() === target;
113587
113587
  const options = {
113588
113588
  restart: !insideTargetGateway,
@@ -114570,7 +114570,7 @@ async function runDoctor(options = {}) {
114570
114570
  platform: options.platform ?? process.platform,
114571
114571
  env: options.env ?? process.env,
114572
114572
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
114573
- cliVersion: options.cliVersion ?? (true ? "0.1.12-beta-db3bdd0802-260807121700" : "0.0.0"),
114573
+ cliVersion: options.cliVersion ?? (true ? "0.2.0" : "0.0.0"),
114574
114574
  fixMode: options.fix === true,
114575
114575
  nonInteractive: options.nonInteractive === true,
114576
114576
  packageChanged: false,
@@ -115538,7 +115538,7 @@ init_sentry_logger();
115538
115538
  init_sentry_config();
115539
115539
  var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
115540
115540
  function printUsage3() {
115541
- console.log(`okx-a2a ${"0.1.12-beta-db3bdd0802-260807121700"}
115541
+ console.log(`okx-a2a ${"0.2.0"}
115542
115542
 
115543
115543
  Usage:
115544
115544
  okx-a2a <command> [options]
@@ -115577,7 +115577,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
115577
115577
  `);
115578
115578
  }
115579
115579
  function printVersion() {
115580
- console.log("0.1.12-beta-db3bdd0802-260807121700");
115580
+ console.log("0.2.0");
115581
115581
  }
115582
115582
  function printDaemonUsage() {
115583
115583
  console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
@@ -116983,7 +116983,7 @@ async function main() {
116983
116983
  if (command === "xmtp-test") {
116984
116984
  const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
116985
116985
  await handleXmtpTestCommand2(process.argv.slice(3), {
116986
- packageVersion: "0.1.12-beta-db3bdd0802-260807121700",
116986
+ packageVersion: "0.2.0",
116987
116987
  agentSdkVersion: "2.3.0",
116988
116988
  nodeSdkVersion: "6.1.0",
116989
116989
  nodeBindingsVersion: "1.11.0"
package/dist/index.js CHANGED
@@ -30930,7 +30930,7 @@ var init_sentry_config = __esm({
30930
30930
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
30931
30931
  SENTRY_CONFIG = {
30932
30932
  projectName: "okx/openclaw-okx-a2a-extension",
30933
- release: "0.1.12-beta-db3bdd0802-260807121700",
30933
+ release: "0.2.0",
30934
30934
  environment,
30935
30935
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
30936
30936
  };
@@ -31860,7 +31860,7 @@ async function getCurrentNodeCliVersion() {
31860
31860
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
31861
31861
  }
31862
31862
  function getBundledNodeCliVersion() {
31863
- return true ? "0.1.12-beta-db3bdd0802-260807121700" : null;
31863
+ return true ? "0.2.0" : null;
31864
31864
  }
31865
31865
  function readConfiguredAiProvider() {
31866
31866
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -32070,7 +32070,7 @@ async function updateHermes(release, options) {
32070
32070
  }
32071
32071
  }
32072
32072
  async function installGatewayPluginForDoctor(target) {
32073
- const release = isPrereleaseVersion("0.1.12-beta-db3bdd0802-260807121700") ? "beta" : "latest";
32073
+ const release = isPrereleaseVersion("0.2.0") ? "beta" : "latest";
32074
32074
  const insideTargetGateway = detectGatewayInvocation() === target;
32075
32075
  const options = {
32076
32076
  restart: !insideTargetGateway,
@@ -58117,7 +58117,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
58117
58117
  client: {
58118
58118
  id: "gateway-client",
58119
58119
  displayName: "okx-a2a-node",
58120
- version: "0.1.12-beta-db3bdd0802-260807121700",
58120
+ version: "0.2.0",
58121
58121
  platform: "node",
58122
58122
  mode: "backend",
58123
58123
  instanceId
@@ -58128,7 +58128,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
58128
58128
  commands: [],
58129
58129
  permissions: {},
58130
58130
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
58131
- userAgent: `okx-a2a-node/${"0.1.12-beta-db3bdd0802-260807121700"}`,
58131
+ userAgent: `okx-a2a-node/${"0.2.0"}`,
58132
58132
  auth: {
58133
58133
  ...config.token ? { token: config.token } : {},
58134
58134
  ...config.password ? { password: config.password } : {}
@@ -64106,12 +64106,12 @@ async function runListenerWithLock(options, paths) {
64106
64106
  });
64107
64107
  }
64108
64108
  });
64109
- service.setPluginVersion("0.1.12-beta-db3bdd0802-260807121700");
64109
+ service.setPluginVersion("0.2.0");
64110
64110
  await service.init();
64111
64111
  const pluginVersionStatus = service.pluginVersionStatus;
64112
64112
  if (pluginVersionStatus.unavailable) {
64113
64113
  throw new Error(
64114
- `@okxweb3/a2a-node v${"0.1.12-beta-db3bdd0802-260807121700"} is below the required minimum v${pluginVersionStatus.minVersion}`
64114
+ `@okxweb3/a2a-node v${"0.2.0"} is below the required minimum v${pluginVersionStatus.minVersion}`
64115
64115
  );
64116
64116
  }
64117
64117
  const systemConfig = service.getSystemConfig();
@@ -64129,7 +64129,7 @@ async function runListenerWithLock(options, paths) {
64129
64129
  onchainosAgentId: "*",
64130
64130
  reason: "system-config missing sentryDsn",
64131
64131
  pluginId: "@okxweb3/a2a-node",
64132
- pluginVersion: "0.1.12-beta-db3bdd0802-260807121700"
64132
+ pluginVersion: "0.2.0"
64133
64133
  });
64134
64134
  }
64135
64135
  logWithTimestamp(
@@ -66698,7 +66698,7 @@ async function exportDiagnosticLogs(options) {
66698
66698
  node: process.version,
66699
66699
  platform: process.platform,
66700
66700
  arch: process.arch,
66701
- packageVersion: true ? "0.1.12-beta-db3bdd0802-260807121700" : "unknown",
66701
+ packageVersion: true ? "0.2.0" : "unknown",
66702
66702
  sensitiveContentIncluded: options.includeSensitiveContent,
66703
66703
  listenerAndLlmContentIncluded: true,
66704
66704
  credentialsAlwaysRedacted: true,
@@ -68423,7 +68423,7 @@ async function runDoctor(options = {}) {
68423
68423
  platform: options.platform ?? process.platform,
68424
68424
  env: options.env ?? process.env,
68425
68425
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
68426
- cliVersion: options.cliVersion ?? (true ? "0.1.12-beta-db3bdd0802-260807121700" : "0.0.0"),
68426
+ cliVersion: options.cliVersion ?? (true ? "0.2.0" : "0.0.0"),
68427
68427
  fixMode: options.fix === true,
68428
68428
  nonInteractive: options.nonInteractive === true,
68429
68429
  packageChanged: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okxweb3/a2a-node",
3
- "version": "0.1.12-beta-db3bdd0802-260807121700",
3
+ "version": "0.2.0",
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": {