@okxweb3/a2a-node 0.2.15-beta-6e6c3bd1a8-260912125709 → 0.2.15
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
|
@@ -26940,7 +26940,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26940
26940
|
client: {
|
|
26941
26941
|
id: "gateway-client",
|
|
26942
26942
|
displayName: "okx-a2a-node",
|
|
26943
|
-
version: "0.2.15
|
|
26943
|
+
version: "0.2.15",
|
|
26944
26944
|
platform: "node",
|
|
26945
26945
|
mode: "backend",
|
|
26946
26946
|
instanceId
|
|
@@ -26951,7 +26951,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26951
26951
|
commands: [],
|
|
26952
26952
|
permissions: {},
|
|
26953
26953
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
26954
|
-
userAgent: `okx-a2a-node/${"0.2.15
|
|
26954
|
+
userAgent: `okx-a2a-node/${"0.2.15"}`,
|
|
26955
26955
|
auth: {
|
|
26956
26956
|
...config.token ? { token: config.token } : {},
|
|
26957
26957
|
...config.password ? { password: config.password } : {}
|
|
@@ -29010,7 +29010,7 @@ var init_sentry_config = __esm({
|
|
|
29010
29010
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
29011
29011
|
SENTRY_CONFIG = {
|
|
29012
29012
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
29013
|
-
release: "0.2.15
|
|
29013
|
+
release: "0.2.15",
|
|
29014
29014
|
environment,
|
|
29015
29015
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
29016
29016
|
};
|
|
@@ -40180,7 +40180,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
40180
40180
|
node: process.version,
|
|
40181
40181
|
platform: process.platform,
|
|
40182
40182
|
arch: process.arch,
|
|
40183
|
-
packageVersion: true ? "0.2.15
|
|
40183
|
+
packageVersion: true ? "0.2.15" : "unknown",
|
|
40184
40184
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
40185
40185
|
listenerAndLlmContentIncluded: true,
|
|
40186
40186
|
credentialsAlwaysRedacted: true,
|
|
@@ -69686,12 +69686,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
69686
69686
|
});
|
|
69687
69687
|
}
|
|
69688
69688
|
});
|
|
69689
|
-
service.setPluginVersion("0.2.15
|
|
69689
|
+
service.setPluginVersion("0.2.15");
|
|
69690
69690
|
await service.init();
|
|
69691
69691
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
69692
69692
|
if (pluginVersionStatus.unavailable) {
|
|
69693
69693
|
throw new Error(
|
|
69694
|
-
`@okxweb3/a2a-node v${"0.2.15
|
|
69694
|
+
`@okxweb3/a2a-node v${"0.2.15"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
69695
69695
|
);
|
|
69696
69696
|
}
|
|
69697
69697
|
const systemConfig = service.getSystemConfig();
|
|
@@ -69719,7 +69719,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
69719
69719
|
onchainosAgentId: "*",
|
|
69720
69720
|
reason: "system-config missing sentryDsn",
|
|
69721
69721
|
pluginId: "@okxweb3/a2a-node",
|
|
69722
|
-
pluginVersion: "0.2.15
|
|
69722
|
+
pluginVersion: "0.2.15"
|
|
69723
69723
|
});
|
|
69724
69724
|
}
|
|
69725
69725
|
logWithTimestamp(
|
|
@@ -118061,7 +118061,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
118061
118061
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
118062
118062
|
}
|
|
118063
118063
|
function getBundledNodeCliVersion() {
|
|
118064
|
-
return true ? "0.2.15
|
|
118064
|
+
return true ? "0.2.15" : null;
|
|
118065
118065
|
}
|
|
118066
118066
|
function readConfiguredAiProvider() {
|
|
118067
118067
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -118271,7 +118271,7 @@ async function updateHermes(release, options) {
|
|
|
118271
118271
|
}
|
|
118272
118272
|
}
|
|
118273
118273
|
async function installGatewayPluginForDoctor(target) {
|
|
118274
|
-
const release = isPrereleaseVersion("0.2.15
|
|
118274
|
+
const release = isPrereleaseVersion("0.2.15") ? "beta" : "latest";
|
|
118275
118275
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
118276
118276
|
const options = {
|
|
118277
118277
|
restart: !insideTargetGateway,
|
|
@@ -119324,7 +119324,7 @@ async function runDoctor(options = {}) {
|
|
|
119324
119324
|
platform: options.platform ?? process.platform,
|
|
119325
119325
|
env: options.env ?? process.env,
|
|
119326
119326
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
119327
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.15
|
|
119327
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.15" : "0.0.0"),
|
|
119328
119328
|
fixMode: options.fix === true,
|
|
119329
119329
|
nonInteractive: options.nonInteractive === true,
|
|
119330
119330
|
packageChanged: false,
|
|
@@ -120431,7 +120431,7 @@ init_sentry_config();
|
|
|
120431
120431
|
init_runtime_metadata();
|
|
120432
120432
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
120433
120433
|
function printUsage3() {
|
|
120434
|
-
console.log(`okx-a2a ${"0.2.15
|
|
120434
|
+
console.log(`okx-a2a ${"0.2.15"}
|
|
120435
120435
|
|
|
120436
120436
|
Usage:
|
|
120437
120437
|
okx-a2a <command> [options]
|
|
@@ -120473,7 +120473,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
120473
120473
|
`);
|
|
120474
120474
|
}
|
|
120475
120475
|
function printVersion() {
|
|
120476
|
-
console.log("0.2.15
|
|
120476
|
+
console.log("0.2.15");
|
|
120477
120477
|
}
|
|
120478
120478
|
function printDaemonUsage() {
|
|
120479
120479
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
|
@@ -121963,7 +121963,7 @@ async function main() {
|
|
|
121963
121963
|
if (command === "xmtp-test") {
|
|
121964
121964
|
const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
|
|
121965
121965
|
await handleXmtpTestCommand2(process.argv.slice(3), {
|
|
121966
|
-
packageVersion: "0.2.15
|
|
121966
|
+
packageVersion: "0.2.15",
|
|
121967
121967
|
agentSdkVersion: "2.3.0",
|
|
121968
121968
|
nodeSdkVersion: "6.1.0",
|
|
121969
121969
|
nodeBindingsVersion: "1.11.0"
|
package/dist/index.js
CHANGED
|
@@ -32449,7 +32449,7 @@ var init_sentry_config = __esm({
|
|
|
32449
32449
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
32450
32450
|
SENTRY_CONFIG = {
|
|
32451
32451
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
32452
|
-
release: "0.2.15
|
|
32452
|
+
release: "0.2.15",
|
|
32453
32453
|
environment,
|
|
32454
32454
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
32455
32455
|
};
|
|
@@ -33405,7 +33405,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
33405
33405
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
33406
33406
|
}
|
|
33407
33407
|
function getBundledNodeCliVersion() {
|
|
33408
|
-
return true ? "0.2.15
|
|
33408
|
+
return true ? "0.2.15" : null;
|
|
33409
33409
|
}
|
|
33410
33410
|
function readConfiguredAiProvider() {
|
|
33411
33411
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -33615,7 +33615,7 @@ async function updateHermes(release, options) {
|
|
|
33615
33615
|
}
|
|
33616
33616
|
}
|
|
33617
33617
|
async function installGatewayPluginForDoctor(target) {
|
|
33618
|
-
const release = isPrereleaseVersion("0.2.15
|
|
33618
|
+
const release = isPrereleaseVersion("0.2.15") ? "beta" : "latest";
|
|
33619
33619
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
33620
33620
|
const options = {
|
|
33621
33621
|
restart: !insideTargetGateway,
|
|
@@ -61333,7 +61333,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61333
61333
|
client: {
|
|
61334
61334
|
id: "gateway-client",
|
|
61335
61335
|
displayName: "okx-a2a-node",
|
|
61336
|
-
version: "0.2.15
|
|
61336
|
+
version: "0.2.15",
|
|
61337
61337
|
platform: "node",
|
|
61338
61338
|
mode: "backend",
|
|
61339
61339
|
instanceId
|
|
@@ -61344,7 +61344,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61344
61344
|
commands: [],
|
|
61345
61345
|
permissions: {},
|
|
61346
61346
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
61347
|
-
userAgent: `okx-a2a-node/${"0.2.15
|
|
61347
|
+
userAgent: `okx-a2a-node/${"0.2.15"}`,
|
|
61348
61348
|
auth: {
|
|
61349
61349
|
...config.token ? { token: config.token } : {},
|
|
61350
61350
|
...config.password ? { password: config.password } : {}
|
|
@@ -67683,12 +67683,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
67683
67683
|
});
|
|
67684
67684
|
}
|
|
67685
67685
|
});
|
|
67686
|
-
service.setPluginVersion("0.2.15
|
|
67686
|
+
service.setPluginVersion("0.2.15");
|
|
67687
67687
|
await service.init();
|
|
67688
67688
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
67689
67689
|
if (pluginVersionStatus.unavailable) {
|
|
67690
67690
|
throw new Error(
|
|
67691
|
-
`@okxweb3/a2a-node v${"0.2.15
|
|
67691
|
+
`@okxweb3/a2a-node v${"0.2.15"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
67692
67692
|
);
|
|
67693
67693
|
}
|
|
67694
67694
|
const systemConfig = service.getSystemConfig();
|
|
@@ -67716,7 +67716,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
67716
67716
|
onchainosAgentId: "*",
|
|
67717
67717
|
reason: "system-config missing sentryDsn",
|
|
67718
67718
|
pluginId: "@okxweb3/a2a-node",
|
|
67719
|
-
pluginVersion: "0.2.15
|
|
67719
|
+
pluginVersion: "0.2.15"
|
|
67720
67720
|
});
|
|
67721
67721
|
}
|
|
67722
67722
|
logWithTimestamp(
|
|
@@ -70489,7 +70489,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
70489
70489
|
node: process.version,
|
|
70490
70490
|
platform: process.platform,
|
|
70491
70491
|
arch: process.arch,
|
|
70492
|
-
packageVersion: true ? "0.2.15
|
|
70492
|
+
packageVersion: true ? "0.2.15" : "unknown",
|
|
70493
70493
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
70494
70494
|
listenerAndLlmContentIncluded: true,
|
|
70495
70495
|
credentialsAlwaysRedacted: true,
|
|
@@ -72401,7 +72401,7 @@ async function runDoctor(options = {}) {
|
|
|
72401
72401
|
platform: options.platform ?? process.platform,
|
|
72402
72402
|
env: options.env ?? process.env,
|
|
72403
72403
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
72404
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.15
|
|
72404
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.15" : "0.0.0"),
|
|
72405
72405
|
fixMode: options.fix === true,
|
|
72406
72406
|
nonInteractive: options.nonInteractive === true,
|
|
72407
72407
|
packageChanged: false,
|
package/package.json
CHANGED