@okxweb3/a2a-node 0.1.11-beta-92dd88d68a-260730181733 → 0.1.11
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 +12 -12
- package/dist/index.js +10 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9366,7 +9366,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
9366
9366
|
client: {
|
|
9367
9367
|
id: "gateway-client",
|
|
9368
9368
|
displayName: "okx-a2a-node",
|
|
9369
|
-
version: "0.1.11
|
|
9369
|
+
version: "0.1.11",
|
|
9370
9370
|
platform: "node",
|
|
9371
9371
|
mode: "backend",
|
|
9372
9372
|
instanceId
|
|
@@ -9377,7 +9377,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
9377
9377
|
commands: [],
|
|
9378
9378
|
permissions: {},
|
|
9379
9379
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
9380
|
-
userAgent: `okx-a2a-node/${"0.1.11
|
|
9380
|
+
userAgent: `okx-a2a-node/${"0.1.11"}`,
|
|
9381
9381
|
auth: {
|
|
9382
9382
|
...config.token ? { token: config.token } : {},
|
|
9383
9383
|
...config.password ? { password: config.password } : {}
|
|
@@ -27064,7 +27064,7 @@ var init_sentry_config = __esm({
|
|
|
27064
27064
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
27065
27065
|
SENTRY_CONFIG = {
|
|
27066
27066
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
27067
|
-
release: "0.1.11
|
|
27067
|
+
release: "0.1.11",
|
|
27068
27068
|
environment,
|
|
27069
27069
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
27070
27070
|
};
|
|
@@ -38234,7 +38234,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
38234
38234
|
node: process.version,
|
|
38235
38235
|
platform: process.platform,
|
|
38236
38236
|
arch: process.arch,
|
|
38237
|
-
packageVersion: true ? "0.1.11
|
|
38237
|
+
packageVersion: true ? "0.1.11" : "unknown",
|
|
38238
38238
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
38239
38239
|
listenerAndLlmContentIncluded: true,
|
|
38240
38240
|
credentialsAlwaysRedacted: true,
|
|
@@ -107718,12 +107718,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
107718
107718
|
});
|
|
107719
107719
|
}
|
|
107720
107720
|
});
|
|
107721
|
-
service.setPluginVersion("0.1.11
|
|
107721
|
+
service.setPluginVersion("0.1.11");
|
|
107722
107722
|
await service.init();
|
|
107723
107723
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
107724
107724
|
if (pluginVersionStatus.unavailable) {
|
|
107725
107725
|
throw new Error(
|
|
107726
|
-
`@okxweb3/a2a-node v${"0.1.11
|
|
107726
|
+
`@okxweb3/a2a-node v${"0.1.11"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
107727
107727
|
);
|
|
107728
107728
|
}
|
|
107729
107729
|
const systemConfig = service.getSystemConfig();
|
|
@@ -107741,7 +107741,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
107741
107741
|
onchainosAgentId: "*",
|
|
107742
107742
|
reason: "system-config missing sentryDsn",
|
|
107743
107743
|
pluginId: "@okxweb3/a2a-node",
|
|
107744
|
-
pluginVersion: "0.1.11
|
|
107744
|
+
pluginVersion: "0.1.11"
|
|
107745
107745
|
});
|
|
107746
107746
|
}
|
|
107747
107747
|
logWithTimestamp(
|
|
@@ -111763,7 +111763,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
111763
111763
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
111764
111764
|
}
|
|
111765
111765
|
function getBundledNodeCliVersion() {
|
|
111766
|
-
return true ? "0.1.11
|
|
111766
|
+
return true ? "0.1.11" : null;
|
|
111767
111767
|
}
|
|
111768
111768
|
function readConfiguredAiProvider() {
|
|
111769
111769
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -111973,7 +111973,7 @@ async function updateHermes(release, options) {
|
|
|
111973
111973
|
}
|
|
111974
111974
|
}
|
|
111975
111975
|
async function installGatewayPluginForDoctor(target) {
|
|
111976
|
-
const release = isPrereleaseVersion("0.1.11
|
|
111976
|
+
const release = isPrereleaseVersion("0.1.11") ? "beta" : "latest";
|
|
111977
111977
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
111978
111978
|
const options = {
|
|
111979
111979
|
restart: !insideTargetGateway,
|
|
@@ -112961,7 +112961,7 @@ async function runDoctor(options = {}) {
|
|
|
112961
112961
|
platform: options.platform ?? process.platform,
|
|
112962
112962
|
env: options.env ?? process.env,
|
|
112963
112963
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
112964
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.11
|
|
112964
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.11" : "0.0.0"),
|
|
112965
112965
|
fixMode: options.fix === true,
|
|
112966
112966
|
nonInteractive: options.nonInteractive === true,
|
|
112967
112967
|
packageChanged: false,
|
|
@@ -114116,7 +114116,7 @@ init_sentry_logger();
|
|
|
114116
114116
|
init_sentry_config();
|
|
114117
114117
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
114118
114118
|
function printUsage2() {
|
|
114119
|
-
console.log(`okx-a2a ${"0.1.11
|
|
114119
|
+
console.log(`okx-a2a ${"0.1.11"}
|
|
114120
114120
|
|
|
114121
114121
|
Usage:
|
|
114122
114122
|
okx-a2a <command> [options]
|
|
@@ -114154,7 +114154,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
114154
114154
|
`);
|
|
114155
114155
|
}
|
|
114156
114156
|
function printVersion() {
|
|
114157
|
-
console.log("0.1.11
|
|
114157
|
+
console.log("0.1.11");
|
|
114158
114158
|
}
|
|
114159
114159
|
function printDaemonUsage() {
|
|
114160
114160
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
package/dist/index.js
CHANGED
|
@@ -73047,7 +73047,7 @@ var init_sentry_config = __esm({
|
|
|
73047
73047
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
73048
73048
|
SENTRY_CONFIG = {
|
|
73049
73049
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
73050
|
-
release: "0.1.11
|
|
73050
|
+
release: "0.1.11",
|
|
73051
73051
|
environment,
|
|
73052
73052
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
73053
73053
|
};
|
|
@@ -73977,7 +73977,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
73977
73977
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
73978
73978
|
}
|
|
73979
73979
|
function getBundledNodeCliVersion() {
|
|
73980
|
-
return true ? "0.1.11
|
|
73980
|
+
return true ? "0.1.11" : null;
|
|
73981
73981
|
}
|
|
73982
73982
|
function readConfiguredAiProvider() {
|
|
73983
73983
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -74187,7 +74187,7 @@ async function updateHermes(release, options) {
|
|
|
74187
74187
|
}
|
|
74188
74188
|
}
|
|
74189
74189
|
async function installGatewayPluginForDoctor(target) {
|
|
74190
|
-
const release = isPrereleaseVersion("0.1.11
|
|
74190
|
+
const release = isPrereleaseVersion("0.1.11") ? "beta" : "latest";
|
|
74191
74191
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
74192
74192
|
const options = {
|
|
74193
74193
|
restart: !insideTargetGateway,
|
|
@@ -100996,7 +100996,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
100996
100996
|
client: {
|
|
100997
100997
|
id: "gateway-client",
|
|
100998
100998
|
displayName: "okx-a2a-node",
|
|
100999
|
-
version: "0.1.11
|
|
100999
|
+
version: "0.1.11",
|
|
101000
101000
|
platform: "node",
|
|
101001
101001
|
mode: "backend",
|
|
101002
101002
|
instanceId
|
|
@@ -101007,7 +101007,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
101007
101007
|
commands: [],
|
|
101008
101008
|
permissions: {},
|
|
101009
101009
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
101010
|
-
userAgent: `okx-a2a-node/${"0.1.11
|
|
101010
|
+
userAgent: `okx-a2a-node/${"0.1.11"}`,
|
|
101011
101011
|
auth: {
|
|
101012
101012
|
...config.token ? { token: config.token } : {},
|
|
101013
101013
|
...config.password ? { password: config.password } : {}
|
|
@@ -106307,12 +106307,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
106307
106307
|
});
|
|
106308
106308
|
}
|
|
106309
106309
|
});
|
|
106310
|
-
service.setPluginVersion("0.1.11
|
|
106310
|
+
service.setPluginVersion("0.1.11");
|
|
106311
106311
|
await service.init();
|
|
106312
106312
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
106313
106313
|
if (pluginVersionStatus.unavailable) {
|
|
106314
106314
|
throw new Error(
|
|
106315
|
-
`@okxweb3/a2a-node v${"0.1.11
|
|
106315
|
+
`@okxweb3/a2a-node v${"0.1.11"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
106316
106316
|
);
|
|
106317
106317
|
}
|
|
106318
106318
|
const systemConfig = service.getSystemConfig();
|
|
@@ -106330,7 +106330,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
106330
106330
|
onchainosAgentId: "*",
|
|
106331
106331
|
reason: "system-config missing sentryDsn",
|
|
106332
106332
|
pluginId: "@okxweb3/a2a-node",
|
|
106333
|
-
pluginVersion: "0.1.11
|
|
106333
|
+
pluginVersion: "0.1.11"
|
|
106334
106334
|
});
|
|
106335
106335
|
}
|
|
106336
106336
|
logWithTimestamp(
|
|
@@ -108219,7 +108219,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
108219
108219
|
node: process.version,
|
|
108220
108220
|
platform: process.platform,
|
|
108221
108221
|
arch: process.arch,
|
|
108222
|
-
packageVersion: true ? "0.1.11
|
|
108222
|
+
packageVersion: true ? "0.1.11" : "unknown",
|
|
108223
108223
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
108224
108224
|
listenerAndLlmContentIncluded: true,
|
|
108225
108225
|
credentialsAlwaysRedacted: true,
|
|
@@ -109944,7 +109944,7 @@ async function runDoctor(options = {}) {
|
|
|
109944
109944
|
platform: options.platform ?? process.platform,
|
|
109945
109945
|
env: options.env ?? process.env,
|
|
109946
109946
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
109947
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.11
|
|
109947
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.11" : "0.0.0"),
|
|
109948
109948
|
fixMode: options.fix === true,
|
|
109949
109949
|
nonInteractive: options.nonInteractive === true,
|
|
109950
109950
|
packageChanged: false,
|
package/package.json
CHANGED