cswap-bend-cli
Releases (1)
-
0.1.0.0 indexed
Definitions (4,210)
swbase.bend
- def text_or
- def unwrap_json
- def is_some_str
- def from_ref
- def op_json
- def slot_strs
- def slots_ofThe slots listed in `sequence`, in order, as slot-key strings.
- def sel_ms
- def override_msg
- def noop
- def forced2
- def is_true
- def forced_result
- def sel_ls
- def num_strA JSON number as its text; None for anything else and for 0 (falsy).
- def sel_s
- def with_models`--model` limits ride on the result: {"models": [...], "modelSource": "cli"}.
swcreds.bend
- type CKind
- type OtherAnother slot's stored credential.
- def is_shared_key
- def keep_field
- def pick_fieldsThe fields of an object chain that are (or are not) shared across accounts.
- def append_fields
- def has_oauth
- def merge3
- def merge2
- def merge1
- def prepare_activationThe credential to write for `target` while `live` is replaced: Claude Code's account-independent fields (MCP logins, plugin secrets) ride along from the live one.
- def oauth_of
- def refresh_of2
- def refresh_of
- def access_of2
- def access_of
- def is_object
- def is_oauth_obj2
- def is_oauth_obj
- def same_lineage2
- def same_lineageThe credential fingerprint rule: the refresh token when there is one, else the whole text.
- def wipedClaude Code empties both tokens in place when a refresh is rejected.
- def foreign_slot
- def classify3
- def classify2b
- def classify2
- def classify`_classify_outgoing_credential` without the profile oracle: byte equality, refresh-token lineage, wiped tokens, another slot already holding this lineage, else unresolved.
- def kind_warning
- def org_compatible
- def sel_ck
- def foreign_or_synced
- def stored_uuid
- def resolved_kind4
- def resolved_kind3
- def drop_mismatchAn email match whose stored uuid disagrees is not a match.
- def uuid_inThe slot holding (uuid, org), if any.
- def resolved_slot3
- def resolved_slot2
- def resolved_slot
- def stored_org
- def resolved_kind2
- def resolved_kind
- def final_kind
- def preserveAlien and foreign live credentials are kept aside, never written into a slot.
switch.bend
- def ActM
- def ActM.pure
- def ActM.bind
- def direct4
- def direct3
- def direct2
- def direct1
- def switch_to`cswap switch <num|email|alias> [--force]`: the result object of contract 2.3.
- def is_disabled
- def cand_of2
- def cand_of
- def cands_of
- def drop_slot_str
- def usable
- def limits_label
- def stay_msg
- def note_pick
- def note_result
- def best_out
- def best_pick
- def best_run
- def rotate_do
- def rotate_out
- def rotate_run2
- def rotate_run
- def auto4
- def usage_json
- def auto3
- def auto2
- def preferred2
- def preferredSwitch with nobody logged in: the active slot, else the first.
- def reason_of
- def any_switchable
- def fallback_out
- def logged_out3
- def logged_out2
- def logged_out4
- def logged_out
- def auto_branch