Swcreds.prepare_activation: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/swcreds.bend as Swcreds Lines 78-82 of cswap-bend-cli@0.1.0.0/swcreds.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/swcreds.bend&start_line=78&end_line=82 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # The 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. A live API key or non-JSON leaves the target as is. def prepare_activation(+target: String, +live: String) -> String: merge1(Json.parse(live), Json.parse(target), target) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=parse https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swcreds.bend&name=merge1