@okxweb3/a2a-node 0.2.10-beta-c0c15d6673-260828172942 → 0.2.10

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 +15 -15
  2. package/dist/index.js +12 -12
  3. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -26934,7 +26934,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
26934
26934
  client: {
26935
26935
  id: "gateway-client",
26936
26936
  displayName: "okx-a2a-node",
26937
- version: "0.2.10-beta-c0c15d6673-260828172942",
26937
+ version: "0.2.10",
26938
26938
  platform: "node",
26939
26939
  mode: "backend",
26940
26940
  instanceId
@@ -26945,7 +26945,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
26945
26945
  commands: [],
26946
26946
  permissions: {},
26947
26947
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
26948
- userAgent: `okx-a2a-node/${"0.2.10-beta-c0c15d6673-260828172942"}`,
26948
+ userAgent: `okx-a2a-node/${"0.2.10"}`,
26949
26949
  auth: {
26950
26950
  ...config.token ? { token: config.token } : {},
26951
26951
  ...config.password ? { password: config.password } : {}
@@ -29004,7 +29004,7 @@ var init_sentry_config = __esm({
29004
29004
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
29005
29005
  SENTRY_CONFIG = {
29006
29006
  projectName: "okx/openclaw-okx-a2a-extension",
29007
- release: "0.2.10-beta-c0c15d6673-260828172942",
29007
+ release: "0.2.10",
29008
29008
  environment,
29009
29009
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
29010
29010
  };
@@ -40174,7 +40174,7 @@ async function exportDiagnosticLogs(options) {
40174
40174
  node: process.version,
40175
40175
  platform: process.platform,
40176
40176
  arch: process.arch,
40177
- packageVersion: true ? "0.2.10-beta-c0c15d6673-260828172942" : "unknown",
40177
+ packageVersion: true ? "0.2.10" : "unknown",
40178
40178
  sensitiveContentIncluded: options.includeSensitiveContent,
40179
40179
  listenerAndLlmContentIncluded: true,
40180
40180
  credentialsAlwaysRedacted: true,
@@ -64447,15 +64447,15 @@ var init_ai_runner = __esm({
64447
64447
  output: fullOutputForClassification,
64448
64448
  timedOut
64449
64449
  });
64450
+ const runCompletedSuccessfully = provider === "codex" && !timedOut && exitCode === 0 && closeResult.signal === null && aiSessionId !== null && toolFailures.turnCompleted();
64450
64451
  const syntheticToolFailure = synthesizeCodexProsePermissionFailure({
64451
64452
  provider,
64452
64453
  existingFailures: toolFailures.failures,
64453
64454
  errorType: fullOutputErrorType,
64454
- output: fullOutputForClassification,
64455
+ output: runCompletedSuccessfully ? stdoutFull : fullOutputForClassification,
64455
64456
  exitCode
64456
64457
  });
64457
64458
  const detectedToolFailures = syntheticToolFailure ? [...toolFailures.failures, syntheticToolFailure] : toolFailures.failures;
64458
- const runCompletedSuccessfully = provider === "codex" && !timedOut && exitCode === 0 && closeResult.signal === null && aiSessionId !== null && toolFailures.turnCompleted();
64459
64459
  const reportableToolFailures = selectReportableAiToolFailures({
64460
64460
  provider,
64461
64461
  failures: detectedToolFailures,
@@ -68693,12 +68693,12 @@ async function runListenerWithLock(options, paths) {
68693
68693
  });
68694
68694
  }
68695
68695
  });
68696
- service.setPluginVersion("0.2.10-beta-c0c15d6673-260828172942");
68696
+ service.setPluginVersion("0.2.10");
68697
68697
  await service.init();
68698
68698
  const pluginVersionStatus = service.pluginVersionStatus;
68699
68699
  if (pluginVersionStatus.unavailable) {
68700
68700
  throw new Error(
68701
- `@okxweb3/a2a-node v${"0.2.10-beta-c0c15d6673-260828172942"} is below the required minimum v${pluginVersionStatus.minVersion}`
68701
+ `@okxweb3/a2a-node v${"0.2.10"} is below the required minimum v${pluginVersionStatus.minVersion}`
68702
68702
  );
68703
68703
  }
68704
68704
  const systemConfig = service.getSystemConfig();
@@ -68726,7 +68726,7 @@ async function runListenerWithLock(options, paths) {
68726
68726
  onchainosAgentId: "*",
68727
68727
  reason: "system-config missing sentryDsn",
68728
68728
  pluginId: "@okxweb3/a2a-node",
68729
- pluginVersion: "0.2.10-beta-c0c15d6673-260828172942"
68729
+ pluginVersion: "0.2.10"
68730
68730
  });
68731
68731
  }
68732
68732
  logWithTimestamp(
@@ -117053,7 +117053,7 @@ async function getCurrentNodeCliVersion() {
117053
117053
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
117054
117054
  }
117055
117055
  function getBundledNodeCliVersion() {
117056
- return true ? "0.2.10-beta-c0c15d6673-260828172942" : null;
117056
+ return true ? "0.2.10" : null;
117057
117057
  }
117058
117058
  function readConfiguredAiProvider() {
117059
117059
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -117263,7 +117263,7 @@ async function updateHermes(release, options) {
117263
117263
  }
117264
117264
  }
117265
117265
  async function installGatewayPluginForDoctor(target) {
117266
- const release = isPrereleaseVersion("0.2.10-beta-c0c15d6673-260828172942") ? "beta" : "latest";
117266
+ const release = isPrereleaseVersion("0.2.10") ? "beta" : "latest";
117267
117267
  const insideTargetGateway = detectGatewayInvocation() === target;
117268
117268
  const options = {
117269
117269
  restart: !insideTargetGateway,
@@ -118316,7 +118316,7 @@ async function runDoctor(options = {}) {
118316
118316
  platform: options.platform ?? process.platform,
118317
118317
  env: options.env ?? process.env,
118318
118318
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
118319
- cliVersion: options.cliVersion ?? (true ? "0.2.10-beta-c0c15d6673-260828172942" : "0.0.0"),
118319
+ cliVersion: options.cliVersion ?? (true ? "0.2.10" : "0.0.0"),
118320
118320
  fixMode: options.fix === true,
118321
118321
  nonInteractive: options.nonInteractive === true,
118322
118322
  packageChanged: false,
@@ -119393,7 +119393,7 @@ init_sentry_config();
119393
119393
  init_runtime_metadata();
119394
119394
  var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
119395
119395
  function printUsage3() {
119396
- console.log(`okx-a2a ${"0.2.10-beta-c0c15d6673-260828172942"}
119396
+ console.log(`okx-a2a ${"0.2.10"}
119397
119397
 
119398
119398
  Usage:
119399
119399
  okx-a2a <command> [options]
@@ -119433,7 +119433,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
119433
119433
  `);
119434
119434
  }
119435
119435
  function printVersion() {
119436
- console.log("0.2.10-beta-c0c15d6673-260828172942");
119436
+ console.log("0.2.10");
119437
119437
  }
119438
119438
  function printDaemonUsage() {
119439
119439
  console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
@@ -120911,7 +120911,7 @@ async function main() {
120911
120911
  if (command === "xmtp-test") {
120912
120912
  const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
120913
120913
  await handleXmtpTestCommand2(process.argv.slice(3), {
120914
- packageVersion: "0.2.10-beta-c0c15d6673-260828172942",
120914
+ packageVersion: "0.2.10",
120915
120915
  agentSdkVersion: "2.3.0",
120916
120916
  nodeSdkVersion: "6.1.0",
120917
120917
  nodeBindingsVersion: "1.11.0"
package/dist/index.js CHANGED
@@ -32437,7 +32437,7 @@ var init_sentry_config = __esm({
32437
32437
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
32438
32438
  SENTRY_CONFIG = {
32439
32439
  projectName: "okx/openclaw-okx-a2a-extension",
32440
- release: "0.2.10-beta-c0c15d6673-260828172942",
32440
+ release: "0.2.10",
32441
32441
  environment,
32442
32442
  runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
32443
32443
  };
@@ -33378,7 +33378,7 @@ async function getCurrentNodeCliVersion() {
33378
33378
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
33379
33379
  }
33380
33380
  function getBundledNodeCliVersion() {
33381
- return true ? "0.2.10-beta-c0c15d6673-260828172942" : null;
33381
+ return true ? "0.2.10" : null;
33382
33382
  }
33383
33383
  function readConfiguredAiProvider() {
33384
33384
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -33588,7 +33588,7 @@ async function updateHermes(release, options) {
33588
33588
  }
33589
33589
  }
33590
33590
  async function installGatewayPluginForDoctor(target) {
33591
- const release = isPrereleaseVersion("0.2.10-beta-c0c15d6673-260828172942") ? "beta" : "latest";
33591
+ const release = isPrereleaseVersion("0.2.10") ? "beta" : "latest";
33592
33592
  const insideTargetGateway = detectGatewayInvocation() === target;
33593
33593
  const options = {
33594
33594
  restart: !insideTargetGateway,
@@ -46018,15 +46018,15 @@ var AiRunner = class {
46018
46018
  output: fullOutputForClassification,
46019
46019
  timedOut
46020
46020
  });
46021
+ const runCompletedSuccessfully = provider === "codex" && !timedOut && exitCode === 0 && closeResult.signal === null && aiSessionId !== null && toolFailures.turnCompleted();
46021
46022
  const syntheticToolFailure = synthesizeCodexProsePermissionFailure({
46022
46023
  provider,
46023
46024
  existingFailures: toolFailures.failures,
46024
46025
  errorType: fullOutputErrorType,
46025
- output: fullOutputForClassification,
46026
+ output: runCompletedSuccessfully ? stdoutFull : fullOutputForClassification,
46026
46027
  exitCode
46027
46028
  });
46028
46029
  const detectedToolFailures = syntheticToolFailure ? [...toolFailures.failures, syntheticToolFailure] : toolFailures.failures;
46029
- const runCompletedSuccessfully = provider === "codex" && !timedOut && exitCode === 0 && closeResult.signal === null && aiSessionId !== null && toolFailures.turnCompleted();
46030
46030
  const reportableToolFailures = selectReportableAiToolFailures({
46031
46031
  provider,
46032
46032
  failures: detectedToolFailures,
@@ -61346,7 +61346,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
61346
61346
  client: {
61347
61347
  id: "gateway-client",
61348
61348
  displayName: "okx-a2a-node",
61349
- version: "0.2.10-beta-c0c15d6673-260828172942",
61349
+ version: "0.2.10",
61350
61350
  platform: "node",
61351
61351
  mode: "backend",
61352
61352
  instanceId
@@ -61357,7 +61357,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
61357
61357
  commands: [],
61358
61358
  permissions: {},
61359
61359
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
61360
- userAgent: `okx-a2a-node/${"0.2.10-beta-c0c15d6673-260828172942"}`,
61360
+ userAgent: `okx-a2a-node/${"0.2.10"}`,
61361
61361
  auth: {
61362
61362
  ...config.token ? { token: config.token } : {},
61363
61363
  ...config.password ? { password: config.password } : {}
@@ -67724,12 +67724,12 @@ async function runListenerWithLock(options, paths) {
67724
67724
  });
67725
67725
  }
67726
67726
  });
67727
- service.setPluginVersion("0.2.10-beta-c0c15d6673-260828172942");
67727
+ service.setPluginVersion("0.2.10");
67728
67728
  await service.init();
67729
67729
  const pluginVersionStatus = service.pluginVersionStatus;
67730
67730
  if (pluginVersionStatus.unavailable) {
67731
67731
  throw new Error(
67732
- `@okxweb3/a2a-node v${"0.2.10-beta-c0c15d6673-260828172942"} is below the required minimum v${pluginVersionStatus.minVersion}`
67732
+ `@okxweb3/a2a-node v${"0.2.10"} is below the required minimum v${pluginVersionStatus.minVersion}`
67733
67733
  );
67734
67734
  }
67735
67735
  const systemConfig = service.getSystemConfig();
@@ -67757,7 +67757,7 @@ async function runListenerWithLock(options, paths) {
67757
67757
  onchainosAgentId: "*",
67758
67758
  reason: "system-config missing sentryDsn",
67759
67759
  pluginId: "@okxweb3/a2a-node",
67760
- pluginVersion: "0.2.10-beta-c0c15d6673-260828172942"
67760
+ pluginVersion: "0.2.10"
67761
67761
  });
67762
67762
  }
67763
67763
  logWithTimestamp(
@@ -70525,7 +70525,7 @@ async function exportDiagnosticLogs(options) {
70525
70525
  node: process.version,
70526
70526
  platform: process.platform,
70527
70527
  arch: process.arch,
70528
- packageVersion: true ? "0.2.10-beta-c0c15d6673-260828172942" : "unknown",
70528
+ packageVersion: true ? "0.2.10" : "unknown",
70529
70529
  sensitiveContentIncluded: options.includeSensitiveContent,
70530
70530
  listenerAndLlmContentIncluded: true,
70531
70531
  credentialsAlwaysRedacted: true,
@@ -72407,7 +72407,7 @@ async function runDoctor(options = {}) {
72407
72407
  platform: options.platform ?? process.platform,
72408
72408
  env: options.env ?? process.env,
72409
72409
  target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
72410
- cliVersion: options.cliVersion ?? (true ? "0.2.10-beta-c0c15d6673-260828172942" : "0.0.0"),
72410
+ cliVersion: options.cliVersion ?? (true ? "0.2.10" : "0.0.0"),
72411
72411
  fixMode: options.fix === true,
72412
72412
  nonInteractive: options.nonInteractive === true,
72413
72413
  packageChanged: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okxweb3/a2a-node",
3
- "version": "0.2.10-beta-c0c15d6673-260828172942",
3
+ "version": "0.2.10",
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": {