@okxweb3/a2a-node 0.1.2-beta-3bdae0ceae-260701004105 → 0.1.2
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 +9 -9
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7893,7 +7893,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
7893
7893
|
client: {
|
|
7894
7894
|
id: "gateway-client",
|
|
7895
7895
|
displayName: "okx-a2a-node",
|
|
7896
|
-
version: "0.1.2
|
|
7896
|
+
version: "0.1.2",
|
|
7897
7897
|
platform: "node",
|
|
7898
7898
|
mode: "backend",
|
|
7899
7899
|
instanceId
|
|
@@ -7904,7 +7904,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
7904
7904
|
commands: [],
|
|
7905
7905
|
permissions: {},
|
|
7906
7906
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
7907
|
-
userAgent: `okx-a2a-node/${"0.1.2
|
|
7907
|
+
userAgent: `okx-a2a-node/${"0.1.2"}`,
|
|
7908
7908
|
auth: {
|
|
7909
7909
|
...config.token ? { token: config.token } : {},
|
|
7910
7910
|
...config.password ? { password: config.password } : {}
|
|
@@ -25123,7 +25123,7 @@ var init_sentry_config = __esm({
|
|
|
25123
25123
|
environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
25124
25124
|
SENTRY_CONFIG = {
|
|
25125
25125
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
25126
|
-
release: "0.1.2
|
|
25126
|
+
release: "0.1.2",
|
|
25127
25127
|
environment
|
|
25128
25128
|
};
|
|
25129
25129
|
}
|
|
@@ -93116,12 +93116,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
93116
93116
|
}));
|
|
93117
93117
|
}
|
|
93118
93118
|
});
|
|
93119
|
-
service.setPluginVersion("0.1.2
|
|
93119
|
+
service.setPluginVersion("0.1.2");
|
|
93120
93120
|
await service.init();
|
|
93121
93121
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
93122
93122
|
if (pluginVersionStatus.unavailable) {
|
|
93123
93123
|
throw new Error(
|
|
93124
|
-
`@okxweb3/a2a-node v${"0.1.2
|
|
93124
|
+
`@okxweb3/a2a-node v${"0.1.2"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
93125
93125
|
);
|
|
93126
93126
|
}
|
|
93127
93127
|
const systemConfig = service.getSystemConfig();
|
|
@@ -93139,7 +93139,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
93139
93139
|
onchainosAgentId: "*",
|
|
93140
93140
|
reason: "system-config missing sentryDsn",
|
|
93141
93141
|
pluginId: "@okxweb3/a2a-node",
|
|
93142
|
-
pluginVersion: "0.1.2
|
|
93142
|
+
pluginVersion: "0.1.2"
|
|
93143
93143
|
});
|
|
93144
93144
|
}
|
|
93145
93145
|
logWithTimestamp(
|
|
@@ -96708,7 +96708,7 @@ async function getCurrentNodeCliVersion() {
|
|
|
96708
96708
|
return await getGlobalNpmPackageVersion(UPDATE_PACKAGES.node) ?? getBundledNodeCliVersion();
|
|
96709
96709
|
}
|
|
96710
96710
|
function getBundledNodeCliVersion() {
|
|
96711
|
-
return true ? "0.1.2
|
|
96711
|
+
return true ? "0.1.2" : null;
|
|
96712
96712
|
}
|
|
96713
96713
|
function readConfiguredAiProvider() {
|
|
96714
96714
|
const explicit = process.env.OKX_A2A_AI_PROVIDER || process.env.OKX_AGENT_TASK_AI_CLI;
|
|
@@ -97614,7 +97614,7 @@ init_sentry_logger();
|
|
|
97614
97614
|
init_sentry_config();
|
|
97615
97615
|
var CURRENT_GATEWAY_SESSION_KEYS_ENV3 = "OKX_A2A_CURRENT_GATEWAY_SESSION_KEYS";
|
|
97616
97616
|
function printUsage2() {
|
|
97617
|
-
console.log(`okx-a2a ${"0.1.2
|
|
97617
|
+
console.log(`okx-a2a ${"0.1.2"}
|
|
97618
97618
|
|
|
97619
97619
|
Usage:
|
|
97620
97620
|
okx-a2a <command> [options]
|
|
@@ -97651,7 +97651,7 @@ Run \`okx-a2a <command> -h\` for command-specific help.
|
|
|
97651
97651
|
`);
|
|
97652
97652
|
}
|
|
97653
97653
|
function printVersion() {
|
|
97654
|
-
console.log("0.1.2
|
|
97654
|
+
console.log("0.1.2");
|
|
97655
97655
|
}
|
|
97656
97656
|
function printDaemonUsage() {
|
|
97657
97657
|
console.log(`Usage: okx-a2a daemon <start|restart|stop|status|autostart> [options]
|
package/dist/index.js
CHANGED
|
@@ -86775,7 +86775,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
86775
86775
|
client: {
|
|
86776
86776
|
id: "gateway-client",
|
|
86777
86777
|
displayName: "okx-a2a-node",
|
|
86778
|
-
version: "0.1.2
|
|
86778
|
+
version: "0.1.2",
|
|
86779
86779
|
platform: "node",
|
|
86780
86780
|
mode: "backend",
|
|
86781
86781
|
instanceId
|
|
@@ -86786,7 +86786,7 @@ function buildConnectParams(config, instanceId, protocolVersion) {
|
|
|
86786
86786
|
commands: [],
|
|
86787
86787
|
permissions: {},
|
|
86788
86788
|
locale: Intl.DateTimeFormat().resolvedOptions().locale || "en-US",
|
|
86789
|
-
userAgent: `okx-a2a-node/${"0.1.2
|
|
86789
|
+
userAgent: `okx-a2a-node/${"0.1.2"}`,
|
|
86790
86790
|
auth: {
|
|
86791
86791
|
...config.token ? { token: config.token } : {},
|
|
86792
86792
|
...config.password ? { password: config.password } : {}
|
|
@@ -91205,7 +91205,7 @@ function userWatchEventDeliveredSentryExtra(event) {
|
|
|
91205
91205
|
var environment = process.env.SENTRY_ENV === "dev" ? "dev" : "prod";
|
|
91206
91206
|
var SENTRY_CONFIG = {
|
|
91207
91207
|
projectName: "okx/openclaw-okx-a2a-extension",
|
|
91208
|
-
release: "0.1.2
|
|
91208
|
+
release: "0.1.2",
|
|
91209
91209
|
environment
|
|
91210
91210
|
};
|
|
91211
91211
|
|
|
@@ -91432,12 +91432,12 @@ async function runListenerWithLock(options, paths) {
|
|
|
91432
91432
|
}));
|
|
91433
91433
|
}
|
|
91434
91434
|
});
|
|
91435
|
-
service.setPluginVersion("0.1.2
|
|
91435
|
+
service.setPluginVersion("0.1.2");
|
|
91436
91436
|
await service.init();
|
|
91437
91437
|
const pluginVersionStatus = service.pluginVersionStatus;
|
|
91438
91438
|
if (pluginVersionStatus.unavailable) {
|
|
91439
91439
|
throw new Error(
|
|
91440
|
-
`@okxweb3/a2a-node v${"0.1.2
|
|
91440
|
+
`@okxweb3/a2a-node v${"0.1.2"} is below the required minimum v${pluginVersionStatus.minVersion}`
|
|
91441
91441
|
);
|
|
91442
91442
|
}
|
|
91443
91443
|
const systemConfig = service.getSystemConfig();
|
|
@@ -91455,7 +91455,7 @@ async function runListenerWithLock(options, paths) {
|
|
|
91455
91455
|
onchainosAgentId: "*",
|
|
91456
91456
|
reason: "system-config missing sentryDsn",
|
|
91457
91457
|
pluginId: "@okxweb3/a2a-node",
|
|
91458
|
-
pluginVersion: "0.1.2
|
|
91458
|
+
pluginVersion: "0.1.2"
|
|
91459
91459
|
});
|
|
91460
91460
|
}
|
|
91461
91461
|
logWithTimestamp(
|
package/package.json
CHANGED