cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
daemon/view.bend
- def sent2
- def sentinel_ofThe overlay that hides a row: an expired token on the active account (idle Claude Code), or an account with no usable credential or no quota to read.
- def row_guard
- def row_of
- def is_slot
- def usage_one
- def usages_of
- def sel_mu
- def usage_pick
- def usage_for
- def sel_me
- def ent_pick
- def ent_for
- def email2
- def email_of
- def scoped_keep
- def scoped_wins
- def opt_win
- def win_rows
- def head_u32
- def err_text
- def sel_wl
- def poll_row2
- def poll_rowOne poll row: windows only for a trusted reading; the error only when the usage is unknown.
- def row_opt
- def push_row
- def ent_slot
- def poll_rows
- def slot_nat_of
- def ref_json{"number": N, "email": ...} for a slot of the roster.
- def opt_json
- def snap_accounts
- def snap_state
daemon/walk.bend
- type Trail
- type MoveWhat one attempt came to: finished, or retry with this trail.
- type WFixed inputs of the walk.
- type VerdictWhat freshening a candidate came to.
- def ActM
- def ActM.pure
- def ActM.bind
- def no_trail
- def trail_skip
- def trail_transient
- def lead_ofThe first decision's Out (its poll events), else the one at hand.
- def with_events
- def trail_events
- def with_info
- def mergedThe poll events first, then what acting on the decision produced.
- def applied
- def info_of
- def msg2
- def sys_message
- def failed_with
- def gave_up3
- def trail_sys
- def gave_upEvery candidate failed to freshen: a systemic refusal, or the network, is an error; otherwise there was simply nothing viable.
- def extend
- def worse2
- def worseThe most actionable systemic cause wins (a lower rank), so one needing a human never hides behind one that clears itself.
- def extend_sys
- def w_env
- def w_t0
- def w_ts
- def w_m
- def done_with
- def quarantined
- def verdict2
- def verdict1
- def verdict
- def route
- def try_target
- def on_go
- def on_other
- def on_act
- def next
- def attemptDecide again (without the slots already ruled out) and act.
- def retry
- def settle
- def again
- def again4
- def walk
- def runUp to 16 candidates are tried per tick (autoswitch.py walks the whole ranking; Bend has no mutual recursion for an unbounded loop here).
dirlock.bend
- def ActM
- def ActM.pure
- def ActM.bind
- def Dirlock.mtimeModification time of a path in whole seconds.
- def poll_ms
- def mkdir_ok
- def take_onceOne attempt: mkdir without -p, so it fails while the lock is held.
- def stale_of
- def is_stale
- def reclaim
- def basename
- def busy_msg
- def retakeTake over a stale lock, wait a beat, try again.
- def waitWait for the lock `fuel` more times, taking over a stale one.
- def tries
- def takeTake the lock at `dir` (its parent is created), waiting up to `timeout_ms`.
- def release
- def with_dirlockHold the directory lock around `act`, released whatever `act` answers.