Expand description
[cloud] configuration.
[cloud]
# enabled = true # unset: on while this machine is connected
url = "https://cloud.leanctx.com"
# root_key = "<base64>" # self-hosted Cloud: its root public key
auto_capture = true # 3.11.5 name `auto_draft` is read as an alias
pull_interval_minutes = 5 # 1..=60
metrics_upload = true
receipts_upload = true
bus = "auto" # auto | off
vault_labels = true
presence_names = true # false: no "working on" line for your team
[cloud.worker] # stricter local caps on the opt-in budget
# max_tasks_per_day = 3
# max_tokens_per_day = 200000
# max_usd_micros_per_day = 2000000The Cloud connector reads this section and re-exports these types as
its own config. It also registers what a config set
of a cloud. key applies at once (register_off_switches).
Structs§
- Cloud
Config - Cloud
Worker Config [cloud.worker]: stricter local caps on top of the server’s budget.
Enums§
Constants§
- DEFAULT_
PULL_ INTERVAL_ MINUTES - Default minutes between scheduler passes (SPEC-ENGINE §3.16).
- PULL_
INTERVAL_ BOUNDS - Allowed
pull_interval_minutes(SPEC-ENGINE §3.16).
Functions§
- register_
off_ switches - Register what a
config setof acloud.key applies at once (the connector stops its local recording when a switch is off). The first registration wins. - schema_
section [cloud]inlean-ctx config schema/config validate.
Type Aliases§
- OffSwitches
- Applies the
[cloud]off switches to the connector’s local state.