@plexor-dev/claude-code-plugin-staging 0.1.0-beta.17 → 0.1.0-beta.18
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/hooks/intercept.js +5 -1
- package/package.json +1 -1
package/hooks/intercept.js
CHANGED
|
@@ -344,7 +344,11 @@ async function main() {
|
|
|
344
344
|
// When ANTHROPIC_BASE_URL points to Plexor, all intelligence is server-side
|
|
345
345
|
// The plugin just passes through - server handles optimization, routing, quality
|
|
346
346
|
const baseUrl = process.env.ANTHROPIC_BASE_URL || '';
|
|
347
|
-
const isHypervisorMode =
|
|
347
|
+
const isHypervisorMode =
|
|
348
|
+
baseUrl.includes('plexor') ||
|
|
349
|
+
baseUrl.includes('staging.api') ||
|
|
350
|
+
baseUrl.includes('localhost') ||
|
|
351
|
+
baseUrl.includes('127.0.0.1');
|
|
348
352
|
|
|
349
353
|
if (isHypervisorMode) {
|
|
350
354
|
// HYPERVISOR MODE: Server handles everything
|
package/package.json
CHANGED