@okxweb3/a2a-node 0.2.13 → 0.2.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 +13 -13
- package/dist/index.js +10 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -26925,7 +26925,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26925
26925
|
client: {
|
|
26926
26926
|
id: "gateway-client",
|
|
26927
26927
|
displayName: "okx-a2a-node",
|
|
26928
|
-
version: "0.2.
|
|
26928
|
+
version: "0.2.14",
|
|
26929
26929
|
platform: "node",
|
|
26930
26930
|
mode: "backend",
|
|
26931
26931
|
instanceId
|
|
@@ -26936,7 +26936,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26936
26936
|
commands: [],
|
|
26937
26937
|
permissions: {},
|
|
26938
26938
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
26939
|
-
userAgent: `okx-a2a-node/${"0.2.
|
|
26939
|
+
userAgent: `okx-a2a-node/${"0.2.14"}`,
|
|
26940
26940
|
auth: {
|
|
26941
26941
|
...config.token ? { token: config.token } : {},
|
|
26942
26942
|
...config.password ? { password: config.password } : {}
|
|
@@ -28995,7 +28995,7 @@ var init_sentry_config = __esm({
|
|
|
28995
28995
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
28996
28996
|
SENTRY_CONFIG = {
|
|
28997
28997
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
28998
|
-
release: "0.2.
|
|
28998
|
+
release: "0.2.14",
|
|
28999
28999
|
environment,
|
|
29000
29000
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
29001
29001
|
};
|
|
@@ -40165,7 +40165,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
40165
40165
|
node: process.version,
|
|
40166
40166
|
platform: process.platform,
|
|
40167
40167
|
arch: process.arch,
|
|
40168
|
-
packageVersion: true ? "0.2.
|
|
40168
|
+
packageVersion: true ? "0.2.14" : "unknown",
|
|
40169
40169
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
40170
40170
|
listenerAndLlmContentIncluded: true,
|
|
40171
40171
|
credentialsAlwaysRedacted: true,
|
|
@@ -69671,12 +69671,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
69671
69671
|
});
|
|
69672
69672
|
}
|
|
69673
69673
|
});
|
|
69674
|
-
service.setPluginVersion("0.2.
|
|
69674
|
+
service.setPluginVersion("0.2.14");
|
|
69675
69675
|
await service.init();
|
|
69676
69676
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
69677
69677
|
if (pluginVersionStatus.unavailable) {
|
|
69678
69678
|
throw new Error(
|
|
69679
|
-
`@okxweb3/a2a-node v${"0.2.
|
|
69679
|
+
`@okxweb3/a2a-node v${"0.2.14"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
69680
69680
|
);
|
|
69681
69681
|
}
|
|
69682
69682
|
const systemConfig = service.getSystemConfig();
|
|
@@ -69704,7 +69704,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
69704
69704
|
onchainosAgentId: "*",
|
|
69705
69705
|
reason: "system-config missing sentryDsn",
|
|
69706
69706
|
pluginId: "@okxweb3/a2a-node",
|
|
69707
|
-
pluginVersion: "0.2.
|
|
69707
|
+
pluginVersion: "0.2.14"
|
|
69708
69708
|
});
|
|
69709
69709
|
}
|
|
69710
69710
|
logWithTimestamp(
|
|
@@ -118046,7 +118046,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
118046
118046
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
118047
118047
|
}
|
|
118048
118048
|
function getBundledNodeCliVersion() {
|
|
118049
|
-
return true ? "0.2.
|
|
118049
|
+
return true ? "0.2.14" : null;
|
|
118050
118050
|
}
|
|
118051
118051
|
function readConfiguredAiProvider() {
|
|
118052
118052
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -118256,7 +118256,7 @@ async function updateHermes(release, options) {
|
|
|
118256
118256
|
}
|
|
118257
118257
|
}
|
|
118258
118258
|
async function installGatewayPluginForDoctor(target) {
|
|
118259
|
-
const release = isPrereleaseVersion("0.2.
|
|
118259
|
+
const release = isPrereleaseVersion("0.2.14") ? "beta" : "latest";
|
|
118260
118260
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
118261
118261
|
const options = {
|
|
118262
118262
|
restart: !insideTargetGateway,
|
|
@@ -119309,7 +119309,7 @@ async function runDoctor(options = {}) {
|
|
|
119309
119309
|
platform: options.platform ?? process.platform,
|
|
119310
119310
|
env: options.env ?? process.env,
|
|
119311
119311
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
119312
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.
|
|
119312
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.14" : "0.0.0"),
|
|
119313
119313
|
fixMode: options.fix === true,
|
|
119314
119314
|
nonInteractive: options.nonInteractive === true,
|
|
119315
119315
|
packageChanged: false,
|
|
@@ -120416,7 +120416,7 @@ init_sentry_config();
|
|
|
120416
120416
|
init_runtime_metadata();
|
|
120417
120417
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
120418
120418
|
function printUsage3() {
|
|
120419
|
-
console.log(`okx-a2a ${"0.2.
|
|
120419
|
+
console.log(`okx-a2a ${"0.2.14"}
|
|
120420
120420
|
|
|
120421
120421
|
Usage:
|
|
120422
120422
|
okx-a2a <command> [options]
|
|
@@ -120458,7 +120458,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
120458
120458
|
`);
|
|
120459
120459
|
}
|
|
120460
120460
|
function printVersion() {
|
|
120461
|
-
console.log("0.2.
|
|
120461
|
+
console.log("0.2.14");
|
|
120462
120462
|
}
|
|
120463
120463
|
function printDaemonUsage() {
|
|
120464
120464
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
|
@@ -121948,7 +121948,7 @@ async function main() {
|
|
|
121948
121948
|
if (command === "xmtp-test") {
|
|
121949
121949
|
const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
|
|
121950
121950
|
await handleXmtpTestCommand2(process.argv.slice(3), {
|
|
121951
|
-
packageVersion: "0.2.
|
|
121951
|
+
packageVersion: "0.2.14",
|
|
121952
121952
|
agentSdkVersion: "2.3.0",
|
|
121953
121953
|
nodeSdkVersion: "6.1.0",
|
|
121954
121954
|
nodeBindingsVersion: "1.11.0"
|
package/dist/index.js
CHANGED
|
@@ -32434,7 +32434,7 @@ var init_sentry_config = __esm({
|
|
|
32434
32434
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
32435
32435
|
SENTRY_CONFIG = {
|
|
32436
32436
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
32437
|
-
release: "0.2.
|
|
32437
|
+
release: "0.2.14",
|
|
32438
32438
|
environment,
|
|
32439
32439
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
32440
32440
|
};
|
|
@@ -33390,7 +33390,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
33390
33390
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
33391
33391
|
}
|
|
33392
33392
|
function getBundledNodeCliVersion() {
|
|
33393
|
-
return true ? "0.2.
|
|
33393
|
+
return true ? "0.2.14" : null;
|
|
33394
33394
|
}
|
|
33395
33395
|
function readConfiguredAiProvider() {
|
|
33396
33396
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -33600,7 +33600,7 @@ async function updateHermes(release, options) {
|
|
|
33600
33600
|
}
|
|
33601
33601
|
}
|
|
33602
33602
|
async function installGatewayPluginForDoctor(target) {
|
|
33603
|
-
const release = isPrereleaseVersion("0.2.
|
|
33603
|
+
const release = isPrereleaseVersion("0.2.14") ? "beta" : "latest";
|
|
33604
33604
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
33605
33605
|
const options = {
|
|
33606
33606
|
restart: !insideTargetGateway,
|
|
@@ -61318,7 +61318,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61318
61318
|
client: {
|
|
61319
61319
|
id: "gateway-client",
|
|
61320
61320
|
displayName: "okx-a2a-node",
|
|
61321
|
-
version: "0.2.
|
|
61321
|
+
version: "0.2.14",
|
|
61322
61322
|
platform: "node",
|
|
61323
61323
|
mode: "backend",
|
|
61324
61324
|
instanceId
|
|
@@ -61329,7 +61329,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61329
61329
|
commands: [],
|
|
61330
61330
|
permissions: {},
|
|
61331
61331
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
61332
|
-
userAgent: `okx-a2a-node/${"0.2.
|
|
61332
|
+
userAgent: `okx-a2a-node/${"0.2.14"}`,
|
|
61333
61333
|
auth: {
|
|
61334
61334
|
...config.token ? { token: config.token } : {},
|
|
61335
61335
|
...config.password ? { password: config.password } : {}
|
|
@@ -67668,12 +67668,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
67668
67668
|
});
|
|
67669
67669
|
}
|
|
67670
67670
|
});
|
|
67671
|
-
service.setPluginVersion("0.2.
|
|
67671
|
+
service.setPluginVersion("0.2.14");
|
|
67672
67672
|
await service.init();
|
|
67673
67673
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
67674
67674
|
if (pluginVersionStatus.unavailable) {
|
|
67675
67675
|
throw new Error(
|
|
67676
|
-
`@okxweb3/a2a-node v${"0.2.
|
|
67676
|
+
`@okxweb3/a2a-node v${"0.2.14"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
67677
67677
|
);
|
|
67678
67678
|
}
|
|
67679
67679
|
const systemConfig = service.getSystemConfig();
|
|
@@ -67701,7 +67701,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
67701
67701
|
onchainosAgentId: "*",
|
|
67702
67702
|
reason: "system-config missing sentryDsn",
|
|
67703
67703
|
pluginId: "@okxweb3/a2a-node",
|
|
67704
|
-
pluginVersion: "0.2.
|
|
67704
|
+
pluginVersion: "0.2.14"
|
|
67705
67705
|
});
|
|
67706
67706
|
}
|
|
67707
67707
|
logWithTimestamp(
|
|
@@ -70474,7 +70474,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
70474
70474
|
node: process.version,
|
|
70475
70475
|
platform: process.platform,
|
|
70476
70476
|
arch: process.arch,
|
|
70477
|
-
packageVersion: true ? "0.2.
|
|
70477
|
+
packageVersion: true ? "0.2.14" : "unknown",
|
|
70478
70478
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
70479
70479
|
listenerAndLlmContentIncluded: true,
|
|
70480
70480
|
credentialsAlwaysRedacted: true,
|
|
@@ -72386,7 +72386,7 @@ async function runDoctor(options = {}) {
|
|
|
72386
72386
|
platform: options.platform ?? process.platform,
|
|
72387
72387
|
env: options.env ?? process.env,
|
|
72388
72388
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
72389
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.
|
|
72389
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.14" : "0.0.0"),
|
|
72390
72390
|
fixMode: options.fix === true,
|
|
72391
72391
|
nonInteractive: options.nonInteractive === true,
|
|
72392
72392
|
packageChanged: false,
|