MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / applyAppsEnabled

Function applyAppsEnabled

packages/hosts/mcp/src/tool-server.ts:1608–1617  ·  view source on GitHub ↗
(next: boolean)

Source from the content-addressed store, hash-verified

1606 * persist, and still return something useful (a deep link).
1607 */
1608 const applyAppsEnabled = (next: boolean): void => {
1609 appsEnabled = next;
1610 if (next) {
1611 executeActionTool?.enable();
1612 executeActionResumeTool?.enable();
1613 } else {
1614 executeActionTool?.disable();
1615 executeActionResumeTool?.disable();
1616 }
1617 };
1618
1619 // Best-effort usage observation; a failing observer never affects the tool.
1620 const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> =>

Callers 2

appsSupportedFunction · 0.85
syncToolAvailabilityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected