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

Function applyAppsEnabled

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

Source from the content-addressed store, hash-verified

1617 * persist, and still return something useful (a deep link).
1618 */
1619 const applyAppsEnabled = (next: boolean): void => {
1620 appsEnabled = next;
1621 if (next) {
1622 executeActionTool?.enable();
1623 executeActionResumeTool?.enable();
1624 } else {
1625 executeActionTool?.disable();
1626 executeActionResumeTool?.disable();
1627 }
1628 };
1629
1630 // Best-effort usage observation; a failing observer never affects the tool.
1631 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