@blockrun/clawrouter 0.12.121 → 0.12.122
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/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/update.sh +3 -3
package/dist/index.js
CHANGED
|
@@ -80993,8 +80993,8 @@ function restartProxyForChainSwitch(api) {
|
|
|
80993
80993
|
}
|
|
80994
80994
|
function createWalletCommand(api) {
|
|
80995
80995
|
return {
|
|
80996
|
-
name: "
|
|
80997
|
-
description: "Show BlockRun wallet info,
|
|
80996
|
+
name: "blockrun",
|
|
80997
|
+
description: "Show BlockRun wallet info, balance, chain, or export key",
|
|
80998
80998
|
acceptsArgs: true,
|
|
80999
80999
|
requireAuth: true,
|
|
81000
81000
|
handler: async (ctx) => {
|
|
@@ -81208,12 +81208,12 @@ Run \`openclaw plugins install @blockrun/clawrouter\` to generate a wallet.`,
|
|
|
81208
81208
|
`**Key File:** \`${WALLET_FILE}\``,
|
|
81209
81209
|
"",
|
|
81210
81210
|
"**Commands:**",
|
|
81211
|
-
"\u2022 `/
|
|
81212
|
-
"\u2022 `/
|
|
81211
|
+
"\u2022 `/blockrun` - Show this status",
|
|
81212
|
+
"\u2022 `/blockrun export` - Export private key for backup",
|
|
81213
81213
|
"\u2022 `/stats` - Detailed usage breakdown",
|
|
81214
|
-
!solanaSection ? "\u2022 `/
|
|
81215
|
-
solanaSection ? "\u2022 `/
|
|
81216
|
-
solanaSection ? "\u2022 `/
|
|
81214
|
+
!solanaSection ? "\u2022 `/blockrun solana` - Enable Solana payments" : "",
|
|
81215
|
+
solanaSection ? "\u2022 `/blockrun base` - Switch to Base (EVM)" : "",
|
|
81216
|
+
solanaSection ? "\u2022 `/blockrun solana` - Switch to Solana" : ""
|
|
81217
81217
|
].filter(Boolean).join("\n")
|
|
81218
81218
|
};
|
|
81219
81219
|
}
|
|
@@ -81302,6 +81302,7 @@ var plugin = {
|
|
|
81302
81302
|
api.registerCommand(createWalletCommand(api));
|
|
81303
81303
|
api.registerCommand(createStatsCommand());
|
|
81304
81304
|
api.registerCommand(createExcludeCommand());
|
|
81305
|
+
api.logger.info("Commands registered: /blockrun, /stats, /exclude");
|
|
81305
81306
|
api.registerService({
|
|
81306
81307
|
id: "clawrouter-proxy",
|
|
81307
81308
|
start: () => {
|