@okxweb3/a2a-node 0.2.1 → 0.2.2

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.2.1",
9436
+ version: "0.2.2",
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.2.1"}`,
9447
+ userAgent: `okx-a2a-node/${"0.2.2"}`,
9448
9448
  auth: {
9449
9449
  ...config.token ? { token: config.token } : {},
9450
9450
  ...config.password ? { password: config.password } : {}
@@ -27633,7 +27633,7 @@ var init_sentry_config = __esm({
27633
27633
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
27634
27634
  SENTRY_CONFIG = {
27635
27635
  projectName: "okx/openclaw-okx-a2a-extension",
27636
- release: "0.2.1",
27636
+ release: "0.2.2",
27637
27637
  environment,
27638
27638
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
27639
27639
  };
@@ -38803,7 +38803,7 @@ async function exportDiagnosticLogs(options) {
38803
38803
  node: process.version,
38804
38804
  platform: process.platform,
38805
38805
  arch: process.arch,
38806
- packageVersion: true ? "0.2.1" : "unknown",
38806
+ packageVersion: true ? "0.2.2" : "unknown",
38807
38807
  sensitiveContentIncluded: options.includeSensitiveContent,
38808
38808
  listenerAndLlmContentIncluded: true,
38809
38809
  credentialsAlwaysRedacted: true,
@@ -66128,12 +66128,12 @@ async function runListenerWithLock(options, paths) {
66128
66128
  });
66129
66129
  }
66130
66130
  });
66131
- service.setPluginVersion("0.2.1");
66131
+ service.setPluginVersion("0.2.2");
66132
66132
  await service.init();
66133
66133
  const pluginVersionStatus = service.pluginVersionStatus;
66134
66134
  if (pluginVersionStatus.unavailable) {
66135
66135
  throw new Error(
66136
- `@okxweb3/a2a-node v${"0.2.1"} is below the required minimum v${pluginVersionStatus.minVersion}`
66136
+ `@okxweb3/a2a-node v${"0.2.2"} is below the required minimum v${pluginVersionStatus.minVersion}`
66137
66137
  );
66138
66138
  }
66139
66139
  const systemConfig = service.getSystemConfig();
@@ -66151,7 +66151,7 @@ async function runListenerWithLock(options, paths) {
66151
66151
  onchainosAgentId: "*",
66152
66152
  reason: "system-config missing sentryDsn",
66153
66153
  pluginId: "@okxweb3/a2a-node",
66154
- pluginVersion: "0.2.1"
66154
+ pluginVersion: "0.2.2"
66155
66155
  });
66156
66156
  }
66157
66157
  logWithTimestamp(
@@ -114250,7 +114250,7 @@ async function getCurrentNodeCliVersion() {
114250
114250
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
114251
114251
  }
114252
114252
  function getBundledNodeCliVersion() {
114253
- return true ? "0.2.1" : null;
114253
+ return true ? "0.2.2" : null;
114254
114254
  }
114255
114255
  function readConfiguredAiProvider() {
114256
114256
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -114460,7 +114460,7 @@ async function updateHermes(release, options) {
114460
114460
  }
114461
114461
  }
114462
114462
  async function installGatewayPluginForDoctor(target) {
114463
- const release = isPrereleaseVersion("0.2.1") ? "beta" : "latest";
114463
+ const release = isPrereleaseVersion("0.2.2") ? "beta" : "latest";
114464
114464
  const insideTargetGateway = detectGatewayInvocation() === target;
114465
114465
  const options = {
114466
114466
  restart: !insideTargetGateway,
@@ -115448,7 +115448,7 @@ async function runDoctor(options = {}) {
115448
115448
  platform: options.platform ?? process.platform,
115449
115449
  env: options.env ?? process.env,
115450
115450
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
115451
- cliVersion: options.cliVersion ?? (true ? "0.2.1" : "0.0.0"),
115451
+ cliVersion: options.cliVersion ?? (true ? "0.2.2" : "0.0.0"),
115452
115452
  fixMode: options.fix === true,
115453
115453
  nonInteractive: options.nonInteractive === true,
115454
115454
  packageChanged: false,
@@ -116416,7 +116416,7 @@ init_sentry_logger();
116416
116416
  init_sentry_config();
116417
116417
  var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
116418
116418
  function printUsage3() {
116419
- console.log(`okx-a2a ${"0.2.1"}
116419
+ console.log(`okx-a2a ${"0.2.2"}
116420
116420
 
116421
116421
  Usage:
116422
116422
  okx-a2a <command> [options]
@@ -116456,7 +116456,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
116456
116456
  `);
116457
116457
  }
116458
116458
  function printVersion() {
116459
- console.log("0.2.1");
116459
+ console.log("0.2.2");
116460
116460
  }
116461
116461
  function printDaemonUsage() {
116462
116462
  console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
@@ -117867,7 +117867,7 @@ async function main() {
117867
117867
  if (command === "xmtp-test") {
117868
117868
  const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
117869
117869
  await handleXmtpTestCommand2(process.argv.slice(3), {
117870
- packageVersion: "0.2.1",
117870
+ packageVersion: "0.2.2",
117871
117871
  agentSdkVersion: "2.3.0",
117872
117872
  nodeSdkVersion: "6.1.0",
117873
117873
  nodeBindingsVersion: "1.11.0"
package/dist/index.js CHANGED
@@ -31149,7 +31149,7 @@ var init_sentry_config = __esm({
31149
31149
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
31150
31150
  SENTRY_CONFIG = {
31151
31151
  projectName: "okx/openclaw-okx-a2a-extension",
31152
- release: "0.2.1",
31152
+ release: "0.2.2",
31153
31153
  environment,
31154
31154
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
31155
31155
  };
@@ -32079,7 +32079,7 @@ async function getCurrentNodeCliVersion() {
32079
32079
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
32080
32080
  }
32081
32081
  function getBundledNodeCliVersion() {
32082
- return true ? "0.2.1" : null;
32082
+ return true ? "0.2.2" : null;
32083
32083
  }
32084
32084
  function readConfiguredAiProvider() {
32085
32085
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -32289,7 +32289,7 @@ async function updateHermes(release, options) {
32289
32289
  }
32290
32290
  }
32291
32291
  async function installGatewayPluginForDoctor(target) {
32292
- const release = isPrereleaseVersion("0.2.1") ? "beta" : "latest";
32292
+ const release = isPrereleaseVersion("0.2.2") ? "beta" : "latest";
32293
32293
  const insideTargetGateway = detectGatewayInvocation() === target;
32294
32294
  const options = {
32295
32295
  restart: !insideTargetGateway,
@@ -58911,7 +58911,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
58911
58911
  client: {
58912
58912
  id: "gateway-client",
58913
58913
  displayName: "okx-a2a-node",
58914
- version: "0.2.1",
58914
+ version: "0.2.2",
58915
58915
  platform: "node",
58916
58916
  mode: "backend",
58917
58917
  instanceId
@@ -58922,7 +58922,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
58922
58922
  commands: [],
58923
58923
  permissions: {},
58924
58924
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
58925
- userAgent: `okx-a2a-node/${"0.2.1"}`,
58925
+ userAgent: `okx-a2a-node/${"0.2.2"}`,
58926
58926
  auth: {
58927
58927
  ...config.token ? { token: config.token } : {},
58928
58928
  ...config.password ? { password: config.password } : {}
@@ -64920,12 +64920,12 @@ async function runListenerWithLock(options, paths) {
64920
64920
  });
64921
64921
  }
64922
64922
  });
64923
- service.setPluginVersion("0.2.1");
64923
+ service.setPluginVersion("0.2.2");
64924
64924
  await service.init();
64925
64925
  const pluginVersionStatus = service.pluginVersionStatus;
64926
64926
  if (pluginVersionStatus.unavailable) {
64927
64927
  throw new Error(
64928
- `@okxweb3/a2a-node v${"0.2.1"} is below the required minimum v${pluginVersionStatus.minVersion}`
64928
+ `@okxweb3/a2a-node v${"0.2.2"} is below the required minimum v${pluginVersionStatus.minVersion}`
64929
64929
  );
64930
64930
  }
64931
64931
  const systemConfig = service.getSystemConfig();
@@ -64943,7 +64943,7 @@ async function runListenerWithLock(options, paths) {
64943
64943
  onchainosAgentId: "*",
64944
64944
  reason: "system-config missing sentryDsn",
64945
64945
  pluginId: "@okxweb3/a2a-node",
64946
- pluginVersion: "0.2.1"
64946
+ pluginVersion: "0.2.2"
64947
64947
  });
64948
64948
  }
64949
64949
  logWithTimestamp(
@@ -67563,7 +67563,7 @@ async function exportDiagnosticLogs(options) {
67563
67563
  node: process.version,
67564
67564
  platform: process.platform,
67565
67565
  arch: process.arch,
67566
- packageVersion: true ? "0.2.1" : "unknown",
67566
+ packageVersion: true ? "0.2.2" : "unknown",
67567
67567
  sensitiveContentIncluded: options.includeSensitiveContent,
67568
67568
  listenerAndLlmContentIncluded: true,
67569
67569
  credentialsAlwaysRedacted: true,
@@ -69288,7 +69288,7 @@ async function runDoctor(options = {}) {
69288
69288
  platform: options.platform ?? process.platform,
69289
69289
  env: options.env ?? process.env,
69290
69290
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
69291
- cliVersion: options.cliVersion ?? (true ? "0.2.1" : "0.0.0"),
69291
+ cliVersion: options.cliVersion ?? (true ? "0.2.2" : "0.0.0"),
69292
69292
  fixMode: options.fix === true,
69293
69293
  nonInteractive: options.nonInteractive === true,
69294
69294
  packageChanged: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okxweb3/a2a-node",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
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": {