@okxweb3/a2a-node 0.2.3-beta-6f2a8ec2c7-260810184309 → 0.2.3
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
|
@@ -26604,7 +26604,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26604
26604
|
client: {
|
|
26605
26605
|
id: "gateway-client",
|
|
26606
26606
|
displayName: "okx-a2a-node",
|
|
26607
|
-
version: "0.2.3
|
|
26607
|
+
version: "0.2.3",
|
|
26608
26608
|
platform: "node",
|
|
26609
26609
|
mode: "backend",
|
|
26610
26610
|
instanceId
|
|
@@ -26615,7 +26615,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26615
26615
|
commands: [],
|
|
26616
26616
|
permissions: {},
|
|
26617
26617
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
26618
|
-
userAgent: `okx-a2a-node/${"0.2.3
|
|
26618
|
+
userAgent: `okx-a2a-node/${"0.2.3"}`,
|
|
26619
26619
|
auth: {
|
|
26620
26620
|
...config.token ? { token: config.token } : {},
|
|
26621
26621
|
...config.password ? { password: config.password } : {}
|
|
@@ -28499,7 +28499,7 @@ var init_sentry_config = __esm({
|
|
|
28499
28499
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
28500
28500
|
SENTRY_CONFIG = {
|
|
28501
28501
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
28502
|
-
release: "0.2.3
|
|
28502
|
+
release: "0.2.3",
|
|
28503
28503
|
environment,
|
|
28504
28504
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
28505
28505
|
};
|
|
@@ -39669,7 +39669,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
39669
39669
|
node: process.version,
|
|
39670
39670
|
platform: process.platform,
|
|
39671
39671
|
arch: process.arch,
|
|
39672
|
-
packageVersion: true ? "0.2.3
|
|
39672
|
+
packageVersion: true ? "0.2.3" : "unknown",
|
|
39673
39673
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
39674
39674
|
listenerAndLlmContentIncluded: true,
|
|
39675
39675
|
credentialsAlwaysRedacted: true,
|
|
@@ -67270,12 +67270,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
67270
67270
|
});
|
|
67271
67271
|
}
|
|
67272
67272
|
});
|
|
67273
|
-
service.setPluginVersion("0.2.3
|
|
67273
|
+
service.setPluginVersion("0.2.3");
|
|
67274
67274
|
await service.init();
|
|
67275
67275
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
67276
67276
|
if (pluginVersionStatus.unavailable) {
|
|
67277
67277
|
throw new Error(
|
|
67278
|
-
`@okxweb3/a2a-node v${"0.2.3
|
|
67278
|
+
`@okxweb3/a2a-node v${"0.2.3"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
67279
67279
|
);
|
|
67280
67280
|
}
|
|
67281
67281
|
const systemConfig = service.getSystemConfig();
|
|
@@ -67293,7 +67293,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
67293
67293
|
onchainosAgentId: "*",
|
|
67294
67294
|
reason: "system-config missing sentryDsn",
|
|
67295
67295
|
pluginId: "@okxweb3/a2a-node",
|
|
67296
|
-
pluginVersion: "0.2.3
|
|
67296
|
+
pluginVersion: "0.2.3"
|
|
67297
67297
|
});
|
|
67298
67298
|
}
|
|
67299
67299
|
logWithTimestamp(
|
|
@@ -115480,7 +115480,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
115480
115480
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
115481
115481
|
}
|
|
115482
115482
|
function getBundledNodeCliVersion() {
|
|
115483
|
-
return true ? "0.2.3
|
|
115483
|
+
return true ? "0.2.3" : null;
|
|
115484
115484
|
}
|
|
115485
115485
|
function readConfiguredAiProvider() {
|
|
115486
115486
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -115690,7 +115690,7 @@ async function updateHermes(release, options) {
|
|
|
115690
115690
|
}
|
|
115691
115691
|
}
|
|
115692
115692
|
async function installGatewayPluginForDoctor(target) {
|
|
115693
|
-
const release = isPrereleaseVersion("0.2.3
|
|
115693
|
+
const release = isPrereleaseVersion("0.2.3") ? "beta" : "latest";
|
|
115694
115694
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
115695
115695
|
const options = {
|
|
115696
115696
|
restart: !insideTargetGateway,
|
|
@@ -116733,7 +116733,7 @@ async function runDoctor(options = {}) {
|
|
|
116733
116733
|
platform: options.platform ?? process.platform,
|
|
116734
116734
|
env: options.env ?? process.env,
|
|
116735
116735
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
116736
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.3
|
|
116736
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.3" : "0.0.0"),
|
|
116737
116737
|
fixMode: options.fix === true,
|
|
116738
116738
|
nonInteractive: options.nonInteractive === true,
|
|
116739
116739
|
packageChanged: false,
|
|
@@ -117730,7 +117730,7 @@ init_sentry_logger();
|
|
|
117730
117730
|
init_sentry_config();
|
|
117731
117731
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
117732
117732
|
function printUsage3() {
|
|
117733
|
-
console.log(`okx-a2a ${"0.2.3
|
|
117733
|
+
console.log(`okx-a2a ${"0.2.3"}
|
|
117734
117734
|
|
|
117735
117735
|
Usage:
|
|
117736
117736
|
okx-a2a <command> [options]
|
|
@@ -117770,7 +117770,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
117770
117770
|
`);
|
|
117771
117771
|
}
|
|
117772
117772
|
function printVersion() {
|
|
117773
|
-
console.log("0.2.3
|
|
117773
|
+
console.log("0.2.3");
|
|
117774
117774
|
}
|
|
117775
117775
|
function printDaemonUsage() {
|
|
117776
117776
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
|
@@ -119206,7 +119206,7 @@ async function main() {
|
|
|
119206
119206
|
if (command === "xmtp-test") {
|
|
119207
119207
|
const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
|
|
119208
119208
|
await handleXmtpTestCommand2(process.argv.slice(3), {
|
|
119209
|
-
packageVersion: "0.2.3
|
|
119209
|
+
packageVersion: "0.2.3",
|
|
119210
119210
|
agentSdkVersion: "2.3.0",
|
|
119211
119211
|
nodeSdkVersion: "6.1.0",
|
|
119212
119212
|
nodeBindingsVersion: "1.11.0"
|
package/dist/index.js
CHANGED
|
@@ -32104,7 +32104,7 @@ var init_sentry_config = __esm({
|
|
|
32104
32104
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
32105
32105
|
SENTRY_CONFIG = {
|
|
32106
32106
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
32107
|
-
release: "0.2.3
|
|
32107
|
+
release: "0.2.3",
|
|
32108
32108
|
environment,
|
|
32109
32109
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
32110
32110
|
};
|
|
@@ -33045,7 +33045,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
33045
33045
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
33046
33046
|
}
|
|
33047
33047
|
function getBundledNodeCliVersion() {
|
|
33048
|
-
return true ? "0.2.3
|
|
33048
|
+
return true ? "0.2.3" : null;
|
|
33049
33049
|
}
|
|
33050
33050
|
function readConfiguredAiProvider() {
|
|
33051
33051
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -33255,7 +33255,7 @@ async function updateHermes(release, options) {
|
|
|
33255
33255
|
}
|
|
33256
33256
|
}
|
|
33257
33257
|
async function installGatewayPluginForDoctor(target) {
|
|
33258
|
-
const release = isPrereleaseVersion("0.2.3
|
|
33258
|
+
const release = isPrereleaseVersion("0.2.3") ? "beta" : "latest";
|
|
33259
33259
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
33260
33260
|
const options = {
|
|
33261
33261
|
restart: !insideTargetGateway,
|
|
@@ -60181,7 +60181,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
60181
60181
|
client: {
|
|
60182
60182
|
id: "gateway-client",
|
|
60183
60183
|
displayName: "okx-a2a-node",
|
|
60184
|
-
version: "0.2.3
|
|
60184
|
+
version: "0.2.3",
|
|
60185
60185
|
platform: "node",
|
|
60186
60186
|
mode: "backend",
|
|
60187
60187
|
instanceId
|
|
@@ -60192,7 +60192,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
60192
60192
|
commands: [],
|
|
60193
60193
|
permissions: {},
|
|
60194
60194
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
60195
|
-
userAgent: `okx-a2a-node/${"0.2.3
|
|
60195
|
+
userAgent: `okx-a2a-node/${"0.2.3"}`,
|
|
60196
60196
|
auth: {
|
|
60197
60197
|
...config.token ? { token: config.token } : {},
|
|
60198
60198
|
...config.password ? { password: config.password } : {}
|
|
@@ -66231,12 +66231,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
66231
66231
|
});
|
|
66232
66232
|
}
|
|
66233
66233
|
});
|
|
66234
|
-
service.setPluginVersion("0.2.3
|
|
66234
|
+
service.setPluginVersion("0.2.3");
|
|
66235
66235
|
await service.init();
|
|
66236
66236
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
66237
66237
|
if (pluginVersionStatus.unavailable) {
|
|
66238
66238
|
throw new Error(
|
|
66239
|
-
`@okxweb3/a2a-node v${"0.2.3
|
|
66239
|
+
`@okxweb3/a2a-node v${"0.2.3"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
66240
66240
|
);
|
|
66241
66241
|
}
|
|
66242
66242
|
const systemConfig = service.getSystemConfig();
|
|
@@ -66254,7 +66254,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
66254
66254
|
onchainosAgentId: "*",
|
|
66255
66255
|
reason: "system-config missing sentryDsn",
|
|
66256
66256
|
pluginId: "@okxweb3/a2a-node",
|
|
66257
|
-
pluginVersion: "0.2.3
|
|
66257
|
+
pluginVersion: "0.2.3"
|
|
66258
66258
|
});
|
|
66259
66259
|
}
|
|
66260
66260
|
logWithTimestamp(
|
|
@@ -68900,7 +68900,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
68900
68900
|
node: process.version,
|
|
68901
68901
|
platform: process.platform,
|
|
68902
68902
|
arch: process.arch,
|
|
68903
|
-
packageVersion: true ? "0.2.3
|
|
68903
|
+
packageVersion: true ? "0.2.3" : "unknown",
|
|
68904
68904
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
68905
68905
|
listenerAndLlmContentIncluded: true,
|
|
68906
68906
|
credentialsAlwaysRedacted: true,
|
|
@@ -70736,7 +70736,7 @@ async function runDoctor(options = {}) {
|
|
|
70736
70736
|
platform: options.platform ?? process.platform,
|
|
70737
70737
|
env: options.env ?? process.env,
|
|
70738
70738
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
70739
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.3
|
|
70739
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.3" : "0.0.0"),
|
|
70740
70740
|
fixMode: options.fix === true,
|
|
70741
70741
|
nonInteractive: options.nonInteractive === true,
|
|
70742
70742
|
packageChanged: false,
|
package/package.json
CHANGED