@okxweb3/a2a-node 0.2.17-beta-a72a480b58-261013200517 → 0.2.17
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
|
@@ -27018,7 +27018,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
27018
27018
|
client: {
|
|
27019
27019
|
id: "gateway-client",
|
|
27020
27020
|
displayName: "okx-a2a-node",
|
|
27021
|
-
version: "0.2.17
|
|
27021
|
+
version: "0.2.17",
|
|
27022
27022
|
platform: "node",
|
|
27023
27023
|
mode: "backend",
|
|
27024
27024
|
instanceId
|
|
@@ -27029,7 +27029,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
27029
27029
|
commands: [],
|
|
27030
27030
|
permissions: {},
|
|
27031
27031
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
27032
|
-
userAgent: `okx-a2a-node/${"0.2.17
|
|
27032
|
+
userAgent: `okx-a2a-node/${"0.2.17"}`,
|
|
27033
27033
|
auth: {
|
|
27034
27034
|
...config.token ? { token: config.token } : {},
|
|
27035
27035
|
...config.password ? { password: config.password } : {}
|
|
@@ -29089,7 +29089,7 @@ var init_sentry_config = __esm({
|
|
|
29089
29089
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
29090
29090
|
SENTRY_CONFIG = {
|
|
29091
29091
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
29092
|
-
release: "0.2.17
|
|
29092
|
+
release: "0.2.17",
|
|
29093
29093
|
environment,
|
|
29094
29094
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
29095
29095
|
};
|
|
@@ -40259,7 +40259,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
40259
40259
|
node: process.version,
|
|
40260
40260
|
platform: process.platform,
|
|
40261
40261
|
arch: process.arch,
|
|
40262
|
-
packageVersion: true ? "0.2.17
|
|
40262
|
+
packageVersion: true ? "0.2.17" : "unknown",
|
|
40263
40263
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
40264
40264
|
listenerAndLlmContentIncluded: true,
|
|
40265
40265
|
credentialsAlwaysRedacted: true,
|
|
@@ -70071,12 +70071,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
70071
70071
|
});
|
|
70072
70072
|
}
|
|
70073
70073
|
});
|
|
70074
|
-
service.setPluginVersion("0.2.17
|
|
70074
|
+
service.setPluginVersion("0.2.17");
|
|
70075
70075
|
await service.init();
|
|
70076
70076
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
70077
70077
|
if (pluginVersionStatus.unavailable) {
|
|
70078
70078
|
throw new Error(
|
|
70079
|
-
`@okxweb3/a2a-node v${"0.2.17
|
|
70079
|
+
`@okxweb3/a2a-node v${"0.2.17"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
70080
70080
|
);
|
|
70081
70081
|
}
|
|
70082
70082
|
const systemConfig = service.getSystemConfig();
|
|
@@ -70104,7 +70104,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
70104
70104
|
onchainosAgentId: "*",
|
|
70105
70105
|
reason: "system-config missing sentryDsn",
|
|
70106
70106
|
pluginId: "@okxweb3/a2a-node",
|
|
70107
|
-
pluginVersion: "0.2.17
|
|
70107
|
+
pluginVersion: "0.2.17"
|
|
70108
70108
|
});
|
|
70109
70109
|
}
|
|
70110
70110
|
logWithTimestamp(
|
|
@@ -118447,7 +118447,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
118447
118447
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
118448
118448
|
}
|
|
118449
118449
|
function getBundledNodeCliVersion() {
|
|
118450
|
-
return true ? "0.2.17
|
|
118450
|
+
return true ? "0.2.17" : null;
|
|
118451
118451
|
}
|
|
118452
118452
|
function readConfiguredAiProvider() {
|
|
118453
118453
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -118657,7 +118657,7 @@ async function updateHermes(release, options) {
|
|
|
118657
118657
|
}
|
|
118658
118658
|
}
|
|
118659
118659
|
async function installGatewayPluginForDoctor(target) {
|
|
118660
|
-
const release = isPrereleaseVersion("0.2.17
|
|
118660
|
+
const release = isPrereleaseVersion("0.2.17") ? "beta" : "latest";
|
|
118661
118661
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
118662
118662
|
const options = {
|
|
118663
118663
|
restart: !insideTargetGateway,
|
|
@@ -119710,7 +119710,7 @@ async function runDoctor(options = {}) {
|
|
|
119710
119710
|
platform: options.platform ?? process.platform,
|
|
119711
119711
|
env: options.env ?? process.env,
|
|
119712
119712
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
119713
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.17
|
|
119713
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.17" : "0.0.0"),
|
|
119714
119714
|
fixMode: options.fix === true,
|
|
119715
119715
|
nonInteractive: options.nonInteractive === true,
|
|
119716
119716
|
packageChanged: false,
|
|
@@ -120817,7 +120817,7 @@ init_sentry_config();
|
|
|
120817
120817
|
init_runtime_metadata();
|
|
120818
120818
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
120819
120819
|
function printUsage3() {
|
|
120820
|
-
console.log(`okx-a2a ${"0.2.17
|
|
120820
|
+
console.log(`okx-a2a ${"0.2.17"}
|
|
120821
120821
|
|
|
120822
120822
|
Usage:
|
|
120823
120823
|
okx-a2a <command> [options]
|
|
@@ -120859,7 +120859,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
120859
120859
|
`);
|
|
120860
120860
|
}
|
|
120861
120861
|
function printVersion() {
|
|
120862
|
-
console.log("0.2.17
|
|
120862
|
+
console.log("0.2.17");
|
|
120863
120863
|
}
|
|
120864
120864
|
function printDaemonUsage() {
|
|
120865
120865
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
|
@@ -122354,7 +122354,7 @@ async function main() {
|
|
|
122354
122354
|
if (command === "xmtp-test") {
|
|
122355
122355
|
const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
|
|
122356
122356
|
await handleXmtpTestCommand2(process.argv.slice(3), {
|
|
122357
|
-
packageVersion: "0.2.17
|
|
122357
|
+
packageVersion: "0.2.17",
|
|
122358
122358
|
agentSdkVersion: "2.3.0",
|
|
122359
122359
|
nodeSdkVersion: "6.1.0",
|
|
122360
122360
|
nodeBindingsVersion: "1.11.0"
|
package/dist/index.js
CHANGED
|
@@ -32465,7 +32465,7 @@ var init_sentry_config = __esm({
|
|
|
32465
32465
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
32466
32466
|
SENTRY_CONFIG = {
|
|
32467
32467
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
32468
|
-
release: "0.2.17
|
|
32468
|
+
release: "0.2.17",
|
|
32469
32469
|
environment,
|
|
32470
32470
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
32471
32471
|
};
|
|
@@ -33421,7 +33421,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
33421
33421
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
33422
33422
|
}
|
|
33423
33423
|
function getBundledNodeCliVersion() {
|
|
33424
|
-
return true ? "0.2.17
|
|
33424
|
+
return true ? "0.2.17" : null;
|
|
33425
33425
|
}
|
|
33426
33426
|
function readConfiguredAiProvider() {
|
|
33427
33427
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -33631,7 +33631,7 @@ async function updateHermes(release, options) {
|
|
|
33631
33631
|
}
|
|
33632
33632
|
}
|
|
33633
33633
|
async function installGatewayPluginForDoctor(target) {
|
|
33634
|
-
const release = isPrereleaseVersion("0.2.17
|
|
33634
|
+
const release = isPrereleaseVersion("0.2.17") ? "beta" : "latest";
|
|
33635
33635
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
33636
33636
|
const options = {
|
|
33637
33637
|
restart: !insideTargetGateway,
|
|
@@ -61716,7 +61716,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61716
61716
|
client: {
|
|
61717
61717
|
id: "gateway-client",
|
|
61718
61718
|
displayName: "okx-a2a-node",
|
|
61719
|
-
version: "0.2.17
|
|
61719
|
+
version: "0.2.17",
|
|
61720
61720
|
platform: "node",
|
|
61721
61721
|
mode: "backend",
|
|
61722
61722
|
instanceId
|
|
@@ -61727,7 +61727,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61727
61727
|
commands: [],
|
|
61728
61728
|
permissions: {},
|
|
61729
61729
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
61730
|
-
userAgent: `okx-a2a-node/${"0.2.17
|
|
61730
|
+
userAgent: `okx-a2a-node/${"0.2.17"}`,
|
|
61731
61731
|
auth: {
|
|
61732
61732
|
...config.token ? { token: config.token } : {},
|
|
61733
61733
|
...config.password ? { password: config.password } : {}
|
|
@@ -68067,12 +68067,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
68067
68067
|
});
|
|
68068
68068
|
}
|
|
68069
68069
|
});
|
|
68070
|
-
service.setPluginVersion("0.2.17
|
|
68070
|
+
service.setPluginVersion("0.2.17");
|
|
68071
68071
|
await service.init();
|
|
68072
68072
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
68073
68073
|
if (pluginVersionStatus.unavailable) {
|
|
68074
68074
|
throw new Error(
|
|
68075
|
-
`@okxweb3/a2a-node v${"0.2.17
|
|
68075
|
+
`@okxweb3/a2a-node v${"0.2.17"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
68076
68076
|
);
|
|
68077
68077
|
}
|
|
68078
68078
|
const systemConfig = service.getSystemConfig();
|
|
@@ -68100,7 +68100,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
68100
68100
|
onchainosAgentId: "*",
|
|
68101
68101
|
reason: "system-config missing sentryDsn",
|
|
68102
68102
|
pluginId: "@okxweb3/a2a-node",
|
|
68103
|
-
pluginVersion: "0.2.17
|
|
68103
|
+
pluginVersion: "0.2.17"
|
|
68104
68104
|
});
|
|
68105
68105
|
}
|
|
68106
68106
|
logWithTimestamp(
|
|
@@ -70873,7 +70873,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
70873
70873
|
node: process.version,
|
|
70874
70874
|
platform: process.platform,
|
|
70875
70875
|
arch: process.arch,
|
|
70876
|
-
packageVersion: true ? "0.2.17
|
|
70876
|
+
packageVersion: true ? "0.2.17" : "unknown",
|
|
70877
70877
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
70878
70878
|
listenerAndLlmContentIncluded: true,
|
|
70879
70879
|
credentialsAlwaysRedacted: true,
|
|
@@ -72785,7 +72785,7 @@ async function runDoctor(options = {}) {
|
|
|
72785
72785
|
platform: options.platform ?? process.platform,
|
|
72786
72786
|
env: options.env ?? process.env,
|
|
72787
72787
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
72788
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.17
|
|
72788
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.17" : "0.0.0"),
|
|
72789
72789
|
fixMode: options.fix === true,
|
|
72790
72790
|
nonInteractive: options.nonInteractive === true,
|
|
72791
72791
|
packageChanged: false,
|
package/package.json
CHANGED