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

Function applyAppsEnabled

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

Source from the content-addressed store, hash-verified

1696 * persist, and still return something useful (a deep link).
1697 */
1698 const applyAppsEnabled = (next: boolean): void => {
1699 appsEnabled = next;
1700 if (next) {
1701 executeActionTool?.enable();
1702 executeActionResumeTool?.enable();
1703 } else {
1704 executeActionTool?.disable();
1705 executeActionResumeTool?.disable();
1706 }
1707 };
1708
1709 // Best-effort usage observation; a failing observer never affects the tool.
1710 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