@okxweb3/a2a-node 0.0.13-beta-1d2e01866f-260622215307 → 0.0.13
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
|
@@ -7370,7 +7370,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
7370
7370
|
client: {
|
|
7371
7371
|
id: "gateway-client",
|
|
7372
7372
|
displayName: "okx-a2a-node",
|
|
7373
|
-
version: "0.0.13
|
|
7373
|
+
version: "0.0.13",
|
|
7374
7374
|
platform: "node",
|
|
7375
7375
|
mode: "backend",
|
|
7376
7376
|
instanceId
|
|
@@ -7381,7 +7381,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
7381
7381
|
commands: [],
|
|
7382
7382
|
permissions: {},
|
|
7383
7383
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
7384
|
-
userAgent: `okx-a2a-node/${"0.0.13
|
|
7384
|
+
userAgent: `okx-a2a-node/${"0.0.13"}`,
|
|
7385
7385
|
auth: {
|
|
7386
7386
|
...config.token ? { token: config.token } : {},
|
|
7387
7387
|
...config.password ? { password: config.password } : {}
|
|
@@ -23938,7 +23938,7 @@ var init_sentry_config = __esm({
|
|
|
23938
23938
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
23939
23939
|
SENTRY_CONFIG = {
|
|
23940
23940
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
23941
|
-
release: "0.0.13
|
|
23941
|
+
release: "0.0.13",
|
|
23942
23942
|
environment
|
|
23943
23943
|
};
|
|
23944
23944
|
}
|
|
@@ -91469,7 +91469,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
91469
91469
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
91470
91470
|
}
|
|
91471
91471
|
function getBundledNodeCliVersion() {
|
|
91472
|
-
return true ? "0.0.13
|
|
91472
|
+
return true ? "0.0.13" : null;
|
|
91473
91473
|
}
|
|
91474
91474
|
function readConfiguredAiProvider() {
|
|
91475
91475
|
const explicit = process.env.OKX_AGENT_TASK_AI_CLI ?? process.env.OKX_A2A_AI_PROVIDER;
|
|
@@ -92189,7 +92189,7 @@ function isBelowRequiredVersion(currentVersion, minVersion) {
|
|
|
92189
92189
|
async function ensureCommunicationMinVersions(input) {
|
|
92190
92190
|
const runUpdate = input.runUpdate ?? runOkxA2aForcedUpdate;
|
|
92191
92191
|
const cliMinVersion = input.systemConfig.minVersion.cli;
|
|
92192
|
-
const currentCliVersion = input.currentCliVersion ?? "0.0.13
|
|
92192
|
+
const currentCliVersion = input.currentCliVersion ?? "0.0.13";
|
|
92193
92193
|
if (isBelowRequiredVersion(currentCliVersion, cliMinVersion)) {
|
|
92194
92194
|
await forceUpdate({
|
|
92195
92195
|
target: "cli",
|
|
@@ -92441,7 +92441,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
92441
92441
|
}));
|
|
92442
92442
|
}
|
|
92443
92443
|
});
|
|
92444
|
-
service.setCliVersion("0.0.13
|
|
92444
|
+
service.setCliVersion("0.0.13");
|
|
92445
92445
|
await service.init();
|
|
92446
92446
|
const startupVersionCheck = await ensureCommunicationMinVersions({
|
|
92447
92447
|
systemConfig: service.getSystemConfig(),
|
|
@@ -92474,7 +92474,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
92474
92474
|
onchainosAgentId: "*",
|
|
92475
92475
|
reason: "system-config missing sentryDsn",
|
|
92476
92476
|
pluginId: "@okxweb3/a2a-node",
|
|
92477
|
-
pluginVersion: "0.0.13
|
|
92477
|
+
pluginVersion: "0.0.13"
|
|
92478
92478
|
});
|
|
92479
92479
|
}
|
|
92480
92480
|
logWithTimestamp(
|
|
@@ -94959,7 +94959,7 @@ init_task_config();
|
|
|
94959
94959
|
init_sentry_logger();
|
|
94960
94960
|
init_sentry_config();
|
|
94961
94961
|
function printUsage2() {
|
|
94962
|
-
console.log(`okx-a2a ${"0.0.13
|
|
94962
|
+
console.log(`okx-a2a ${"0.0.13"}
|
|
94963
94963
|
|
|
94964
94964
|
Usage:
|
|
94965
94965
|
okx-a2a <command> [options]
|
|
@@ -94996,7 +94996,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
94996
94996
|
`);
|
|
94997
94997
|
}
|
|
94998
94998
|
function printVersion() {
|
|
94999
|
-
console.log("0.0.13
|
|
94999
|
+
console.log("0.0.13");
|
|
95000
95000
|
}
|
|
95001
95001
|
function printDaemonUsage() {
|
|
95002
95002
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status> [options]
|
package/dist/index.js
CHANGED
|
@@ -86092,7 +86092,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
86092
86092
|
client: {
|
|
86093
86093
|
id: "gateway-client",
|
|
86094
86094
|
displayName: "okx-a2a-node",
|
|
86095
|
-
version: "0.0.13
|
|
86095
|
+
version: "0.0.13",
|
|
86096
86096
|
platform: "node",
|
|
86097
86097
|
mode: "backend",
|
|
86098
86098
|
instanceId
|
|
@@ -86103,7 +86103,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
86103
86103
|
commands: [],
|
|
86104
86104
|
permissions: {},
|
|
86105
86105
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
86106
|
-
userAgent: `okx-a2a-node/${"0.0.13
|
|
86106
|
+
userAgent: `okx-a2a-node/${"0.0.13"}`,
|
|
86107
86107
|
auth: {
|
|
86108
86108
|
...config.token ? { token: config.token } : {},
|
|
86109
86109
|
...config.password ? { password: config.password } : {}
|
|
@@ -89649,7 +89649,7 @@ function userWatchEventDeliveredSentryExtra(event) {
|
|
|
89649
89649
|
var environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
89650
89650
|
var SENTRY_CONFIG = {
|
|
89651
89651
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
89652
|
-
release: "0.0.13
|
|
89652
|
+
release: "0.0.13",
|
|
89653
89653
|
environment
|
|
89654
89654
|
};
|
|
89655
89655
|
|
|
@@ -90070,7 +90070,7 @@ function isBelowRequiredVersion(currentVersion, minVersion) {
|
|
|
90070
90070
|
async function ensureCommunicationMinVersions(input) {
|
|
90071
90071
|
const runUpdate = input.runUpdate ?? runOkxA2aForcedUpdate;
|
|
90072
90072
|
const cliMinVersion = input.systemConfig.minVersion.cli;
|
|
90073
|
-
const currentCliVersion = input.currentCliVersion ?? "0.0.13
|
|
90073
|
+
const currentCliVersion = input.currentCliVersion ?? "0.0.13";
|
|
90074
90074
|
if (isBelowRequiredVersion(currentCliVersion, cliMinVersion)) {
|
|
90075
90075
|
await forceUpdate({
|
|
90076
90076
|
target: "cli",
|
|
@@ -90305,7 +90305,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
90305
90305
|
}));
|
|
90306
90306
|
}
|
|
90307
90307
|
});
|
|
90308
|
-
service.setCliVersion("0.0.13
|
|
90308
|
+
service.setCliVersion("0.0.13");
|
|
90309
90309
|
await service.init();
|
|
90310
90310
|
const startupVersionCheck = await ensureCommunicationMinVersions({
|
|
90311
90311
|
systemConfig: service.getSystemConfig(),
|
|
@@ -90338,7 +90338,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
90338
90338
|
onchainosAgentId: "*",
|
|
90339
90339
|
reason: "system-config missing sentryDsn",
|
|
90340
90340
|
pluginId: "@okxweb3/a2a-node",
|
|
90341
|
-
pluginVersion: "0.0.13
|
|
90341
|
+
pluginVersion: "0.0.13"
|
|
90342
90342
|
});
|
|
90343
90343
|
}
|
|
90344
90344
|
logWithTimestamp(
|
package/package.json
CHANGED