cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
daemon/events.bend
- def two
- def fracDigits after the point with a trailing zero dropped, at least one digit.
- def float_text6000 -> "60.0", 4250 -> "42.5", 8766 -> "87.66".
- def fl
- def pct_label`%.10g`: 4000 -> "40", 8766 -> "87.66".
- def pair
- def str
- def event{"schemaVersion": 1, "event": KIND, "ts": TS, ...fields}
- def ref{"number": int, "email": str}
- def ref_opt
- def hr_json
- def headroom_chain
- def windows_chain
- def windows_pick
- def windows_all{slot: {"5h": 20.0, ...}} for the accounts that have windows.
- def errors_pickOnly an unknown-usage account with an error is listed.
- def errors_all
- def opt_obj
- def pollfetchErrors and windowsPct appear only when non-empty.
- def strs
- def switch
- def no_switch
- def quarantined
- def unquarantined
- def opt_str
- def is_none
- def all_exhausted`earliest` is an ISO Z stamp, or none when no reset is known.
- def sleep`seconds` is deciseconds (round(seconds, 1)).
- def error
- def config_warning
- def lineOne line of stdout: json.dumps(event).
- def s_of
- def f_of
- def ref_text
- def null_or
- def get_or_null
- def poll_text2
- def poll_text
- def detail_text
- def is_dry
- def switch_text
- def human2
- def humanOne line for the event, in the reference's words where they are simple.
daemon/fetch.bend
- def ActM
- def ActM.pure
- def ActM.bind
- def disabled_of
- def is_active
- def info_of
- def infos
- def tenthsThe threshold in tenths of a percent, as the collector wants it.
- def discard
- def fetch_all
daemon/freshen.bend
- def ActM
- def ActM.pure
- def ActM.bind
- def hex_of
- def sha256Hex sha256 of a text, through shasum(1) with the text on stdin (never argv).
- def tagged
- def hashed
- def fp_pick
- def fp_nonempty
- def fingerprintoauth.credential_fingerprint: the refresh token's hash, else the whole credential's.
- def has_oauth
- def rank2
- def systemic_rankThe deterministic refusals every candidate hits identically (autoswitch.py _SYSTEMIC_MESSAGES), most actionable first.
- def transient_or_systemic
- def kind_of
- def refresh_status
- def judged_grant
- def after_refresh"ok", "invalid_grant" (a dead credential: quarantine it) or "transient".
- def refresh_now
- def check2
- def check
- def judge2
- def judge
- def judge4Ensure a candidate's stored token outlives Claude Code's next minutes: a credential within 10 minutes of expiry is refreshed under its consume lock.
- def judge5A Claude session consuming this account owns its token: the daemon leaves it.
- def judge3
- def statusEnsure a candidate's stored token outlives Claude Code's next minutes: a credential within 10 minutes of expiry is refreshed under its consume lock.
daemon/gather.bend
- type Ent
- type Snap
- def ActM
- def ActM.pure
- def ActM.bind
- def is_true
- def refresh_of
- def kind2
- def kind_of
- def ent_of
- def mem_str
- def has_config
- def cred_of
- def ent_one
- def ents_of
- def rows3
- def rows2
- def rows_ofThe cached rows (accounts object); {} for a missing, torn or other-schema file.
- def read_rows
- def ents_for