cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
daemon/sess.bend
- def any_live
- def rest_live
- def json_keep
- def json_names
- def scan
- def liveIs a Claude session live against this slot's session profile?
daemon/shadow.bend
- type Step
- type Sh
- def field2
- def field
- def headroom_of
- def ActM
- def ActM.pure
- def ActM.bind
- def last_event
- def ctx_active
- def out_events
- def out_active
- def out_accts
- def out_mem
- def out_checked
- def decision_eventThe decision as the event the live daemon would have logged.
- def line
- def step_of
- def shadow2
- def shadow_stepWhat this tick would do: the finished outcome's own last event, or the decision it stopped at.
- def step_line
- def step_mem
- def step_checked
- def swallow
- def sh_env
- def sh_ctx
- def sh_log
- def sh_interval
- def emit
- def one_tick
- def once
- def nap
- def forever
- def body
- def runRun as the one shadow decider of the log's directory.
daemon/shadowcli.bend
- type Split
- def ActM
- def ActM.pure
- def ActM.bind
- def sp_shadow
- def sp_log
- def sp_rest
- def keep
- def mark
- def set_log
- def pick
- def next_pend
- def split`pend`: the previous argument was --shadow-log, so this one is its value.
- def settings_text
- def read_settings
- def flag_once
- def started
- def with_flags
- def with_log
- def runRun `auto --shadow ...` (ARGS is what follows the verb).
daemon/state.bend
- def ActM
- def ActM.pure
- def ActM.bind
- def state_path
- def lock_path
- def empty
- def obj_or_empty
- def parsed
- def read2
- def read_stateThe state object; {} when the file is missing, torn or not an object.
- def write_state
- def with_state_lockHold the state lock around `act`.
- def fl
- def opt
- def two
- def frac
- def cents_json
- def int_json
- def record_switchWhat `_perform` records after a switch.
- def quarantine_of
- def opt_text
- def entry
- def quarantine
- def release
- def quarantined_slots
- def entry_email
- def entry_fp2
- def entry_fp
- def first_part
- def last2
- def last_switch_atlastSwitchAt as seconds, None when absent or not a number.
- def cool2
- def in_cooldown`now - lastSwitchAt < cooldown`