MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / applyAgentManifest

Function applyAgentManifest

scripts/build-config.js:29–35  ·  view source on GitHub ↗
(manifest, agentEnabled)

Source from the content-addressed store, hash-verified

27 * @returns {T}
28 */
29export function applyAgentManifest(manifest, agentEnabled) {
30 if (agentEnabled) return manifest;
31 return {
32 ...manifest,
33 permissions: (manifest.permissions || []).filter((permission) => permission !== "debugger"),
34 };
35}

Callers 3

transformFunction · 0.90
pack.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected