@okxweb3/a2a-node 0.1.4-beta-c3024b2b0b-260703182746 → 0.1.4
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
|
@@ -8278,7 +8278,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
8278
8278
|
client: {
|
|
8279
8279
|
id: "gateway-client",
|
|
8280
8280
|
displayName: "okx-a2a-node",
|
|
8281
|
-
version: "0.1.4
|
|
8281
|
+
version: "0.1.4",
|
|
8282
8282
|
platform: "node",
|
|
8283
8283
|
mode: "backend",
|
|
8284
8284
|
instanceId
|
|
@@ -8289,7 +8289,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
8289
8289
|
commands: [],
|
|
8290
8290
|
permissions: {},
|
|
8291
8291
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
8292
|
-
userAgent: `okx-a2a-node/${"0.1.4
|
|
8292
|
+
userAgent: `okx-a2a-node/${"0.1.4"}`,
|
|
8293
8293
|
auth: {
|
|
8294
8294
|
...config.token ? { token: config.token } : {},
|
|
8295
8295
|
...config.password ? { password: config.password } : {}
|
|
@@ -25545,7 +25545,7 @@ var init_sentry_config = __esm({
|
|
|
25545
25545
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
25546
25546
|
SENTRY_CONFIG = {
|
|
25547
25547
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
25548
|
-
release: "0.1.4
|
|
25548
|
+
release: "0.1.4",
|
|
25549
25549
|
environment
|
|
25550
25550
|
};
|
|
25551
25551
|
}
|
|
@@ -94055,12 +94055,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
94055
94055
|
}));
|
|
94056
94056
|
}
|
|
94057
94057
|
});
|
|
94058
|
-
service.setPluginVersion("0.1.4
|
|
94058
|
+
service.setPluginVersion("0.1.4");
|
|
94059
94059
|
await service.init();
|
|
94060
94060
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
94061
94061
|
if (pluginVersionStatus.unavailable) {
|
|
94062
94062
|
throw new Error(
|
|
94063
|
-
`@okxweb3/a2a-node v${"0.1.4
|
|
94063
|
+
`@okxweb3/a2a-node v${"0.1.4"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
94064
94064
|
);
|
|
94065
94065
|
}
|
|
94066
94066
|
const systemConfig = service.getSystemConfig();
|
|
@@ -94078,7 +94078,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
94078
94078
|
onchainosAgentId: "*",
|
|
94079
94079
|
reason: "system-config missing sentryDsn",
|
|
94080
94080
|
pluginId: "@okxweb3/a2a-node",
|
|
94081
|
-
pluginVersion: "0.1.4
|
|
94081
|
+
pluginVersion: "0.1.4"
|
|
94082
94082
|
});
|
|
94083
94083
|
}
|
|
94084
94084
|
logWithTimestamp(
|
|
@@ -97873,7 +97873,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
97873
97873
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
97874
97874
|
}
|
|
97875
97875
|
function getBundledNodeCliVersion() {
|
|
97876
|
-
return true ? "0.1.4
|
|
97876
|
+
return true ? "0.1.4" : null;
|
|
97877
97877
|
}
|
|
97878
97878
|
function readConfiguredAiProvider() {
|
|
97879
97879
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -98064,7 +98064,7 @@ async function updateHermes(release, options) {
|
|
|
98064
98064
|
}
|
|
98065
98065
|
}
|
|
98066
98066
|
async function installGatewayPluginForDoctor(target) {
|
|
98067
|
-
const release = isPrereleaseVersion("0.1.4
|
|
98067
|
+
const release = isPrereleaseVersion("0.1.4") ? "beta" : "latest";
|
|
98068
98068
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
98069
98069
|
const options = {
|
|
98070
98070
|
restart: !insideTargetGateway,
|
|
@@ -99137,7 +99137,7 @@ async function runDoctor(options = {}) {
|
|
|
99137
99137
|
platform: options.platform ?? process.platform,
|
|
99138
99138
|
env: options.env ?? process.env,
|
|
99139
99139
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
99140
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.4
|
|
99140
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.4" : "0.0.0"),
|
|
99141
99141
|
fixMode: options.fix === true,
|
|
99142
99142
|
packageChanged: false
|
|
99143
99143
|
};
|
|
@@ -100209,7 +100209,7 @@ init_sentry_logger();
|
|
|
100209
100209
|
init_sentry_config();
|
|
100210
100210
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
100211
100211
|
function printUsage2() {
|
|
100212
|
-
console.log(`okx-a2a ${"0.1.4
|
|
100212
|
+
console.log(`okx-a2a ${"0.1.4"}
|
|
100213
100213
|
|
|
100214
100214
|
Usage:
|
|
100215
100215
|
okx-a2a <command> [options]
|
|
@@ -100247,7 +100247,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
100247
100247
|
`);
|
|
100248
100248
|
}
|
|
100249
100249
|
function printVersion() {
|
|
100250
|
-
console.log("0.1.4
|
|
100250
|
+
console.log("0.1.4");
|
|
100251
100251
|
}
|
|
100252
100252
|
function printDaemonUsage() {
|
|
100253
100253
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
package/dist/index.js
CHANGED
|
@@ -71610,7 +71610,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
71610
71610
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
71611
71611
|
}
|
|
71612
71612
|
function getBundledNodeCliVersion() {
|
|
71613
|
-
return true ? "0.1.4
|
|
71613
|
+
return true ? "0.1.4" : null;
|
|
71614
71614
|
}
|
|
71615
71615
|
function readConfiguredAiProvider() {
|
|
71616
71616
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -71801,7 +71801,7 @@ async function updateHermes(release, options) {
|
|
|
71801
71801
|
}
|
|
71802
71802
|
}
|
|
71803
71803
|
async function installGatewayPluginForDoctor(target) {
|
|
71804
|
-
const release = isPrereleaseVersion("0.1.4
|
|
71804
|
+
const release = isPrereleaseVersion("0.1.4") ? "beta" : "latest";
|
|
71805
71805
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
71806
71806
|
const options = {
|
|
71807
71807
|
restart: !insideTargetGateway,
|
|
@@ -89305,7 +89305,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
89305
89305
|
client: {
|
|
89306
89306
|
id: "gateway-client",
|
|
89307
89307
|
displayName: "okx-a2a-node",
|
|
89308
|
-
version: "0.1.4
|
|
89308
|
+
version: "0.1.4",
|
|
89309
89309
|
platform: "node",
|
|
89310
89310
|
mode: "backend",
|
|
89311
89311
|
instanceId
|
|
@@ -89316,7 +89316,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
89316
89316
|
commands: [],
|
|
89317
89317
|
permissions: {},
|
|
89318
89318
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
89319
|
-
userAgent: `okx-a2a-node/${"0.1.4
|
|
89319
|
+
userAgent: `okx-a2a-node/${"0.1.4"}`,
|
|
89320
89320
|
auth: {
|
|
89321
89321
|
...config.token ? { token: config.token } : {},
|
|
89322
89322
|
...config.password ? { password: config.password } : {}
|
|
@@ -93786,7 +93786,7 @@ init_ai_provider();
|
|
|
93786
93786
|
var environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
93787
93787
|
var SENTRY_CONFIG = {
|
|
93788
93788
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
93789
|
-
release: "0.1.4
|
|
93789
|
+
release: "0.1.4",
|
|
93790
93790
|
environment
|
|
93791
93791
|
};
|
|
93792
93792
|
|
|
@@ -94013,12 +94013,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
94013
94013
|
}));
|
|
94014
94014
|
}
|
|
94015
94015
|
});
|
|
94016
|
-
service.setPluginVersion("0.1.4
|
|
94016
|
+
service.setPluginVersion("0.1.4");
|
|
94017
94017
|
await service.init();
|
|
94018
94018
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
94019
94019
|
if (pluginVersionStatus.unavailable) {
|
|
94020
94020
|
throw new Error(
|
|
94021
|
-
`@okxweb3/a2a-node v${"0.1.4
|
|
94021
|
+
`@okxweb3/a2a-node v${"0.1.4"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
94022
94022
|
);
|
|
94023
94023
|
}
|
|
94024
94024
|
const systemConfig = service.getSystemConfig();
|
|
@@ -94036,7 +94036,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
94036
94036
|
onchainosAgentId: "*",
|
|
94037
94037
|
reason: "system-config missing sentryDsn",
|
|
94038
94038
|
pluginId: "@okxweb3/a2a-node",
|
|
94039
|
-
pluginVersion: "0.1.4
|
|
94039
|
+
pluginVersion: "0.1.4"
|
|
94040
94040
|
});
|
|
94041
94041
|
}
|
|
94042
94042
|
logWithTimestamp(
|
|
@@ -95759,7 +95759,7 @@ async function runDoctor(options = {}) {
|
|
|
95759
95759
|
platform: options.platform ?? process.platform,
|
|
95760
95760
|
env: options.env ?? process.env,
|
|
95761
95761
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
95762
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.4
|
|
95762
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.4" : "0.0.0"),
|
|
95763
95763
|
fixMode: options.fix === true,
|
|
95764
95764
|
packageChanged: false
|
|
95765
95765
|
};
|
package/package.json
CHANGED