@blockrun/clawrouter 0.12.113 → 0.12.114
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 +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -80936,6 +80936,9 @@ var plugin = {
|
|
|
80936
80936
|
description: "Smart LLM router \u2014 55+ models, x402 micropayments, 78% cost savings",
|
|
80937
80937
|
version: VERSION,
|
|
80938
80938
|
register(api) {
|
|
80939
|
+
const proc = process;
|
|
80940
|
+
if (proc.__clawrouterRegistered) return;
|
|
80941
|
+
proc.__clawrouterRegistered = true;
|
|
80939
80942
|
const isDisabled = process["env"].CLAWROUTER_DISABLED === "true" || process["env"].CLAWROUTER_DISABLED === "1";
|
|
80940
80943
|
if (isDisabled) {
|
|
80941
80944
|
api.logger.info("ClawRouter disabled (CLAWROUTER_DISABLED=true). Using default routing.");
|