@okxweb3/a2a-node 0.1.6-beta-c3024b2b0b-260706164140 → 0.1.6
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 +11 -11
- package/dist/index.js +9 -9
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8300,7 +8300,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
8300
8300
|
client: {
|
|
8301
8301
|
id: "gateway-client",
|
|
8302
8302
|
displayName: "okx-a2a-node",
|
|
8303
|
-
version: "0.1.6
|
|
8303
|
+
version: "0.1.6",
|
|
8304
8304
|
platform: "node",
|
|
8305
8305
|
mode: "backend",
|
|
8306
8306
|
instanceId
|
|
@@ -8311,7 +8311,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
8311
8311
|
commands: [],
|
|
8312
8312
|
permissions: {},
|
|
8313
8313
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
8314
|
-
userAgent: `okx-a2a-node/${"0.1.6
|
|
8314
|
+
userAgent: `okx-a2a-node/${"0.1.6"}`,
|
|
8315
8315
|
auth: {
|
|
8316
8316
|
...config.token ? { token: config.token } : {},
|
|
8317
8317
|
...config.password ? { password: config.password } : {}
|
|
@@ -25568,7 +25568,7 @@ var init_sentry_config = __esm({
|
|
|
25568
25568
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
25569
25569
|
SENTRY_CONFIG = {
|
|
25570
25570
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
25571
|
-
release: "0.1.6
|
|
25571
|
+
release: "0.1.6",
|
|
25572
25572
|
environment
|
|
25573
25573
|
};
|
|
25574
25574
|
}
|
|
@@ -94086,12 +94086,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
94086
94086
|
}));
|
|
94087
94087
|
}
|
|
94088
94088
|
});
|
|
94089
|
-
service.setPluginVersion("0.1.6
|
|
94089
|
+
service.setPluginVersion("0.1.6");
|
|
94090
94090
|
await service.init();
|
|
94091
94091
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
94092
94092
|
if (pluginVersionStatus.unavailable) {
|
|
94093
94093
|
throw new Error(
|
|
94094
|
-
`@okxweb3/a2a-node v${"0.1.6
|
|
94094
|
+
`@okxweb3/a2a-node v${"0.1.6"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
94095
94095
|
);
|
|
94096
94096
|
}
|
|
94097
94097
|
const systemConfig = service.getSystemConfig();
|
|
@@ -94109,7 +94109,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
94109
94109
|
onchainosAgentId: "*",
|
|
94110
94110
|
reason: "system-config missing sentryDsn",
|
|
94111
94111
|
pluginId: "@okxweb3/a2a-node",
|
|
94112
|
-
pluginVersion: "0.1.6
|
|
94112
|
+
pluginVersion: "0.1.6"
|
|
94113
94113
|
});
|
|
94114
94114
|
}
|
|
94115
94115
|
logWithTimestamp(
|
|
@@ -98130,7 +98130,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
98130
98130
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
98131
98131
|
}
|
|
98132
98132
|
function getBundledNodeCliVersion() {
|
|
98133
|
-
return true ? "0.1.6
|
|
98133
|
+
return true ? "0.1.6" : null;
|
|
98134
98134
|
}
|
|
98135
98135
|
function readConfiguredAiProvider() {
|
|
98136
98136
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -98340,7 +98340,7 @@ async function updateHermes(release, options) {
|
|
|
98340
98340
|
}
|
|
98341
98341
|
}
|
|
98342
98342
|
async function installGatewayPluginForDoctor(target) {
|
|
98343
|
-
const release = isPrereleaseVersion("0.1.6
|
|
98343
|
+
const release = isPrereleaseVersion("0.1.6") ? "beta" : "latest";
|
|
98344
98344
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
98345
98345
|
const options = {
|
|
98346
98346
|
restart: !insideTargetGateway,
|
|
@@ -99225,7 +99225,7 @@ async function runDoctor(options = {}) {
|
|
|
99225
99225
|
platform: options.platform ?? process.platform,
|
|
99226
99226
|
env: options.env ?? process.env,
|
|
99227
99227
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
99228
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.6
|
|
99228
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.6" : "0.0.0"),
|
|
99229
99229
|
fixMode: options.fix === true,
|
|
99230
99230
|
nonInteractive: options.nonInteractive === true,
|
|
99231
99231
|
packageChanged: false
|
|
@@ -100318,7 +100318,7 @@ init_sentry_logger();
|
|
|
100318
100318
|
init_sentry_config();
|
|
100319
100319
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
100320
100320
|
function printUsage2() {
|
|
100321
|
-
console.log(`okx-a2a ${"0.1.6
|
|
100321
|
+
console.log(`okx-a2a ${"0.1.6"}
|
|
100322
100322
|
|
|
100323
100323
|
Usage:
|
|
100324
100324
|
okx-a2a <command> [options]
|
|
@@ -100356,7 +100356,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
100356
100356
|
`);
|
|
100357
100357
|
}
|
|
100358
100358
|
function printVersion() {
|
|
100359
|
-
console.log("0.1.6
|
|
100359
|
+
console.log("0.1.6");
|
|
100360
100360
|
}
|
|
100361
100361
|
function printDaemonUsage() {
|
|
100362
100362
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
package/dist/index.js
CHANGED
|
@@ -72344,7 +72344,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
72344
72344
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
72345
72345
|
}
|
|
72346
72346
|
function getBundledNodeCliVersion() {
|
|
72347
|
-
return true ? "0.1.6
|
|
72347
|
+
return true ? "0.1.6" : null;
|
|
72348
72348
|
}
|
|
72349
72349
|
function readConfiguredAiProvider() {
|
|
72350
72350
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -72554,7 +72554,7 @@ async function updateHermes(release, options) {
|
|
|
72554
72554
|
}
|
|
72555
72555
|
}
|
|
72556
72556
|
async function installGatewayPluginForDoctor(target) {
|
|
72557
|
-
const release = isPrereleaseVersion("0.1.6
|
|
72557
|
+
const release = isPrereleaseVersion("0.1.6") ? "beta" : "latest";
|
|
72558
72558
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
72559
72559
|
const options = {
|
|
72560
72560
|
restart: !insideTargetGateway,
|
|
@@ -89404,7 +89404,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
89404
89404
|
client: {
|
|
89405
89405
|
id: "gateway-client",
|
|
89406
89406
|
displayName: "okx-a2a-node",
|
|
89407
|
-
version: "0.1.6
|
|
89407
|
+
version: "0.1.6",
|
|
89408
89408
|
platform: "node",
|
|
89409
89409
|
mode: "backend",
|
|
89410
89410
|
instanceId
|
|
@@ -89415,7 +89415,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
89415
89415
|
commands: [],
|
|
89416
89416
|
permissions: {},
|
|
89417
89417
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
89418
|
-
userAgent: `okx-a2a-node/${"0.1.6
|
|
89418
|
+
userAgent: `okx-a2a-node/${"0.1.6"}`,
|
|
89419
89419
|
auth: {
|
|
89420
89420
|
...config.token ? { token: config.token } : {},
|
|
89421
89421
|
...config.password ? { password: config.password } : {}
|
|
@@ -93886,7 +93886,7 @@ init_ai_provider();
|
|
|
93886
93886
|
var environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
93887
93887
|
var SENTRY_CONFIG = {
|
|
93888
93888
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
93889
|
-
release: "0.1.6
|
|
93889
|
+
release: "0.1.6",
|
|
93890
93890
|
environment
|
|
93891
93891
|
};
|
|
93892
93892
|
|
|
@@ -94124,12 +94124,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
94124
94124
|
}));
|
|
94125
94125
|
}
|
|
94126
94126
|
});
|
|
94127
|
-
service.setPluginVersion("0.1.6
|
|
94127
|
+
service.setPluginVersion("0.1.6");
|
|
94128
94128
|
await service.init();
|
|
94129
94129
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
94130
94130
|
if (pluginVersionStatus.unavailable) {
|
|
94131
94131
|
throw new Error(
|
|
94132
|
-
`@okxweb3/a2a-node v${"0.1.6
|
|
94132
|
+
`@okxweb3/a2a-node v${"0.1.6"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
94133
94133
|
);
|
|
94134
94134
|
}
|
|
94135
94135
|
const systemConfig = service.getSystemConfig();
|
|
@@ -94147,7 +94147,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
94147
94147
|
onchainosAgentId: "*",
|
|
94148
94148
|
reason: "system-config missing sentryDsn",
|
|
94149
94149
|
pluginId: "@okxweb3/a2a-node",
|
|
94150
|
-
pluginVersion: "0.1.6
|
|
94150
|
+
pluginVersion: "0.1.6"
|
|
94151
94151
|
});
|
|
94152
94152
|
}
|
|
94153
94153
|
logWithTimestamp(
|
|
@@ -95884,7 +95884,7 @@ async function runDoctor(options = {}) {
|
|
|
95884
95884
|
platform: options.platform ?? process.platform,
|
|
95885
95885
|
env: options.env ?? process.env,
|
|
95886
95886
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
95887
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.6
|
|
95887
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.6" : "0.0.0"),
|
|
95888
95888
|
fixMode: options.fix === true,
|
|
95889
95889
|
nonInteractive: options.nonInteractive === true,
|
|
95890
95890
|
packageChanged: false
|
package/package.json
CHANGED