Expand description
Whether this engine may use LeanCTX | Cloud: the release switch, the preview switch for a loopback Cloud, and the lines printed while Cloud is off. The engine reads it to keep Cloud tools and commands out of every list; the Cloud connector re-exports it.
Constants§
- CLOUD_
AVAILABLE - Release switch: the connector shipped switched off in 3.12.0 and 3.12.1
(
cloud connect/cloud linkrefused,cloudhidden from help, suggestions and completions). Owner 2026-11-04: LeanCTX | Cloud opens with 3.12.2. - CLOUD_
TOOLS - Cloud MCP tools. They ship with the connector but follow its release switch
(
available_locally, owner 28.10.): while it is off they are in no tool list and every call answersTOOL_NOT_AVAILABLE. - NOT_
AVAILABLE - The one line
cloud connect/cloud linkprint while the switch is off. - PREVIEW_
ENV - Test switch:
LEAN_CTX_CLOUD_PREVIEW=1opens the connector before the release, for a loopback Cloud only (the FakeCloud of the test suite). - TOOL_
NOT_ AVAILABLE - The one line a call to a Cloud MCP tool (
ctx_tasks) answers while the switch is off; the tools stay out of every tool list.
Functions§
- available_
for - Whether this engine may connect to the Cloud at
origin. - available_
locally - Whether Cloud commands that name no origin (
cloud link) may run. - is_
loopback - Whether
originnames this machine (127.0.0.1,localhost,::1).