@okxweb3/a2a-node 0.1.10-beta-bf67773ad1-260723212958 → 0.1.10
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
|
@@ -8582,7 +8582,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
8582
8582
|
client: {
|
|
8583
8583
|
id: "gateway-client",
|
|
8584
8584
|
displayName: "okx-a2a-node",
|
|
8585
|
-
version: "0.1.10
|
|
8585
|
+
version: "0.1.10",
|
|
8586
8586
|
platform: "node",
|
|
8587
8587
|
mode: "backend",
|
|
8588
8588
|
instanceId
|
|
@@ -8593,7 +8593,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
8593
8593
|
commands: [],
|
|
8594
8594
|
permissions: {},
|
|
8595
8595
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
8596
|
-
userAgent: `okx-a2a-node/${"0.1.10
|
|
8596
|
+
userAgent: `okx-a2a-node/${"0.1.10"}`,
|
|
8597
8597
|
auth: {
|
|
8598
8598
|
...config.token ? { token: config.token } : {},
|
|
8599
8599
|
...config.password ? { password: config.password } : {}
|
|
@@ -25915,7 +25915,7 @@ var init_sentry_config = __esm({
|
|
|
25915
25915
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
25916
25916
|
SENTRY_CONFIG = {
|
|
25917
25917
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
25918
|
-
release: "0.1.10
|
|
25918
|
+
release: "0.1.10",
|
|
25919
25919
|
environment,
|
|
25920
25920
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
25921
25921
|
};
|
|
@@ -94649,12 +94649,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
94649
94649
|
});
|
|
94650
94650
|
}
|
|
94651
94651
|
});
|
|
94652
|
-
service.setPluginVersion("0.1.10
|
|
94652
|
+
service.setPluginVersion("0.1.10");
|
|
94653
94653
|
await service.init();
|
|
94654
94654
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
94655
94655
|
if (pluginVersionStatus.unavailable) {
|
|
94656
94656
|
throw new Error(
|
|
94657
|
-
`@okxweb3/a2a-node v${"0.1.10
|
|
94657
|
+
`@okxweb3/a2a-node v${"0.1.10"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
94658
94658
|
);
|
|
94659
94659
|
}
|
|
94660
94660
|
const systemConfig = service.getSystemConfig();
|
|
@@ -94672,7 +94672,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
94672
94672
|
onchainosAgentId: "*",
|
|
94673
94673
|
reason: "system-config missing sentryDsn",
|
|
94674
94674
|
pluginId: "@okxweb3/a2a-node",
|
|
94675
|
-
pluginVersion: "0.1.10
|
|
94675
|
+
pluginVersion: "0.1.10"
|
|
94676
94676
|
});
|
|
94677
94677
|
}
|
|
94678
94678
|
logWithTimestamp(
|
|
@@ -98694,7 +98694,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
98694
98694
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
98695
98695
|
}
|
|
98696
98696
|
function getBundledNodeCliVersion() {
|
|
98697
|
-
return true ? "0.1.10
|
|
98697
|
+
return true ? "0.1.10" : null;
|
|
98698
98698
|
}
|
|
98699
98699
|
function readConfiguredAiProvider() {
|
|
98700
98700
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -98904,7 +98904,7 @@ async function updateHermes(release, options) {
|
|
|
98904
98904
|
}
|
|
98905
98905
|
}
|
|
98906
98906
|
async function installGatewayPluginForDoctor(target) {
|
|
98907
|
-
const release = isPrereleaseVersion("0.1.10
|
|
98907
|
+
const release = isPrereleaseVersion("0.1.10") ? "beta" : "latest";
|
|
98908
98908
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
98909
98909
|
const options = {
|
|
98910
98910
|
restart: !insideTargetGateway,
|
|
@@ -99892,7 +99892,7 @@ async function runDoctor(options = {}) {
|
|
|
99892
99892
|
platform: options.platform ?? process.platform,
|
|
99893
99893
|
env: options.env ?? process.env,
|
|
99894
99894
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
99895
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.10
|
|
99895
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.10" : "0.0.0"),
|
|
99896
99896
|
fixMode: options.fix === true,
|
|
99897
99897
|
nonInteractive: options.nonInteractive === true,
|
|
99898
99898
|
packageChanged: false,
|
|
@@ -101024,7 +101024,7 @@ init_sentry_logger();
|
|
|
101024
101024
|
init_sentry_config();
|
|
101025
101025
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
101026
101026
|
function printUsage2() {
|
|
101027
|
-
console.log(`okx-a2a ${"0.1.10
|
|
101027
|
+
console.log(`okx-a2a ${"0.1.10"}
|
|
101028
101028
|
|
|
101029
101029
|
Usage:
|
|
101030
101030
|
okx-a2a <command> [options]
|
|
@@ -101062,7 +101062,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
101062
101062
|
`);
|
|
101063
101063
|
}
|
|
101064
101064
|
function printVersion() {
|
|
101065
|
-
console.log("0.1.10
|
|
101065
|
+
console.log("0.1.10");
|
|
101066
101066
|
}
|
|
101067
101067
|
function printDaemonUsage() {
|
|
101068
101068
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
package/dist/index.js
CHANGED
|
@@ -71981,7 +71981,7 @@ var init_sentry_config = __esm({
|
|
|
71981
71981
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
71982
71982
|
SENTRY_CONFIG = {
|
|
71983
71983
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
71984
|
-
release: "0.1.10
|
|
71984
|
+
release: "0.1.10",
|
|
71985
71985
|
environment,
|
|
71986
71986
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
71987
71987
|
};
|
|
@@ -72911,7 +72911,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
72911
72911
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
72912
72912
|
}
|
|
72913
72913
|
function getBundledNodeCliVersion() {
|
|
72914
|
-
return true ? "0.1.10
|
|
72914
|
+
return true ? "0.1.10" : null;
|
|
72915
72915
|
}
|
|
72916
72916
|
function readConfiguredAiProvider() {
|
|
72917
72917
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -73121,7 +73121,7 @@ async function updateHermes(release, options) {
|
|
|
73121
73121
|
}
|
|
73122
73122
|
}
|
|
73123
73123
|
async function installGatewayPluginForDoctor(target) {
|
|
73124
|
-
const release = isPrereleaseVersion("0.1.10
|
|
73124
|
+
const release = isPrereleaseVersion("0.1.10") ? "beta" : "latest";
|
|
73125
73125
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
73126
73126
|
const options = {
|
|
73127
73127
|
restart: !insideTargetGateway,
|
|
@@ -89978,7 +89978,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
89978
89978
|
client: {
|
|
89979
89979
|
id: "gateway-client",
|
|
89980
89980
|
displayName: "okx-a2a-node",
|
|
89981
|
-
version: "0.1.10
|
|
89981
|
+
version: "0.1.10",
|
|
89982
89982
|
platform: "node",
|
|
89983
89983
|
mode: "backend",
|
|
89984
89984
|
instanceId
|
|
@@ -89989,7 +89989,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
89989
89989
|
commands: [],
|
|
89990
89990
|
permissions: {},
|
|
89991
89991
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
89992
|
-
userAgent: `okx-a2a-node/${"0.1.10
|
|
89992
|
+
userAgent: `okx-a2a-node/${"0.1.10"}`,
|
|
89993
89993
|
auth: {
|
|
89994
89994
|
...config.token ? { token: config.token } : {},
|
|
89995
89995
|
...config.password ? { password: config.password } : {}
|
|
@@ -94823,12 +94823,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
94823
94823
|
});
|
|
94824
94824
|
}
|
|
94825
94825
|
});
|
|
94826
|
-
service.setPluginVersion("0.1.10
|
|
94826
|
+
service.setPluginVersion("0.1.10");
|
|
94827
94827
|
await service.init();
|
|
94828
94828
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
94829
94829
|
if (pluginVersionStatus.unavailable) {
|
|
94830
94830
|
throw new Error(
|
|
94831
|
-
`@okxweb3/a2a-node v${"0.1.10
|
|
94831
|
+
`@okxweb3/a2a-node v${"0.1.10"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
94832
94832
|
);
|
|
94833
94833
|
}
|
|
94834
94834
|
const systemConfig = service.getSystemConfig();
|
|
@@ -94846,7 +94846,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
94846
94846
|
onchainosAgentId: "*",
|
|
94847
94847
|
reason: "system-config missing sentryDsn",
|
|
94848
94848
|
pluginId: "@okxweb3/a2a-node",
|
|
94849
|
-
pluginVersion: "0.1.10
|
|
94849
|
+
pluginVersion: "0.1.10"
|
|
94850
94850
|
});
|
|
94851
94851
|
}
|
|
94852
94852
|
logWithTimestamp(
|
|
@@ -96615,7 +96615,7 @@ async function runDoctor(options = {}) {
|
|
|
96615
96615
|
platform: options.platform ?? process.platform,
|
|
96616
96616
|
env: options.env ?? process.env,
|
|
96617
96617
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
96618
|
-
cliVersion: options.cliVersion ?? (true ? "0.1.10
|
|
96618
|
+
cliVersion: options.cliVersion ?? (true ? "0.1.10" : "0.0.0"),
|
|
96619
96619
|
fixMode: options.fix === true,
|
|
96620
96620
|
nonInteractive: options.nonInteractive === true,
|
|
96621
96621
|
packageChanged: false,
|
package/package.json
CHANGED