@okxweb3/a2a-node 0.1.2-beta-3bdae0ceae-260701003801 → 0.1.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.
package/dist/cli.js CHANGED
@@ -3143,7 +3143,11 @@ function readParentProcessCommand(pid) {
3143
3143
  async function ensureDefaultAiProvider(options) {
3144
3144
  const env = options.env ?? process.env;
3145
3145
  const commandExists2 = options.commandExists ?? commandExists;
3146
- const detection = detectAiProviders(commandExists2, env);
3146
+ const detection = withStoredCodexAvailability(
3147
+ detectAiProviders(commandExists2, env),
3148
+ options.store,
3149
+ commandExists2
3150
+ );
3147
3151
  if (options.requestedProvider) {
3148
3152
  const provider = normalizeAiProvider(options.requestedProvider);
3149
3153
  if (!options.allowUnavailableProvider) {
@@ -7889,7 +7893,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
7889
7893
  client: {
7890
7894
  id: "gateway-client",
7891
7895
  displayName: "okx-a2a-node",
7892
- version: "0.1.2-beta-3bdae0ceae-260701003801",
7896
+ version: "0.1.2",
7893
7897
  platform: "node",
7894
7898
  mode: "backend",
7895
7899
  instanceId
@@ -7900,7 +7904,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
7900
7904
  commands: [],
7901
7905
  permissions: {},
7902
7906
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
7903
- userAgent: `okx-a2a-node/${"0.1.2-beta-3bdae0ceae-260701003801"}`,
7907
+ userAgent: `okx-a2a-node/${"0.1.2"}`,
7904
7908
  auth: {
7905
7909
  ...config.token ? { token: config.token } : {},
7906
7910
  ...config.password ? { password: config.password } : {}
@@ -25119,7 +25123,7 @@ var init_sentry_config = __esm({
25119
25123
  environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
25120
25124
  SENTRY_CONFIG = {
25121
25125
  projectName: "okx/openclaw-okx-a2a-extension",
25122
- release: "0.1.2-beta-3bdae0ceae-260701003801",
25126
+ release: "0.1.2",
25123
25127
  environment
25124
25128
  };
25125
25129
  }
@@ -93112,12 +93116,12 @@ async function runListenerWithLock(options, paths) {
93112
93116
  }));
93113
93117
  }
93114
93118
  });
93115
- service.setPluginVersion("0.1.2-beta-3bdae0ceae-260701003801");
93119
+ service.setPluginVersion("0.1.2");
93116
93120
  await service.init();
93117
93121
  const pluginVersionStatus = service.pluginVersionStatus;
93118
93122
  if (pluginVersionStatus.unavailable) {
93119
93123
  throw new Error(
93120
- `@okxweb3/a2a-node v${"0.1.2-beta-3bdae0ceae-260701003801"} is below the required minimum v${pluginVersionStatus.minVersion}`
93124
+ `@okxweb3/a2a-node v${"0.1.2"} is below the required minimum v${pluginVersionStatus.minVersion}`
93121
93125
  );
93122
93126
  }
93123
93127
  const systemConfig = service.getSystemConfig();
@@ -93135,7 +93139,7 @@ async function runListenerWithLock(options, paths) {
93135
93139
  onchainosAgentId: "*",
93136
93140
  reason: "system-config missing sentryDsn",
93137
93141
  pluginId: "@okxweb3/a2a-node",
93138
- pluginVersion: "0.1.2-beta-3bdae0ceae-260701003801"
93142
+ pluginVersion: "0.1.2"
93139
93143
  });
93140
93144
  }
93141
93145
  logWithTimestamp(
@@ -96704,7 +96708,7 @@ async function getCurrentNodeCliVersion() {
96704
96708
  return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
96705
96709
  }
96706
96710
  function getBundledNodeCliVersion() {
96707
- return true ? "0.1.2-beta-3bdae0ceae-260701003801" : null;
96711
+ return true ? "0.1.2" : null;
96708
96712
  }
96709
96713
  function readConfiguredAiProvider() {
96710
96714
  const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
@@ -97610,7 +97614,7 @@ init_sentry_logger();
97610
97614
  init_sentry_config();
97611
97615
  var CURRENT_GATEWAY_SESSION_KEYS_ENV3 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
97612
97616
  function printUsage2() {
97613
- console.log(`okx-a2a ${"0.1.2-beta-3bdae0ceae-260701003801"}
97617
+ console.log(`okx-a2a ${"0.1.2"}
97614
97618
 
97615
97619
  Usage:
97616
97620
  okx-a2a <command> [options]
@@ -97647,7 +97651,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
97647
97651
  `);
97648
97652
  }
97649
97653
  function printVersion() {
97650
- console.log("0.1.2-beta-3bdae0ceae-260701003801");
97654
+ console.log("0.1.2");
97651
97655
  }
97652
97656
  function printDaemonUsage() {
97653
97657
  console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
package/dist/index.js CHANGED
@@ -70755,7 +70755,11 @@ function readParentProcessCommand(pid) {
70755
70755
  async function ensureDefaultAiProvider(options) {
70756
70756
  const env = options.env ?? process.env;
70757
70757
  const commandExists2 = options.commandExists ?? commandExists;
70758
- const detection = detectAiProviders(commandExists2, env);
70758
+ const detection = withStoredCodexAvailability(
70759
+ detectAiProviders(commandExists2, env),
70760
+ options.store,
70761
+ commandExists2
70762
+ );
70759
70763
  if (options.requestedProvider) {
70760
70764
  const provider = normalizeAiProvider(options.requestedProvider);
70761
70765
  if (!options.allowUnavailableProvider) {
@@ -86771,7 +86775,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
86771
86775
  client: {
86772
86776
  id: "gateway-client",
86773
86777
  displayName: "okx-a2a-node",
86774
- version: "0.1.2-beta-3bdae0ceae-260701003801",
86778
+ version: "0.1.2",
86775
86779
  platform: "node",
86776
86780
  mode: "backend",
86777
86781
  instanceId
@@ -86782,7 +86786,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
86782
86786
  commands: [],
86783
86787
  permissions: {},
86784
86788
  locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
86785
- userAgent: `okx-a2a-node/${"0.1.2-beta-3bdae0ceae-260701003801"}`,
86789
+ userAgent: `okx-a2a-node/${"0.1.2"}`,
86786
86790
  auth: {
86787
86791
  ...config.token ? { token: config.token } : {},
86788
86792
  ...config.password ? { password: config.password } : {}
@@ -91201,7 +91205,7 @@ function userWatchEventDeliveredSentryExtra(event) {
91201
91205
  var environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
91202
91206
  var SENTRY_CONFIG = {
91203
91207
  projectName: "okx/openclaw-okx-a2a-extension",
91204
- release: "0.1.2-beta-3bdae0ceae-260701003801",
91208
+ release: "0.1.2",
91205
91209
  environment
91206
91210
  };
91207
91211
 
@@ -91428,12 +91432,12 @@ async function runListenerWithLock(options, paths) {
91428
91432
  }));
91429
91433
  }
91430
91434
  });
91431
- service.setPluginVersion("0.1.2-beta-3bdae0ceae-260701003801");
91435
+ service.setPluginVersion("0.1.2");
91432
91436
  await service.init();
91433
91437
  const pluginVersionStatus = service.pluginVersionStatus;
91434
91438
  if (pluginVersionStatus.unavailable) {
91435
91439
  throw new Error(
91436
- `@okxweb3/a2a-node v${"0.1.2-beta-3bdae0ceae-260701003801"} is below the required minimum v${pluginVersionStatus.minVersion}`
91440
+ `@okxweb3/a2a-node v${"0.1.2"} is below the required minimum v${pluginVersionStatus.minVersion}`
91437
91441
  );
91438
91442
  }
91439
91443
  const systemConfig = service.getSystemConfig();
@@ -91451,7 +91455,7 @@ async function runListenerWithLock(options, paths) {
91451
91455
  onchainosAgentId: "*",
91452
91456
  reason: "system-config missing sentryDsn",
91453
91457
  pluginId: "@okxweb3/a2a-node",
91454
- pluginVersion: "0.1.2-beta-3bdae0ceae-260701003801"
91458
+ pluginVersion: "0.1.2"
91455
91459
  });
91456
91460
  }
91457
91461
  logWithTimestamp(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okxweb3/a2a-node",
3
- "version": "0.1.2-beta-3bdae0ceae-260701003801",
3
+ "version": "0.1.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": {