@okxweb3/a2a-node 0.2.19-beta-d11ae45e77-261112114503 → 0.2.19
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 +13 -13
- package/dist/index.js +10 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -27016,7 +27016,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
27016
27016
|
client: {
|
|
27017
27017
|
id: "gateway-client",
|
|
27018
27018
|
displayName: "okx-a2a-node",
|
|
27019
|
-
version: "0.2.19
|
|
27019
|
+
version: "0.2.19",
|
|
27020
27020
|
platform: "node",
|
|
27021
27021
|
mode: "backend",
|
|
27022
27022
|
instanceId
|
|
@@ -27027,7 +27027,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
27027
27027
|
commands: [],
|
|
27028
27028
|
permissions: {},
|
|
27029
27029
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
27030
|
-
userAgent: `okx-a2a-node/${"0.2.19
|
|
27030
|
+
userAgent: `okx-a2a-node/${"0.2.19"}`,
|
|
27031
27031
|
auth: {
|
|
27032
27032
|
...config.token ? { token: config.token } : {},
|
|
27033
27033
|
...config.password ? { password: config.password } : {}
|
|
@@ -29086,7 +29086,7 @@ var init_sentry_config = __esm({
|
|
|
29086
29086
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
29087
29087
|
SENTRY_CONFIG = {
|
|
29088
29088
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
29089
|
-
release: "0.2.19
|
|
29089
|
+
release: "0.2.19",
|
|
29090
29090
|
environment,
|
|
29091
29091
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
29092
29092
|
};
|
|
@@ -40256,7 +40256,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
40256
40256
|
node: process.version,
|
|
40257
40257
|
platform: process.platform,
|
|
40258
40258
|
arch: process.arch,
|
|
40259
|
-
packageVersion: true ? "0.2.19
|
|
40259
|
+
packageVersion: true ? "0.2.19" : "unknown",
|
|
40260
40260
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
40261
40261
|
listenerAndLlmContentIncluded: true,
|
|
40262
40262
|
credentialsAlwaysRedacted: true,
|
|
@@ -70511,12 +70511,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
70511
70511
|
});
|
|
70512
70512
|
}
|
|
70513
70513
|
});
|
|
70514
|
-
service.setPluginVersion("0.2.19
|
|
70514
|
+
service.setPluginVersion("0.2.19");
|
|
70515
70515
|
await service.init();
|
|
70516
70516
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
70517
70517
|
if (pluginVersionStatus.unavailable) {
|
|
70518
70518
|
throw new Error(
|
|
70519
|
-
`@okxweb3/a2a-node v${"0.2.19
|
|
70519
|
+
`@okxweb3/a2a-node v${"0.2.19"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
70520
70520
|
);
|
|
70521
70521
|
}
|
|
70522
70522
|
const systemConfig = service.getSystemConfig();
|
|
@@ -70544,7 +70544,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
70544
70544
|
onchainosAgentId: "*",
|
|
70545
70545
|
reason: "system-config missing sentryDsn",
|
|
70546
70546
|
pluginId: "@okxweb3/a2a-node",
|
|
70547
|
-
pluginVersion: "0.2.19
|
|
70547
|
+
pluginVersion: "0.2.19"
|
|
70548
70548
|
});
|
|
70549
70549
|
}
|
|
70550
70550
|
logWithTimestamp(
|
|
@@ -118887,7 +118887,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
118887
118887
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
118888
118888
|
}
|
|
118889
118889
|
function getBundledNodeCliVersion() {
|
|
118890
|
-
return true ? "0.2.19
|
|
118890
|
+
return true ? "0.2.19" : null;
|
|
118891
118891
|
}
|
|
118892
118892
|
function readConfiguredAiProvider() {
|
|
118893
118893
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -119097,7 +119097,7 @@ async function updateHermes(release, options) {
|
|
|
119097
119097
|
}
|
|
119098
119098
|
}
|
|
119099
119099
|
async function installGatewayPluginForDoctor(target) {
|
|
119100
|
-
const release = isPrereleaseVersion("0.2.19
|
|
119100
|
+
const release = isPrereleaseVersion("0.2.19") ? "beta" : "latest";
|
|
119101
119101
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
119102
119102
|
const options = {
|
|
119103
119103
|
restart: !insideTargetGateway,
|
|
@@ -120150,7 +120150,7 @@ async function runDoctor(options = {}) {
|
|
|
120150
120150
|
platform: options.platform ?? process.platform,
|
|
120151
120151
|
env: options.env ?? process.env,
|
|
120152
120152
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
120153
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.19
|
|
120153
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.19" : "0.0.0"),
|
|
120154
120154
|
fixMode: options.fix === true,
|
|
120155
120155
|
nonInteractive: options.nonInteractive === true,
|
|
120156
120156
|
packageChanged: false,
|
|
@@ -121257,7 +121257,7 @@ init_sentry_config();
|
|
|
121257
121257
|
init_runtime_metadata();
|
|
121258
121258
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
121259
121259
|
function printUsage3() {
|
|
121260
|
-
console.log(`okx-a2a ${"0.2.19
|
|
121260
|
+
console.log(`okx-a2a ${"0.2.19"}
|
|
121261
121261
|
|
|
121262
121262
|
Usage:
|
|
121263
121263
|
okx-a2a <command> [options]
|
|
@@ -121299,7 +121299,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
121299
121299
|
`);
|
|
121300
121300
|
}
|
|
121301
121301
|
function printVersion() {
|
|
121302
|
-
console.log("0.2.19
|
|
121302
|
+
console.log("0.2.19");
|
|
121303
121303
|
}
|
|
121304
121304
|
function printDaemonUsage() {
|
|
121305
121305
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
|
@@ -122794,7 +122794,7 @@ async function main() {
|
|
|
122794
122794
|
if (command === "xmtp-test") {
|
|
122795
122795
|
const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
|
|
122796
122796
|
await handleXmtpTestCommand2(process.argv.slice(3), {
|
|
122797
|
-
packageVersion: "0.2.19
|
|
122797
|
+
packageVersion: "0.2.19",
|
|
122798
122798
|
agentSdkVersion: "2.3.1",
|
|
122799
122799
|
nodeSdkVersion: "6.1.1",
|
|
122800
122800
|
nodeBindingsVersion: "1.11.1"
|
package/dist/index.js
CHANGED
|
@@ -32464,7 +32464,7 @@ var init_sentry_config = __esm({
|
|
|
32464
32464
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
32465
32465
|
SENTRY_CONFIG = {
|
|
32466
32466
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
32467
|
-
release: "0.2.19
|
|
32467
|
+
release: "0.2.19",
|
|
32468
32468
|
environment,
|
|
32469
32469
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
32470
32470
|
};
|
|
@@ -33420,7 +33420,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
33420
33420
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
33421
33421
|
}
|
|
33422
33422
|
function getBundledNodeCliVersion() {
|
|
33423
|
-
return true ? "0.2.19
|
|
33423
|
+
return true ? "0.2.19" : null;
|
|
33424
33424
|
}
|
|
33425
33425
|
function readConfiguredAiProvider() {
|
|
33426
33426
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -33630,7 +33630,7 @@ async function updateHermes(release, options) {
|
|
|
33630
33630
|
}
|
|
33631
33631
|
}
|
|
33632
33632
|
async function installGatewayPluginForDoctor(target) {
|
|
33633
|
-
const release = isPrereleaseVersion("0.2.19
|
|
33633
|
+
const release = isPrereleaseVersion("0.2.19") ? "beta" : "latest";
|
|
33634
33634
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
33635
33635
|
const options = {
|
|
33636
33636
|
restart: !insideTargetGateway,
|
|
@@ -62131,7 +62131,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
62131
62131
|
client: {
|
|
62132
62132
|
id: "gateway-client",
|
|
62133
62133
|
displayName: "okx-a2a-node",
|
|
62134
|
-
version: "0.2.19
|
|
62134
|
+
version: "0.2.19",
|
|
62135
62135
|
platform: "node",
|
|
62136
62136
|
mode: "backend",
|
|
62137
62137
|
instanceId
|
|
@@ -62142,7 +62142,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
62142
62142
|
commands: [],
|
|
62143
62143
|
permissions: {},
|
|
62144
62144
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
62145
|
-
userAgent: `okx-a2a-node/${"0.2.19
|
|
62145
|
+
userAgent: `okx-a2a-node/${"0.2.19"}`,
|
|
62146
62146
|
auth: {
|
|
62147
62147
|
...config.token ? { token: config.token } : {},
|
|
62148
62148
|
...config.password ? { password: config.password } : {}
|
|
@@ -68482,12 +68482,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
68482
68482
|
});
|
|
68483
68483
|
}
|
|
68484
68484
|
});
|
|
68485
|
-
service.setPluginVersion("0.2.19
|
|
68485
|
+
service.setPluginVersion("0.2.19");
|
|
68486
68486
|
await service.init();
|
|
68487
68487
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
68488
68488
|
if (pluginVersionStatus.unavailable) {
|
|
68489
68489
|
throw new Error(
|
|
68490
|
-
`@okxweb3/a2a-node v${"0.2.19
|
|
68490
|
+
`@okxweb3/a2a-node v${"0.2.19"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
68491
68491
|
);
|
|
68492
68492
|
}
|
|
68493
68493
|
const systemConfig = service.getSystemConfig();
|
|
@@ -68515,7 +68515,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
68515
68515
|
onchainosAgentId: "*",
|
|
68516
68516
|
reason: "system-config missing sentryDsn",
|
|
68517
68517
|
pluginId: "@okxweb3/a2a-node",
|
|
68518
|
-
pluginVersion: "0.2.19
|
|
68518
|
+
pluginVersion: "0.2.19"
|
|
68519
68519
|
});
|
|
68520
68520
|
}
|
|
68521
68521
|
logWithTimestamp(
|
|
@@ -71287,7 +71287,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
71287
71287
|
node: process.version,
|
|
71288
71288
|
platform: process.platform,
|
|
71289
71289
|
arch: process.arch,
|
|
71290
|
-
packageVersion: true ? "0.2.19
|
|
71290
|
+
packageVersion: true ? "0.2.19" : "unknown",
|
|
71291
71291
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
71292
71292
|
listenerAndLlmContentIncluded: true,
|
|
71293
71293
|
credentialsAlwaysRedacted: true,
|
|
@@ -73199,7 +73199,7 @@ async function runDoctor(options = {}) {
|
|
|
73199
73199
|
platform: options.platform ?? process.platform,
|
|
73200
73200
|
env: options.env ?? process.env,
|
|
73201
73201
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
73202
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.19
|
|
73202
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.19" : "0.0.0"),
|
|
73203
73203
|
fixMode: options.fix === true,
|
|
73204
73204
|
nonInteractive: options.nonInteractive === true,
|
|
73205
73205
|
packageChanged: false,
|
package/package.json
CHANGED