@okxweb3/a2a-node 0.2.9-beta-cb068eb2d0-260824220115 → 0.2.9
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
|
@@ -26934,7 +26934,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26934
26934
|
client: {
|
|
26935
26935
|
id: "gateway-client",
|
|
26936
26936
|
displayName: "okx-a2a-node",
|
|
26937
|
-
version: "0.2.9
|
|
26937
|
+
version: "0.2.9",
|
|
26938
26938
|
platform: "node",
|
|
26939
26939
|
mode: "backend",
|
|
26940
26940
|
instanceId
|
|
@@ -26945,7 +26945,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26945
26945
|
commands: [],
|
|
26946
26946
|
permissions: {},
|
|
26947
26947
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
26948
|
-
userAgent: `okx-a2a-node/${"0.2.9
|
|
26948
|
+
userAgent: `okx-a2a-node/${"0.2.9"}`,
|
|
26949
26949
|
auth: {
|
|
26950
26950
|
...config.token ? { token: config.token } : {},
|
|
26951
26951
|
...config.password ? { password: config.password } : {}
|
|
@@ -28912,7 +28912,7 @@ var init_sentry_config = __esm({
|
|
|
28912
28912
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
28913
28913
|
SENTRY_CONFIG = {
|
|
28914
28914
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
28915
|
-
release: "0.2.9
|
|
28915
|
+
release: "0.2.9",
|
|
28916
28916
|
environment,
|
|
28917
28917
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
28918
28918
|
};
|
|
@@ -40082,7 +40082,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
40082
40082
|
node: process.version,
|
|
40083
40083
|
platform: process.platform,
|
|
40084
40084
|
arch: process.arch,
|
|
40085
|
-
packageVersion: true ? "0.2.9
|
|
40085
|
+
packageVersion: true ? "0.2.9" : "unknown",
|
|
40086
40086
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
40087
40087
|
listenerAndLlmContentIncluded: true,
|
|
40088
40088
|
credentialsAlwaysRedacted: true,
|
|
@@ -68168,12 +68168,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
68168
68168
|
});
|
|
68169
68169
|
}
|
|
68170
68170
|
});
|
|
68171
|
-
service.setPluginVersion("0.2.9
|
|
68171
|
+
service.setPluginVersion("0.2.9");
|
|
68172
68172
|
await service.init();
|
|
68173
68173
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
68174
68174
|
if (pluginVersionStatus.unavailable) {
|
|
68175
68175
|
throw new Error(
|
|
68176
|
-
`@okxweb3/a2a-node v${"0.2.9
|
|
68176
|
+
`@okxweb3/a2a-node v${"0.2.9"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
68177
68177
|
);
|
|
68178
68178
|
}
|
|
68179
68179
|
const systemConfig = service.getSystemConfig();
|
|
@@ -68201,7 +68201,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
68201
68201
|
onchainosAgentId: "*",
|
|
68202
68202
|
reason: "system-config missing sentryDsn",
|
|
68203
68203
|
pluginId: "@okxweb3/a2a-node",
|
|
68204
|
-
pluginVersion: "0.2.9
|
|
68204
|
+
pluginVersion: "0.2.9"
|
|
68205
68205
|
});
|
|
68206
68206
|
}
|
|
68207
68207
|
logWithTimestamp(
|
|
@@ -116608,7 +116608,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
116608
116608
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
116609
116609
|
}
|
|
116610
116610
|
function getBundledNodeCliVersion() {
|
|
116611
|
-
return true ? "0.2.9
|
|
116611
|
+
return true ? "0.2.9" : null;
|
|
116612
116612
|
}
|
|
116613
116613
|
function readConfiguredAiProvider() {
|
|
116614
116614
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -116818,7 +116818,7 @@ async function updateHermes(release, options) {
|
|
|
116818
116818
|
}
|
|
116819
116819
|
}
|
|
116820
116820
|
async function installGatewayPluginForDoctor(target) {
|
|
116821
|
-
const release = isPrereleaseVersion("0.2.9
|
|
116821
|
+
const release = isPrereleaseVersion("0.2.9") ? "beta" : "latest";
|
|
116822
116822
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
116823
116823
|
const options = {
|
|
116824
116824
|
restart: !insideTargetGateway,
|
|
@@ -117871,7 +117871,7 @@ async function runDoctor(options = {}) {
|
|
|
117871
117871
|
platform: options.platform ?? process.platform,
|
|
117872
117872
|
env: options.env ?? process.env,
|
|
117873
117873
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
117874
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.9
|
|
117874
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.9" : "0.0.0"),
|
|
117875
117875
|
fixMode: options.fix === true,
|
|
117876
117876
|
nonInteractive: options.nonInteractive === true,
|
|
117877
117877
|
packageChanged: false,
|
|
@@ -118899,7 +118899,7 @@ init_sentry_config();
|
|
|
118899
118899
|
init_runtime_metadata();
|
|
118900
118900
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
118901
118901
|
function printUsage3() {
|
|
118902
|
-
console.log(`okx-a2a ${"0.2.9
|
|
118902
|
+
console.log(`okx-a2a ${"0.2.9"}
|
|
118903
118903
|
|
|
118904
118904
|
Usage:
|
|
118905
118905
|
okx-a2a <command> [options]
|
|
@@ -118939,7 +118939,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
118939
118939
|
`);
|
|
118940
118940
|
}
|
|
118941
118941
|
function printVersion() {
|
|
118942
|
-
console.log("0.2.9
|
|
118942
|
+
console.log("0.2.9");
|
|
118943
118943
|
}
|
|
118944
118944
|
function printDaemonUsage() {
|
|
118945
118945
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
|
@@ -120420,7 +120420,7 @@ async function main() {
|
|
|
120420
120420
|
if (command === "xmtp-test") {
|
|
120421
120421
|
const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
|
|
120422
120422
|
await handleXmtpTestCommand2(process.argv.slice(3), {
|
|
120423
|
-
packageVersion: "0.2.9
|
|
120423
|
+
packageVersion: "0.2.9",
|
|
120424
120424
|
agentSdkVersion: "2.3.0",
|
|
120425
120425
|
nodeSdkVersion: "6.1.0",
|
|
120426
120426
|
nodeBindingsVersion: "1.11.0"
|
package/dist/index.js
CHANGED
|
@@ -32437,7 +32437,7 @@ var init_sentry_config = __esm({
|
|
|
32437
32437
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
32438
32438
|
SENTRY_CONFIG = {
|
|
32439
32439
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
32440
|
-
release: "0.2.9
|
|
32440
|
+
release: "0.2.9",
|
|
32441
32441
|
environment,
|
|
32442
32442
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
32443
32443
|
};
|
|
@@ -33378,7 +33378,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
33378
33378
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
33379
33379
|
}
|
|
33380
33380
|
function getBundledNodeCliVersion() {
|
|
33381
|
-
return true ? "0.2.9
|
|
33381
|
+
return true ? "0.2.9" : null;
|
|
33382
33382
|
}
|
|
33383
33383
|
function readConfiguredAiProvider() {
|
|
33384
33384
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -33588,7 +33588,7 @@ async function updateHermes(release, options) {
|
|
|
33588
33588
|
}
|
|
33589
33589
|
}
|
|
33590
33590
|
async function installGatewayPluginForDoctor(target) {
|
|
33591
|
-
const release = isPrereleaseVersion("0.2.9
|
|
33591
|
+
const release = isPrereleaseVersion("0.2.9") ? "beta" : "latest";
|
|
33592
33592
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
33593
33593
|
const options = {
|
|
33594
33594
|
restart: !insideTargetGateway,
|
|
@@ -61023,7 +61023,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61023
61023
|
client: {
|
|
61024
61024
|
id: "gateway-client",
|
|
61025
61025
|
displayName: "okx-a2a-node",
|
|
61026
|
-
version: "0.2.9
|
|
61026
|
+
version: "0.2.9",
|
|
61027
61027
|
platform: "node",
|
|
61028
61028
|
mode: "backend",
|
|
61029
61029
|
instanceId
|
|
@@ -61034,7 +61034,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61034
61034
|
commands: [],
|
|
61035
61035
|
permissions: {},
|
|
61036
61036
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
61037
|
-
userAgent: `okx-a2a-node/${"0.2.9
|
|
61037
|
+
userAgent: `okx-a2a-node/${"0.2.9"}`,
|
|
61038
61038
|
auth: {
|
|
61039
61039
|
...config.token ? { token: config.token } : {},
|
|
61040
61040
|
...config.password ? { password: config.password } : {}
|
|
@@ -67262,12 +67262,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
67262
67262
|
});
|
|
67263
67263
|
}
|
|
67264
67264
|
});
|
|
67265
|
-
service.setPluginVersion("0.2.9
|
|
67265
|
+
service.setPluginVersion("0.2.9");
|
|
67266
67266
|
await service.init();
|
|
67267
67267
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
67268
67268
|
if (pluginVersionStatus.unavailable) {
|
|
67269
67269
|
throw new Error(
|
|
67270
|
-
`@okxweb3/a2a-node v${"0.2.9
|
|
67270
|
+
`@okxweb3/a2a-node v${"0.2.9"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
67271
67271
|
);
|
|
67272
67272
|
}
|
|
67273
67273
|
const systemConfig = service.getSystemConfig();
|
|
@@ -67295,7 +67295,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
67295
67295
|
onchainosAgentId: "*",
|
|
67296
67296
|
reason: "system-config missing sentryDsn",
|
|
67297
67297
|
pluginId: "@okxweb3/a2a-node",
|
|
67298
|
-
pluginVersion: "0.2.9
|
|
67298
|
+
pluginVersion: "0.2.9"
|
|
67299
67299
|
});
|
|
67300
67300
|
}
|
|
67301
67301
|
logWithTimestamp(
|
|
@@ -69996,7 +69996,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
69996
69996
|
node: process.version,
|
|
69997
69997
|
platform: process.platform,
|
|
69998
69998
|
arch: process.arch,
|
|
69999
|
-
packageVersion: true ? "0.2.9
|
|
69999
|
+
packageVersion: true ? "0.2.9" : "unknown",
|
|
70000
70000
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
70001
70001
|
listenerAndLlmContentIncluded: true,
|
|
70002
70002
|
credentialsAlwaysRedacted: true,
|
|
@@ -71878,7 +71878,7 @@ async function runDoctor(options = {}) {
|
|
|
71878
71878
|
platform: options.platform ?? process.platform,
|
|
71879
71879
|
env: options.env ?? process.env,
|
|
71880
71880
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
71881
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.9
|
|
71881
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.9" : "0.0.0"),
|
|
71882
71882
|
fixMode: options.fix === true,
|
|
71883
71883
|
nonInteractive: options.nonInteractive === true,
|
|
71884
71884
|
packageChanged: false,
|
package/package.json
CHANGED