@blockrun/clawrouter 0.12.117 → 0.12.119

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 CHANGED
@@ -80615,7 +80615,7 @@ async function startProxyInBackground(api) {
80615
80615
  api.logger.info(`Wallet (${network}): ${displayAddress} | Balance: (checking...)`);
80616
80616
  });
80617
80617
  }
80618
- async function createStatsCommand() {
80618
+ function createStatsCommand() {
80619
80619
  return {
80620
80620
  name: "stats",
80621
80621
  description: "Show ClawRouter usage statistics and cost savings",
@@ -80652,7 +80652,7 @@ async function createStatsCommand() {
80652
80652
  }
80653
80653
  };
80654
80654
  }
80655
- async function createExcludeCommand() {
80655
+ function createExcludeCommand() {
80656
80656
  return {
80657
80657
  name: "exclude",
80658
80658
  description: "Manage excluded models \u2014 /exclude add|remove|clear <model>",
@@ -80746,7 +80746,7 @@ function restartProxyForChainSwitch(api) {
80746
80746
  );
80747
80747
  });
80748
80748
  }
80749
- async function createWalletCommand(api) {
80749
+ function createWalletCommand(api) {
80750
80750
  return {
80751
80751
  name: "wallet",
80752
80752
  description: "Show BlockRun wallet info, usage stats, or export private key",
@@ -81052,27 +81052,9 @@ var plugin = {
81052
81052
  `Failed to register partner tools: ${err instanceof Error ? err.message : String(err)}`
81053
81053
  );
81054
81054
  }
81055
- createWalletCommand(api).then((walletCommand) => {
81056
- api.registerCommand(walletCommand);
81057
- }).catch((err) => {
81058
- api.logger.warn(
81059
- `Failed to register /wallet command: ${err instanceof Error ? err.message : String(err)}`
81060
- );
81061
- });
81062
- createStatsCommand().then((statsCommand) => {
81063
- api.registerCommand(statsCommand);
81064
- }).catch((err) => {
81065
- api.logger.warn(
81066
- `Failed to register /stats command: ${err instanceof Error ? err.message : String(err)}`
81067
- );
81068
- });
81069
- createExcludeCommand().then((excludeCommand) => {
81070
- api.registerCommand(excludeCommand);
81071
- }).catch((err) => {
81072
- api.logger.warn(
81073
- `Failed to register /exclude command: ${err instanceof Error ? err.message : String(err)}`
81074
- );
81075
- });
81055
+ api.registerCommand(createWalletCommand(api));
81056
+ api.registerCommand(createStatsCommand());
81057
+ api.registerCommand(createExcludeCommand());
81076
81058
  api.registerService({
81077
81059
  id: "clawrouter-proxy",
81078
81060
  start: () => {