@okxweb3/a2a-node 0.2.12-beta-7449a77b9d-260910105008 → 0.2.12
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
|
@@ -26938,7 +26938,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26938
26938
|
client: {
|
|
26939
26939
|
id: "gateway-client",
|
|
26940
26940
|
displayName: "okx-a2a-node",
|
|
26941
|
-
version: "0.2.12
|
|
26941
|
+
version: "0.2.12",
|
|
26942
26942
|
platform: "node",
|
|
26943
26943
|
mode: "backend",
|
|
26944
26944
|
instanceId
|
|
@@ -26949,7 +26949,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
26949
26949
|
commands: [],
|
|
26950
26950
|
permissions: {},
|
|
26951
26951
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
26952
|
-
userAgent: `okx-a2a-node/${"0.2.12
|
|
26952
|
+
userAgent: `okx-a2a-node/${"0.2.12"}`,
|
|
26953
26953
|
auth: {
|
|
26954
26954
|
...config.token ? { token: config.token } : {},
|
|
26955
26955
|
...config.password ? { password: config.password } : {}
|
|
@@ -29008,7 +29008,7 @@ var init_sentry_config = __esm({
|
|
|
29008
29008
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
29009
29009
|
SENTRY_CONFIG = {
|
|
29010
29010
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
29011
|
-
release: "0.2.12
|
|
29011
|
+
release: "0.2.12",
|
|
29012
29012
|
environment,
|
|
29013
29013
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
29014
29014
|
};
|
|
@@ -40178,7 +40178,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
40178
40178
|
node: process.version,
|
|
40179
40179
|
platform: process.platform,
|
|
40180
40180
|
arch: process.arch,
|
|
40181
|
-
packageVersion: true ? "0.2.12
|
|
40181
|
+
packageVersion: true ? "0.2.12" : "unknown",
|
|
40182
40182
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
40183
40183
|
listenerAndLlmContentIncluded: true,
|
|
40184
40184
|
credentialsAlwaysRedacted: true,
|
|
@@ -69684,12 +69684,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
69684
69684
|
});
|
|
69685
69685
|
}
|
|
69686
69686
|
});
|
|
69687
|
-
service.setPluginVersion("0.2.12
|
|
69687
|
+
service.setPluginVersion("0.2.12");
|
|
69688
69688
|
await service.init();
|
|
69689
69689
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
69690
69690
|
if (pluginVersionStatus.unavailable) {
|
|
69691
69691
|
throw new Error(
|
|
69692
|
-
`@okxweb3/a2a-node v${"0.2.12
|
|
69692
|
+
`@okxweb3/a2a-node v${"0.2.12"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
69693
69693
|
);
|
|
69694
69694
|
}
|
|
69695
69695
|
const systemConfig = service.getSystemConfig();
|
|
@@ -69717,7 +69717,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
69717
69717
|
onchainosAgentId: "*",
|
|
69718
69718
|
reason: "system-config missing sentryDsn",
|
|
69719
69719
|
pluginId: "@okxweb3/a2a-node",
|
|
69720
|
-
pluginVersion: "0.2.12
|
|
69720
|
+
pluginVersion: "0.2.12"
|
|
69721
69721
|
});
|
|
69722
69722
|
}
|
|
69723
69723
|
logWithTimestamp(
|
|
@@ -118044,7 +118044,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
118044
118044
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
118045
118045
|
}
|
|
118046
118046
|
function getBundledNodeCliVersion() {
|
|
118047
|
-
return true ? "0.2.12
|
|
118047
|
+
return true ? "0.2.12" : null;
|
|
118048
118048
|
}
|
|
118049
118049
|
function readConfiguredAiProvider() {
|
|
118050
118050
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -118254,7 +118254,7 @@ async function updateHermes(release, options) {
|
|
|
118254
118254
|
}
|
|
118255
118255
|
}
|
|
118256
118256
|
async function installGatewayPluginForDoctor(target) {
|
|
118257
|
-
const release = isPrereleaseVersion("0.2.12
|
|
118257
|
+
const release = isPrereleaseVersion("0.2.12") ? "beta" : "latest";
|
|
118258
118258
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
118259
118259
|
const options = {
|
|
118260
118260
|
restart: !insideTargetGateway,
|
|
@@ -119307,7 +119307,7 @@ async function runDoctor(options = {}) {
|
|
|
119307
119307
|
platform: options.platform ?? process.platform,
|
|
119308
119308
|
env: options.env ?? process.env,
|
|
119309
119309
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
119310
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.12
|
|
119310
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.12" : "0.0.0"),
|
|
119311
119311
|
fixMode: options.fix === true,
|
|
119312
119312
|
nonInteractive: options.nonInteractive === true,
|
|
119313
119313
|
packageChanged: false,
|
|
@@ -120384,7 +120384,7 @@ init_sentry_config();
|
|
|
120384
120384
|
init_runtime_metadata();
|
|
120385
120385
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV4 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
120386
120386
|
function printUsage3() {
|
|
120387
|
-
console.log(`okx-a2a ${"0.2.12
|
|
120387
|
+
console.log(`okx-a2a ${"0.2.12"}
|
|
120388
120388
|
|
|
120389
120389
|
Usage:
|
|
120390
120390
|
okx-a2a <command> [options]
|
|
@@ -120426,7 +120426,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
120426
120426
|
`);
|
|
120427
120427
|
}
|
|
120428
120428
|
function printVersion() {
|
|
120429
|
-
console.log("0.2.12
|
|
120429
|
+
console.log("0.2.12");
|
|
120430
120430
|
}
|
|
120431
120431
|
function printDaemonUsage() {
|
|
120432
120432
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
|
@@ -121916,7 +121916,7 @@ async function main() {
|
|
|
121916
121916
|
if (command === "xmtp-test") {
|
|
121917
121917
|
const { handleXmtpTestCommand: handleXmtpTestCommand2 } = await Promise.resolve().then(() => (init_xmtp_test_cli(), xmtp_test_cli_exports));
|
|
121918
121918
|
await handleXmtpTestCommand2(process.argv.slice(3), {
|
|
121919
|
-
packageVersion: "0.2.12
|
|
121919
|
+
packageVersion: "0.2.12",
|
|
121920
121920
|
agentSdkVersion: "2.3.0",
|
|
121921
121921
|
nodeSdkVersion: "6.1.0",
|
|
121922
121922
|
nodeBindingsVersion: "1.11.0"
|
package/dist/index.js
CHANGED
|
@@ -32441,7 +32441,7 @@ var init_sentry_config = __esm({
|
|
|
32441
32441
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
32442
32442
|
SENTRY_CONFIG = {
|
|
32443
32443
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
32444
|
-
release: "0.2.12
|
|
32444
|
+
release: "0.2.12",
|
|
32445
32445
|
environment,
|
|
32446
32446
|
runtimeContainer: normalizeRuntimeContainer(process.env.OKX_A2A_RUNTIME_CONTAINER)
|
|
32447
32447
|
};
|
|
@@ -33382,7 +33382,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
33382
33382
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
33383
33383
|
}
|
|
33384
33384
|
function getBundledNodeCliVersion() {
|
|
33385
|
-
return true ? "0.2.12
|
|
33385
|
+
return true ? "0.2.12" : null;
|
|
33386
33386
|
}
|
|
33387
33387
|
function readConfiguredAiProvider() {
|
|
33388
33388
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -33592,7 +33592,7 @@ async function updateHermes(release, options) {
|
|
|
33592
33592
|
}
|
|
33593
33593
|
}
|
|
33594
33594
|
async function installGatewayPluginForDoctor(target) {
|
|
33595
|
-
const release = isPrereleaseVersion("0.2.12
|
|
33595
|
+
const release = isPrereleaseVersion("0.2.12") ? "beta" : "latest";
|
|
33596
33596
|
const insideTargetGateway = detectGatewayInvocation() === target;
|
|
33597
33597
|
const options = {
|
|
33598
33598
|
restart: !insideTargetGateway,
|
|
@@ -61310,7 +61310,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61310
61310
|
client: {
|
|
61311
61311
|
id: "gateway-client",
|
|
61312
61312
|
displayName: "okx-a2a-node",
|
|
61313
|
-
version: "0.2.12
|
|
61313
|
+
version: "0.2.12",
|
|
61314
61314
|
platform: "node",
|
|
61315
61315
|
mode: "backend",
|
|
61316
61316
|
instanceId
|
|
@@ -61321,7 +61321,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
61321
61321
|
commands: [],
|
|
61322
61322
|
permissions: {},
|
|
61323
61323
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
61324
|
-
userAgent: `okx-a2a-node/${"0.2.12
|
|
61324
|
+
userAgent: `okx-a2a-node/${"0.2.12"}`,
|
|
61325
61325
|
auth: {
|
|
61326
61326
|
...config.token ? { token: config.token } : {},
|
|
61327
61327
|
...config.password ? { password: config.password } : {}
|
|
@@ -67660,12 +67660,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
67660
67660
|
});
|
|
67661
67661
|
}
|
|
67662
67662
|
});
|
|
67663
|
-
service.setPluginVersion("0.2.12
|
|
67663
|
+
service.setPluginVersion("0.2.12");
|
|
67664
67664
|
await service.init();
|
|
67665
67665
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
67666
67666
|
if (pluginVersionStatus.unavailable) {
|
|
67667
67667
|
throw new Error(
|
|
67668
|
-
`@okxweb3/a2a-node v${"0.2.12
|
|
67668
|
+
`@okxweb3/a2a-node v${"0.2.12"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
67669
67669
|
);
|
|
67670
67670
|
}
|
|
67671
67671
|
const systemConfig = service.getSystemConfig();
|
|
@@ -67693,7 +67693,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
67693
67693
|
onchainosAgentId: "*",
|
|
67694
67694
|
reason: "system-config missing sentryDsn",
|
|
67695
67695
|
pluginId: "@okxweb3/a2a-node",
|
|
67696
|
-
pluginVersion: "0.2.12
|
|
67696
|
+
pluginVersion: "0.2.12"
|
|
67697
67697
|
});
|
|
67698
67698
|
}
|
|
67699
67699
|
logWithTimestamp(
|
|
@@ -70466,7 +70466,7 @@ async function exportDiagnosticLogs(options) {
|
|
|
70466
70466
|
node: process.version,
|
|
70467
70467
|
platform: process.platform,
|
|
70468
70468
|
arch: process.arch,
|
|
70469
|
-
packageVersion: true ? "0.2.12
|
|
70469
|
+
packageVersion: true ? "0.2.12" : "unknown",
|
|
70470
70470
|
sensitiveContentIncluded: options.includeSensitiveContent,
|
|
70471
70471
|
listenerAndLlmContentIncluded: true,
|
|
70472
70472
|
credentialsAlwaysRedacted: true,
|
|
@@ -72348,7 +72348,7 @@ async function runDoctor(options = {}) {
|
|
|
72348
72348
|
platform: options.platform ?? process.platform,
|
|
72349
72349
|
env: options.env ?? process.env,
|
|
72350
72350
|
target: options.target ?? resolveDoctorTarget(options.env ?? process.env),
|
|
72351
|
-
cliVersion: options.cliVersion ?? (true ? "0.2.12
|
|
72351
|
+
cliVersion: options.cliVersion ?? (true ? "0.2.12" : "0.0.0"),
|
|
72352
72352
|
fixMode: options.fix === true,
|
|
72353
72353
|
nonInteractive: options.nonInteractive === true,
|
|
72354
72354
|
packageChanged: false,
|
package/package.json
CHANGED