@kya-os/create-mcpi-app 1.7.42-canary.29 → 1.7.42-canary.30
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.
|
@@ -543,11 +543,11 @@ export function getRuntimeConfig(env: CloudflareEnv): CloudflareRuntimeConfig {
|
|
|
543
543
|
},
|
|
544
544
|
// Tool protection is automatically enabled by defineConfig if AGENTSHIELD_API_KEY is present
|
|
545
545
|
// You can override by explicitly setting toolProtection here
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}
|
|
546
|
+
|
|
547
|
+
// Admin endpoints are automatically enabled when AGENTSHIELD_API_KEY is present
|
|
548
|
+
// They use ADMIN_API_KEY (or fallback to AGENTSHIELD_API_KEY) for authentication
|
|
549
|
+
// To override: admin: { enabled: true/false, apiKey: env.ADMIN_API_KEY }
|
|
550
|
+
// To disable: admin: { enabled: false }
|
|
551
551
|
});
|
|
552
552
|
}
|
|
553
553
|
`;
|