@okxweb3/a2a-node 0.0.14-beta-1d2e01866f-260622234713 → 0.0.14
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 +9 -9
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7378,7 +7378,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
7378
7378
|
client: {
|
|
7379
7379
|
id: "gateway-client",
|
|
7380
7380
|
displayName: "okx-a2a-node",
|
|
7381
|
-
version: "0.0.14
|
|
7381
|
+
version: "0.0.14",
|
|
7382
7382
|
platform: "node",
|
|
7383
7383
|
mode: "backend",
|
|
7384
7384
|
instanceId
|
|
@@ -7389,7 +7389,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
7389
7389
|
commands: [],
|
|
7390
7390
|
permissions: {},
|
|
7391
7391
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
7392
|
-
userAgent: `okx-a2a-node/${"0.0.14
|
|
7392
|
+
userAgent: `okx-a2a-node/${"0.0.14"}`,
|
|
7393
7393
|
auth: {
|
|
7394
7394
|
...config.token ? { token: config.token } : {},
|
|
7395
7395
|
...config.password ? { password: config.password } : {}
|
|
@@ -23946,7 +23946,7 @@ var init_sentry_config = __esm({
|
|
|
23946
23946
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
23947
23947
|
SENTRY_CONFIG = {
|
|
23948
23948
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
23949
|
-
release: "0.0.14
|
|
23949
|
+
release: "0.0.14",
|
|
23950
23950
|
environment
|
|
23951
23951
|
};
|
|
23952
23952
|
}
|
|
@@ -91477,7 +91477,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
91477
91477
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
91478
91478
|
}
|
|
91479
91479
|
function getBundledNodeCliVersion() {
|
|
91480
|
-
return true ? "0.0.14
|
|
91480
|
+
return true ? "0.0.14" : null;
|
|
91481
91481
|
}
|
|
91482
91482
|
function readConfiguredAiProvider() {
|
|
91483
91483
|
const explicit = process.env.OKX_AGENT_TASK_AI_CLI ?? process.env.OKX_A2A_AI_PROVIDER;
|
|
@@ -92197,7 +92197,7 @@ function isBelowRequiredVersion(currentVersion, minVersion) {
|
|
|
92197
92197
|
async function ensureCommunicationMinVersions(input) {
|
|
92198
92198
|
const runUpdate = input.runUpdate ?? runOkxA2aForcedUpdate;
|
|
92199
92199
|
const cliMinVersion = input.systemConfig.minVersion.cli;
|
|
92200
|
-
const currentCliVersion = input.currentCliVersion ?? "0.0.14
|
|
92200
|
+
const currentCliVersion = input.currentCliVersion ?? "0.0.14";
|
|
92201
92201
|
if (isBelowRequiredVersion(currentCliVersion, cliMinVersion)) {
|
|
92202
92202
|
await forceUpdate({
|
|
92203
92203
|
target: "cli",
|
|
@@ -92449,7 +92449,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
92449
92449
|
}));
|
|
92450
92450
|
}
|
|
92451
92451
|
});
|
|
92452
|
-
service.setCliVersion("0.0.14
|
|
92452
|
+
service.setCliVersion("0.0.14");
|
|
92453
92453
|
await service.init();
|
|
92454
92454
|
const startupVersionCheck = await ensureCommunicationMinVersions({
|
|
92455
92455
|
systemConfig: service.getSystemConfig(),
|
|
@@ -92482,7 +92482,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
92482
92482
|
onchainosAgentId: "*",
|
|
92483
92483
|
reason: "system-config missing sentryDsn",
|
|
92484
92484
|
pluginId: "@okxweb3/a2a-node",
|
|
92485
|
-
pluginVersion: "0.0.14
|
|
92485
|
+
pluginVersion: "0.0.14"
|
|
92486
92486
|
});
|
|
92487
92487
|
}
|
|
92488
92488
|
logWithTimestamp(
|
|
@@ -94967,7 +94967,7 @@ init_task_config();
|
|
|
94967
94967
|
init_sentry_logger();
|
|
94968
94968
|
init_sentry_config();
|
|
94969
94969
|
function printUsage2() {
|
|
94970
|
-
console.log(`okx-a2a ${"0.0.14
|
|
94970
|
+
console.log(`okx-a2a ${"0.0.14"}
|
|
94971
94971
|
|
|
94972
94972
|
Usage:
|
|
94973
94973
|
okx-a2a <command> [options]
|
|
@@ -95004,7 +95004,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
95004
95004
|
`);
|
|
95005
95005
|
}
|
|
95006
95006
|
function printVersion() {
|
|
95007
|
-
console.log("0.0.14
|
|
95007
|
+
console.log("0.0.14");
|
|
95008
95008
|
}
|
|
95009
95009
|
function printDaemonUsage() {
|
|
95010
95010
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status> [options]
|
package/dist/index.js
CHANGED
|
@@ -86100,7 +86100,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
86100
86100
|
client: {
|
|
86101
86101
|
id: "gateway-client",
|
|
86102
86102
|
displayName: "okx-a2a-node",
|
|
86103
|
-
version: "0.0.14
|
|
86103
|
+
version: "0.0.14",
|
|
86104
86104
|
platform: "node",
|
|
86105
86105
|
mode: "backend",
|
|
86106
86106
|
instanceId
|
|
@@ -86111,7 +86111,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
86111
86111
|
commands: [],
|
|
86112
86112
|
permissions: {},
|
|
86113
86113
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
86114
|
-
userAgent: `okx-a2a-node/${"0.0.14
|
|
86114
|
+
userAgent: `okx-a2a-node/${"0.0.14"}`,
|
|
86115
86115
|
auth: {
|
|
86116
86116
|
...config.token ? { token: config.token } : {},
|
|
86117
86117
|
...config.password ? { password: config.password } : {}
|
|
@@ -89657,7 +89657,7 @@ function userWatchEventDeliveredSentryExtra(event) {
|
|
|
89657
89657
|
var environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
89658
89658
|
var SENTRY_CONFIG = {
|
|
89659
89659
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
89660
|
-
release: "0.0.14
|
|
89660
|
+
release: "0.0.14",
|
|
89661
89661
|
environment
|
|
89662
89662
|
};
|
|
89663
89663
|
|
|
@@ -90078,7 +90078,7 @@ function isBelowRequiredVersion(currentVersion, minVersion) {
|
|
|
90078
90078
|
async function ensureCommunicationMinVersions(input) {
|
|
90079
90079
|
const runUpdate = input.runUpdate ?? runOkxA2aForcedUpdate;
|
|
90080
90080
|
const cliMinVersion = input.systemConfig.minVersion.cli;
|
|
90081
|
-
const currentCliVersion = input.currentCliVersion ?? "0.0.14
|
|
90081
|
+
const currentCliVersion = input.currentCliVersion ?? "0.0.14";
|
|
90082
90082
|
if (isBelowRequiredVersion(currentCliVersion, cliMinVersion)) {
|
|
90083
90083
|
await forceUpdate({
|
|
90084
90084
|
target: "cli",
|
|
@@ -90313,7 +90313,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
90313
90313
|
}));
|
|
90314
90314
|
}
|
|
90315
90315
|
});
|
|
90316
|
-
service.setCliVersion("0.0.14
|
|
90316
|
+
service.setCliVersion("0.0.14");
|
|
90317
90317
|
await service.init();
|
|
90318
90318
|
const startupVersionCheck = await ensureCommunicationMinVersions({
|
|
90319
90319
|
systemConfig: service.getSystemConfig(),
|
|
@@ -90346,7 +90346,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
90346
90346
|
onchainosAgentId: "*",
|
|
90347
90347
|
reason: "system-config missing sentryDsn",
|
|
90348
90348
|
pluginId: "@okxweb3/a2a-node",
|
|
90349
|
-
pluginVersion: "0.0.14
|
|
90349
|
+
pluginVersion: "0.0.14"
|
|
90350
90350
|
});
|
|
90351
90351
|
}
|
|
90352
90352
|
logWithTimestamp(
|
package/package.json
CHANGED