@claudiolabs/claudin 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -24
- package/dist/chunks/AgentTool-1.1.13-63r89cdz.mjs +1 -0
- package/dist/chunks/App-1.1.13-d46t1gxs.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.13-ss1skn67.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.13-akb18zhk.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.13-wy2pstpa.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.13-nrs4ahv7.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.13-p12n7vw3.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.13-tqx20akq.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.13-6nf4k00f.mjs +6 -0
- package/dist/chunks/Doctor-1.1.13-sab3pc3m.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.13-8j4yph77.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.13-ezctrhfh.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.13-fn55xkky.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.13-v601bm3n.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.13-m30010yq.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.13-r6p8ac38.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.13-2mn20qcd.mjs +1 -0
- package/dist/chunks/REPL-1.1.13-mn8t5yw9.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.13-ayr9p9vf.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.13-wvmmeycx.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.13-wy75ekbh.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.13-mbjqq83z.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.13-590kxc7c.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.13-3z3twxzs.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.13-wzknhxkr.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.13-ev0qre9c.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.13-mf4z3aws.mjs +1 -0
- package/dist/chunks/add-dir-1.1.13-r8re3j87.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.13-nxkcga73.mjs +1 -0
- package/dist/chunks/agents-1.1.13-86a1wgye.mjs +110 -0
- package/dist/chunks/agents-1.1.13-w1pmkekd.mjs +3 -0
- package/dist/chunks/api-1.1.13-5ffq20rc.mjs +1 -0
- package/dist/chunks/asciicast-1.1.13-633wvh0n.mjs +1 -0
- package/dist/chunks/assistant-1.1.13-9q7zxtfz.mjs +1 -0
- package/dist/chunks/auth-1.1.13-a50e1ztc.mjs +1 -0
- package/dist/chunks/auth-1.1.13-xv576tj3.mjs +1 -0
- package/dist/chunks/autoMode-1.1.13-3n3c9p8y.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.13-mb65jkk5.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.13-avr9z4k0.mjs +1 -0
- package/dist/chunks/branch-1.1.13-gmg9we2y.mjs +4 -0
- package/dist/chunks/bridge-1.1.13-hvfvhpm1.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.13-zzxf7mvh.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.13-f2fjmfs0.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.13-8tn5vy8z.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.13-97d9ec9y.mjs +1 -0
- package/dist/chunks/btw-1.1.13-v2hwppkk.mjs +1 -0
- package/dist/chunks/buddy-1.1.13-svfg8x3f.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.13-td1bna05.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.13-tmmf2k7r.mjs +4 -0
- package/dist/chunks/caches-1.1.13-s55yzhpm.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.13-8d0bp8yb.mjs +1 -0
- package/dist/chunks/claudemd-1.1.13-3mc0z25q.mjs +1 -0
- package/dist/chunks/clear-1.1.13-1d9yvw3f.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.13-882kpw7s.mjs +1 -0
- package/dist/chunks/cli-1.1.13-03rdpsbf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0dha376x.mjs +3 -0
- package/dist/chunks/cli-1.1.13-0h48j6a1.mjs +7 -0
- package/dist/chunks/cli-1.1.13-0qy978b3.mjs +3 -0
- package/dist/chunks/cli-1.1.13-0x1mk1dp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0y4933cs.mjs +2 -0
- package/dist/chunks/cli-1.1.13-0yte5zpd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-15nbdw38.mjs +2 -0
- package/dist/chunks/cli-1.1.13-17xy86gy.mjs +24 -0
- package/dist/chunks/cli-1.1.13-1d70jtz7.mjs +6 -0
- package/dist/chunks/cli-1.1.13-1frz0zm3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1jf910f2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1qk5qhgt.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1rfveg0v.mjs +2 -0
- package/dist/chunks/cli-1.1.13-1x4z2mj8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-24284zna.mjs +2 -0
- package/dist/chunks/cli-1.1.13-284pjmzy.mjs +4 -0
- package/dist/chunks/cli-1.1.13-2964cc2e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2a8k8qw7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2f0gzs1e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2m39r998.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2mrqqgcm.mjs +202 -0
- package/dist/chunks/cli-1.1.13-2sx1bxbt.mjs +2 -0
- package/dist/chunks/cli-1.1.13-2txesqy8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-3dmbtx8g.mjs +2 -0
- package/dist/chunks/cli-1.1.13-3wxfn6t5.mjs +2 -0
- package/dist/chunks/cli-1.1.13-46jvx14j.mjs +2 -0
- package/dist/chunks/cli-1.1.13-49gvv5kd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-4tt8dq0e.mjs +42 -0
- package/dist/chunks/cli-1.1.13-4vt96sm8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-53ght581.mjs +3 -0
- package/dist/chunks/cli-1.1.13-53zq1gs2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-5kpppj1f.mjs +6 -0
- package/dist/chunks/cli-1.1.13-61mygvzg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-64d0d5ye.mjs +2 -0
- package/dist/chunks/cli-1.1.13-65c7kxwt.mjs +12 -0
- package/dist/chunks/cli-1.1.13-669vhsjj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6727vw4f.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6b845car.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6c4qxmj3.mjs +4 -0
- package/dist/chunks/cli-1.1.13-6dcpjy34.mjs +17 -0
- package/dist/chunks/cli-1.1.13-6ebd7gpv.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6jy1pnge.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6k71beqh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-6tf67wfm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-74rczf0f.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7h18kpv0.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7k2bp2pf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7s34jqge.mjs +133 -0
- package/dist/chunks/cli-1.1.13-7srn3vy6.mjs +2 -0
- package/dist/chunks/cli-1.1.13-7wyfj1qp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-82y6dszx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-86kjp502.mjs +2 -0
- package/dist/chunks/cli-1.1.13-91q67gqp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9609q0ww.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9ktdmvzq.mjs +15 -0
- package/dist/chunks/cli-1.1.13-9qhgyzkx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9s0arh3g.mjs +25 -0
- package/dist/chunks/cli-1.1.13-9v3mg87v.mjs +2 -0
- package/dist/chunks/cli-1.1.13-9x53mnyd.mjs +5 -0
- package/dist/chunks/cli-1.1.13-a3q7qm6t.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a3s5tdea.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a3zfe19b.mjs +25 -0
- package/dist/chunks/cli-1.1.13-a40ncbc3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-a96dm0r5.mjs +4 -0
- package/dist/chunks/cli-1.1.13-aac9pss7.mjs +59 -0
- package/dist/chunks/cli-1.1.13-aeq919w1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-aqph7zr1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ayx92dtj.mjs +6 -0
- package/dist/chunks/cli-1.1.13-b47k2p92.mjs +21 -0
- package/dist/chunks/cli-1.1.13-b9sg0jsz.mjs +2 -0
- package/dist/chunks/cli-1.1.13-baxww5k9.mjs +3 -0
- package/dist/chunks/cli-1.1.13-c4zxjf91.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cd7jraqe.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cey8v1xc.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cg1m9a2x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ck2qzqbj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cm4vwx6e.mjs +2 -0
- package/dist/chunks/cli-1.1.13-cn9g3704.mjs +12 -0
- package/dist/chunks/cli-1.1.13-cqhxyzrd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-d4z9sv3g.mjs +2 -0
- package/dist/chunks/cli-1.1.13-d54qh52e.mjs +3 -0
- package/dist/chunks/cli-1.1.13-d8d30wps.mjs +3 -0
- package/dist/chunks/cli-1.1.13-djvyb4s5.mjs +3 -0
- package/dist/chunks/cli-1.1.13-dpsjxc84.mjs +2 -0
- package/dist/chunks/cli-1.1.13-dthjfxxw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e4hsds4b.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e4k7980n.mjs +2 -0
- package/dist/chunks/cli-1.1.13-e68npf24.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ehaqachs.mjs +2 -0
- package/dist/chunks/cli-1.1.13-epjmphrz.mjs +133 -0
- package/dist/chunks/cli-1.1.13-ev08z5ye.mjs +24 -0
- package/dist/chunks/cli-1.1.13-ewxej7em.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ey931psa.mjs +2 -0
- package/dist/chunks/cli-1.1.13-f5s7e6kg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-far5gqfj.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fccy9c48.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fjxx2wgm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fkcaczca.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fkvcsg0a.mjs +2 -0
- package/dist/chunks/cli-1.1.13-fr4zp0cx.mjs +3 -0
- package/dist/chunks/cli-1.1.13-g8k8na90.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gaa8s22w.mjs +8 -0
- package/dist/chunks/cli-1.1.13-gechs2yp.mjs +4 -0
- package/dist/chunks/cli-1.1.13-gfyds6b8.mjs +18 -0
- package/dist/chunks/cli-1.1.13-gh95gh19.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gmqmzw50.mjs +2 -0
- package/dist/chunks/cli-1.1.13-gzfw6n93.mjs +39 -0
- package/dist/chunks/cli-1.1.13-gznvgt6g.mjs +16 -0
- package/dist/chunks/cli-1.1.13-h1v6cap9.mjs +2 -0
- package/dist/chunks/cli-1.1.13-h7n0z0dz.mjs +2 -0
- package/dist/chunks/cli-1.1.13-h7xrb6x3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-hb5bb8jk.mjs +3 -0
- package/dist/chunks/cli-1.1.13-hg8x8693.mjs +6 -0
- package/dist/chunks/cli-1.1.13-hzneg4va.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j02dcs05.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j7dbk8te.mjs +2 -0
- package/dist/chunks/cli-1.1.13-j98qjhp9.mjs +15 -0
- package/dist/chunks/cli-1.1.13-jdcqc6bd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-je6371k7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-jevpf9b3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-k5sbyjwd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-k6ef9cy7.mjs +34 -0
- package/dist/chunks/cli-1.1.13-kbf9vss4.mjs +4 -0
- package/dist/chunks/cli-1.1.13-kct81ph3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kjdr6edt.mjs +15 -0
- package/dist/chunks/cli-1.1.13-kmrz3wh8.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kq8spsav.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ksvd60yr.mjs +2 -0
- package/dist/chunks/cli-1.1.13-kw2fntc3.mjs +3 -0
- package/dist/chunks/cli-1.1.13-m5grg33r.mjs +4 -0
- package/dist/chunks/cli-1.1.13-mct1fasm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-mt0y53s0.mjs +17 -0
- package/dist/chunks/cli-1.1.13-mzq23677.mjs +2 -0
- package/dist/chunks/cli-1.1.13-n24mxjbh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-n8nv58q7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-nbdp9ez1.mjs +3 -0
- package/dist/chunks/cli-1.1.13-nr09192d.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pa4chrcw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pam922jf.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pedv9sma.mjs +9 -0
- package/dist/chunks/cli-1.1.13-pjxb9g99.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pmejqt4x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-pscw4dkq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-psmq4bkh.mjs +50 -0
- package/dist/chunks/cli-1.1.13-q1hx591h.mjs +2 -0
- package/dist/chunks/cli-1.1.13-q1yggv9b.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qc5bvtyx.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qd5r2qba.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qhavh0s1.mjs +9 -0
- package/dist/chunks/cli-1.1.13-qr4adses.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qtzpy08k.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qv85wtc7.mjs +2 -0
- package/dist/chunks/cli-1.1.13-qxrjvprg.mjs +3 -0
- package/dist/chunks/cli-1.1.13-qyjx1fky.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r2qnta4s.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r4znfhyr.mjs +2 -0
- package/dist/chunks/cli-1.1.13-r9tfxszp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rcgr5xjp.mjs +1 -0
- package/dist/chunks/cli-1.1.13-rh27w2xj.mjs +24 -0
- package/dist/chunks/cli-1.1.13-rhtvcdjb.mjs +3 -0
- package/dist/chunks/cli-1.1.13-rmt4z6qm.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rnajmfsp.mjs +2 -0
- package/dist/chunks/cli-1.1.13-rrp2vm36.mjs +2 -0
- package/dist/chunks/cli-1.1.13-segzta4x.mjs +2 -0
- package/dist/chunks/cli-1.1.13-shz97pa0.mjs +2 -0
- package/dist/chunks/cli-1.1.13-smefk747.mjs +2 -0
- package/dist/chunks/cli-1.1.13-snkbv1w2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-sqg8rfkh.mjs +2 -0
- package/dist/chunks/cli-1.1.13-sycf9s0v.mjs +3 -0
- package/dist/chunks/cli-1.1.13-t4z97zfd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-t8ypngwg.mjs +4 -0
- package/dist/chunks/cli-1.1.13-tma5xwa2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-tx4y2gtw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-tz8pn7w4.mjs +24 -0
- package/dist/chunks/cli-1.1.13-v06xvs9s.mjs +2 -0
- package/dist/chunks/cli-1.1.13-v2synpdg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-v32emtk0.mjs +26 -0
- package/dist/chunks/cli-1.1.13-vm8xs878.mjs +3 -0
- package/dist/chunks/cli-1.1.13-vpgfmshm.mjs +4 -0
- package/dist/chunks/cli-1.1.13-vx6r9z72.mjs +45 -0
- package/dist/chunks/cli-1.1.13-vxpmt3js.mjs +66 -0
- package/dist/chunks/cli-1.1.13-wh5smpta.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wje228e3.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wmpc2gzg.mjs +2 -0
- package/dist/chunks/cli-1.1.13-wqteqtr2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ws1mny6h.mjs +58 -0
- package/dist/chunks/cli-1.1.13-x663d461.mjs +2 -0
- package/dist/chunks/cli-1.1.13-x79qava2.mjs +5413 -0
- package/dist/chunks/cli-1.1.13-x83epxhw.mjs +2 -0
- package/dist/chunks/cli-1.1.13-x92dpkgj.mjs +6 -0
- package/dist/chunks/cli-1.1.13-xbxnp58a.mjs +2 -0
- package/dist/chunks/cli-1.1.13-xjr3rwfq.mjs +6 -0
- package/dist/chunks/cli-1.1.13-xpwxcmvd.mjs +2 -0
- package/dist/chunks/cli-1.1.13-xqqf08vq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-y5d299s9.mjs +2 -0
- package/dist/chunks/cli-1.1.13-y6pa258f.mjs +4 -0
- package/dist/chunks/cli-1.1.13-y6vdh2z1.mjs +2 -0
- package/dist/chunks/cli-1.1.13-ykzv8nyq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z39hx0gz.mjs +20 -0
- package/dist/chunks/cli-1.1.13-z3t7b0fc.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z4p8zcbq.mjs +2 -0
- package/dist/chunks/cli-1.1.13-z9471mhs.mjs +4 -0
- package/dist/chunks/cli-1.1.13-zb95jpx7.mjs +4 -0
- package/dist/chunks/cli-1.1.13-zgnxf8h2.mjs +2 -0
- package/dist/chunks/cli-1.1.13-zmb192fn.mjs +18 -0
- package/dist/chunks/cli-1.1.13-zq5f89xg.mjs +5 -0
- package/dist/chunks/cli-1.1.13-zwkd4wt2.mjs +2 -0
- package/dist/chunks/client-1.1.13-6axfwqya.mjs +1 -0
- package/dist/chunks/color-1.1.13-g1rjvg86.mjs +1 -0
- package/dist/chunks/compact-1.1.13-9k4jts81.mjs +3 -0
- package/dist/chunks/config-1.1.13-58bj6t43.mjs +1 -0
- package/dist/chunks/config-1.1.13-csmwn3d0.mjs +1 -0
- package/dist/chunks/constants-1.1.13-cydjncsk.mjs +1 -0
- package/dist/chunks/context-1.1.13-04y3svxc.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.13-03weyc85.mjs +1 -0
- package/dist/chunks/conversation-1.1.13-3e1jc3w3.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.13-51e32r1x.mjs +1 -0
- package/dist/chunks/copy-1.1.13-4zq95frp.mjs +9 -0
- package/dist/chunks/cost-1.1.13-fwm0etgk.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.13-j73jx662.mjs +1 -0
- package/dist/chunks/createSession-1.1.13-2qt6zyq3.mjs +1 -0
- package/dist/chunks/debug-1.1.13-v33s5nkx.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.13-jyb9mebt.mjs +1526 -0
- package/dist/chunks/desktop-1.1.13-3pyvc57q.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.13-c8evf71r.mjs +1 -0
- package/dist/chunks/detection-1.1.13-k5td7n26.mjs +1 -0
- package/dist/chunks/diff-1.1.13-d31m696z.mjs +1 -0
- package/dist/chunks/doctor-1.1.13-59947n3f.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.13-tvrr2smf.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.13-yngv0q4n.mjs +1 -0
- package/dist/chunks/effort-1.1.13-mknzxvcm.mjs +13 -0
- package/dist/chunks/engine-1.1.13-p9g24e16.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.13-wvdxmeaw.mjs +1 -0
- package/dist/chunks/envUtils-1.1.13-v5y7eb11.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.13-5fx84mw2.mjs +1 -0
- package/dist/chunks/environments-1.1.13-dkqy0n2f.mjs +1 -0
- package/dist/chunks/errors-1.1.13-xf58n7yx.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.13-1mqkdys8.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.13-08pbvmpc.mjs +1 -0
- package/dist/chunks/exit-1.1.13-n91w8c6v.mjs +1 -0
- package/dist/chunks/explorer-1.1.13-zh3tbspv.mjs +1 -0
- package/dist/chunks/export-1.1.13-vgfr4wyy.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.13-ww6z773x.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.13-sfm57e8v.mjs +1 -0
- package/dist/chunks/fast-1.1.13-2an1j0he.mjs +1 -0
- package/dist/chunks/feedback-1.1.13-dz4kng15.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.13-zdhe9x8w.mjs +1 -0
- package/dist/chunks/git-1.1.13-n4743t7m.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.13-39mkwpe0.mjs +1 -0
- package/dist/chunks/goal-1.1.13-kt16xsn7.mjs +4 -0
- package/dist/chunks/growthbook-1.1.13-12sbk0rh.mjs +1 -0
- package/dist/chunks/headless-1.1.13-me11khs4.mjs +2 -0
- package/dist/chunks/heapdump-1.1.13-2m1pfhn8.mjs +6 -0
- package/dist/chunks/help-1.1.13-sdyj6mfj.mjs +1 -0
- package/dist/chunks/hookChains-1.1.13-kwx32g3b.mjs +3 -0
- package/dist/chunks/hooks-1.1.13-cgr9s1yz.mjs +1 -0
- package/dist/chunks/hooks-1.1.13-rbvjw5bs.mjs +79 -0
- package/dist/chunks/ide-1.1.13-699b7xgf.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.13-m17yzsrx.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.13-x1sbkysh.mjs +1 -0
- package/dist/chunks/index-1.1.13-1magnv9t.mjs +1 -0
- package/dist/chunks/index-1.1.13-20fw0vyg.mjs +1 -0
- package/dist/chunks/index-1.1.13-3dw8qr3q.mjs +1 -0
- package/dist/chunks/index-1.1.13-5fffrw39.mjs +23 -0
- package/dist/chunks/index-1.1.13-7v1v2795.mjs +1 -0
- package/dist/chunks/index-1.1.13-89b63y1a.mjs +1 -0
- package/dist/chunks/index-1.1.13-9hmkds89.mjs +1 -0
- package/dist/chunks/index-1.1.13-gy0jpfpr.mjs +1 -0
- package/dist/chunks/index-1.1.13-hvpk64ts.mjs +9 -0
- package/dist/chunks/index-1.1.13-pfnaxhas.mjs +9 -0
- package/dist/chunks/index-1.1.13-pq81pd76.mjs +2 -0
- package/dist/chunks/index-1.1.13-q7xgkez4.mjs +1 -0
- package/dist/chunks/index-1.1.13-qed5hqgm.mjs +1 -0
- package/dist/chunks/index-1.1.13-qncvk76v.mjs +1 -0
- package/dist/chunks/index-1.1.13-qzm5brgp.mjs +2 -0
- package/dist/chunks/index-1.1.13-sqz3new4.mjs +1 -0
- package/dist/chunks/index-1.1.13-swwn9vsr.mjs +1 -0
- package/dist/chunks/index-1.1.13-tseyy72z.mjs +1 -0
- package/dist/chunks/index-1.1.13-v219xtkm.mjs +1 -0
- package/dist/chunks/index-1.1.13-vbws03kk.mjs +30 -0
- package/dist/chunks/index-1.1.13-vpewasbk.mjs +1 -0
- package/dist/chunks/index-1.1.13-yncdgpnc.mjs +5 -0
- package/dist/chunks/index-1.1.13-zs9h2fe1.mjs +1 -0
- package/dist/chunks/init-1.1.13-6m1d58s6.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.13-awvfmbnw.mjs +1 -0
- package/dist/chunks/ink-1.1.13-vsh153b4.mjs +1 -0
- package/dist/chunks/insights-1.1.13-q1te7p8c.mjs +870 -0
- package/dist/chunks/install-1.1.13-4m9h1gcp.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.13-6psvvf35.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.13-rav6afh8.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.13-8hhppwk0.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.13-18fm94xz.mjs +1 -0
- package/dist/chunks/keybindings-1.1.13-3k2cx6e8.mjs +2 -0
- package/dist/chunks/knowledge-1.1.13-v9293wfr.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.13-1hy01yw3.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.13-gkw0j99z.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.13-mh4yata3.mjs +1 -0
- package/dist/chunks/log-1.1.13-j05vnw45.mjs +1 -0
- package/dist/chunks/main-1.1.13-9eb7dv86.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.13-9ded70wd.mjs +1 -0
- package/dist/chunks/mcp-1.1.13-kp94f55t.mjs +1 -0
- package/dist/chunks/mcp-1.1.13-vyp2stqn.mjs +4 -0
- package/dist/chunks/mcp-1.1.13-xwk9expt.mjs +17 -0
- package/dist/chunks/mcpb-1.1.13-e4x7a1cq.mjs +1 -0
- package/dist/chunks/memory-1.1.13-xq6wwcec.mjs +72 -0
- package/dist/chunks/model-1.1.13-e9231b6a.mjs +2 -0
- package/dist/chunks/model-1.1.13-qkp6et1j.mjs +1 -0
- package/dist/chunks/node-1.1.13-eg9nzfxw.mjs +12 -0
- package/dist/chunks/oauth-1.1.13-65c8za8p.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.13-9ym9m1mj.mjs +14 -0
- package/dist/chunks/output-style-1.1.13-3ew33fvw.mjs +1 -0
- package/dist/chunks/package-L37ZVTF4-1.1.13-53j92t2g.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.13-1jbm6fkk.mjs +1 -0
- package/dist/chunks/parser-1.1.13-5g8tytma.mjs +1 -0
- package/dist/chunks/passes-1.1.13-5xeg8jj4.mjs +1 -0
- package/dist/chunks/permissions-1.1.13-rtwebb2e.mjs +3 -0
- package/dist/chunks/permissions-1.1.13-tzfqtc98.mjs +1 -0
- package/dist/chunks/plan-1.1.13-fh6rsd03.mjs +1 -0
- package/dist/chunks/plist-1.1.13-4dh5ng03.mjs +1 -0
- package/dist/chunks/plugin-1.1.13-s7ah8dsz.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.13-yv5cavjc.mjs +1 -0
- package/dist/chunks/plugins-1.1.13-nbh7kt80.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.13-364dz1r6.mjs +2 -0
- package/dist/chunks/print-1.1.13-cba5ekrx.mjs +57 -0
- package/dist/chunks/process-1.1.13-cavp5bw3.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.13-fxe0rhkm.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.13-r4eqk2r6.mjs +9 -0
- package/dist/chunks/prompt-1.1.13-31mpaj7k.mjs +1 -0
- package/dist/chunks/prompt-1.1.13-ncxsva6c.mjs +1 -0
- package/dist/chunks/prompts-1.1.13-dhrj0hdm.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.13-gvd8r63q.mjs +13 -0
- package/dist/chunks/provider-1.1.13-aec8n85t.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.13-zy5qqb30.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.13-cxfdm6ma.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.13-v7dcfp2w.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.13-w8vyweq5.mjs +26 -0
- package/dist/chunks/registry-1.1.13-0gr1a931.mjs +1 -0
- package/dist/chunks/release-notes-1.1.13-e00b70ja.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.13-sqy72754.mjs +2 -0
- package/dist/chunks/remote-env-1.1.13-xx2p7c0r.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.13-8aq4kysc.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.13-pnkdpev8.mjs +1 -0
- package/dist/chunks/rename-1.1.13-7mj7635m.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.13-1jjw29zv.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.13-r9abzwa5.mjs +1 -0
- package/dist/chunks/resume-1.1.13-j22aqaqb.mjs +2 -0
- package/dist/chunks/rewind-1.1.13-f1jde571.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.13-m3dg8wsz.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.13-g7t752v0.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.13-8dyb4jrf.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.13-ns6smzfv.mjs +1 -0
- package/dist/chunks/session-1.1.13-je6e2q22.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.13-75db2930.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.13-8251mhbe.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.13-xg7nehyd.mjs +1 -0
- package/dist/chunks/settings-1.1.13-tbc6gf4g.mjs +1 -0
- package/dist/chunks/setup-1.1.13-pk56d4kg.mjs +5 -0
- package/dist/chunks/sinks-1.1.13-vgc4py0g.mjs +1 -0
- package/dist/chunks/skills-1.1.13-k0dra3w7.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.13-fvpsbvqy.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.13-v5fdv702.mjs +1 -0
- package/dist/chunks/state-1.1.13-m97vrspe.mjs +1 -0
- package/dist/chunks/stats-1.1.13-x2ranep4.mjs +6 -0
- package/dist/chunks/status-1.1.13-xv9dh6gx.mjs +1 -0
- package/dist/chunks/stickers-1.1.13-am6n03pg.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.13-w3gcpn8h.mjs +1 -0
- package/dist/chunks/tasks-1.1.13-y9rjkzvh.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.13-paydek0r.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.13-w7zznyew.mjs +1 -0
- package/dist/chunks/teleport-1.1.13-fm868anx.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.13-nfx648p3.mjs +1 -0
- package/dist/chunks/theme-1.1.13-2a11bn8e.mjs +1 -0
- package/dist/chunks/thinkback-1.1.13-8a8pxp4f.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.13-0v3gmmaa.mjs +1 -0
- package/dist/chunks/toolPool-1.1.13-6pma3gae.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.13-gmb9gs2k.mjs +1 -0
- package/dist/chunks/tools-1.1.13-pdnr83pg.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.13-82cy5yze.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.13-bqqaen2x.mjs +69 -0
- package/dist/chunks/types-1.1.13-2f1xtenh.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.13-89cvmahe.mjs +4 -0
- package/dist/chunks/update-1.1.13-0hd3pst5.mjs +72 -0
- package/dist/chunks/upgrade-1.1.13-3yjr0p81.mjs +1 -0
- package/dist/chunks/upload-1.1.13-kxah5qjz.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.13-1jkww0dp.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.13-xxqesd6p.mjs +1 -0
- package/dist/chunks/usage-1.1.13-mwqdp27m.mjs +1 -0
- package/dist/chunks/util-1.1.13-vzt92dj7.mjs +1 -0
- package/dist/chunks/utils-1.1.13-dw4qnd8d.mjs +1 -0
- package/dist/chunks/vim-1.1.13-1d635y0m.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.13-dd5a4gny.mjs +13 -0
- package/dist/chunks/watcher-1.1.13-s8bc1gyy.mjs +1 -0
- package/dist/chunks/wiki-1.1.13-0j3t4xgh.mjs +132 -0
- package/dist/chunks/workflows-1.1.13-4jfegd8x.mjs +1 -0
- package/dist/chunks/worktree-1.1.13-t2dn2nay.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.13-sc9g7vcd.mjs +1 -0
- package/dist/chunks/wrapper-1.1.13-4tbb5aym.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/dist/help-agents.txt +1 -1
- package/dist/help-auth.txt +1 -1
- package/dist/help-auto-mode.txt +1 -1
- package/dist/help-doctor.txt +1 -1
- package/dist/help-install.txt +1 -1
- package/dist/help-mcp.txt +1 -1
- package/dist/help-plugin.txt +1 -1
- package/dist/help-plugins.txt +1 -1
- package/dist/help-setup-token.txt +1 -1
- package/dist/help-update.txt +1 -1
- package/dist/help-upgrade.txt +1 -1
- package/dist/help-workflow.txt +1 -1
- package/dist/help.txt +3 -4
- package/install.cjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.12-z67tcj7m.mjs +0 -1
- package/dist/chunks/App-1.1.12-6m8fx08p.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.12-9rdxzxf0.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.12-6rckmhy4.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.12-xdatx4qm.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.12-p6nvmxpz.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.12-j1dkkgzh.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.12-9pjvfqhh.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.12-k3538pgr.mjs +0 -6
- package/dist/chunks/Doctor-1.1.12-8xnts7st.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.12-t2ees4c0.mjs +0 -6
- package/dist/chunks/Grove-1.1.12-z9nf34rs.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.12-dnkmjp57.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.12-hb5hwbwd.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.12-7q3pvsg2.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.12-w85qg0sk.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.12-3p5fgrdr.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.12-sqzzs4qj.mjs +0 -1
- package/dist/chunks/REPL-1.1.12-ejf4py4g.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.12-z1gm7qjh.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.12-ktkjmqt0.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.12-df4xpg25.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.12-2jttx03a.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.12-bsh7aza9.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.12-1hm6hjzf.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.12-heqpnxfc.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.12-nqtr7drj.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.12-36c5q5d7.mjs +0 -1
- package/dist/chunks/add-dir-1.1.12-4r3h4r9d.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.12-xjtxhm9n.mjs +0 -1
- package/dist/chunks/agents-1.1.12-5a1wg8yy.mjs +0 -110
- package/dist/chunks/agents-1.1.12-yq791fds.mjs +0 -3
- package/dist/chunks/api-1.1.12-w7wkenbt.mjs +0 -1
- package/dist/chunks/asciicast-1.1.12-k7kngvg3.mjs +0 -1
- package/dist/chunks/assistant-1.1.12-n50thbh3.mjs +0 -1
- package/dist/chunks/auth-1.1.12-0qp19bt1.mjs +0 -1
- package/dist/chunks/auth-1.1.12-9a3a2p9d.mjs +0 -1
- package/dist/chunks/autoMode-1.1.12-zn10hew4.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.12-s1tcgwnw.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.12-6hfegmgt.mjs +0 -1
- package/dist/chunks/branch-1.1.12-92zy497f.mjs +0 -4
- package/dist/chunks/bridge-1.1.12-fmkkv0ft.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.12-6ef9yk1w.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.12-h641n63k.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.12-4cgwnkv3.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.12-kfyejqjb.mjs +0 -1
- package/dist/chunks/btw-1.1.12-dnt55cvn.mjs +0 -1
- package/dist/chunks/buddy-1.1.12-2qy9cqkv.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.12-y10v5wg0.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.12-z78x71tj.mjs +0 -4
- package/dist/chunks/caches-1.1.12-rg9yrcpg.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.12-4cwvvrgp.mjs +0 -1
- package/dist/chunks/claudemd-1.1.12-k6g88gh4.mjs +0 -1
- package/dist/chunks/clear-1.1.12-dbbxf36q.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.12-5t5v4w1p.mjs +0 -1
- package/dist/chunks/cli-1.1.12-03j3j1bx.mjs +0 -5
- package/dist/chunks/cli-1.1.12-03wcx04d.mjs +0 -4
- package/dist/chunks/cli-1.1.12-06rfexx7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-074txgfh.mjs +0 -12
- package/dist/chunks/cli-1.1.12-0te4nxph.mjs +0 -3
- package/dist/chunks/cli-1.1.12-141j9tb0.mjs +0 -8
- package/dist/chunks/cli-1.1.12-14f97qyv.mjs +0 -2
- package/dist/chunks/cli-1.1.12-14n2vprd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-1kpyfq9h.mjs +0 -3
- package/dist/chunks/cli-1.1.12-1n54vqtf.mjs +0 -1
- package/dist/chunks/cli-1.1.12-1v1j4j93.mjs +0 -2
- package/dist/chunks/cli-1.1.12-1w6d2zap.mjs +0 -3
- package/dist/chunks/cli-1.1.12-23j4qrhe.mjs +0 -24
- package/dist/chunks/cli-1.1.12-24hecrkb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2jkk9gdn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2nzqqw4h.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2rsbwq0w.mjs +0 -2
- package/dist/chunks/cli-1.1.12-2sfgep06.mjs +0 -2
- package/dist/chunks/cli-1.1.12-30xcatmk.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3avc8vy5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3nh3r36s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3rcvzpnf.mjs +0 -2
- package/dist/chunks/cli-1.1.12-3ytes8mc.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4270h6mb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-42p6d7f9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-46wkbg3h.mjs +0 -24
- package/dist/chunks/cli-1.1.12-46xs6yv5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4q37r7c7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4v2wmqm5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-4xwk18f5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-52z4wbfk.mjs +0 -2
- package/dist/chunks/cli-1.1.12-53smjkkn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5c6amx7a.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5dbxwy0d.mjs +0 -5408
- package/dist/chunks/cli-1.1.12-5ebdya2v.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5epjf6b6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5n60hab1.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5phn452s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5qar5rtd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-5wda517s.mjs +0 -24
- package/dist/chunks/cli-1.1.12-6492m2bk.mjs +0 -3
- package/dist/chunks/cli-1.1.12-6h4jsnrb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-6hs980bz.mjs +0 -4
- package/dist/chunks/cli-1.1.12-6kn2n3qt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-6nk81f9n.mjs +0 -2
- package/dist/chunks/cli-1.1.12-6p7q4hd1.mjs +0 -3
- package/dist/chunks/cli-1.1.12-6w4t0de0.mjs +0 -66
- package/dist/chunks/cli-1.1.12-7009ycac.mjs +0 -2
- package/dist/chunks/cli-1.1.12-71evpmpb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7c33mey4.mjs +0 -17
- package/dist/chunks/cli-1.1.12-7fgcfdc9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7p6yz3vy.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7v3c8nf8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-7w47edrg.mjs +0 -2
- package/dist/chunks/cli-1.1.12-81527bdh.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8e1x1ne0.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8f8r3ncx.mjs +0 -6
- package/dist/chunks/cli-1.1.12-8fpt1x4e.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8kym0ef6.mjs +0 -3
- package/dist/chunks/cli-1.1.12-8nsx4xmd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-8vqxb580.mjs +0 -2
- package/dist/chunks/cli-1.1.12-916jr8n9.mjs +0 -3
- package/dist/chunks/cli-1.1.12-95neb0qs.mjs +0 -2
- package/dist/chunks/cli-1.1.12-9ebacb10.mjs +0 -2
- package/dist/chunks/cli-1.1.12-9f1q50xe.mjs +0 -5
- package/dist/chunks/cli-1.1.12-9rhhwnqq.mjs +0 -18
- package/dist/chunks/cli-1.1.12-9zcjp5sz.mjs +0 -25
- package/dist/chunks/cli-1.1.12-a5k4ztc0.mjs +0 -2
- package/dist/chunks/cli-1.1.12-aee47rfb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-afkfmm9p.mjs +0 -4
- package/dist/chunks/cli-1.1.12-b2khpv7n.mjs +0 -2
- package/dist/chunks/cli-1.1.12-bc08z4xe.mjs +0 -2
- package/dist/chunks/cli-1.1.12-bjra5k78.mjs +0 -12
- package/dist/chunks/cli-1.1.12-bwz4w7h6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-c2gz12r6.mjs +0 -6
- package/dist/chunks/cli-1.1.12-c2pssp70.mjs +0 -2
- package/dist/chunks/cli-1.1.12-c40rcer1.mjs +0 -133
- package/dist/chunks/cli-1.1.12-c4rttvkn.mjs +0 -6
- package/dist/chunks/cli-1.1.12-c5qeebez.mjs +0 -2
- package/dist/chunks/cli-1.1.12-c5qghmz7.mjs +0 -45
- package/dist/chunks/cli-1.1.12-cehv7hpf.mjs +0 -2
- package/dist/chunks/cli-1.1.12-cv3yy30x.mjs +0 -2
- package/dist/chunks/cli-1.1.12-cxgcszn5.mjs +0 -2
- package/dist/chunks/cli-1.1.12-d1nm8nza.mjs +0 -4
- package/dist/chunks/cli-1.1.12-d51fm3w8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-d7rpenw1.mjs +0 -2
- package/dist/chunks/cli-1.1.12-dbebv805.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ddtnjfs6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-dgfste25.mjs +0 -3
- package/dist/chunks/cli-1.1.12-djycjsgd.mjs +0 -16
- package/dist/chunks/cli-1.1.12-dtv1b9yb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-dyrae0ap.mjs +0 -17
- package/dist/chunks/cli-1.1.12-dz2c907x.mjs +0 -2
- package/dist/chunks/cli-1.1.12-e12y7jsd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ekjf9eqs.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ep5dsvhp.mjs +0 -2
- package/dist/chunks/cli-1.1.12-eyp8nyhg.mjs +0 -9
- package/dist/chunks/cli-1.1.12-f9r3wz7j.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fcmw5w0b.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fhakaf4h.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fkqwvtrq.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fpn24m0s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-fww07vcc.mjs +0 -20
- package/dist/chunks/cli-1.1.12-fx9tstdr.mjs +0 -4
- package/dist/chunks/cli-1.1.12-fy2fghxn.mjs +0 -6
- package/dist/chunks/cli-1.1.12-fzme9j9v.mjs +0 -2
- package/dist/chunks/cli-1.1.12-g42nmgyj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-g74smv34.mjs +0 -2
- package/dist/chunks/cli-1.1.12-gcneaf27.mjs +0 -9
- package/dist/chunks/cli-1.1.12-gj4qv6k2.mjs +0 -2
- package/dist/chunks/cli-1.1.12-gj7b8n1z.mjs +0 -4
- package/dist/chunks/cli-1.1.12-gwf0e4mf.mjs +0 -2
- package/dist/chunks/cli-1.1.12-h7y15004.mjs +0 -21
- package/dist/chunks/cli-1.1.12-hg1d1fgx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-hz5fe64e.mjs +0 -2
- package/dist/chunks/cli-1.1.12-j5w0mkzd.mjs +0 -2
- package/dist/chunks/cli-1.1.12-j66wgyhx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jcdbxf8s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jespejyn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jjjbjcg7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-jv4zbbhn.mjs +0 -2
- package/dist/chunks/cli-1.1.12-k11knrs8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-k27ty3ar.mjs +0 -2
- package/dist/chunks/cli-1.1.12-kdwqa420.mjs +0 -4
- package/dist/chunks/cli-1.1.12-kv8ajcy1.mjs +0 -6
- package/dist/chunks/cli-1.1.12-kzy42jsj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ma7hkjc4.mjs +0 -2
- package/dist/chunks/cli-1.1.12-mbz4shze.mjs +0 -133
- package/dist/chunks/cli-1.1.12-mc1t8ngb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-mr8fpbax.mjs +0 -2
- package/dist/chunks/cli-1.1.12-mrjjav4s.mjs +0 -59
- package/dist/chunks/cli-1.1.12-n1489021.mjs +0 -24
- package/dist/chunks/cli-1.1.12-n32xbyrn.mjs +0 -3
- package/dist/chunks/cli-1.1.12-n7zph2hg.mjs +0 -2
- package/dist/chunks/cli-1.1.12-nfb55a30.mjs +0 -3
- package/dist/chunks/cli-1.1.12-nfqrrpxy.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ngk7eqab.mjs +0 -2
- package/dist/chunks/cli-1.1.12-p4fz1xfs.mjs +0 -58
- package/dist/chunks/cli-1.1.12-ph37v1jt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-pyh14x7q.mjs +0 -2
- package/dist/chunks/cli-1.1.12-q1ejgfk9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-q6ks02c2.mjs +0 -2
- package/dist/chunks/cli-1.1.12-q8d5kbeh.mjs +0 -2
- package/dist/chunks/cli-1.1.12-qv15ch44.mjs +0 -2
- package/dist/chunks/cli-1.1.12-r39m68an.mjs +0 -12
- package/dist/chunks/cli-1.1.12-r8d25p10.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ra14et4a.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rambm7kx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rhbwxyg7.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rn91dahv.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rpazm264.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rpfw7xpx.mjs +0 -18
- package/dist/chunks/cli-1.1.12-rz34q5jj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-rz9vy1pm.mjs +0 -4
- package/dist/chunks/cli-1.1.12-saf4srq3.mjs +0 -2
- package/dist/chunks/cli-1.1.12-sj6ttn0z.mjs +0 -2
- package/dist/chunks/cli-1.1.12-sjzxt59x.mjs +0 -26
- package/dist/chunks/cli-1.1.12-sk6tjvhy.mjs +0 -15
- package/dist/chunks/cli-1.1.12-sn2zpx90.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ss7r3f1r.mjs +0 -50
- package/dist/chunks/cli-1.1.12-swkg0qbh.mjs +0 -2
- package/dist/chunks/cli-1.1.12-t5bn5vd1.mjs +0 -2
- package/dist/chunks/cli-1.1.12-t72ybt8s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-t7wqmksj.mjs +0 -2
- package/dist/chunks/cli-1.1.12-tnbdhy9q.mjs +0 -3
- package/dist/chunks/cli-1.1.12-tr130hgr.mjs +0 -2
- package/dist/chunks/cli-1.1.12-tyfp1v92.mjs +0 -2
- package/dist/chunks/cli-1.1.12-v395vz88.mjs +0 -202
- package/dist/chunks/cli-1.1.12-v6t5mf9a.mjs +0 -2
- package/dist/chunks/cli-1.1.12-v92yevq8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-vf9e6229.mjs +0 -2
- package/dist/chunks/cli-1.1.12-vmt4b9p8.mjs +0 -2
- package/dist/chunks/cli-1.1.12-w03v7m0a.mjs +0 -3
- package/dist/chunks/cli-1.1.12-w367zd8v.mjs +0 -15
- package/dist/chunks/cli-1.1.12-w43nkerm.mjs +0 -2
- package/dist/chunks/cli-1.1.12-w85y45c2.mjs +0 -2
- package/dist/chunks/cli-1.1.12-w932xt3k.mjs +0 -2
- package/dist/chunks/cli-1.1.12-wffm9a57.mjs +0 -2
- package/dist/chunks/cli-1.1.12-wgwn4sap.mjs +0 -2
- package/dist/chunks/cli-1.1.12-wkfkz74f.mjs +0 -2
- package/dist/chunks/cli-1.1.12-x31de1c9.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xa0wj1br.mjs +0 -4
- package/dist/chunks/cli-1.1.12-xgpj2nyq.mjs +0 -3
- package/dist/chunks/cli-1.1.12-xkbvk7gy.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xnc015zw.mjs +0 -39
- package/dist/chunks/cli-1.1.12-xs6j60cr.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xsn6jnhb.mjs +0 -2
- package/dist/chunks/cli-1.1.12-xstqyy5j.mjs +0 -2
- package/dist/chunks/cli-1.1.12-y138q38p.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ydnrj62w.mjs +0 -2
- package/dist/chunks/cli-1.1.12-yefhww7n.mjs +0 -25
- package/dist/chunks/cli-1.1.12-yk347gmt.mjs +0 -7
- package/dist/chunks/cli-1.1.12-ym0xwz0f.mjs +0 -2
- package/dist/chunks/cli-1.1.12-ynj3kc2v.mjs +0 -4
- package/dist/chunks/cli-1.1.12-yppz4ya2.mjs +0 -15
- package/dist/chunks/cli-1.1.12-ytbvkdpk.mjs +0 -2
- package/dist/chunks/cli-1.1.12-yy8193ev.mjs +0 -2
- package/dist/chunks/cli-1.1.12-z3m10b9z.mjs +0 -2
- package/dist/chunks/cli-1.1.12-z6ysegyx.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zc3ybemp.mjs +0 -3
- package/dist/chunks/cli-1.1.12-zcapjmh1.mjs +0 -34
- package/dist/chunks/cli-1.1.12-zdc0tyd1.mjs +0 -4
- package/dist/chunks/cli-1.1.12-zdsde34g.mjs +0 -42
- package/dist/chunks/cli-1.1.12-zm8dmy4y.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zntk4z6s.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zpcxbqx6.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zpzh9jxt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zrye84ef.mjs +0 -6
- package/dist/chunks/cli-1.1.12-zvv4a1gt.mjs +0 -2
- package/dist/chunks/cli-1.1.12-zx5fc844.mjs +0 -3
- package/dist/chunks/client-1.1.12-vcr1mkrr.mjs +0 -1
- package/dist/chunks/color-1.1.12-ct9ya3mq.mjs +0 -1
- package/dist/chunks/compact-1.1.12-6r7bss38.mjs +0 -3
- package/dist/chunks/config-1.1.12-qqtdd7an.mjs +0 -1
- package/dist/chunks/config-1.1.12-y8t2tjqd.mjs +0 -1
- package/dist/chunks/constants-1.1.12-cm63efby.mjs +0 -1
- package/dist/chunks/context-1.1.12-ygn6bxv9.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.12-hgswa08e.mjs +0 -1
- package/dist/chunks/conversation-1.1.12-tphkevth.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.12-829bfs3w.mjs +0 -1
- package/dist/chunks/copy-1.1.12-r9n6a65j.mjs +0 -9
- package/dist/chunks/cost-1.1.12-n2rdrg20.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.12-egtd3eaw.mjs +0 -1
- package/dist/chunks/createSession-1.1.12-7gxk01sr.mjs +0 -1
- package/dist/chunks/debug-1.1.12-b6cytcv1.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.12-rgcrme58.mjs +0 -1526
- package/dist/chunks/desktop-1.1.12-eckskas4.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.12-ratnwpjs.mjs +0 -1
- package/dist/chunks/detection-1.1.12-395de1na.mjs +0 -1
- package/dist/chunks/diff-1.1.12-7fqs95xh.mjs +0 -1
- package/dist/chunks/doctor-1.1.12-xfvdw00n.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.12-tx9s23b0.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.12-61wn1eaf.mjs +0 -1
- package/dist/chunks/effort-1.1.12-5q04d93m.mjs +0 -13
- package/dist/chunks/engine-1.1.12-8xkrm2vj.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.12-75x734zy.mjs +0 -1
- package/dist/chunks/envUtils-1.1.12-r6n7156t.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.12-x8tyrfwf.mjs +0 -1
- package/dist/chunks/environments-1.1.12-dcnn1d4j.mjs +0 -1
- package/dist/chunks/errors-1.1.12-nwhp3qgf.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.12-hwkpkwfe.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.12-y0sj5esm.mjs +0 -1
- package/dist/chunks/exit-1.1.12-gxfn9nw3.mjs +0 -1
- package/dist/chunks/explorer-1.1.12-jcxv04by.mjs +0 -1
- package/dist/chunks/export-1.1.12-zxnph32a.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.12-7w75gnnp.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.12-n12v83qy.mjs +0 -1
- package/dist/chunks/fast-1.1.12-371erhxm.mjs +0 -1
- package/dist/chunks/feedback-1.1.12-s34ps1x1.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.12-0ncbc73w.mjs +0 -1
- package/dist/chunks/git-1.1.12-wxtpf7pf.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.12-tttfpren.mjs +0 -1
- package/dist/chunks/goal-1.1.12-800r9esg.mjs +0 -4
- package/dist/chunks/grove-1.1.12-hv4r4hb8.mjs +0 -1
- package/dist/chunks/growthbook-1.1.12-wxg22631.mjs +0 -1
- package/dist/chunks/headless-1.1.12-w864zwd1.mjs +0 -2
- package/dist/chunks/heapdump-1.1.12-3jwp0863.mjs +0 -6
- package/dist/chunks/help-1.1.12-kzvzc554.mjs +0 -1
- package/dist/chunks/hookChains-1.1.12-fkv0v6gn.mjs +0 -3
- package/dist/chunks/hooks-1.1.12-p4z7dnw6.mjs +0 -79
- package/dist/chunks/hooks-1.1.12-xchahxt5.mjs +0 -1
- package/dist/chunks/ide-1.1.12-d8rscp4q.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.12-s674xy0j.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.12-x8zn544c.mjs +0 -1
- package/dist/chunks/index-1.1.12-02zxjhq3.mjs +0 -1
- package/dist/chunks/index-1.1.12-1vh2ahxx.mjs +0 -1
- package/dist/chunks/index-1.1.12-2pstq7tv.mjs +0 -9
- package/dist/chunks/index-1.1.12-3dbbn7w7.mjs +0 -1
- package/dist/chunks/index-1.1.12-5a7hynt4.mjs +0 -1
- package/dist/chunks/index-1.1.12-5mfghyec.mjs +0 -1
- package/dist/chunks/index-1.1.12-6vq9c1cr.mjs +0 -1
- package/dist/chunks/index-1.1.12-7p2zkyey.mjs +0 -1
- package/dist/chunks/index-1.1.12-7vsfkxfa.mjs +0 -2
- package/dist/chunks/index-1.1.12-9kvmaraj.mjs +0 -23
- package/dist/chunks/index-1.1.12-c8fpc37f.mjs +0 -1
- package/dist/chunks/index-1.1.12-d9r4f332.mjs +0 -1
- package/dist/chunks/index-1.1.12-earg3m7e.mjs +0 -1
- package/dist/chunks/index-1.1.12-es1dys6g.mjs +0 -1
- package/dist/chunks/index-1.1.12-nghq39nb.mjs +0 -1
- package/dist/chunks/index-1.1.12-pbgc1mh4.mjs +0 -1
- package/dist/chunks/index-1.1.12-py9kpda6.mjs +0 -30
- package/dist/chunks/index-1.1.12-q0mp0qzt.mjs +0 -1
- package/dist/chunks/index-1.1.12-rw9g1s3p.mjs +0 -5
- package/dist/chunks/index-1.1.12-s6pbqjnw.mjs +0 -1
- package/dist/chunks/index-1.1.12-sbwkw323.mjs +0 -1
- package/dist/chunks/index-1.1.12-x2xqtds2.mjs +0 -9
- package/dist/chunks/index-1.1.12-yqxq96cy.mjs +0 -2
- package/dist/chunks/init-1.1.12-t8gxxp63.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.12-bvd6m3pc.mjs +0 -1
- package/dist/chunks/ink-1.1.12-c5se9pvd.mjs +0 -1
- package/dist/chunks/insights-1.1.12-5keqwf7b.mjs +0 -870
- package/dist/chunks/install-1.1.12-623af2vt.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.12-e87ed92t.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.12-v4bew01g.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.12-0c5g9078.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.12-2qc63t4e.mjs +0 -1
- package/dist/chunks/keybindings-1.1.12-a0tmf36r.mjs +0 -2
- package/dist/chunks/knowledge-1.1.12-363c6h7r.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.12-fqjqfvtm.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.12-ybqbmem8.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.12-0szntw6f.mjs +0 -1
- package/dist/chunks/log-1.1.12-qb76ahe6.mjs +0 -1
- package/dist/chunks/main-1.1.12-e4jqmbqy.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.12-gn8k7e7q.mjs +0 -1
- package/dist/chunks/mcp-1.1.12-79yf4k4w.mjs +0 -4
- package/dist/chunks/mcp-1.1.12-f2qmv0zk.mjs +0 -1
- package/dist/chunks/mcp-1.1.12-zfjm905b.mjs +0 -17
- package/dist/chunks/mcpb-1.1.12-5ce16qgj.mjs +0 -1
- package/dist/chunks/memory-1.1.12-d08yzqtm.mjs +0 -72
- package/dist/chunks/model-1.1.12-cba9df5d.mjs +0 -1
- package/dist/chunks/model-1.1.12-qqs773ew.mjs +0 -2
- package/dist/chunks/node-1.1.12-rvzx843p.mjs +0 -12
- package/dist/chunks/oauth-1.1.12-fktc2gey.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.12-fhkx69xv.mjs +0 -14
- package/dist/chunks/output-style-1.1.12-t539nvk9.mjs +0 -1
- package/dist/chunks/package-L37ZVTF4-1.1.12-fhh7sea5.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.12-98w20c9k.mjs +0 -1
- package/dist/chunks/parser-1.1.12-zafdjj8h.mjs +0 -1
- package/dist/chunks/passes-1.1.12-cfx78b3r.mjs +0 -1
- package/dist/chunks/permissions-1.1.12-7v81g5xj.mjs +0 -3
- package/dist/chunks/permissions-1.1.12-8r0rwpj3.mjs +0 -1
- package/dist/chunks/plan-1.1.12-68zd5zhz.mjs +0 -1
- package/dist/chunks/plist-1.1.12-qbs00pf8.mjs +0 -1
- package/dist/chunks/plugin-1.1.12-thq4hntn.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.12-ewtmw9rh.mjs +0 -1
- package/dist/chunks/plugins-1.1.12-3cv1cq26.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.12-d2y5qxhy.mjs +0 -2
- package/dist/chunks/print-1.1.12-28d4f6k1.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.12-b9svr4k8.mjs +0 -1
- package/dist/chunks/process-1.1.12-chcr08qr.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.12-d1yg1qp9.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.12-yh9sm9jn.mjs +0 -9
- package/dist/chunks/prompt-1.1.12-eqqsbefq.mjs +0 -1
- package/dist/chunks/prompt-1.1.12-my1cpxq3.mjs +0 -1
- package/dist/chunks/prompts-1.1.12-xznb2ad4.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.12-40y37me1.mjs +0 -13
- package/dist/chunks/provider-1.1.12-8tmes6kx.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.12-k7xhy2fd.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.12-yshek88b.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.12-gxbek2zs.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.12-s1q5g1ny.mjs +0 -34
- package/dist/chunks/registry-1.1.12-wkqn4ts6.mjs +0 -1
- package/dist/chunks/release-notes-1.1.12-qfbyqd13.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.12-5my0jgr4.mjs +0 -2
- package/dist/chunks/remote-env-1.1.12-wz3p1bq9.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.12-anebgzqr.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.12-4622xyt5.mjs +0 -1
- package/dist/chunks/rename-1.1.12-tqghxn33.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.12-qc15dz9b.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.12-s2k2vt3c.mjs +0 -1
- package/dist/chunks/resume-1.1.12-ryzpjeqs.mjs +0 -2
- package/dist/chunks/rewind-1.1.12-1fe45fnp.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.12-bxwa8e9d.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.12-8arepd3m.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.12-y5vfwm88.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.12-bmqzjkd8.mjs +0 -1
- package/dist/chunks/session-1.1.12-55r46xq4.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.12-dyw8e5zx.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.12-xy8msffh.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.12-wt7grqer.mjs +0 -1
- package/dist/chunks/settings-1.1.12-qw143rxg.mjs +0 -1
- package/dist/chunks/setup-1.1.12-0vs8v1y9.mjs +0 -5
- package/dist/chunks/sinks-1.1.12-b8md831f.mjs +0 -1
- package/dist/chunks/skills-1.1.12-8axg6568.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.12-m1fc0a1m.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.12-4p3bf4ag.mjs +0 -1
- package/dist/chunks/state-1.1.12-ckqt4tjb.mjs +0 -1
- package/dist/chunks/stats-1.1.12-wf77dajm.mjs +0 -6
- package/dist/chunks/status-1.1.12-901ytber.mjs +0 -1
- package/dist/chunks/stickers-1.1.12-aebpa8cn.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.12-r8kpq95b.mjs +0 -1
- package/dist/chunks/tasks-1.1.12-gmrvpykv.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.12-xyywtqtf.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.12-njh39thh.mjs +0 -1
- package/dist/chunks/teleport-1.1.12-rh5bkep5.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.12-ct6aey8w.mjs +0 -1
- package/dist/chunks/theme-1.1.12-t5254zeg.mjs +0 -1
- package/dist/chunks/thinkback-1.1.12-z360yz4z.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.12-y1wq3m6b.mjs +0 -1
- package/dist/chunks/toolPool-1.1.12-p38eypkj.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.12-1tghfpxm.mjs +0 -1
- package/dist/chunks/tools-1.1.12-ajkb4njh.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.12-yjnkzy41.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.12-3hpr7sds.mjs +0 -69
- package/dist/chunks/types-1.1.12-p981e2xb.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.12-mvab53j9.mjs +0 -4
- package/dist/chunks/update-1.1.12-tnmfcwxb.mjs +0 -72
- package/dist/chunks/upgrade-1.1.12-d1wcx9qz.mjs +0 -1
- package/dist/chunks/upload-1.1.12-pdryb6wx.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.12-96ye5mxn.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.12-d3qb4n7w.mjs +0 -1
- package/dist/chunks/usage-1.1.12-rbb8qhyy.mjs +0 -1
- package/dist/chunks/util-1.1.12-dmfb6s9t.mjs +0 -1
- package/dist/chunks/utils-1.1.12-aqwbefma.mjs +0 -1
- package/dist/chunks/vim-1.1.12-750k4yz3.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.12-ex8pbh7f.mjs +0 -13
- package/dist/chunks/watcher-1.1.12-jnj825rr.mjs +0 -1
- package/dist/chunks/wiki-1.1.12-pqmnnn75.mjs +0 -132
- package/dist/chunks/workflows-1.1.12-81m0dz4r.mjs +0 -1
- package/dist/chunks/worktree-1.1.12-fnr58dd9.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.12-m3y6kfsn.mjs +0 -1
- package/dist/chunks/wrapper-1.1.12-gz9canae.mjs +0 -7
- /package/dist/chunks/{cli-1.1.12-r3fqsq5b.mjs → cli-1.1.13-8812dqjq.mjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{kb as M,lb as C}from"./cli-1.1.12-71evpmpb.mjs";import{$n as _,ao as x,gI as T,hI as h,tG as m,vG as v}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import{GZ as u,K1 as p,d1 as U,f1 as z}from"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import{m4 as D,n4 as w,o4 as H,p4 as y}from"./cli-1.1.12-gwf0e4mf.mjs";import{q4 as P}from"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import{Iaa as E,Waa as j}from"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import{Zsa as B}from"./cli-1.1.12-2nzqqw4h.mjs";p();j();var S=B(u(),1),W=B(P(),1);v();x();h();y();function e(L){let f=S.c(18),{targetRepo:G,initialPaths:b,onSelectPath:X,onCancel:I}=L,[q,R]=W.useState(b),[J,F]=W.useState(null),[Y,V]=W.useState(!1),N;if(f[0]!==q||f[1]!==I||f[2]!==X||f[3]!==G)N=async(k)=>{if(k==="cancel"){I();return}if(V(!0),F(null),await M(k,G)){X(k);return}C(G,k);let c=q.filter((d)=>d!==k);R(c),V(!1),F(`${E(k)} no longer contains the correct repository. Select another path.`)},f[0]=q,f[1]=I,f[2]=X,f[3]=G,f[4]=N;else N=f[4];let Z=N,O;if(f[5]!==q){let k;if(f[7]===Symbol.for("react.memo_cache_sentinel"))k={label:"Cancel",value:"cancel"},f[7]=k;else k=f[7];O=[...q.map(g),k],f[5]=q,f[6]=O}else O=f[6];let A=O,K;if(f[8]!==q.length||f[9]!==J||f[10]!==Z||f[11]!==A||f[12]!==G||f[13]!==Y)K=q.length>0?H(D,{children:[H(U,{flexDirection:"column",gap:1,children:[J&&w(z,{color:"error",children:J}),H(z,{children:["Open Claudin in ",w(z,{bold:!0,children:G}),":"]})]}),Y?H(U,{children:[w(T,{}),w(z,{children:" Validating repository…"})]}):w(m,{options:A,onChange:(k)=>void Z(k)})]}):H(U,{flexDirection:"column",gap:1,children:[J&&w(z,{color:"error",children:J}),H(z,{dimColor:!0,children:["Run claude --teleport from a checkout of ",G]})]}),f[8]=q.length,f[9]=J,f[10]=Z,f[11]=A,f[12]=G,f[13]=Y,f[14]=K;else K=f[14];let Q;if(f[15]!==I||f[16]!==K)Q=w(_,{title:"Teleport to Repo",onCancel:I,color:"background",children:K}),f[15]=I,f[16]=K,f[17]=Q;else Q=f[17];return Q}function g(L){return{label:H(z,{children:["Use ",w(z,{bold:!0,children:E(L)})]}),value:L}}export{e as TeleportRepoMismatchDialog};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{DI as KI,Rn as MI,Sn as yI,Tn as i,Un as TI,Vn as PI,Wn as bI,Xn as qI,Yn as kI,gI as l,hI as GI,lI as JI,mI as SI,tG as zI,vG as CI,xI as e}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import{EY as g,GY as NI,qY as FI,rY as wI}from"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import{GZ as o,K1 as HI,d1 as H,f1 as _,z1 as DI}from"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import{n4 as f,o4 as O,p4 as m}from"./cli-1.1.12-gwf0e4mf.mjs";import{q4 as $}from"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import{H4 as AI,N4 as BI}from"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import{m_ as OI,r_ as vI}from"./cli-1.1.12-zpzh9jxt.mjs";import"./cli-1.1.12-v395vz88.mjs";import{kha as _I,pha as EI}from"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import{Oja as u,Rja as n}from"./cli-1.1.12-k27ty3ar.mjs";import{Rka as p,Uka as RI}from"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import{lla as c,pla as r,wla as WI}from"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import{Aqa as x,pra as LI}from"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import{Zsa as S}from"./cli-1.1.12-2nzqqw4h.mjs";n();var UI=S(o(),1),VI=S($(),1);LI();n();WI();KI();var s=S(o(),1),h=S($(),1);function II(J){let I=s.c(8),[Z,V]=h.useState(!1),[F,K]=h.useState(null),[P,B]=h.useState(null),X;if(I[0]!==J)X=async(G)=>{V(!0),K(null),B(G),u("tengu_teleport_resume_session",{source:J,session_id:G.id});try{let Y=await e(G.id);return x({sessionId:G.id}),V(!1),Y}catch(Y){let q=Y,E={message:q instanceof c?q.message:r(q),formattedMessage:q instanceof c?q.formattedMessage:void 0,isOperationError:q instanceof c};return K(E),V(!1),null}},I[0]=J,I[1]=X;else X=I[1];let R=X,D;if(I[2]===Symbol.for("react.memo_cache_sentinel"))D=()=>{K(null)},I[2]=D;else D=I[2];let L=D,Q;if(I[3]!==F||I[4]!==Z||I[5]!==R||I[6]!==P)Q={resumeSession:R,isResuming:Z,error:F,selectedSession:P,clearError:L},I[3]=F,I[4]=Z,I[5]=R,I[6]=P,I[7]=Q;else Q=I[7];return Q}HI();NI();wI();BI();HI();NI();yI();RI();vI();EI();bI();CI();kI();TI();GI();SI();m();var U=S($(),1),fI="Updated",uI=" ";function QI({onSelect:J,onCancel:I,isEmbedded:Z=!1}){let{rows:V}=FI(),[F,K]=U.useState([]),[P,B]=U.useState(null),[X,R]=U.useState(!0),[D,L]=U.useState(null),[Q,G]=U.useState(!1),[Y,q]=U.useState(!1),[E,T]=U.useState(1),b=MI("confirm:no","Confirmation","Esc"),v=U.useCallback(async()=>{try{R(!0),L(null);let A=await OI();B(A),p(`Current repository: ${A||"not detected"}`);let N=await AI(),W=N;if(A)W=N.filter((C)=>{if(!C.repo)return!1;return`${C.repo.owner.login}/${C.repo.name}`===A}),p(`Filtered ${W.length} sessions for repo ${A} from ${N.length} total`);let j=[...W].sort((C,t)=>{let ZI=new Date(C.updated_at);return new Date(t.updated_at).getTime()-ZI.getTime()});K(j)}catch(A){let N=A instanceof Error?A.message:String(A);p(`Error loading code sessions: ${N}`),L(cI(N))}finally{R(!1),G(!1)}},[]),k=()=>{G(!0),v()};g("confirm:no",I,{context:"Confirmation"}),DI((A,N)=>{if(N.ctrl&&A==="c"){I();return}if(N.ctrl&&A==="r"&&D){k();return}if(D!==null&&N.return){I();return}});let z=U.useCallback(()=>{q(!0),v()},[q,v]);if(!Y)return f(JI,{onComplete:z});if(X)return O(H,{flexDirection:"column",padding:1,children:[O(H,{flexDirection:"row",children:[f(l,{}),f(_,{bold:!0,children:"Loading Claude Code sessions…"})]}),f(_,{dimColor:!0,children:Q?"Retrying…":"Fetching your Claude Code sessions…"})]});if(D)return O(H,{flexDirection:"column",padding:1,children:[f(_,{bold:!0,color:"error",children:"Error loading Claude Code sessions"}),hI(D),O(_,{dimColor:!0,children:["Press ",f(_,{bold:!0,children:"Ctrl+R"})," to retry · Press"," ",f(_,{bold:!0,children:b})," to cancel"]})]});if(F.length===0)return O(H,{flexDirection:"column",padding:1,children:[O(_,{bold:!0,children:["No Claude Code sessions found",P&&O(_,{children:[" for ",P]})]}),f(H,{marginTop:1,children:O(_,{dimColor:!0,children:["Press ",f(_,{bold:!0,children:b})," to cancel"]})})]});let M=F.map((A)=>({...A,timeString:_I(new Date(A.updated_at))})),w=Math.max(fI.length,...M.map((A)=>A.timeString.length)),y=M.map(({timeString:A,title:N,id:W})=>{return{label:`${A.padEnd(w," ")} ${N}`,value:W}}),a=7,d=Math.max(1,Z?Math.min(F.length,5,V-6-a):Math.min(F.length,V-1-a)),XI=d+a,YI=F.length>d;return O(H,{flexDirection:"column",padding:1,height:XI,children:[O(_,{bold:!0,children:["Select a session to resume",YI&&O(_,{dimColor:!0,children:[" ","(",E," of ",F.length,")"]}),P&&O(_,{dimColor:!0,children:[" (",P,")"]}),":"]}),O(H,{flexDirection:"column",marginTop:1,flexGrow:1,children:[f(H,{marginLeft:2,children:O(_,{bold:!0,children:[fI.padEnd(w," "),uI,"Session Title"]})}),f(zI,{visibleOptionCount:d,options:y,onChange:(A)=>{let N=F.find((W)=>W.id===A);if(N)J(N)},onFocus:(A)=>{let N=y.findIndex((W)=>W.value===A);if(N>=0)T(N+1)}})]}),f(H,{flexDirection:"row",children:f(_,{dimColor:!0,children:O(qI,{children:[f(i,{shortcut:"↑/↓",action:"select"}),f(i,{shortcut:"Enter",action:"confirm"}),f(PI,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})})]})}function cI(J){let I=J.toLowerCase();if(I.includes("fetch")||I.includes("network")||I.includes("timeout"))return"network";if(I.includes("auth")||I.includes("token")||I.includes("permission")||I.includes("oauth")||I.includes("not authenticated")||I.includes("/login")||I.includes("console account")||I.includes("403"))return"auth";if(I.includes("api")||I.includes("rate limit")||I.includes("500")||I.includes("529"))return"api";return"other"}function hI(J){switch(J){case"network":return f(H,{marginY:1,flexDirection:"column",children:f(_,{dimColor:!0,children:"Check your internet connection"})});case"auth":return O(H,{marginY:1,flexDirection:"column",children:[f(_,{dimColor:!0,children:"Teleport requires a Claude account"}),O(_,{dimColor:!0,children:["Run ",f(_,{bold:!0,children:"/login"}),' and select "Claude account with subscription"']})]});case"api":return f(H,{marginY:1,flexDirection:"column",children:f(_,{dimColor:!0,children:"Sorry, Claude encountered an error"})});case"other":return f(H,{marginY:1,flexDirection:"row",children:f(_,{dimColor:!0,children:"Sorry, Claude Code encountered an error"})})}}GI();m();function Qf(J){let I=UI.c(25),{onComplete:Z,onCancel:V,onError:F,isEmbedded:K,source:P}=J,B=K===void 0?!1:K,{resumeSession:X,isResuming:R,error:D,selectedSession:L}=II(P),Q,G;if(I[0]!==P)Q=()=>{u("tengu_teleport_started",{source:P})},G=[P],I[0]=P,I[1]=Q,I[2]=G;else Q=I[1],G=I[2];VI.useEffect(Q,G);let Y;if(I[3]!==D||I[4]!==Z||I[5]!==F||I[6]!==X)Y=async(z)=>{let M=await X(z);if(M)Z(M);else if(D){if(F)F(D.message,D.formattedMessage)}},I[3]=D,I[4]=Z,I[5]=F,I[6]=X,I[7]=Y;else Y=I[7];let q=Y,E;if(I[8]!==V)E=()=>{u("tengu_teleport_cancelled",{}),V()},I[8]=V,I[9]=E;else E=I[9];let T=E,b=!!D&&!F,v;if(I[10]!==b)v={context:"Global",isActive:b},I[10]=b,I[11]=v;else v=I[11];if(g("app:interrupt",T,v),R&&L){let z;if(I[12]===Symbol.for("react.memo_cache_sentinel"))z=O(H,{flexDirection:"row",children:[f(l,{}),f(_,{bold:!0,children:"Resuming session…"})]}),I[12]=z;else z=I[12];let M;if(I[13]!==L.title)M=O(H,{flexDirection:"column",padding:1,children:[z,O(_,{dimColor:!0,children:['Loading "',L.title,'"…']})]}),I[13]=L.title,I[14]=M;else M=I[14];return M}if(D&&!F){let z;if(I[15]===Symbol.for("react.memo_cache_sentinel"))z=f(_,{bold:!0,color:"error",children:"Failed to resume session"}),I[15]=z;else z=I[15];let M;if(I[16]!==D.message)M=f(_,{dimColor:!0,children:D.message}),I[16]=D.message,I[17]=M;else M=I[17];let w;if(I[18]===Symbol.for("react.memo_cache_sentinel"))w=f(H,{marginTop:1,children:O(_,{dimColor:!0,children:["Press ",f(_,{bold:!0,children:"Esc"})," to cancel"]})}),I[18]=w;else w=I[18];let y;if(I[19]!==M)y=O(H,{flexDirection:"column",padding:1,children:[z,M,w]}),I[19]=M,I[20]=y;else y=I[20];return y}let k;if(I[21]!==T||I[22]!==q||I[23]!==B)k=f(QI,{onSelect:q,onCancel:T,isEmbedded:B}),I[21]=T,I[22]=q,I[23]=B,I[24]=k;else k=I[24];return k}export{Qf as TeleportResumeWrapper};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{LB as p,XB as o}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import{B3 as l,v3 as E,w3 as O,x3 as c}from"./cli-1.1.12-ma7hkjc4.mjs";import{D3 as y,E3 as V,F3 as v,G3 as R,H3 as M,J3 as i}from"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import{U7 as _,V7 as d}from"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import{Mga as W,R_ as H,T_ as T,Uga as g,uaa as A,waa as w}from"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import{Rka as Y,Uka as I}from"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import{bta as S}from"./cli-1.1.12-2nzqqw4h.mjs";function C(){return _(m)}function u(){let z,G=new Promise((K)=>{z=K}),J=D;return D=G,J.then(()=>z)}function P(z){return{red:"red",blue:"blue",green:"green",yellow:"yellow",purple:"magenta",orange:"colour208",pink:"colour205",cyan:"cyan"}[z]}function f(z){return H(v,z)}function $(z){return H(v,["-L",M(),...z])}class N{type="tmux";displayName="tmux";supportsHideShow=!0;async isAvailable(){return c()}async isRunningInside(){return E()}async createTeammatePaneInSwarmView(z,G){let J=await u();try{if(await this.isRunningInside())return await this.createTeammatePaneWithLeader(z,G);return await this.createTeammatePaneExternal(z,G)}finally{J()}}async sendCommandToPane(z,G,J=!1){let Q=await(J?$:f)(["send-keys","-t",z,G,"Enter"]);if(Q.code!==0)throw Error(`Failed to send command to pane ${z}: ${Q.stderr}`)}async setPaneBorderColor(z,G,J=!1){let K=P(G),Q=J?$:f;await Q(["select-pane","-t",z,"-P",`bg=default,fg=${K}`]),await Q(["set-option","-p","-t",z,"pane-border-style",`fg=${K}`]),await Q(["set-option","-p","-t",z,"pane-active-border-style",`fg=${K}`])}async setPaneTitle(z,G,J,K=!1){let Q=P(J),q=K?$:f;await q(["select-pane","-t",z,"-T",G]),await q(["set-option","-p","-t",z,"pane-border-format",`#[fg=${Q},bold] #{pane_title} #[default]`])}async enablePaneBorderStatus(z,G=!1){let J=z||await this.getCurrentWindowTarget();if(!J)return;await(G?$:f)(["set-option","-w","-t",J,"pane-border-status","top"])}async rebalancePanes(z,G){if(G)await this.rebalancePanesWithLeader(z);else await this.rebalancePanesTiled(z)}async killPane(z,G=!1){return(await(G?$:f)(["kill-pane","-t",z])).code===0}async hidePane(z,G=!1){let J=G?$:f;await J(["new-session","-d","-s",R]);let K=await J(["break-pane","-d","-s",z,"-t",`${R}:`]);if(K.code===0)Y(`[TmuxBackend] Hidden pane ${z}`);else Y(`[TmuxBackend] Failed to hide pane ${z}: ${K.stderr}`);return K.code===0}async showPane(z,G,J=!1){let K=J?$:f,Q=await K(["join-pane","-h","-s",z,"-t",G]);if(Q.code!==0)return Y(`[TmuxBackend] Failed to show pane ${z}: ${Q.stderr}`),!1;Y(`[TmuxBackend] Showed pane ${z} in ${G}`),await K(["select-layout","-t",G,"main-vertical"]);let Z=(await K(["list-panes","-t",G,"-F","#{pane_id}"])).stdout.trim().split(`
|
|
2
|
-
`).filter(Boolean);if(Z[0])await K(["resize-pane","-t",Z[0],"-x","30%"]);return!0}async getCurrentPaneId(){let z=O();if(z)return z;let G=await H(v,["display-message","-p","#{pane_id}"]);if(G.code!==0)return Y(`[TmuxBackend] Failed to get current pane ID (exit ${G.code}): ${G.stderr}`),null;return G.stdout.trim()}async getCurrentWindowTarget(){if(h)return h;let z=O(),G=["display-message"];if(z)G.push("-t",z);G.push("-p","#{session_name}:#{window_index}");let J=await H(v,G);if(J.code!==0)return Y(`[TmuxBackend] Failed to get current window target (exit ${J.code}): ${J.stderr}`),null;return h=J.stdout.trim(),h}async getCurrentWindowPaneCount(z,G=!1){let J=z||await this.getCurrentWindowTarget();if(!J)return null;let K=["list-panes","-t",J,"-F","#{pane_id}"],Q=G?await $(K):await f(K);if(Q.code!==0)return W(Error(`[TmuxBackend] Failed to get pane count for ${J} (exit ${Q.code}): ${Q.stderr}`)),null;return A(Q.stdout.trim().split(`
|
|
3
|
-
`),Boolean)}async hasSessionInSwarm(z){return(await $(["has-session","-t",z])).code===0}async createExternalSwarmSession(){if(!await this.hasSessionInSwarm(y)){let q=await $(["new-session","-d","-s",y,"-n",V,"-P","-F","#{pane_id}"]);if(q.code!==0)throw Error(`Failed to create swarm session: ${q.stderr||"Unknown error"}`);let Z=q.stdout.trim(),B=`${y}:${V}`;return Y(`[TmuxBackend] Created external swarm session with window ${B}, pane ${Z}`),{windowTarget:B,paneId:Z}}let J=(await $(["list-windows","-t",y,"-F","#{window_name}"])).stdout.trim().split(`
|
|
4
|
-
`).filter(Boolean),K=`${y}:${V}`;if(J.includes(V)){let Z=(await $(["list-panes","-t",K,"-F","#{pane_id}"])).stdout.trim().split(`
|
|
5
|
-
`).filter(Boolean);return{windowTarget:K,paneId:Z[0]||""}}let Q=await $(["new-window","-t",y,"-n",V,"-P","-F","#{pane_id}"]);if(Q.code!==0)throw Error(`Failed to create swarm-view window: ${Q.stderr||"Unknown error"}`);return{windowTarget:K,paneId:Q.stdout.trim()}}async createTeammatePaneWithLeader(z,G){let J=await this.getCurrentPaneId(),K=await this.getCurrentWindowTarget();if(!J||!K)throw Error("Could not determine current tmux pane/window");let Q=await this.getCurrentWindowPaneCount(K);if(Q===null)throw Error("Could not determine pane count for current window");let q=Q===1,Z;if(q)Z=await H(v,["split-window","-t",J,"-h","-l","70%","-P","-F","#{pane_id}"]);else{let j=(await H(v,["list-panes","-t",K,"-F","#{pane_id}"])).stdout.trim().split(`
|
|
6
|
-
`).filter(Boolean).slice(1),b=j.length,U=b%2===1,k=Math.floor((b-1)/2),x=j[k]||j[j.length-1];Z=await H(v,["split-window","-t",x,U?"-v":"-h","-P","-F","#{pane_id}"])}if(Z.code!==0)throw Error(`Failed to create teammate pane: ${Z.stderr}`);let B=Z.stdout.trim();return Y(`[TmuxBackend] Created teammate pane for ${z}: ${B}`),await this.setPaneBorderColor(B,G),await this.setPaneTitle(B,z,G),await this.rebalancePanesWithLeader(K),await C(),{paneId:B,isFirstTeammate:q}}async createTeammatePaneExternal(z,G){let{windowTarget:J,paneId:K}=await this.createExternalSwarmSession(),Q=await this.getCurrentWindowPaneCount(J,!0);if(Q===null)throw Error("Could not determine pane count for swarm window");let q=!F&&Q===1,Z;if(q)Z=K,F=!0,Y(`[TmuxBackend] Using initial pane for first teammate ${z}: ${Z}`),await this.enablePaneBorderStatus(J,!0);else{let X=(await $(["list-panes","-t",J,"-F","#{pane_id}"])).stdout.trim().split(`
|
|
7
|
-
`).filter(Boolean),L=X.length,j=L%2===1,b=Math.floor((L-1)/2),U=X[b]||X[X.length-1],k=await $(["split-window","-t",U,j?"-v":"-h","-P","-F","#{pane_id}"]);if(k.code!==0)throw Error(`Failed to create teammate pane: ${k.stderr}`);Z=k.stdout.trim(),Y(`[TmuxBackend] Created teammate pane for ${z}: ${Z}`)}return await this.setPaneBorderColor(Z,G,!0),await this.setPaneTitle(Z,z,G,!0),await this.rebalancePanesTiled(J),await C(),{paneId:Z,isFirstTeammate:q}}async rebalancePanesWithLeader(z){let J=(await f(["list-panes","-t",z,"-F","#{pane_id}"])).stdout.trim().split(`
|
|
8
|
-
`).filter(Boolean);if(J.length<=2)return;await f(["select-layout","-t",z,"main-vertical"]);let K=J[0];await f(["resize-pane","-t",K,"-x","30%"]),Y(`[TmuxBackend] Rebalanced ${J.length-1} teammate panes with leader`)}async rebalancePanesTiled(z){let J=(await $(["list-panes","-t",z,"-F","#{pane_id}"])).stdout.trim().split(`
|
|
9
|
-
`).filter(Boolean);if(J.length<=1)return;await $(["select-layout","-t",z,"tiled"]),Y(`[TmuxBackend] Rebalanced ${J.length} teammate panes with tiled layout`)}}var F=!1,h=null,D,m=200;var s=S(()=>{I();T();g();w();d();i();l();o();D=Promise.resolve();p(N)});s();export{N as TmuxBackend};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eD as a,fD as b,gD as c,hD as d,iD as e}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";e();export{b as outputSchema,a as inputSchema,c as clearToolSearchDescriptionCache,d as ToolSearchTool};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$M as aq,Jm as m,Km as pq,MS as _,QS as nq,RM as Dq,aj as U,bj as Qq,tG as Tq,vG as cq,yG as vq,zG as rq}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import{vU as Jq,wU as Aq}from"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import{EY as wq,GY as mq,JY as kq,KY as iq}from"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import{GZ as uq,K1 as gq,d1 as Vq,f1 as f,j1 as Mq}from"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import{m4 as r,n4 as X,o4 as G,p4 as fq}from"./cli-1.1.12-gwf0e4mf.mjs";import{q4 as $q}from"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import{Kea as Lq,Oda as Q,_ea as Pq,aea as Hq,mfa as Sq}from"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import{_ia as c,aja as lq}from"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import{Oja as i,Rja as dq}from"./cli-1.1.12-k27ty3ar.mjs";import{Dka as Kq,Hka as hq}from"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import{fqa as Nq,pra as _q}from"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import{Zsa as Rq}from"./cli-1.1.12-2nzqqw4h.mjs";dq();_q();iq();gq();mq();aq();Qq();Sq();lq();hq();nq();cq();rq();var Fq=Rq(uq(),1),Oq=Rq($q(),1);import{homedir as Gq}from"os";Hq();Qq();Aq();pq();function n(z){if(z===null||z.disableAllHooks)return!1;if(z.statusLine)return!0;if(z.fileSuggestion)return!0;if(!z.hooks)return!1;for(let q of Object.values(z.hooks))if(q.length>0)return!0;return!1}function Uq(){let z=[],q=Q("projectSettings");if(n(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(n(J))z.push(".claudin/settings.local.json");return z}function o(z){return z.some((q)=>q.ruleBehavior==="allow"&&(q.ruleValue.toolName===U||q.ruleValue.toolName.startsWith(U+"(")))}function Xq(){let z=[],q=m("projectSettings");if(o(q))z.push(".claudin/settings.json");let J=m("localSettings");if(o(J))z.push(".claudin/settings.local.json");return z}function e(z){return!!z?.otelHeadersHelper}function Yq(){let z=[],q=Q("projectSettings");if(e(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(e(J))z.push(".claudin/settings.local.json");return z}function s(z){return!!z?.apiKeyHelper}function Zq(){let z=[],q=Q("projectSettings");if(s(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(s(J))z.push(".claudin/settings.local.json");return z}function t(z){return!!(z?.awsAuthRefresh||z?.awsCredentialExport)}function Iq(){let z=[],q=Q("projectSettings");if(t(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(t(J))z.push(".claudin/settings.local.json");return z}function qq(z){return!!z?.gcpAuthRefresh}function Wq(){let z=[],q=Q("projectSettings");if(qq(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(qq(J))z.push(".claudin/settings.local.json");return z}function zq(z){if(!z?.env)return!1;return Object.keys(z.env).some((q)=>!Jq.has(q.toUpperCase()))}function bq(){let z=[],q=Q("projectSettings");if(zq(q))z.push(".claudin/settings.json");let J=Q("localSettings");if(zq(J))z.push(".claudin/settings.local.json");return z}fq();function jz(z){let q=Fq.c(33),{onDone:J,commands:Z}=z,R;if(q[0]===Symbol.for("react.memo_cache_sentinel"))R=Dq("project"),q[0]=R;else R=q[0];let{servers:Bq}=R,N;if(q[1]===Symbol.for("react.memo_cache_sentinel"))N=Object.keys(Bq),q[1]=N;else N=q[1];let d=N.length>0,K;if(q[2]===Symbol.for("react.memo_cache_sentinel"))K=Uq(),q[2]=K;else K=q[2];let h=K.length>0,L;if(q[3]===Symbol.for("react.memo_cache_sentinel"))L=Xq(),q[3]=L;else L=q[3];let yq=L,P;if(q[4]===Symbol.for("react.memo_cache_sentinel"))P=Zq(),q[4]=P;else P=q[4];let l=P.length>0,V;if(q[5]===Symbol.for("react.memo_cache_sentinel"))V=Iq(),q[5]=V;else V=q[5];let S=V.length>0,M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=Wq(),q[6]=M;else M=q[6];let $=M.length>0,w;if(q[7]===Symbol.for("react.memo_cache_sentinel"))w=Yq(),q[7]=w;else w=q[7];let u=w.length>0,k;if(q[8]===Symbol.for("react.memo_cache_sentinel"))k=bq(),q[8]=k;else k=q[8];let g=k.length>0,T;if(q[9]!==Z)T=Z?.some(zz)??!1,q[9]=Z,q[10]=T;else T=q[10];let jq=T,v;if(q[11]!==Z)v=Z?.some(tq)??!1,q[11]=Z,q[12]=v;else v=q[12];let Eq=v,Y=yq.length>0||jq||Eq,Cq=Lq(),D,F;if(q[13]!==Y)D=()=>{let p=Gq()===c();i("tengu_trust_dialog_shown",{isHomeDir:p,hasMcpServers:d,hasHooks:h,hasBashExecution:Y,hasApiKeyHelper:l,hasAwsCommands:S,hasGcpCommands:$,hasOtelHeadersHelper:u,hasDangerousEnvVars:g})},F=[d,h,Y,l,S,$,u,g],q[13]=Y,q[14]=D,q[15]=F;else D=q[14],F=q[15];Oq.default.useEffect(D,F);let O;if(q[16]!==Y||q[17]!==J)O=function(xq){if(xq==="exit"){_(1);return}let a=Gq()===c();if(i("tengu_trust_dialog_accept",{isHomeDir:a,hasMcpServers:d,hasHooks:h,hasBashExecution:Y,hasApiKeyHelper:l,hasAwsCommands:S,hasGcpCommands:$,hasOtelHeadersHelper:u,hasDangerousEnvVars:g}),a)Nq(!0);else Pq(sq);J()},q[16]=Y,q[17]=J,q[18]=O;else O=q[18];let B=O,I=kq(eq),y;if(q[19]===Symbol.for("react.memo_cache_sentinel"))y={context:"Confirmation"},q[19]=y;else y=q[19];if(wq("confirm:no",oq,y),Cq)return setTimeout(J),null;let j,E,C;if(q[20]===Symbol.for("react.memo_cache_sentinel"))j=X(f,{bold:!0,children:Kq().cwd()}),E=G(f,{children:["Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what","'","s in this folder first."]}),C=G(f,{children:["Claude Code","'","ll be able to read, edit, and execute files here."]}),q[20]=j,q[21]=E,q[22]=C;else j=q[20],E=q[21],C=q[22];let x;if(q[23]===Symbol.for("react.memo_cache_sentinel"))x=X(f,{dimColor:!0,children:X(Mq,{url:"https://code.claude.com/docs/en/security",children:"Security guide"})}),q[23]=x;else x=q[23];let H;if(q[24]===Symbol.for("react.memo_cache_sentinel"))H=[{label:"Yes, I trust this folder",value:"enable_all"},{label:"No, exit",value:"exit"}],q[24]=H;else H=q[24];let W;if(q[25]!==B)W=X(Tq,{options:H,onChange:(p)=>B(p),onCancel:()=>B("exit")}),q[25]=B,q[26]=W;else W=q[26];let b;if(q[27]!==I.keyName||q[28]!==I.pending)b=X(f,{dimColor:!0,children:I.pending?G(r,{children:["Press ",I.keyName," again to exit"]}):X(r,{children:"Enter to confirm · Esc to cancel"})}),q[27]=I.keyName,q[28]=I.pending,q[29]=b;else b=q[29];let A;if(q[30]!==W||q[31]!==b)A=X(vq,{color:"warning",titleColor:"warning",title:"Accessing workspace:",children:G(Vq,{flexDirection:"column",gap:1,paddingTop:1,children:[j,E,C,x,W,b]})}),q[30]=W,q[31]=b,q[32]=A;else A=q[32];return A}function oq(){_(0)}function eq(){return _(1)}function sq(z){return{...z,hasTrustDialogAccepted:!0}}function tq(z){return z.type==="prompt"&&(z.loadedFrom==="skills"||z.loadedFrom==="plugin")&&(z.source==="projectSettings"||z.source==="localSettings"||z.source==="plugin")&&z.allowedTools?.some(qz)}function qz(z){return z===U||z.startsWith(U+"(")}function zz(z){return z.type==="prompt"&&z.loadedFrom==="commands_DEPRECATED"&&(z.source==="projectSettings"||z.source==="localSettings")&&z.allowedTools?.some(Jz)}function Jz(z){return z===U||z.startsWith(U+"(")}export{jz as TrustDialog};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Aga as f,vga as a,wga as b,xga as c,yga as d,zga as e}from"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";f();export{c as tryGetActiveProvider,d as invalidateActiveProviderCache,b as getActiveProvider,e as _peekActiveProviderCacheForTesting,a as ActiveProviderNotConfiguredError};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{yh as X,zh as n}from"./cli-1.1.12-5c6amx7a.mjs";import"./cli-1.1.12-w932xt3k.mjs";import"./cli-1.1.12-t7wqmksj.mjs";import"./cli-1.1.12-rpazm264.mjs";import"./cli-1.1.12-g42nmgyj.mjs";import{Mm as v,Pm as C,Rm as $,TO as U,UO as b,VO as p,Vo as P,Wo as m,bm as W,cm as g}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import{GZ as D,K1 as i,d1 as M,f1 as V}from"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import{n4 as L,o4 as T,p4 as Z}from"./cli-1.1.12-gwf0e4mf.mjs";import{q4 as h}from"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import{u9 as K,v9 as x}from"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import{A_ as H,B_ as d}from"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import{Tqa as f,Uqa as F,pra as c}from"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import{Zsa as _,bta as u}from"./cli-1.1.12-2nzqqw4h.mjs";function o(G){let k=y.c(10),{message:I,args:J,onDone:B}=G,E,w;if(k[0]!==B)E=()=>{let O=setTimeout(B,0);return()=>clearTimeout(O)},w=[B],k[0]=B,k[1]=E,k[2]=w;else E=k[1],w=k[2];A.useEffect(E,w);let q;if(k[3]!==J)q=T(V,{dimColor:!0,children:[H.pointer," /add-dir ",J]}),k[3]=J,k[4]=q;else q=k[4];let z;if(k[5]!==I)z=L(W,{children:L(V,{children:I})}),k[5]=I,k[6]=z;else z=k[6];let N;if(k[7]!==q||k[8]!==z)N=T(M,{flexDirection:"column",children:[q,z]}),k[7]=q,k[8]=z,k[9]=N;else N=k[9];return N}async function Gk(G,k,I){let J=(I??"").trim(),B=k.getAppState(),E=async(q,z=!1)=>{let O={type:"addDirectories",directories:[q],destination:z?"localSettings":"session"},S=k.getAppState(),j=v(S.toolPermissionContext,O);k.setAppState((R)=>({...R,toolPermissionContext:j}));let Y=f();if(!Y.includes(q))F([...Y,q]);P.refreshConfig();let Q;if(z)try{C(O),Q=`Added ${K.bold(q)} as a working directory and saved to local settings`}catch(R){Q=`Added ${K.bold(q)} as a working directory. Failed to save to local settings: ${R instanceof Error?R.message:"Unknown error"}`}else Q=`Added ${K.bold(q)} as a working directory for this session`;let l=`${Q} ${K.dim("· /permissions to manage")}`;G(l)};if(!J)return L(X,{permissionContext:B.toolPermissionContext,onAddDirectory:E,onCancel:()=>{G("Did not add a working directory.")}});let w=await U(J,B.toolPermissionContext);if(w.resultType!=="success"){let q=b(w);return L(o,{message:q,args:I??"",onDone:()=>G(q)})}return L(X,{directoryPath:w.absolutePath,permissionContext:B.toolPermissionContext,onAddDirectory:E,onCancel:()=>{G(`Did not add ${K.bold(w.absolutePath)} as a working directory.`)}})}var y,A;var a=u(()=>{x();d();c();g();n();i();$();m();p();Z();y=_(D(),1),A=_(h(),1)});a();export{Gk as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{hK as a,iK as b}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";b();export{a as getKnownAgentTypes};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import{Uc as lX,Vc as zZ,Wc as $X,Xc as VQ,Yc as RQ,Zc as GQ}from"./cli-1.1.12-fcmw5w0b.mjs";import{$c as iq,_c as NZ}from"./cli-1.1.12-f9r3wz7j.mjs";import"./cli-1.1.12-95neb0qs.mjs";import"./cli-1.1.12-8fpt1x4e.mjs";import{gd as gQ,hd as uq}from"./cli-1.1.12-zvv4a1gt.mjs";import{Bg as zX,Cg as a0,Dg as VX}from"./cli-1.1.12-9f1q50xe.mjs";import{$n as C0,AJ as Qq,Au as bJ,Bu as jX,Cu as kJ,Du as tJ,Eu as pX,GK as _Z,Hn as eJ,In as Mq,Iu as kZ,JK as QY,Jk as yQ,Ku as dq,Ln as cQ,Lu as $0,Ly as PJ,MC as xJ,MR as sJ,Mk as yq,Mn as jq,Mu as iX,NC as aZ,NR as Oq,Nu as LX,Ny as xZ,Ou as XQ,Pu as UX,Px as TJ,Qu as n0,Qx as fX,Sx as SX,TN as nJ,Tn as n,Tu as PZ,UN as Yq,Un as w0,Uu as EZ,Vn as a,Wn as N0,Xn as Q0,Yn as z0,Zu as QX,_R as jQ,ao as rX,av as pJ,ay as e0,bv as lZ,by as o0,cA as SJ,cD as gJ,dA as rZ,dD as eZ,dy as NX,eA as jJ,eJ as dJ,em as WX,fA as $Z,fJ as tZ,fm as nQ,gI as xQ,gm as _X,hI as mq,hN as xX,hS as Tq,iJ,jA as mJ,jG as j0,jJ as Xq,kA as nZ,kG as DX,lA as uJ,mA as oZ,mK as hQ,mO as _Q,mU as mQ,nU as Sq,oO as hq,pA as cJ,pN as Zq,qA as sZ,rN as $J,sN as qq,sO as pQ,tG as D0,uG as qX,vO as _q,vx as OX,wx as CJ,xJ as lJ,xx as TX,yJ as Jq,yx as AQ,zJ as rJ,zx as Aq}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import{EY as t,GY as b0,JY as h0,KY as RX,QY as u0,RY as cX}from"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import{GZ as L0,K1 as R0,d1 as f,f1 as U,z1 as wZ}from"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import{m4 as G0,n4 as Q,o4 as F,p4 as p}from"./cli-1.1.12-gwf0e4mf.mjs";import{q4 as k0}from"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import{u9 as T0,v9 as dX}from"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import{A_ as Y0,B_ as ZX,Mga as wX,Oca as uX,Qea as MZ,Uca as iZ,Uga as gq,Vca as YX,Yca as hJ,bea as S0,fba as aJ,ida as BJ,iea as BX,jda as _J,mfa as xq,nba as fq,rba as LJ,rda as IJ,tba as SZ,uaa as i0,waa as AJ}from"./cli-1.1.12-v395vz88.mjs";import{aha as QJ,jha as DZ,pha as PQ}from"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import{_ia as JX,aja as GJ}from"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import{Oja as IX,Rja as BQ}from"./cli-1.1.12-k27ty3ar.mjs";import{vka as ZJ,zka as wq}from"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import{fla as uQ,ola as fZ,qla as AX,wla as hX}from"./cli-1.1.12-fx9tstdr.mjs";import{Mla as TZ,zla as RJ}from"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import{Zsa as o,bta as $}from"./cli-1.1.12-2nzqqw4h.mjs";var A0;var VJ=$(()=>{A0={FOLDER_NAME:".claudin",AGENTS_DIR:"agents"}});import{mkdir as jZ,open as mZ,unlink as uZ}from"fs/promises";import{join as _0}from"path";function UJ(J,X,q,Y,V,Z,R){let L=X.replace(/\\/g,"\\\\").replace(/"/g,"\\\"").replace(/\n/g,"\\\\n"),W=q===void 0||q.length===1&&q[0]==="*"?"":`
|
|
2
|
-
tools: ${q.join(", ")}`,O=R!==void 0?`
|
|
3
|
-
effort: ${R}`:"",K=V?`
|
|
4
|
-
color: ${V}`:"",G=Z?`
|
|
5
|
-
memory: ${Z}`:"";return`---
|
|
6
|
-
name: ${J}
|
|
7
|
-
description: "${L}"${W}${O}${K}${G}
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
${Y}
|
|
11
|
-
`}function FX(J){switch(J){case"flagSettings":throw Error(`Cannot get directory path for ${J} agents`);case"userSettings":return _0(RJ(),A0.AGENTS_DIR);case"projectSettings":return _0(JX(),A0.FOLDER_NAME,A0.AGENTS_DIR);case"policySettings":return _0(LJ(),A0.FOLDER_NAME,A0.AGENTS_DIR);case"localSettings":return _0(JX(),A0.FOLDER_NAME,A0.AGENTS_DIR)}}function FJ(J){switch(J){case"projectSettings":return _0(".",A0.FOLDER_NAME,A0.AGENTS_DIR);default:return FX(J)}}function KX(J){let X=FX(J.source);return _0(X,`${J.agentType}.md`)}function HX(J){if(J.source==="built-in")return"Built-in";if(J.source==="plugin")throw Error("Cannot get file path for plugin agents");let X=FX(J.source),q=J.filename||J.agentType;return _0(X,`${q}.md`)}function KJ(J){if(J.source==="built-in")return"Built-in";let X=FJ(J.source);return _0(X,`${J.agentType}.md`)}function HJ(J){if(LX(J))return"Built-in";if(UX(J))return`Plugin: ${J.plugin||"Unknown"}`;if(J.source==="flagSettings")return"CLI argument";let X=FJ(J.source),q=J.filename||J.agentType;return _0(X,`${q}.md`)}async function cZ(J){let X=FX(J);return await jZ(X,{recursive:!0}),X}async function WJ(J,X,q,Y,V,Z=!0,R,L,H){if(J==="built-in")throw Error("Cannot save built-in agents");await cZ(J);let W=KX({source:J,agentType:X}),O=UJ(X,q,Y,V,R,L,H);try{await MJ(W,O,Z?"wx":"w")}catch(K){if(AX(K)==="EEXIST")throw Error(`Agent file already exists: ${W}`);throw K}}async function OJ(J,X,q,Y,V,Z,R){if(J.source==="built-in")throw Error("Cannot update built-in agents");let L=HX(J),H=UJ(J.agentType,X,q,Y,V,Z,R);await MJ(L,H)}async function fJ(J){if(J.source==="built-in")throw Error("Cannot delete built-in agents");let X=HX(J);try{await uZ(X)}catch(q){if(AX(q)!=="ENOENT")throw q}}async function MJ(J,X,q="w"){let Y=await mZ(J,q);try{await Y.writeFile(X,{encoding:"utf-8"}),await Y.datasync()}finally{await Y.close()}}var x0=$(()=>{SZ();QX();GJ();TZ();hX();VJ()});function NJ(J){let X=EJ.c(48),{agent:q,tools:Y,onBack:V}=J,Z=fX(q,Y,!1),R;if(X[0]!==q)R=HJ(q),X[0]=q,X[1]=R;else R=X[1];let L=R,H;if(X[2]!==q.agentType)H=kJ(q.agentType),X[2]=q.agentType,X[3]=H;else H=X[3];let W=H,O;if(X[4]===Symbol.for("react.memo_cache_sentinel"))O={context:"Confirmation"},X[4]=O;else O=X[4];t("confirm:no",V,O);let K;if(X[5]!==V)K=(C)=>{if(C.key==="return")C.preventDefault(),V()},X[5]=V,X[6]=K;else K=X[6];let G=K,N=function(){if(Z.hasWildcard)return Q(U,{children:"All tools"});if(!q.tools||q.tools.length===0)return Q(U,{children:"None"});return F(G0,{children:[Z.validTools.length>0&&Q(U,{children:Z.validTools.join(", ")}),Z.invalidTools.length>0&&F(U,{color:"warning",children:[Y0.warning," Unrecognized:"," ",Z.invalidTools.join(", ")]})]})},k=f,w="column",y=1,z=0,v=!0,M;if(X[7]!==L)M=Q(U,{dimColor:!0,children:L}),X[7]=L,X[8]=M;else M=X[8];let B;if(X[9]===Symbol.for("react.memo_cache_sentinel"))B=F(U,{children:[Q(U,{bold:!0,children:"Description"})," (tells Claude when to use this agent):"]}),X[9]=B;else B=X[9];let D;if(X[10]!==q.whenToUse)D=F(f,{flexDirection:"column",children:[B,Q(f,{marginLeft:2,children:Q(U,{children:q.whenToUse})})]}),X[10]=q.whenToUse,X[11]=D;else D=X[11];let T=f,P;if(X[12]===Symbol.for("react.memo_cache_sentinel"))P=F(U,{children:[Q(U,{bold:!0,children:"Tools"}),":"," "]}),X[12]=P;else P=X[12];let g=N(),A;if(X[13]!==T||X[14]!==P||X[15]!==g)A=F(T,{children:[P,g]}),X[13]=T,X[14]=P,X[15]=g,X[16]=A;else A=X[16];let d;if(X[17]===Symbol.for("react.memo_cache_sentinel"))d=Q(U,{bold:!0,children:"Model"}),X[17]=d;else d=X[17];let i;if(X[18]!==q.model)i=OX(q.model),X[18]=q.model,X[19]=i;else i=X[19];let r;if(X[20]!==i)r=F(U,{children:[d,": ",i]}),X[20]=i,X[21]=r;else r=X[21];let x;if(X[22]!==q.permissionMode)x=q.permissionMode&&F(U,{children:[Q(U,{bold:!0,children:"Permission mode"}),": ",q.permissionMode]}),X[22]=q.permissionMode,X[23]=x;else x=X[23];let E;if(X[24]!==q.memory)E=q.memory&&F(U,{children:[Q(U,{bold:!0,children:"Memory"}),": ",WX(q.memory)]}),X[24]=q.memory,X[25]=E;else E=X[25];let S;if(X[26]!==q.hooks)S=q.hooks&&Object.keys(q.hooks).length>0&&F(U,{children:[Q(U,{bold:!0,children:"Hooks"}),": ",Object.keys(q.hooks).join(", ")]}),X[26]=q.hooks,X[27]=S;else S=X[27];let I;if(X[28]!==q.skills)I=q.skills&&q.skills.length>0&&F(U,{children:[Q(U,{bold:!0,children:"Skills"}),":"," ",q.skills.length>10?`${q.skills.length} skills`:q.skills.join(", ")]}),X[28]=q.skills,X[29]=I;else I=X[29];let b;if(X[30]!==q.agentType||X[31]!==W)b=W&&Q(f,{children:F(U,{children:[Q(U,{bold:!0,children:"Color"}),":"," ",F(U,{backgroundColor:W,color:"inverseText",children:[" ",q.agentType," "]})]})}),X[30]=q.agentType,X[31]=W,X[32]=b;else b=X[32];let c;if(X[33]!==q)c=!LX(q)&&F(G0,{children:[Q(f,{children:F(U,{children:[Q(U,{bold:!0,children:"System prompt"}),":"]})}),Q(f,{marginLeft:2,marginRight:2,children:Q(PJ,{children:q.getSystemPrompt()})})]}),X[33]=q,X[34]=c;else c=X[34];let j;if(X[35]!==k||X[36]!==G||X[37]!==D||X[38]!==A||X[39]!==r||X[40]!==x||X[41]!==E||X[42]!==S||X[43]!==I||X[44]!==b||X[45]!==c||X[46]!==M)j=F(k,{flexDirection:w,gap:y,tabIndex:z,autoFocus:v,onKeyDown:G,children:[M,D,A,r,x,E,S,I,b,c]}),X[35]=k,X[36]=G,X[37]=D,X[38]=A,X[39]=r,X[40]=x,X[41]=E,X[42]=S,X[43]=I,X[44]=b,X[45]=c,X[46]=M,X[47]=j;else j=X[47];return j}var EJ;var zJ=$(()=>{ZX();R0();b0();pX();_X();SX();QX();TX();xZ();x0();p();EJ=o(L0(),1)});function MX(J){let X=DJ.c(17),{agentName:q,currentColor:Y,onConfirm:V}=J,Z=Y===void 0?"automatic":Y,R;if(X[0]!==Z)R=g0.findIndex((z)=>z===Z),X[0]=Z,X[1]=R;else R=X[1];let[L,H]=vJ.useState(Math.max(0,R)),W;if(X[2]!==V||X[3]!==L)W=(z)=>{if(z.key==="up")z.preventDefault(),H(dZ);else if(z.key==="down")z.preventDefault(),H(gZ);else if(z.key==="return"){z.preventDefault();let v=g0[L];V(v==="automatic"?void 0:v)}},X[2]=V,X[3]=L,X[4]=W;else W=X[4];let O=W,K=g0[L],G;if(X[5]!==L)G=g0.map((z,v)=>{let M=v===L;return F(f,{flexDirection:"row",gap:1,children:[Q(U,{color:M?"suggestion":void 0,children:M?Y0.pointer:" "}),z==="automatic"?Q(U,{bold:M,children:"Automatic color"}):F(f,{gap:1,children:[Q(U,{backgroundColor:jX[z],color:"inverseText",children:" "}),Q(U,{bold:M,children:BJ(z)})]})]},z)}),X[5]=L,X[6]=G;else G=X[6];let N;if(X[7]!==G)N=Q(f,{flexDirection:"column",children:G}),X[7]=G,X[8]=N;else N=X[8];let k;if(X[9]===Symbol.for("react.memo_cache_sentinel"))k=Q(U,{children:"Preview: "}),X[9]=k;else k=X[9];let w;if(X[10]!==q||X[11]!==K)w=F(f,{marginTop:1,children:[k,K===void 0||K==="automatic"?F(U,{inverse:!0,bold:!0,children:[" ","@",q," "]}):F(U,{backgroundColor:jX[K],color:"inverseText",bold:!0,children:[" ","@",q," "]})]}),X[10]=q,X[11]=K,X[12]=w;else w=X[12];let y;if(X[13]!==O||X[14]!==N||X[15]!==w)y=F(f,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:O,children:[N,w]}),X[13]=O,X[14]=N,X[15]=w,X[16]=y;else y=X[16];return y}function gZ(J){return J<g0.length-1?J+1:0}function dZ(J){return J>0?J-1:g0.length-1}var DJ,vJ,g0;var mX=$(()=>{ZX();R0();pX();IJ();p();DJ=o(L0(),1),vJ=o(k0(),1),g0=["automatic",...bJ]});function d0(J){let X=wJ.c(11),{initialModel:q,onComplete:Y,onCancel:V}=J,Z;if(X[0]!==q){X:{let K=CJ();if(q&&!K.some((G)=>G.value===q)){Z=[{value:q,label:q,description:"Current model (custom ID)"},...K];break X}Z=K}X[0]=q,X[1]=Z}else Z=X[1];let R=Z,L=q??"inherit",H;if(X[2]===Symbol.for("react.memo_cache_sentinel"))H=Q(f,{marginBottom:1,children:Q(U,{dimColor:!0,children:"Model determines the agent's reasoning capabilities and speed."})}),X[2]=H;else H=X[2];let W;if(X[3]!==V||X[4]!==Y)W=()=>V?V():Y(void 0),X[3]=V,X[4]=Y,X[5]=W;else W=X[5];let O;if(X[6]!==L||X[7]!==R||X[8]!==Y||X[9]!==W)O=F(f,{flexDirection:"column",children:[H,Q(D0,{options:R,defaultValue:L,onChange:Y,onCancel:W})]}),X[6]=L,X[7]=R,X[8]=Y,X[9]=W,X[10]=O;else O=X[10];return O}var wJ;var kX=$(()=>{R0();TX();qX();p();wJ=o(L0(),1)});function yJ(){return{READ_ONLY:{name:"Read-only tools",toolNames:new Set([uJ.name,mJ.name,sJ.name,gJ.name,dJ.name,pJ.name,rJ.name,iJ.name,lJ.name,$J.name,nJ.name])},EDIT:{name:"Edit tools",toolNames:new Set([SJ.name,jJ.name,cJ.name])},EXECUTION:{name:"Execution tools",toolNames:new Set([xJ.name])},MCP:{name:"MCP tools",toolNames:new Set,isMcp:!0},OTHER:{name:"Other tools",toolNames:new Set}}}function Vq(J){let X=new Map;return J.forEach((q)=>{if(xX(q)){let Y=uX(q.name);if(Y?.serverName){let V=X.get(Y.serverName)||[];V.push(q),X.set(Y.serverName,V)}}}),Array.from(X.entries()).map(([q,Y])=>({serverName:q,tools:Y})).sort((q,Y)=>q.serverName.localeCompare(Y.serverName))}function PX(J){let X=oJ.c(69),{tools:q,initialTools:Y,onComplete:V,onCancel:Z}=J,R;if(X[0]!==q)R=TJ({tools:q,isBuiltIn:!1,isAsync:!1}),X[0]=q,X[1]=R;else R=X[1];let L=R,H;if(X[2]!==L||X[3]!==Y)H=!Y||Y.includes("*")?L.map(Wq):Y,X[2]=L,X[3]=Y,X[4]=H;else H=X[4];let W=H,[O,K]=l0.useState(W),[G,N]=l0.useState(0),[k,w]=l0.useState(!1),y;if(X[5]!==L)y=new Set(L.map(Hq)),X[5]=L,X[6]=y;else y=X[6];let z=y,v;if(X[7]!==O||X[8]!==z){let u;if(X[10]!==z)u=(h)=>z.has(h),X[10]=z,X[11]=u;else u=X[11];v=O.filter(u),X[7]=O,X[8]=z,X[9]=v}else v=X[9];let M=v,B;if(X[12]!==M)B=new Set(M),X[12]=M,X[13]=B;else B=X[13];let D=B,T=M.length===L.length&&L.length>0,P;if(X[14]===Symbol.for("react.memo_cache_sentinel"))P=(u)=>{if(!u)return;K((h)=>h.includes(u)?h.filter((q0)=>q0!==u):[...h,u])},X[14]=P;else P=X[14];let g=P,A;if(X[15]===Symbol.for("react.memo_cache_sentinel"))A=(u,h)=>{K((q0)=>{if(h){let J0=u.filter((B0)=>!q0.includes(B0));return[...q0,...J0]}else return q0.filter((J0)=>!u.includes(J0))})},X[15]=A;else A=X[15];let d=A,i;if(X[16]!==L||X[17]!==V||X[18]!==M)i=()=>{let u=L.map(Kq),q0=M.length===u.length&&u.every((J0)=>M.includes(J0))?void 0:M;V(q0)},X[16]=L,X[17]=V,X[18]=M,X[19]=i;else i=X[19];let r=i,x;if(X[20]!==L){let u=yJ();x={readOnly:[],edit:[],execution:[],mcp:[],other:[]},L.forEach((h)=>{if(xX(h))x.mcp.push(h);else if(u.READ_ONLY.toolNames.has(h.name))x.readOnly.push(h);else if(u.EDIT.toolNames.has(h.name))x.edit.push(h);else if(u.EXECUTION.toolNames.has(h.name))x.execution.push(h);else if(h.name!==YX)x.other.push(h)}),X[20]=L,X[21]=x}else x=X[21];let E=x,S;if(X[22]!==D)S=(u)=>{let q0=i0(u,(J0)=>D.has(J0.name))<u.length;return()=>{let J0=u.map(Fq);d(J0,q0)}},X[22]=D,X[23]=S;else S=X[23];let I=S,b;if(X[24]!==I||X[25]!==L||X[26]!==G||X[27]!==r||X[28]!==T||X[29]!==D||X[30]!==k||X[31]!==E.edit||X[32]!==E.execution||X[33]!==E.mcp||X[34]!==E.other||X[35]!==E.readOnly){b=[],b.push({id:"continue",label:"Continue",action:r,isContinue:!0});let u;if(X[37]!==L||X[38]!==T)u=()=>{let M0=L.map(Uq);d(M0,!T)},X[37]=L,X[38]=T,X[39]=u;else u=X[39];b.push({id:"bucket-all",label:`${T?Y0.checkboxOn:Y0.checkboxOff} All tools`,action:u});let h=yJ();[{id:"bucket-readonly",name:h.READ_ONLY.name,tools:E.readOnly},{id:"bucket-edit",name:h.EDIT.name,tools:E.edit},{id:"bucket-execution",name:h.EXECUTION.name,tools:E.execution},{id:"bucket-mcp",name:h.MCP.name,tools:E.mcp},{id:"bucket-other",name:h.OTHER.name,tools:E.other}].forEach((M0)=>{let{id:m0,name:I0,tools:t0}=M0;if(t0.length===0)return;let XX=i0(t0,(pZ)=>D.has(pZ.name))===t0.length;b.push({id:m0,label:`${XX?Y0.checkboxOn:Y0.checkboxOff} ${I0}`,action:I(t0)})});let J0=b.length,B0;if(X[40]!==G||X[41]!==k||X[42]!==J0)B0=()=>{if(w(!k),k&&G>J0)N(J0)},X[40]=G,X[41]=k,X[42]=J0,X[43]=B0;else B0=X[43];b.push({id:"toggle-individual",label:k?"Hide advanced options":"Show advanced options",action:B0,isToggle:!0});let YJ=Vq(L);if(k){if(YJ.length>0)b.push({id:"mcp-servers-header",label:"MCP Servers:",action:Lq,isHeader:!0}),YJ.forEach((M0)=>{let{serverName:m0,tools:I0}=M0,yX=i0(I0,(XX)=>D.has(XX.name))===I0.length;b.push({id:`mcp-server-${m0}`,label:`${yX?Y0.checkboxOn:Y0.checkboxOff} ${m0} (${I0.length} ${_J(I0.length,"tool")})`,action:()=>{let XX=I0.map(Gq);d(XX,!yX)}})}),b.push({id:"tools-header",label:"Individual Tools:",action:Rq,isHeader:!0});L.forEach((M0)=>{let m0=M0.name;if(M0.name.startsWith("mcp__")){let I0=uX(M0.name);m0=I0?`${I0.toolName} (${I0.serverName})`:M0.name}b.push({id:`tool-${M0.name}`,label:`${D.has(M0.name)?Y0.checkboxOn:Y0.checkboxOff} ${m0}`,action:()=>g(M0.name)})})}X[24]=I,X[25]=L,X[26]=G,X[27]=r,X[28]=T,X[29]=D,X[30]=k,X[31]=E.edit,X[32]=E.execution,X[33]=E.mcp,X[34]=E.other,X[35]=E.readOnly,X[36]=b}else b=X[36];let c;if(X[44]!==Y||X[45]!==Z||X[46]!==V)c=()=>{if(Z)Z();else V(Y)},X[44]=Y,X[45]=Z,X[46]=V,X[47]=c;else c=X[47];let j=c,C;if(X[48]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},X[48]=C;else C=X[48];t("confirm:no",j,C);let m;if(X[49]!==G||X[50]!==b)m=(u)=>{if(u.key==="return"){u.preventDefault();let h=b[G];if(h&&!h.isHeader)h.action()}else if(u.key==="up"){u.preventDefault();let h=G-1;while(h>0&&b[h]?.isHeader)h--;N(Math.max(0,h))}else if(u.key==="down"){u.preventDefault();let h=G+1;while(h<b.length-1&&b[h]?.isHeader)h++;N(Math.min(b.length-1,h))}},X[49]=G,X[50]=b,X[51]=m;else m=X[51];let _=m,l=G===0?"suggestion":void 0,s=G===0,X0=G===0?`${Y0.pointer} `:" ",V0;if(X[52]!==l||X[53]!==s||X[54]!==X0)V0=F(U,{color:l,bold:s,children:[X0,"[ Continue ]"]}),X[52]=l,X[53]=s,X[54]=X0,X[55]=V0;else V0=X[55];let f0;if(X[56]===Symbol.for("react.memo_cache_sentinel"))f0=Q(u0,{width:40}),X[56]=f0;else f0=X[56];let U0;if(X[57]!==b)U0=b.slice(1),X[57]=b,X[58]=U0;else U0=X[58];let H0;if(X[59]!==G||X[60]!==U0)H0=U0.map((u,h)=>{let q0=h+1===G,J0=u.isToggle,B0=u.isHeader;return F(l0.default.Fragment,{children:[J0&&Q(u0,{width:40}),B0&&h>0&&Q(f,{marginTop:1}),F(U,{color:B0?void 0:q0?"suggestion":void 0,dimColor:B0,bold:J0&&q0,children:[B0?"":q0?`${Y0.pointer} `:" ",J0?`[ ${u.label} ]`:u.label]})]},u.id)}),X[59]=G,X[60]=U0,X[61]=H0;else H0=X[61];let W0=T?"All tools selected":`${D.size} of ${L.length} tools selected`,F0;if(X[62]!==W0)F0=Q(f,{marginTop:1,flexDirection:"column",children:Q(U,{dimColor:!0,children:W0})}),X[62]=W0,X[63]=F0;else F0=X[63];let K0;if(X[64]!==_||X[65]!==V0||X[66]!==H0||X[67]!==F0)K0=F(f,{flexDirection:"column",marginTop:1,tabIndex:0,autoFocus:!0,onKeyDown:_,children:[V0,f0,H0,F0]}),X[64]=_,X[65]=V0,X[66]=H0,X[67]=F0,X[68]=K0;else K0=X[68];return K0}function Rq(){}function Gq(J){return J.name}function Lq(){}function Uq(J){return J.name}function Fq(J){return J.name}function Kq(J){return J.name}function Hq(J){return J.name}function Wq(J){return J.name}var oJ,l0;var gX=$(()=>{ZX();iZ();Zq();SX();hJ();aZ();Oq();rZ();eZ();$Z();oZ();nZ();qq();sZ();Yq();Jq();Xq();lZ();tZ();Qq();R0();b0();AJ();IJ();cX();p();oJ=o(L0(),1),l0=o(k0(),1)});function r0(J){if(J==="all")return"Agents";if(J==="built-in")return"Built-in agents";if(J==="plugin")return"Plugin agents";return eJ(aJ(J))}var EX=$(()=>{Mq();fq()});function JQ({agent:J,tools:X,onSaved:q,onBack:Y}){let V=o0(),[Z,R]=E0.useState("menu"),[L,H]=E0.useState(0),[W,O]=E0.useState(null),[K,G]=E0.useState(J.color),N=E0.useCallback(async()=>{let M=HX(J),B=await zX(M);if(B.error)O(B.error);else q(`Opened ${J.agentType} in editor. If you made edits, restart to load the latest version.`)},[J,q]),k=E0.useCallback(async(M={})=>{let{tools:B,color:D,model:T}=M,P=D??K,g=B!==void 0,A=T!==void 0,d=P!==J.color;if(!g&&!A&&!d)return!1;try{if(!XQ(J)&&!UX(J))return!1;if(g||d)await OJ(J,J.whenToUse,B??J.tools,J.getSystemPrompt(),P);if(A&&J.baseDir)await $0(J.baseDir,J.agentType,T);if(d&&P)tJ(J.agentType,P);return V((i)=>{let r=i.agentDefinitions.allAgents.map((x)=>x.agentType===J.agentType?{...x,tools:B??x.tools,color:P,model:T??x.model}:x);return{...i,agentDefinitions:{...i.agentDefinitions,activeAgents:n0(r),allAgents:r}}}),q(`Updated agent: ${T0.bold(J.agentType)}`),!0}catch(i){return O(i instanceof Error?i.message:"Failed to save agent"),!1}},[J,K,q,V]),w=E0.useMemo(()=>[{label:"Open in editor",action:N},{label:"Edit tools",action:()=>R("edit-tools")},{label:"Edit model",action:()=>R("edit-model")},{label:"Edit color",action:()=>R("edit-color")}],[N]),y=E0.useCallback(()=>{if(O(null),Z==="menu")Y();else R("menu")},[Z,Y]),z=E0.useCallback((M)=>{if(M.key==="up")M.preventDefault(),H((B)=>Math.max(0,B-1));else if(M.key==="down")M.preventDefault(),H((B)=>Math.min(w.length-1,B+1));else if(M.key==="return"){M.preventDefault();let B=w[L];if(B)B.action()}},[w,L]);t("confirm:no",y,{context:"Confirmation"});let v=()=>F(f,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:z,children:[F(U,{dimColor:!0,children:["Source: ",r0(J.source)]}),Q(f,{marginTop:1,flexDirection:"column",children:w.map((M,B)=>F(U,{color:B===L?"suggestion":void 0,children:[B===L?`${Y0.pointer} `:" ",M.label]},M.label))}),W&&Q(f,{marginTop:1,children:Q(U,{color:"error",children:W})})]});switch(Z){case"menu":return v();case"edit-tools":return Q(PX,{tools:X,initialTools:J.tools,onComplete:async(M)=>{R("menu"),await k({tools:M})}});case"edit-color":return Q(MX,{agentName:J.agentType,currentColor:K||J.color||"automatic",onConfirm:async(M)=>{G(M),R("menu"),await k({color:M})}});case"edit-model":return Q(d0,{initialModel:J.model,onComplete:async(M)=>{R("menu"),await k({model:M})}});default:return null}}var E0;var QQ=$(()=>{dX();ZX();NX();R0();b0();pX();QX();VX();iX();x0();mX();kX();gX();EX();p();E0=o(k0(),1)});function c0(J){let X=ZQ.c(2),{instructions:q}=J,Y=q===void 0?"Press ↑↓ to navigate · Enter to select · Esc to go back":q,V=h0(),Z=V.pending?`Press ${V.keyName} again to exit`:Y,R;if(X[0]!==Z)R=Q(f,{marginLeft:2,children:Q(U,{dimColor:!0,children:Z})}),X[0]=Z,X[1]=R;else R=X[1];return R}var ZQ;var qQ=$(()=>{RX();R0();p();ZQ=o(L0(),1)});function YQ(J,X){if(J.length<=X)return J;if(X<=1)return J.slice(0,X);return`${J.slice(0,X-1)}…`}function LQ(J){return{isOverridden:!!J.overriddenBy,overriddenBy:J.overriddenBy||null}}function Eq(J){let X=kq,q=Pq;for(let Y of J){if(Y.agentType.length>X)X=Y.agentType.length;let V=$X(Y);if(V&&V.length>q)q=V.length}return{name:Math.min(X,32),model:Math.min(q,28)}}function Nq({agent:J,isSelected:X,dimmed:q,widths:Y,selectable:V}){let{isOverridden:Z,overriddenBy:R}=LQ(J),L=q&&!X,H=V&&X?"suggestion":void 0,W=$X(J)??"",O=V?X?`${Y0.pointer} `:" ":"";return F(f,{flexDirection:"row",children:[Q(f,{width:Y.name+(V?2:0),flexShrink:0,children:F(U,{dimColor:L,color:H,children:[O,YQ(J.agentType,Y.name)]})}),Q(f,{width:Y.model+2,flexShrink:0,children:Q(U,{dimColor:!0,color:H,children:YQ(W,Y.model)})}),R&&Q(f,{flexShrink:0,children:F(U,{dimColor:!X,color:X?"warning":void 0,children:[Y0.warning," shadowed by ",VQ(R)]})})]},`${J.agentType}-${J.source}`)}function GX({widths:J,selectable:X}){return F(f,{flexDirection:"row",children:[Q(f,{width:J.name+(X?2:0),flexShrink:0,children:Q(U,{dimColor:!0,children:X?" Name":"Name"})}),Q(f,{width:J.model+2,flexShrink:0,children:Q(U,{dimColor:!0,children:"Model"})})]})}function UQ({source:J,agents:X,onBack:q,onSelect:Y,onCreateNew:V,changes:Z}){let[R,L]=v0.useState(null),[H,W]=v0.useState(!0),O=v0.useMemo(()=>[...X].sort(RQ),[X]),K=v0.useMemo(()=>Eq(O),[O]),G=v0.useMemo(()=>{if(J==="all")return lX.flatMap(({source:A})=>O.filter((d)=>d.source===A));if(J==="built-in")return O.filter((A)=>A.source==="built-in");let P=O.filter((A)=>A.source!=="built-in"),g=O.filter((A)=>A.source==="built-in");return[...P,...g]},[O,J]);v0.useEffect(()=>{if(!R&&!H&&G.length>0)if(V)W(!0);else L(G[0]||null)},[G,R,H,V]);let N=(P)=>{if(P.key==="return"){if(P.preventDefault(),H&&V)V();else if(R)Y(R);return}if(P.key!=="up"&&P.key!=="down")return;P.preventDefault();let g=!!V,A=G.length+(g?1:0);if(A===0)return;let d=0;if(!H&&R){let r=G.findIndex((x)=>x.agentType===R.agentType&&x.source===R.source);if(r>=0)d=g?r+1:r}let i=P.key==="up"?d===0?A-1:d-1:d===A-1?0:d+1;if(g&&i===0)W(!0),L(null);else{let r=g?i-1:i,x=G[r];if(x)W(!1),L(x)}},k=()=>F(f,{children:[Q(U,{color:H?"suggestion":void 0,children:H?`${Y0.pointer} `:" "}),Q(U,{color:H?"suggestion":void 0,children:"Create new agent"})]}),w=(P)=>{let g=!H&&R?.agentType===P.agentType&&R?.source===P.source,{isOverridden:A}=LQ(P);return Q(Nq,{agent:P,isSelected:!!g,dimmed:A,widths:K,selectable:!0},`${P.agentType}-${P.source}`)},y=(P="Built-in (always available):")=>{let g=O.filter((A)=>A.source==="built-in");if(g.length===0)return null;return F(f,{flexDirection:"column",marginBottom:1,paddingLeft:2,children:[Q(U,{bold:!0,dimColor:!0,children:P}),Q(GX,{widths:K,selectable:!0}),g.map(w)]})},z=(P,g)=>{if(!g.length)return null;let A=g[0]?.baseDir;return F(f,{flexDirection:"column",marginBottom:1,children:[F(f,{paddingLeft:2,children:[Q(U,{bold:!0,dimColor:!0,children:P}),A&&F(U,{dimColor:!0,children:[" (",A,")"]})]}),Q(f,{paddingLeft:2,children:Q(GX,{widths:K,selectable:!0})}),g.map(w)]})},v=r0(J),M=O.filter((P)=>P.source==="built-in");if(!O.length||J!=="built-in"&&!O.some((P)=>P.source!=="built-in"))return Q(C0,{title:v,subtitle:"No agents found",onCancel:q,hideInputGuide:!0,children:F(f,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:N,children:[V&&Q(f,{children:k()}),Q(U,{dimColor:!0,children:"No agents found. Create specialized subagents that Claude can delegate to."}),Q(U,{dimColor:!0,children:"Each subagent has its own context window, custom system prompt, and specific tools."}),Q(U,{dimColor:!0,children:"Try creating: Code Reviewer, Code Simplifier, Security Reviewer, Tech Lead, or UX Reviewer."}),J!=="built-in"&&O.some((P)=>P.source==="built-in")&&y()]})});let D=i0(O,(P)=>!P.overriddenBy),T;if(J==="all")T=F(G0,{children:[lX.filter((P)=>P.source!=="built-in").map(({label:P,source:g})=>Q(v0.Fragment,{children:z(P,O.filter((A)=>A.source===g))},g)),M.length>0&&F(f,{flexDirection:"column",marginBottom:1,paddingLeft:2,children:[F(U,{dimColor:!0,children:[Q(U,{bold:!0,children:"Built-in agents"})," (always available)"]}),Q(GX,{widths:K,selectable:!0}),M.map(w)]})]});else if(J==="built-in")T=F(G0,{children:[Q(U,{dimColor:!0,italic:!0,children:"Select a built-in agent and press Enter to change its model."}),F(f,{marginTop:1,flexDirection:"column",children:[Q(GX,{widths:K,selectable:!0}),O.map(w)]})]});else T=F(G0,{children:[F(f,{flexDirection:"column",children:[Q(GX,{widths:K,selectable:!0}),O.filter((P)=>P.source!=="built-in").map(w)]}),O.some((P)=>P.source==="built-in")&&F(G0,{children:[Q(u0,{}),y()]})]});return F(C0,{title:v,subtitle:`${D} agents`,onCancel:q,hideInputGuide:!0,children:[Z&&Z.length>0&&Q(f,{marginTop:1,children:Q(U,{dimColor:!0,children:Z[Z.length-1]})}),F(f,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:N,children:[V&&Q(f,{marginBottom:1,children:k()}),T]})]})}var v0,kq=20,Pq=12;var FQ=$(()=>{ZX();R0();GQ();AJ();rX();cX();EX();p();v0=o(k0(),1)});function oX(J){let X=KQ.c(38),{steps:q,initialData:Y,onComplete:V,onCancel:Z,children:R,title:L,showStepCounter:H}=J,W;if(X[0]!==Y)W=Y===void 0?{}:Y,X[0]=Y,X[1]=W;else W=X[1];let O=W,K=H===void 0?!0:H,[G,N]=p0.useState(0),[k,w]=p0.useState(O),[y,z]=p0.useState(!1),v;if(X[2]===Symbol.for("react.memo_cache_sentinel"))v=[],X[2]=v;else v=X[2];let[M,B]=p0.useState(v);h0();let D,T;if(X[3]!==y||X[4]!==V||X[5]!==k)D=()=>{if(y)B([]),V(k)},T=[y,k,V],X[3]=y,X[4]=V,X[5]=k,X[6]=D,X[7]=T;else D=X[6],T=X[7];p0.useEffect(D,T);let P;if(X[8]!==G||X[9]!==M||X[10]!==q.length)P=()=>{if(G<q.length-1){if(M.length>0)B((_)=>[..._,G]);N(Iq)}else z(!0)},X[8]=G,X[9]=M,X[10]=q.length,X[11]=P;else P=X[11];let g=P,A;if(X[12]!==G||X[13]!==M||X[14]!==Z)A=()=>{if(M.length>0){let _=M[M.length-1];if(_!==void 0)B(Bq),N(_)}else if(G>0)N(zq);else if(Z)Z()},X[12]=G,X[13]=M,X[14]=Z,X[15]=A;else A=X[15];let d=A,i;if(X[16]!==G||X[17]!==q.length)i=(_)=>{if(_>=0&&_<q.length)B((l)=>[...l,G]),N(_)},X[16]=G,X[17]=q.length,X[18]=i;else i=X[18];let r=i,x;if(X[19]!==Z)x=()=>{if(B([]),Z)Z()},X[19]=Z,X[20]=x;else x=X[20];let E=x,S;if(X[21]===Symbol.for("react.memo_cache_sentinel"))S=(_)=>{w((l)=>({...l,..._}))},X[21]=S;else S=X[21];let I=S,b;if(X[22]!==E||X[23]!==G||X[24]!==d||X[25]!==g||X[26]!==r||X[27]!==K||X[28]!==q.length||X[29]!==L||X[30]!==k)b={currentStepIndex:G,totalSteps:q.length,wizardData:k,setWizardData:w,updateWizardData:I,goNext:g,goBack:d,goToStep:r,cancel:E,title:L,showStepCounter:K},X[22]=E,X[23]=G,X[24]=d,X[25]=g,X[26]=r,X[27]=K,X[28]=q.length,X[29]=L,X[30]=k,X[31]=b;else b=X[31];let c=b,j=q[G];if(!j||y)return null;let C;if(X[32]!==j||X[33]!==R)C=R||Q(j,{}),X[32]=j,X[33]=R,X[34]=C;else C=X[34];let m;if(X[35]!==c||X[36]!==C)m=Q(nX.Provider,{value:c,children:C}),X[35]=c,X[36]=C,X[37]=m;else m=X[37];return m}function zq(J){return J-1}function Bq(J){return J.slice(0,-1)}function Iq(J){return J+1}var KQ,p0,nX;var sX=$(()=>{RX();p();KQ=o(L0(),1),p0=o(k0(),1),nX=p0.createContext(null)});function e(){let J=HQ.useContext(nX);if(!J)throw Error("useWizard must be used within a WizardProvider");return J}var HQ;var aX=$(()=>{sX();HQ=o(k0(),1)});function eX({instructions:J=F(Q0,{children:[Q(n,{shortcut:"↑↓",action:"navigate"}),Q(n,{shortcut:"Enter",action:"select"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]})}){let X=h0();return Q(f,{marginLeft:3,marginTop:1,children:Q(U,{dimColor:!0,children:X.pending?`Press ${X.keyName} again to exit`:J})})}var tX=$(()=>{RX();R0();N0();z0();w0();p()});function Z0(J){let X=WQ.c(11),{title:q,color:Y,children:V,subtitle:Z,footerText:R}=J,L=Y===void 0?"suggestion":Y,{currentStepIndex:H,totalSteps:W,title:O,showStepCounter:K,goBack:G}=e(),N=q||O||"Wizard",k=K!==!1?` (${H+1}/${W})`:"",w=`${N}${k}`,y;if(X[0]!==V||X[1]!==L||X[2]!==G||X[3]!==Z||X[4]!==w)y=Q(C0,{title:w,subtitle:Z,onCancel:G,color:L,hideInputGuide:!0,isCancelActive:!1,children:V}),X[0]=V,X[1]=L,X[2]=G,X[3]=Z,X[4]=w,X[5]=y;else y=X[5];let z;if(X[6]!==R)z=Q(eX,{instructions:R}),X[6]=R,X[7]=z;else z=X[7];let v;if(X[8]!==y||X[9]!==z)v=F(G0,{children:[y,z]}),X[8]=y,X[9]=z,X[10]=v;else v=X[10];return v}var WQ;var P0=$(()=>{rX();aX();tX();p();WQ=o(L0(),1)});var O0=$(()=>{aX();P0();tX();sX()});function fQ(){let J=OQ.c(14),{goNext:X,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(J[0]===Symbol.for("react.memo_cache_sentinel"))Z={context:"Confirmation"},J[0]=Z;else Z=J[0];t("confirm:no",q,Z);let R;if(J[1]!==X||J[2]!==Y||J[3]!==V.agentType||J[4]!==V.location||J[5]!==V.selectedModel||J[6]!==V.selectedTools||J[7]!==V.systemPrompt||J[8]!==V.whenToUse)R=(K)=>{Y({selectedColor:K,finalAgent:{agentType:V.agentType,whenToUse:V.whenToUse,getSystemPrompt:()=>V.systemPrompt,tools:V.selectedTools,...V.selectedModel?{model:V.selectedModel}:{},...K?{color:K}:{},source:V.location}}),X()},J[1]=X,J[2]=Y,J[3]=V.agentType,J[4]=V.location,J[5]=V.selectedModel,J[6]=V.selectedTools,J[7]=V.systemPrompt,J[8]=V.whenToUse,J[9]=R;else R=J[9];let L=R,H;if(J[10]===Symbol.for("react.memo_cache_sentinel"))H=F(Q0,{children:[Q(n,{shortcut:"↑↓",action:"navigate"}),Q(n,{shortcut:"Enter",action:"select"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),J[10]=H;else H=J[10];let W=V.agentType||"agent",O;if(J[11]!==L||J[12]!==W)O=Q(Z0,{subtitle:"Choose background color",footerText:H,children:Q(f,{children:Q(MX,{agentName:W,currentColor:"automatic",onConfirm:L})})}),J[11]=L,J[12]=W,J[13]=O;else O=J[13];return O}var OQ;var MQ=$(()=>{R0();b0();N0();z0();w0();O0();P0();mX();p();OQ=o(L0(),1)});function XJ(J){if(!J)return"Agent type is required";if(!/^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$/.test(J))return"Agent type must start and end with alphanumeric characters and contain only letters, numbers, and hyphens";if(J.length<3)return"Agent type must be at least 3 characters long";if(J.length>50)return"Agent type must be less than 50 characters";return null}function kQ(J,X,q){let Y=[],V=[];if(!J.agentType)Y.push("Agent type is required");else{let R=XJ(J.agentType);if(R)Y.push(R);let L=q.find((H)=>H.agentType===J.agentType&&H.source!==J.source);if(L)Y.push(`Agent type "${J.agentType}" already exists in ${r0(L.source)}`)}if(!J.whenToUse)Y.push("Description (description) is required");else if(J.whenToUse.length<10)V.push("Description should be more descriptive (at least 10 characters)");else if(J.whenToUse.length>5000)V.push("Description is very long (over 5000 characters)");if(J.tools!==void 0&&!Array.isArray(J.tools))Y.push("Tools must be an array");else{if(J.tools===void 0)V.push("Agent has access to all tools");else if(J.tools.length===0)V.push("No tools selected - agent will have very limited capabilities");let R=fX(J,X,!1);if(R.invalidTools.length>0)Y.push(`Invalid tools: ${R.invalidTools.join(", ")}`)}let Z=J.getSystemPrompt();if(!Z)Y.push("System prompt is required");else if(Z.length<20)Y.push("System prompt is too short (minimum 20 characters)");else if(Z.length>1e4)V.push("System prompt is very long (over 10,000 characters)");return{isValid:Y.length===0,errors:Y,warnings:V}}var JJ=$(()=>{SX();EX()});function NQ(J){let X=EQ.c(88),{tools:q,existingAgents:Y,onSave:V,onSaveAndEdit:Z,error:R}=J,{goBack:L,wizardData:H}=e(),W;if(X[0]===Symbol.for("react.memo_cache_sentinel"))W={context:"Confirmation"},X[0]=W;else W=X[0];t("confirm:no",L,W);let O;if(X[1]!==V||X[2]!==Z)O=(_)=>{if(_.key==="s"||_.key==="return")_.preventDefault(),V();else if(_.key==="e")_.preventDefault(),Z()},X[1]=V,X[2]=Z,X[3]=O;else O=X[3];let K=O,G=H.finalAgent,N,k,w,y,z,v,M,B,D,T,P,g,A,d,i,r,x,E,S;if(X[4]!==G||X[5]!==Y||X[6]!==K||X[7]!==q||X[8]!==H.location){let _=kQ(G,q,Y),l;if(X[28]!==G)l=QJ(G.getSystemPrompt(),240),X[28]=G,X[29]=l;else l=X[29];let s=l,X0;if(X[30]!==G.whenToUse)X0=QJ(G.whenToUse,240),X[30]=G.whenToUse,X[31]=X0;else X0=X[31];let V0=X0,f0=vq,U0;if(X[32]!==G.memory)U0=S0()?F(U,{children:[Q(U,{bold:!0,children:"Memory"}),": ",WX(G.memory)]}):null,X[32]=G.memory,X[33]=U0;else U0=X[33];let H0=U0;if(k=Z0,P="Confirm and save",X[34]===Symbol.for("react.memo_cache_sentinel"))g=F(Q0,{children:[Q(n,{shortcut:"s/Enter",action:"save"}),Q(n,{shortcut:"e",action:"edit in your editor"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]}),X[34]=g;else g=X[34];N=f,A="column",d=0,i=!0,r=K;let W0;if(X[35]===Symbol.for("react.memo_cache_sentinel"))W0=Q(U,{bold:!0,children:"Name"}),X[35]=W0;else W0=X[35];if(X[36]!==G.agentType)x=F(U,{children:[W0,": ",G.agentType]}),X[36]=G.agentType,X[37]=x;else x=X[37];let F0;if(X[38]===Symbol.for("react.memo_cache_sentinel"))F0=Q(U,{bold:!0,children:"Location"}),X[38]=F0;else F0=X[38];let K0;if(X[39]!==G.agentType||X[40]!==H.location)K0=KJ({source:H.location,agentType:G.agentType}),X[39]=G.agentType,X[40]=H.location,X[41]=K0;else K0=X[41];if(X[42]!==K0)E=F(U,{children:[F0,":"," ",K0]}),X[42]=K0,X[43]=E;else E=X[43];let u;if(X[44]===Symbol.for("react.memo_cache_sentinel"))u=Q(U,{bold:!0,children:"Tools"}),X[44]=u;else u=X[44];let h;if(X[45]!==G.tools)h=f0(G.tools),X[45]=G.tools,X[46]=h;else h=X[46];if(X[47]!==h)S=F(U,{children:[u,": ",h]}),X[47]=h,X[48]=S;else S=X[48];let q0;if(X[49]===Symbol.for("react.memo_cache_sentinel"))q0=Q(U,{bold:!0,children:"Model"}),X[49]=q0;else q0=X[49];let J0;if(X[50]!==G.model)J0=OX(G.model),X[50]=G.model,X[51]=J0;else J0=X[51];if(X[52]!==J0)w=F(U,{children:[q0,": ",J0]}),X[52]=J0,X[53]=w;else w=X[53];if(y=H0,X[54]===Symbol.for("react.memo_cache_sentinel"))z=Q(f,{marginTop:1,children:F(U,{children:[Q(U,{bold:!0,children:"Description"})," (tells Claude when to use this agent):"]})}),X[54]=z;else z=X[54];if(X[55]!==V0)v=Q(f,{marginLeft:2,marginTop:1,children:Q(U,{children:V0})}),X[55]=V0,X[56]=v;else v=X[56];if(X[57]===Symbol.for("react.memo_cache_sentinel"))M=Q(f,{marginTop:1,children:F(U,{children:[Q(U,{bold:!0,children:"System prompt"}),":"]})}),X[57]=M;else M=X[57];if(X[58]!==s)B=Q(f,{marginLeft:2,marginTop:1,children:Q(U,{children:s})}),X[58]=s,X[59]=B;else B=X[59];D=_.warnings.length>0&&F(f,{marginTop:1,flexDirection:"column",children:[Q(U,{color:"warning",children:"Warnings:"}),_.warnings.map(Dq)]}),T=_.errors.length>0&&F(f,{marginTop:1,flexDirection:"column",children:[Q(U,{color:"error",children:"Errors:"}),_.errors.map(bq)]}),X[4]=G,X[5]=Y,X[6]=K,X[7]=q,X[8]=H.location,X[9]=N,X[10]=k,X[11]=w,X[12]=y,X[13]=z,X[14]=v,X[15]=M,X[16]=B,X[17]=D,X[18]=T,X[19]=P,X[20]=g,X[21]=A,X[22]=d,X[23]=i,X[24]=r,X[25]=x,X[26]=E,X[27]=S}else N=X[9],k=X[10],w=X[11],y=X[12],z=X[13],v=X[14],M=X[15],B=X[16],D=X[17],T=X[18],P=X[19],g=X[20],A=X[21],d=X[22],i=X[23],r=X[24],x=X[25],E=X[26],S=X[27];let I;if(X[60]!==R)I=R&&Q(f,{marginTop:1,children:Q(U,{color:"error",children:R})}),X[60]=R,X[61]=I;else I=X[61];let b;if(X[62]===Symbol.for("react.memo_cache_sentinel"))b=Q(U,{bold:!0,children:"s"}),X[62]=b;else b=X[62];let c;if(X[63]===Symbol.for("react.memo_cache_sentinel"))c=Q(U,{bold:!0,children:"Enter"}),X[63]=c;else c=X[63];let j;if(X[64]===Symbol.for("react.memo_cache_sentinel"))j=Q(f,{marginTop:2,children:F(U,{color:"success",children:["Press ",b," or ",c," to save,"," ",Q(U,{bold:!0,children:"e"})," to save and edit"]})}),X[64]=j;else j=X[64];let C;if(X[65]!==N||X[66]!==w||X[67]!==y||X[68]!==z||X[69]!==v||X[70]!==M||X[71]!==B||X[72]!==D||X[73]!==T||X[74]!==I||X[75]!==A||X[76]!==d||X[77]!==i||X[78]!==r||X[79]!==x||X[80]!==E||X[81]!==S)C=F(N,{flexDirection:A,tabIndex:d,autoFocus:i,onKeyDown:r,children:[x,E,S,w,y,z,v,M,B,D,T,I,j]}),X[65]=N,X[66]=w,X[67]=y,X[68]=z,X[69]=v,X[70]=M,X[71]=B,X[72]=D,X[73]=T,X[74]=I,X[75]=A,X[76]=d,X[77]=i,X[78]=r,X[79]=x,X[80]=E,X[81]=S,X[82]=C;else C=X[82];let m;if(X[83]!==k||X[84]!==P||X[85]!==g||X[86]!==C)m=Q(k,{subtitle:P,footerText:g,children:C}),X[83]=k,X[84]=P,X[85]=g,X[86]=C,X[87]=m;else m=X[87];return m}function bq(J,X){return F(U,{color:"error",children:[" ","• ",J]},X)}function Dq(J,X){return F(U,{dimColor:!0,children:[" ","• ",J]},X)}function vq(J){if(J===void 0)return"All tools";if(J.length===0)return"None";if(J.length===1)return J[0]||"None";if(J.length===2)return J.join(" and ");return`${J.slice(0,-1).join(", ")}, and ${J[J.length-1]}`}var EQ;var zQ=$(()=>{R0();b0();BX();_X();PQ();TX();N0();z0();w0();O0();P0();x0();JJ();p();EQ=o(L0(),1)});import{dirname as Cq}from"path";function IQ({tools:J,existingAgents:X,onComplete:q}){let{wizardData:Y}=e(),[V,Z]=s0.useState(null),R=o0(),L=s0.useCallback(async(O)=>{if(!Y?.finalAgent)return;try{if(await WJ(Y.location,Y.finalAgent.agentType,Y.finalAgent.whenToUse,Y.finalAgent.tools,Y.finalAgent.getSystemPrompt(),!0,Y.finalAgent.color,Y.finalAgent.memory),Y.finalAgent.model){let G=KX({source:Y.location,agentType:Y.finalAgent.agentType}),N=Cq(G);await $0(N,Y.finalAgent.agentType,Y.finalAgent.model)}if(R((G)=>{if(!Y.finalAgent)return G;let N=G.agentDefinitions.allAgents.concat(Y.finalAgent);return{...G,agentDefinitions:{...G.agentDefinitions,activeAgents:n0(N),allAgents:N}}}),O){let G=KX({source:Y.location,agentType:Y.finalAgent.agentType});await zX(G)}IX("tengu_agent_created",{agent_type:Y.finalAgent.agentType,generation_method:Y.wasGenerated?"generated":"manual",source:Y.location,tool_count:Y.finalAgent.tools?.length??"all",has_custom_model:!!Y.finalAgent.model,has_custom_color:!!Y.finalAgent.color,has_memory:!!Y.finalAgent.memory,memory_scope:Y.finalAgent.memory??"none",...O?{opened_in_editor:!0}:{}});let K=O?`Created agent: ${T0.bold(Y.finalAgent.agentType)} and opened in editor. If you made edits, restart to load the latest version.`:`Created agent: ${T0.bold(Y.finalAgent.agentType)}`;q(K)}catch(K){Z(K instanceof Error?K.message:"Failed to save agent")}},[Y,q,R]),H=s0.useCallback(()=>L(!1),[L]),W=s0.useCallback(()=>L(!0),[L]);return Q(NQ,{tools:J,existingAgents:X,onSave:H,onSaveAndEdit:W,error:V})}var s0;var bQ=$(()=>{dX();BQ();NX();QX();iX();VX();O0();x0();zQ();p();s0=o(k0(),1)});function vQ(){let J=DQ.c(18),{goNext:X,goBack:q,updateWizardData:Y,wizardData:V}=e(),[Z,R]=bX.useState(V.whenToUse||""),[L,H]=bX.useState(Z.length),[W,O]=bX.useState(null),K;if(J[0]===Symbol.for("react.memo_cache_sentinel"))K={context:"Settings"},J[0]=K;else K=J[0];t("confirm:no",q,K);let G;if(J[1]!==Z)G=async()=>{let T=await a0(Z);if(T.content!==null)R(T.content),H(T.content.length)},J[1]=Z,J[2]=G;else G=J[2];let N=G,k;if(J[3]===Symbol.for("react.memo_cache_sentinel"))k={context:"Chat"},J[3]=k;else k=J[3];t("chat:externalEditor",N,k);let w;if(J[4]!==X||J[5]!==Y)w=(T)=>{let P=T.trim();if(!P){O("Description is required");return}O(null),Y({whenToUse:P}),X()},J[4]=X,J[5]=Y,J[6]=w;else w=J[6];let y=w,z;if(J[7]===Symbol.for("react.memo_cache_sentinel"))z=F(Q0,{children:[Q(n,{shortcut:"Type",action:"enter text"}),Q(n,{shortcut:"Enter",action:"continue"}),Q(a,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),Q(a,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),J[7]=z;else z=J[7];let v;if(J[8]===Symbol.for("react.memo_cache_sentinel"))v=Q(U,{children:"When should Claude use this agent?"}),J[8]=v;else v=J[8];let M;if(J[9]!==L||J[10]!==y||J[11]!==Z)M=Q(f,{marginTop:1,children:Q(j0,{value:Z,onChange:R,onSubmit:y,placeholder:"e.g., use this agent after you're done writing code...",columns:80,cursorOffset:L,onChangeCursorOffset:H,focus:!0,showCursor:!0})}),J[9]=L,J[10]=y,J[11]=Z,J[12]=M;else M=J[12];let B;if(J[13]!==W)B=W&&Q(f,{marginTop:1,children:Q(U,{color:"error",children:W})}),J[13]=W,J[14]=B;else B=J[14];let D;if(J[15]!==M||J[16]!==B)D=Q(Z0,{subtitle:"Description (tell Claude when to use this agent)",footerText:z,children:F(f,{flexDirection:"column",children:[v,M,B]})}),J[15]=M,J[16]=B,J[17]=D;else D=J[17];return D}var DQ,bX;var CQ=$(()=>{R0();b0();VX();N0();z0();w0();DX();O0();P0();p();DQ=o(L0(),1),bX=o(k0(),1)});async function TQ(J,X,q,Y){let V=q.length>0?`
|
|
12
|
-
|
|
13
|
-
IMPORTANT: The following identifiers already exist and must NOT be used: ${q.join(", ")}`:"",Z=`Create an agent configuration based on this request: "${J}".${V}
|
|
14
|
-
Return ONLY the JSON object, no other text.`,R=hQ({content:Z}),L=await mQ(),H=_Q([R],L),W=S0()?wQ+pq:wQ,G=(await pQ({messages:jQ(H),systemPrompt:AQ([W]),thinkingConfig:{type:"disabled"},tools:[],signal:Y,options:{getToolPermissionContext:async()=>yQ(),model:X,toolChoice:void 0,agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,querySource:"agent_creation",mcpTools:[]}})).message.content.filter((k)=>k.type==="text").map((k)=>k.text).join(`
|
|
15
|
-
`),N;try{N=ZJ(G.trim())}catch{let k=G.match(/\{[\s\S]*\}/);if(!k)throw Error("No JSON object found in response");N=ZJ(k[0])}if(!N.identifier||!N.whenToUse||!N.systemPrompt)throw Error("Invalid agent configuration generated");return IX("tengu_agent_definition_generated",{agent_identifier:N.identifier}),{identifier:N.identifier,whenToUse:N.whenToUse,systemPrompt:N.systemPrompt}}var wQ,pq=`
|
|
16
|
-
|
|
17
|
-
7. **Agent Memory Instructions**: If the user mentions "memory", "remember", "learn", "persist", or similar concepts, OR if the agent would benefit from building up knowledge across conversations (e.g., code reviewers learning patterns, architects learning codebase structure, etc.), include domain-specific memory update instructions in the systemPrompt.
|
|
18
|
-
|
|
19
|
-
Add a section like this to the systemPrompt, tailored to the agent's specific domain:
|
|
20
|
-
|
|
21
|
-
"**Update your agent memory** as you discover [domain-specific items]. This builds up institutional knowledge across conversations. Write concise notes about what you found and where.
|
|
22
|
-
|
|
23
|
-
Examples of what to record:
|
|
24
|
-
- [domain-specific item 1]
|
|
25
|
-
- [domain-specific item 2]
|
|
26
|
-
- [domain-specific item 3]"
|
|
27
|
-
|
|
28
|
-
Examples of domain-specific memory instructions:
|
|
29
|
-
- For a code-reviewer: "Update your agent memory as you discover code patterns, style conventions, common issues, and architectural decisions in this codebase."
|
|
30
|
-
- For a test-runner: "Update your agent memory as you discover test patterns, common failure modes, flaky tests, and testing best practices."
|
|
31
|
-
- For an architect: "Update your agent memory as you discover codepaths, library locations, key architectural decisions, and component relationships."
|
|
32
|
-
- For a documentation writer: "Update your agent memory as you discover documentation patterns, API structures, and terminology conventions."
|
|
33
|
-
|
|
34
|
-
The memory instructions should be specific to what the agent would naturally learn while performing its core tasks.
|
|
35
|
-
`;var SQ=$(()=>{Sq();_q();yq();hJ();hq();Tq();BX();BQ();wq();Aq();wQ=`You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.
|
|
36
|
-
|
|
37
|
-
**Important Context**: You may have access to project-specific instructions from CLAUDE.md files and other context that may include coding standards, project structure, and custom requirements. Consider this context when creating agents to ensure they align with the project's established patterns and practices.
|
|
38
|
-
|
|
39
|
-
When a user describes what they want an agent to do, you will:
|
|
40
|
-
|
|
41
|
-
1. **Extract Core Intent**: Identify the fundamental purpose, key responsibilities, and success criteria for the agent. Look for both explicit requirements and implicit needs. Consider any project-specific context from CLAUDE.md files. For agents that are meant to review code, you should assume that the user is asking to review recently written code and not the whole codebase, unless the user has explicitly instructed you otherwise.
|
|
42
|
-
|
|
43
|
-
2. **Design Expert Persona**: Create a compelling expert identity that embodies deep domain knowledge relevant to the task. The persona should inspire confidence and guide the agent's decision-making approach.
|
|
44
|
-
|
|
45
|
-
3. **Architect Comprehensive Instructions**: Develop a system prompt that:
|
|
46
|
-
- Establishes clear behavioral boundaries and operational parameters
|
|
47
|
-
- Provides specific methodologies and best practices for task execution
|
|
48
|
-
- Anticipates edge cases and provides guidance for handling them
|
|
49
|
-
- Incorporates any specific requirements or preferences mentioned by the user
|
|
50
|
-
- Defines output format expectations when relevant
|
|
51
|
-
- Aligns with project-specific coding standards and patterns from CLAUDE.md
|
|
52
|
-
|
|
53
|
-
4. **Optimize for Performance**: Include:
|
|
54
|
-
- Decision-making frameworks appropriate to the domain
|
|
55
|
-
- Quality control mechanisms and self-verification steps
|
|
56
|
-
- Efficient workflow patterns
|
|
57
|
-
- Clear escalation or fallback strategies
|
|
58
|
-
|
|
59
|
-
5. **Create Identifier**: Design a concise, descriptive identifier that:
|
|
60
|
-
- Uses lowercase letters, numbers, and hyphens only
|
|
61
|
-
- Is typically 2-4 words joined by hyphens
|
|
62
|
-
- Clearly indicates the agent's primary function
|
|
63
|
-
- Is memorable and easy to type
|
|
64
|
-
- Avoids generic terms like "helper" or "assistant"
|
|
65
|
-
|
|
66
|
-
6 **Example agent descriptions**:
|
|
67
|
-
- in the 'whenToUse' field of the JSON object, you should include examples of when this agent should be used.
|
|
68
|
-
- examples should be of the form:
|
|
69
|
-
- <example>
|
|
70
|
-
Context: The user is creating a test-runner agent that should be called after a logical chunk of code is written.
|
|
71
|
-
user: "Please write a function that checks if a number is prime"
|
|
72
|
-
assistant: "Here is the relevant function: "
|
|
73
|
-
<function call omitted for brevity only for this example>
|
|
74
|
-
<commentary>
|
|
75
|
-
Since a significant piece of code was written, use the ${YX} tool to launch the test-runner agent to run the tests.
|
|
76
|
-
</commentary>
|
|
77
|
-
assistant: "Now let me use the test-runner agent to run the tests"
|
|
78
|
-
</example>
|
|
79
|
-
- <example>
|
|
80
|
-
Context: User is creating an agent for Claude Code product questions.
|
|
81
|
-
user: "How do I configure Claude Code hooks?"
|
|
82
|
-
assistant: "I'm going to use the ${YX} tool to launch the claudin-guide agent to answer the question"
|
|
83
|
-
<commentary>
|
|
84
|
-
Since the user is asking how to use Claude Code, use the claudin-guide agent.
|
|
85
|
-
</commentary>
|
|
86
|
-
</example>
|
|
87
|
-
- If the user mentioned or implied that the agent should be used proactively, you should include examples of this.
|
|
88
|
-
- NOTE: Ensure that in the examples, you are making the assistant use the Agent tool and not simply respond directly to the task.
|
|
89
|
-
|
|
90
|
-
Your output must be a valid JSON object with exactly these fields:
|
|
91
|
-
{
|
|
92
|
-
"identifier": "A unique, descriptive identifier using lowercase letters, numbers, and hyphens (e.g., 'test-runner', 'api-docs-writer', 'code-formatter')",
|
|
93
|
-
"whenToUse": "A precise, actionable description starting with 'Use this agent when...' that clearly defines the triggering conditions and use cases. Ensure you include examples as described above.",
|
|
94
|
-
"systemPrompt": "The complete system prompt that will govern the agent's behavior, written in second person ('You are...', 'You will...') and structured for maximum clarity and effectiveness"
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
Key principles for your system prompts:
|
|
98
|
-
- Be specific rather than generic - avoid vague instructions
|
|
99
|
-
- Include concrete examples when they would clarify behavior
|
|
100
|
-
- Balance comprehensiveness with clarity - every instruction should add value
|
|
101
|
-
- Ensure the agent has enough context to handle variations of the core task
|
|
102
|
-
- Make the agent proactive in seeking clarification when needed
|
|
103
|
-
- Build in quality assurance and self-correction mechanisms
|
|
104
|
-
|
|
105
|
-
Remember: The agents you create should be autonomous experts capable of handling their designated tasks with minimal additional guidance. Your system prompts are their complete operational manual.
|
|
106
|
-
`});function dQ(){let{updateWizardData:J,goBack:X,goToStep:q,wizardData:Y}=e(),[V,Z]=y0.useState(Y.generationPrompt||""),[R,L]=y0.useState(!1),[H,W]=y0.useState(null),[O,K]=y0.useState(V.length),G=gQ(),N=y0.useRef(null),k=y0.useCallback(()=>{if(N.current)N.current.abort(),N.current=null,L(!1),W("Generation cancelled")},[]);t("confirm:no",k,{context:"Settings",isActive:R});let w=y0.useCallback(async()=>{let M=await a0(V);if(M.content!==null)Z(M.content),K(M.content.length)},[V]);t("chat:externalEditor",w,{context:"Chat",isActive:!R});let y=y0.useCallback(()=>{J({generationPrompt:"",agentType:"",systemPrompt:"",whenToUse:"",generatedAgent:void 0,wasGenerated:!1}),Z(""),W(null),X()},[J,X]);t("confirm:no",y,{context:"Settings",isActive:!R});let z=async()=>{let M=V.trim();if(!M){W("Please describe what the agent should do");return}W(null),L(!0),J({generationPrompt:M,isGenerating:!0});let B=cQ();N.current=B;try{let D=await TQ(M,G,[],B.signal);J({agentType:D.identifier,whenToUse:D.whenToUse,systemPrompt:D.systemPrompt,generatedAgent:D,isGenerating:!1,wasGenerated:!0}),q(6)}catch(D){if(uQ(D));else if(D instanceof Error&&!D.message.includes("No assistant message found"))W(D.message||"Failed to generate agent");J({isGenerating:!1})}finally{L(!1),N.current=null}},v="Describe what this agent should do and when it should be used (be comprehensive for best results)";if(R)return Q(Z0,{subtitle:v,footerText:Q(a,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"}),children:F(f,{flexDirection:"row",alignItems:"center",children:[Q(xQ,{}),Q(U,{color:"suggestion",children:" Generating agent from description..."})]})});return Q(Z0,{subtitle:v,footerText:F(Q0,{children:[Q(a,{action:"confirm:yes",context:"Confirmation",fallback:"Enter",description:"submit"}),Q(a,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),Q(a,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),children:F(f,{flexDirection:"column",children:[H&&Q(f,{marginBottom:1,children:Q(U,{color:"error",children:H})}),Q(j0,{value:V,onChange:Z,onSubmit:z,placeholder:"e.g., Help me write unit tests for my code...",columns:80,cursorOffset:O,onChangeCursorOffset:K,focus:!0,showCursor:!0})]})})}var y0;var iQ=$(()=>{uq();R0();b0();jq();hX();VX();N0();z0();mq();DX();O0();P0();SQ();p();y0=o(k0(),1)});function rQ(){let J=lQ.c(11),{goNext:X,updateWizardData:q,cancel:Y}=e(),V;if(J[0]===Symbol.for("react.memo_cache_sentinel"))V={label:"Project (.claudin/agents/)",value:"projectSettings"},J[0]=V;else V=J[0];let Z;if(J[1]===Symbol.for("react.memo_cache_sentinel"))Z=[V,{label:"Personal (~/.claudin/agents/)",value:"userSettings"}],J[1]=Z;else Z=J[1];let R=Z,L;if(J[2]===Symbol.for("react.memo_cache_sentinel"))L=F(Q0,{children:[Q(n,{shortcut:"↑↓",action:"navigate"}),Q(n,{shortcut:"Enter",action:"select"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]}),J[2]=L;else L=J[2];let H;if(J[3]!==X||J[4]!==q)H=(K)=>{q({location:K}),X()},J[3]=X,J[4]=q,J[5]=H;else H=J[5];let W;if(J[6]!==Y)W=()=>Y(),J[6]=Y,J[7]=W;else W=J[7];let O;if(J[8]!==H||J[9]!==W)O=Q(Z0,{subtitle:"Choose location",footerText:L,children:Q(f,{children:Q(D0,{options:R,onChange:H,onCancel:W},"location-select")})}),J[8]=H,J[9]=W,J[10]=O;else O=J[10];return O}var lQ;var $Q=$(()=>{R0();N0();qX();z0();w0();O0();P0();p();lQ=o(L0(),1)});function sQ(){let J=oQ.c(13),{goNext:X,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(J[0]===Symbol.for("react.memo_cache_sentinel"))Z={context:"Confirmation"},J[0]=Z;else Z=J[0];t("confirm:no",q,Z);let R=V.location==="userSettings",L;if(J[1]!==R)L=R?[{label:"User scope (~/.claudin/agent-memory/) (Recommended)",value:"user"},{label:"None (no persistent memory)",value:"none"},{label:"Project scope (.claudin/agent-memory/)",value:"project"},{label:"Local scope (.claudin/agent-memory-local/)",value:"local"}]:[{label:"Project scope (.claudin/agent-memory/) (Recommended)",value:"project"},{label:"None (no persistent memory)",value:"none"},{label:"User scope (~/.claudin/agent-memory/)",value:"user"},{label:"Local scope (.claudin/agent-memory-local/)",value:"local"}],J[1]=R,J[2]=L;else L=J[2];let H=L,W;if(J[3]!==X||J[4]!==Y||J[5]!==V.finalAgent||J[6]!==V.systemPrompt)W=(N)=>{let k=N==="none"?void 0:N,w=V.finalAgent?.agentType;Y({selectedMemory:k,finalAgent:V.finalAgent?{...V.finalAgent,memory:k,getSystemPrompt:S0()&&k&&w?()=>V.systemPrompt+`
|
|
107
|
-
|
|
108
|
-
`+nQ(w,k):()=>V.systemPrompt}:void 0}),X()},J[3]=X,J[4]=Y,J[5]=V.finalAgent,J[6]=V.systemPrompt,J[7]=W;else W=J[7];let O=W,K;if(J[8]===Symbol.for("react.memo_cache_sentinel"))K=F(Q0,{children:[Q(n,{shortcut:"↑↓",action:"navigate"}),Q(n,{shortcut:"Enter",action:"select"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),J[8]=K;else K=J[8];let G;if(J[9]!==q||J[10]!==O||J[11]!==H)G=Q(Z0,{subtitle:"Configure agent memory",footerText:K,children:Q(f,{children:Q(D0,{options:H,onChange:O,onCancel:q},"memory-select")})}),J[9]=q,J[10]=O,J[11]=H,J[12]=G;else G=J[12];return G}var oQ;var aQ=$(()=>{R0();b0();BX();_X();N0();qX();z0();w0();O0();P0();p();oQ=o(L0(),1)});function tQ(){let J=eQ.c(11),{goNext:X,goBack:q,updateWizardData:Y,goToStep:V}=e(),Z;if(J[0]===Symbol.for("react.memo_cache_sentinel"))Z=[{label:"Generate with Claude (recommended)",value:"generate"},{label:"Manual configuration",value:"manual"}],J[0]=Z;else Z=J[0];let R=Z,L;if(J[1]===Symbol.for("react.memo_cache_sentinel"))L=F(Q0,{children:[Q(n,{shortcut:"↑↓",action:"navigate"}),Q(n,{shortcut:"Enter",action:"select"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),J[1]=L;else L=J[1];let H;if(J[2]!==X||J[3]!==V||J[4]!==Y)H=(K)=>{let G=K;if(Y({method:G,wasGenerated:G==="generate"}),G==="generate")X();else V(3)},J[2]=X,J[3]=V,J[4]=Y,J[5]=H;else H=J[5];let W;if(J[6]!==q)W=()=>q(),J[6]=q,J[7]=W;else W=J[7];let O;if(J[8]!==H||J[9]!==W)O=Q(Z0,{subtitle:"Creation method",footerText:L,children:Q(f,{children:Q(D0,{options:R,onChange:H,onCancel:W},"method-select")})}),J[8]=H,J[9]=W,J[10]=O;else O=J[10];return O}var eQ;var XZ=$(()=>{R0();N0();qX();z0();w0();O0();P0();p();eQ=o(L0(),1)});function QZ(){let J=JZ.c(8),{goNext:X,goBack:q,updateWizardData:Y,wizardData:V}=e(),Z;if(J[0]!==X||J[1]!==Y)Z=(W)=>{Y({selectedModel:W}),X()},J[0]=X,J[1]=Y,J[2]=Z;else Z=J[2];let R=Z,L;if(J[3]===Symbol.for("react.memo_cache_sentinel"))L=F(Q0,{children:[Q(n,{shortcut:"↑↓",action:"navigate"}),Q(n,{shortcut:"Enter",action:"select"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),J[3]=L;else L=J[3];let H;if(J[4]!==q||J[5]!==R||J[6]!==V.selectedModel)H=Q(Z0,{subtitle:"Select model",footerText:L,children:Q(d0,{initialModel:V.selectedModel,onComplete:R,onCancel:q})}),J[4]=q,J[5]=R,J[6]=V.selectedModel,J[7]=H;else H=J[7];return H}var JZ;var ZZ=$(()=>{N0();z0();w0();O0();P0();kX();p();JZ=o(L0(),1)});function YZ(){let J=qZ.c(20),{goNext:X,goBack:q,updateWizardData:Y,wizardData:V}=e(),[Z,R]=vX.useState(V.systemPrompt||""),[L,H]=vX.useState(Z.length),[W,O]=vX.useState(null),K;if(J[0]===Symbol.for("react.memo_cache_sentinel"))K={context:"Settings"},J[0]=K;else K=J[0];t("confirm:no",q,K);let G;if(J[1]!==Z)G=async()=>{let P=await a0(Z);if(P.content!==null)R(P.content),H(P.content.length)},J[1]=Z,J[2]=G;else G=J[2];let N=G,k;if(J[3]===Symbol.for("react.memo_cache_sentinel"))k={context:"Chat"},J[3]=k;else k=J[3];t("chat:externalEditor",N,k);let w;if(J[4]!==X||J[5]!==Z||J[6]!==Y)w=()=>{let P=Z.trim();if(!P){O("System prompt is required");return}O(null),Y({systemPrompt:P}),X()},J[4]=X,J[5]=Z,J[6]=Y,J[7]=w;else w=J[7];let y=w,z;if(J[8]===Symbol.for("react.memo_cache_sentinel"))z=F(Q0,{children:[Q(n,{shortcut:"Type",action:"enter text"}),Q(n,{shortcut:"Enter",action:"continue"}),Q(a,{action:"chat:externalEditor",context:"Chat",fallback:"ctrl+g",description:"open in editor"}),Q(a,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),J[8]=z;else z=J[8];let v,M;if(J[9]===Symbol.for("react.memo_cache_sentinel"))v=Q(U,{children:"Enter the system prompt for your agent:"}),M=Q(U,{dimColor:!0,children:"Be comprehensive for best results"}),J[9]=v,J[10]=M;else v=J[9],M=J[10];let B;if(J[11]!==L||J[12]!==y||J[13]!==Z)B=Q(f,{marginTop:1,children:Q(j0,{value:Z,onChange:R,onSubmit:y,placeholder:"You are a helpful code reviewer who...",columns:80,cursorOffset:L,onChangeCursorOffset:H,focus:!0,showCursor:!0})}),J[11]=L,J[12]=y,J[13]=Z,J[14]=B;else B=J[14];let D;if(J[15]!==W)D=W&&Q(f,{marginTop:1,children:Q(U,{color:"error",children:W})}),J[15]=W,J[16]=D;else D=J[16];let T;if(J[17]!==B||J[18]!==D)T=Q(Z0,{subtitle:"System prompt",footerText:z,children:F(f,{flexDirection:"column",children:[v,M,B,D]})}),J[17]=B,J[18]=D,J[19]=T;else T=J[19];return T}var qZ,vX;var VZ=$(()=>{R0();b0();VX();N0();z0();w0();DX();O0();P0();p();qZ=o(L0(),1),vX=o(k0(),1)});function GZ(J){let X=RZ.c(9),{tools:q}=J,{goNext:Y,goBack:V,updateWizardData:Z,wizardData:R}=e(),L;if(X[0]!==Y||X[1]!==Z)L=(G)=>{Z({selectedTools:G}),Y()},X[0]=Y,X[1]=Z,X[2]=L;else L=X[2];let H=L,W=R.selectedTools,O;if(X[3]===Symbol.for("react.memo_cache_sentinel"))O=F(Q0,{children:[Q(n,{shortcut:"Enter",action:"toggle selection"}),Q(n,{shortcut:"↑↓",action:"navigate"}),Q(a,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})]}),X[3]=O;else O=X[3];let K;if(X[4]!==V||X[5]!==H||X[6]!==W||X[7]!==q)K=Q(Z0,{subtitle:"Select tools",footerText:O,children:Q(PX,{tools:q,initialTools:W,onComplete:H,onCancel:V})}),X[4]=V,X[5]=H,X[6]=W,X[7]=q,X[8]=K;else K=X[8];return K}var RZ;var LZ=$(()=>{N0();z0();w0();O0();P0();gX();p();RZ=o(L0(),1)});function FZ(J){let X=UZ.c(15),{goNext:q,goBack:Y,updateWizardData:V,wizardData:Z}=e(),[R,L]=CX.useState(Z.agentType||""),[H,W]=CX.useState(null),[O,K]=CX.useState(R.length),G;if(X[0]===Symbol.for("react.memo_cache_sentinel"))G={context:"Settings"},X[0]=G;else G=X[0];t("confirm:no",Y,G);let N;if(X[1]!==q||X[2]!==V)N=(B)=>{let D=B.trim(),T=XJ(D);if(T){W(T);return}W(null),V({agentType:D}),q()},X[1]=q,X[2]=V,X[3]=N;else N=X[3];let k=N,w;if(X[4]===Symbol.for("react.memo_cache_sentinel"))w=F(Q0,{children:[Q(n,{shortcut:"Type",action:"enter text"}),Q(n,{shortcut:"Enter",action:"continue"}),Q(a,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"go back"})]}),X[4]=w;else w=X[4];let y;if(X[5]===Symbol.for("react.memo_cache_sentinel"))y=Q(U,{children:"Enter a unique identifier for your agent:"}),X[5]=y;else y=X[5];let z;if(X[6]!==R||X[7]!==O||X[8]!==k)z=Q(f,{marginTop:1,children:Q(j0,{value:R,onChange:L,onSubmit:k,placeholder:"e.g., test-runner, tech-lead, etc",columns:60,cursorOffset:O,onChangeCursorOffset:K,focus:!0,showCursor:!0})}),X[6]=R,X[7]=O,X[8]=k,X[9]=z;else z=X[9];let v;if(X[10]!==H)v=H&&Q(f,{marginTop:1,children:Q(U,{color:"error",children:H})}),X[10]=H,X[11]=v;else v=X[11];let M;if(X[12]!==z||X[13]!==v)M=Q(Z0,{subtitle:"Agent type (identifier)",footerText:w,children:F(f,{flexDirection:"column",children:[y,z,v]})}),X[12]=z,X[13]=v,X[14]=M;else M=X[14];return M}var UZ,CX;var KZ=$(()=>{R0();b0();N0();z0();w0();DX();O0();P0();JJ();p();UZ=o(L0(),1),CX=o(k0(),1)});function WZ(J){let X=HZ.c(17),{tools:q,existingAgents:Y,onComplete:V,onCancel:Z}=J,R;if(X[0]!==Y)R=()=>Q(FZ,{existingAgents:Y}),X[0]=Y,X[1]=R;else R=X[1];let L;if(X[2]!==q)L=()=>Q(GZ,{tools:q}),X[2]=q,X[3]=L;else L=X[3];let H;if(X[4]===Symbol.for("react.memo_cache_sentinel"))H=S0()?[sQ]:[],X[4]=H;else H=X[4];let W;if(X[5]!==Y||X[6]!==V||X[7]!==q)W=()=>Q(IQ,{tools:q,existingAgents:Y,onComplete:V}),X[5]=Y,X[6]=V,X[7]=q,X[8]=W;else W=X[8];let O;if(X[9]!==R||X[10]!==L||X[11]!==W)O=[rQ,tQ,dQ,R,YZ,vQ,L,QZ,fQ,...H,W],X[9]=R,X[10]=L,X[11]=W,X[12]=O;else O=X[12];let K=O,G;if(X[13]===Symbol.for("react.memo_cache_sentinel"))G={},X[13]=G;else G=X[13];let N;if(X[14]!==Z||X[15]!==K)N=Q(oX,{steps:K,initialData:G,onComplete:cq,onCancel:Z,title:"Create new agent",showStepCounter:!1}),X[14]=Z,X[15]=K,X[16]=N;else N=X[16];return N}function cq(){}var HZ;var OZ=$(()=>{BX();O0();MQ();bQ();CQ();iQ();$Q();aQ();XZ();ZZ();VZ();LZ();KZ();p();HZ=o(L0(),1)});function IZ(J){let X=BZ.c(157),{tools:q,onExit:Y}=J,V;if(X[0]===Symbol.for("react.memo_cache_sentinel"))V={mode:"list-agents",source:"all"},X[0]=V;else V=X[0];let[Z,R]=qJ.useState(V),L=e0(XY),H=e0(tq),W=e0(eq),O=o0(),{allAgents:K,activeAgents:G}=L,N;if(X[1]===Symbol.for("react.memo_cache_sentinel"))N=[],X[1]=N;else N=X[1];let[k,w]=qJ.useState(N),y=NZ(q,H,W);h0();let z;if(X[2]!==K)z=K.filter(aq),X[2]=K,X[3]=z;else z=X[3];let v;if(X[4]!==K)v=K.filter(sq),X[4]=K,X[5]=v;else v=X[5];let M;if(X[6]!==K)M=K.filter(oq),X[6]=K,X[7]=M;else M=X[7];let B;if(X[8]!==K)B=K.filter(nq),X[8]=K,X[9]=B;else B=X[9];let D;if(X[10]!==K)D=K.filter($q),X[10]=K,X[11]=D;else D=X[11];let T;if(X[12]!==K)T=K.filter(rq),X[12]=K,X[13]=T;else T=X[13];let P;if(X[14]!==K)P=K.filter(lq),X[14]=K,X[15]=P;else P=X[15];let g;if(X[16]!==K||X[17]!==z||X[18]!==v||X[19]!==M||X[20]!==B||X[21]!==D||X[22]!==T||X[23]!==P)g={"built-in":z,userSettings:v,projectSettings:M,policySettings:B,localSettings:D,flagSettings:T,plugin:P,all:K},X[16]=K,X[17]=z,X[18]=v,X[19]=M,X[20]=B,X[21]=D,X[22]=T,X[23]=P,X[24]=g;else g=X[24];let A=g,d;if(X[25]===Symbol.for("react.memo_cache_sentinel"))d=(E)=>{w((S)=>[...S,E]),R({mode:"list-agents",source:"all"})},X[25]=d;else d=X[25];let i=d,r;if(X[26]!==O)r=async(E)=>{try{await fJ(E),O((S)=>{let I=S.agentDefinitions.allAgents.filter((b)=>!(b.agentType===E.agentType&&b.source===E.source));return{...S,agentDefinitions:{...S.agentDefinitions,allAgents:I,activeAgents:n0(I)}}}),w((S)=>[...S,`Deleted agent: ${T0.bold(E.agentType)}`]),R({mode:"list-agents",source:"all"})}catch(S){wX(fZ(S))}},X[26]=O,X[27]=r;else r=X[27];let x=r;switch(Z.mode){case"list-agents":{let E;if(X[28]!==A||X[29]!==Z.source)E=Z.source==="all"?[...A["built-in"],...A.userSettings,...A.projectSettings,...A.localSettings,...A.policySettings,...A.flagSettings,...A.plugin]:A[Z.source],X[28]=A,X[29]=Z.source,X[30]=E;else E=X[30];let S=E,I;if(X[31]!==G||X[32]!==S)I=zZ(S,G),X[31]=G,X[32]=S,X[33]=I;else I=X[33];let c=I,j;if(X[34]!==k||X[35]!==Y)j=()=>{let X0=k.length>0?`Agent changes:
|
|
109
|
-
${k.join(`
|
|
110
|
-
`)}`:void 0;Y(X0??"Agents dialog dismissed",{display:k.length===0?"system":void 0})},X[34]=k,X[35]=Y,X[36]=j;else j=X[36];let C;if(X[37]!==Z)C=(X0)=>R({mode:"agent-menu",agent:X0,previousMode:Z}),X[37]=Z,X[38]=C;else C=X[38];let m;if(X[39]===Symbol.for("react.memo_cache_sentinel"))m=()=>R({mode:"create-agent"}),X[39]=m;else m=X[39];let _;if(X[40]!==k||X[41]!==Z.source||X[42]!==c||X[43]!==j||X[44]!==C)_=Q(UQ,{source:Z.source,agents:c,onBack:j,onSelect:C,onCreateNew:m,changes:k}),X[40]=k,X[41]=Z.source,X[42]=c,X[43]=j,X[44]=C,X[45]=_;else _=X[45];let l;if(X[46]===Symbol.for("react.memo_cache_sentinel"))l=Q(c0,{}),X[46]=l;else l=X[46];let s;if(X[47]!==_)s=F(G0,{children:[_,l]}),X[47]=_,X[48]=s;else s=X[48];return s}case"create-agent":{let E;if(X[49]===Symbol.for("react.memo_cache_sentinel"))E=()=>R({mode:"list-agents",source:"all"}),X[49]=E;else E=X[49];let S;if(X[50]!==G||X[51]!==y)S=Q(WZ,{tools:y,existingAgents:G,onComplete:i,onCancel:E}),X[50]=G,X[51]=y,X[52]=S;else S=X[52];return S}case"agent-menu":{let E;if(X[53]!==K||X[54]!==Z.agent.agentType||X[55]!==Z.agent.source){let h;if(X[57]!==Z.agent.agentType||X[58]!==Z.agent.source)h=(q0)=>q0.agentType===Z.agent.agentType&&q0.source===Z.agent.source,X[57]=Z.agent.agentType,X[58]=Z.agent.source,X[59]=h;else h=X[59];E=K.find(h),X[53]=K,X[54]=Z.agent.agentType,X[55]=Z.agent.source,X[56]=E}else E=X[56];let I=E||Z.agent,b=I.source!=="built-in"&&I.source!=="plugin"&&I.source!=="flagSettings",c=I.source==="built-in",j;if(X[60]===Symbol.for("react.memo_cache_sentinel"))j={label:"View agent",value:"view"},X[60]=j;else j=X[60];let C;if(b)C=[{label:"Edit agent",value:"edit"},{label:"Change model",value:"change-model"},{label:"Delete agent",value:"delete"}];else if(c)C=[{label:"Change model",value:"change-model"}];else C=[];let m;if(X[63]===Symbol.for("react.memo_cache_sentinel"))m={label:"Back",value:"back"},X[63]=m;else m=X[63];let _;if(X[64]!==C)_=[j,...C,m],X[64]=C,X[65]=_;else _=X[65];let l=_,s;if(X[66]!==I||X[67]!==Z)s=(h)=>{X:switch(h){case"view":{R({mode:"view-agent",agent:I,previousMode:Z.previousMode});break X}case"edit":{R({mode:"edit-agent",agent:I,previousMode:Z});break X}case"delete":{R({mode:"delete-confirm",agent:I,previousMode:Z});break X}case"change-model":{R({mode:"edit-builtin-model",agent:I,previousMode:Z});break X}case"back":R(Z.previousMode)}},X[66]=I,X[67]=Z,X[68]=s;else s=X[68];let X0=s,V0;if(X[69]!==Z.previousMode)V0=()=>R(Z.previousMode),X[69]=Z.previousMode,X[70]=V0;else V0=X[70];let f0;if(X[71]!==Z.previousMode)f0=()=>R(Z.previousMode),X[71]=Z.previousMode,X[72]=f0;else f0=X[72];let U0;if(X[73]!==X0||X[74]!==l||X[75]!==f0)U0=Q(D0,{options:l,onChange:X0,onCancel:f0}),X[73]=X0,X[74]=l,X[75]=f0,X[76]=U0;else U0=X[76];let H0;if(X[77]!==k)H0=k.length>0&&Q(f,{marginTop:1,children:Q(U,{dimColor:!0,children:k[k.length-1]})}),X[77]=k,X[78]=H0;else H0=X[78];let W0;if(X[79]!==U0||X[80]!==H0)W0=F(f,{flexDirection:"column",children:[U0,H0]}),X[79]=U0,X[80]=H0,X[81]=W0;else W0=X[81];let F0;if(X[82]!==Z.agent.agentType||X[83]!==V0||X[84]!==W0)F0=Q(C0,{title:Z.agent.agentType,onCancel:V0,hideInputGuide:!0,children:W0}),X[82]=Z.agent.agentType,X[83]=V0,X[84]=W0,X[85]=F0;else F0=X[85];let K0;if(X[86]===Symbol.for("react.memo_cache_sentinel"))K0=Q(c0,{}),X[86]=K0;else K0=X[86];let u;if(X[87]!==F0)u=F(G0,{children:[F0,K0]}),X[87]=F0,X[88]=u;else u=X[88];return u}case"view-agent":{let E;if(X[89]!==K||X[90]!==Z.agent){let l;if(X[92]!==Z.agent)l=(s)=>s.agentType===Z.agent.agentType&&s.source===Z.agent.source,X[92]=Z.agent,X[93]=l;else l=X[93];E=K.find(l),X[89]=K,X[90]=Z.agent,X[91]=E}else E=X[91];let I=E||Z.agent,b;if(X[94]!==I||X[95]!==Z.previousMode)b=()=>R({mode:"agent-menu",agent:I,previousMode:Z.previousMode}),X[94]=I,X[95]=Z.previousMode,X[96]=b;else b=X[96];let c;if(X[97]!==I||X[98]!==Z.previousMode)c=()=>R({mode:"agent-menu",agent:I,previousMode:Z.previousMode}),X[97]=I,X[98]=Z.previousMode,X[99]=c;else c=X[99];let j;if(X[100]!==I||X[101]!==K||X[102]!==y||X[103]!==c)j=Q(NJ,{agent:I,tools:y,allAgents:K,onBack:c}),X[100]=I,X[101]=K,X[102]=y,X[103]=c,X[104]=j;else j=X[104];let C;if(X[105]!==I.agentType||X[106]!==b||X[107]!==j)C=Q(C0,{title:I.agentType,onCancel:b,hideInputGuide:!0,children:j}),X[105]=I.agentType,X[106]=b,X[107]=j,X[108]=C;else C=X[108];let m;if(X[109]===Symbol.for("react.memo_cache_sentinel"))m=Q(c0,{instructions:"Press Enter or Esc to go back"}),X[109]=m;else m=X[109];let _;if(X[110]!==C)_=F(G0,{children:[C,m]}),X[110]=C,X[111]=_;else _=X[111];return _}case"delete-confirm":{let E;if(X[112]===Symbol.for("react.memo_cache_sentinel"))E=[{label:"Yes, delete",value:"yes"},{label:"No, cancel",value:"no"}],X[112]=E;else E=X[112];let S=E,I;if(X[113]!==Z)I=()=>{if("previousMode"in Z)R(Z.previousMode)},X[113]=Z,X[114]=I;else I=X[114];let b;if(X[115]!==Z.agent.agentType)b=F(U,{children:["Are you sure you want to delete the agent"," ",Q(U,{bold:!0,children:Z.agent.agentType}),"?"]}),X[115]=Z.agent.agentType,X[116]=b;else b=X[116];let c;if(X[117]!==Z.agent.source)c=Q(f,{marginTop:1,children:F(U,{dimColor:!0,children:["Source: ",Z.agent.source]})}),X[117]=Z.agent.source,X[118]=c;else c=X[118];let j;if(X[119]!==x||X[120]!==Z)j=(X0)=>{if(X0==="yes")x(Z.agent);else if("previousMode"in Z)R(Z.previousMode)},X[119]=x,X[120]=Z,X[121]=j;else j=X[121];let C;if(X[122]!==Z)C=()=>{if("previousMode"in Z)R(Z.previousMode)},X[122]=Z,X[123]=C;else C=X[123];let m;if(X[124]!==j||X[125]!==C)m=Q(f,{marginTop:1,children:Q(D0,{options:S,onChange:j,onCancel:C})}),X[124]=j,X[125]=C,X[126]=m;else m=X[126];let _;if(X[127]!==I||X[128]!==b||X[129]!==c||X[130]!==m)_=F(C0,{title:"Delete agent",onCancel:I,color:"error",children:[b,c,m]}),X[127]=I,X[128]=b,X[129]=c,X[130]=m,X[131]=_;else _=X[131];let l;if(X[132]===Symbol.for("react.memo_cache_sentinel"))l=Q(c0,{instructions:"Press ↑↓ to navigate, Enter to select, Esc to cancel"}),X[132]=l;else l=X[132];let s;if(X[133]!==_)s=F(G0,{children:[_,l]}),X[133]=_,X[134]=s;else s=X[134];return s}case"edit-agent":{let E;if(X[135]!==K||X[136]!==Z.agent){let X0;if(X[138]!==Z.agent)X0=(V0)=>V0.agentType===Z.agent.agentType&&V0.source===Z.agent.source,X[138]=Z.agent,X[139]=X0;else X0=X[139];E=K.find(X0),X[135]=K,X[136]=Z.agent,X[137]=E}else E=X[137];let I=E||Z.agent,b=`Edit agent: ${I.agentType}`,c;if(X[140]!==Z.previousMode)c=()=>R(Z.previousMode),X[140]=Z.previousMode,X[141]=c;else c=X[141];let j,C;if(X[142]!==Z.previousMode)j=(X0)=>{i(X0),R(Z.previousMode)},C=()=>R(Z.previousMode),X[142]=Z.previousMode,X[143]=j,X[144]=C;else j=X[143],C=X[144];let m;if(X[145]!==I||X[146]!==y||X[147]!==j||X[148]!==C)m=Q(JQ,{agent:I,tools:y,onSaved:j,onBack:C}),X[145]=I,X[146]=y,X[147]=j,X[148]=C,X[149]=m;else m=X[149];let _;if(X[150]!==b||X[151]!==c||X[152]!==m)_=Q(C0,{title:b,onCancel:c,hideInputGuide:!0,children:m}),X[150]=b,X[151]=c,X[152]=m,X[153]=_;else _=X[153];let l;if(X[154]===Symbol.for("react.memo_cache_sentinel"))l=Q(c0,{}),X[154]=l;else l=X[154];let s;if(X[155]!==_)s=F(G0,{children:[_,l]}),X[155]=_,X[156]=s;else s=X[156];return s}case"edit-builtin-model":{let{agent:E,previousMode:S}=Z,I=async(c)=>{let j=c??"inherit";try{if(E.source==="built-in")MZ((m)=>({...m,agentModelOverrides:{...m.agentModelOverrides??{},[kZ(E.agentType)]:j}}));else if(E.baseDir)$0(E.baseDir,E.agentType,j);else{wX(Error(`Cannot save model override for ${E.agentType}: missing baseDir`)),R(S);return}EZ();let C=await PZ(JX());O((m)=>({...m,agentDefinitions:{...m.agentDefinitions,allAgents:C.allAgents,activeAgents:C.activeAgents}})),w((m)=>[...m,`Set model for ${T0.bold(E.agentType)} → ${j}`])}catch(C){wX(C)}R(S)},b=()=>R(S);return F(G0,{children:[Q(C0,{title:`Change model: ${E.agentType}`,onCancel:b,hideInputGuide:!0,children:Q(d0,{initialModel:E.model??"inherit",onComplete:I,onCancel:b})}),Q(c0,{})]})}default:return null}}function lq(J){return J.source==="plugin"}function rq(J){return J.source==="flagSettings"}function $q(J){return J.source==="localSettings"}function nq(J){return J.source==="policySettings"}function oq(J){return J.source==="projectSettings"}function sq(J){return J.source==="userSettings"}function aq(J){return J.source==="built-in"}function eq(J){return J.toolPermissionContext}function tq(J){return J.mcp.tools}function XY(J){return J.agentDefinitions}var BZ,qJ;var bZ=$(()=>{dX();RX();iq();R0();NX();GQ();QX();dq();iX();xq();hX();gq();qX();rX();zJ();QQ();qQ();FQ();kX();x0();GJ();OZ();p();BZ=o(L0(),1),qJ=o(k0(),1)});function vZ(){let J=e0((q)=>q.tasks),X=Object.values(J).filter((q)=>q.type==="local_agent"&&q.agentType!=="main-session"&&(q.status==="running"||q.status==="pending"));return F(f,{flexDirection:"column",paddingTop:1,children:[Q(u0,{color:"permission"}),Q(f,{flexDirection:"column",paddingX:2,children:X.length===0?Q(f,{marginTop:1,children:Q(U,{dimColor:!0,children:"No subagents are currently running."})}):Q(f,{flexDirection:"column",marginTop:1,gap:1,children:X.map((q)=>{let Y=q.progress?.tokenCount??0,V=q.progress?.toolUseCount??0,Z=q.model??"inherit",R=q.progress?.lastActivity;return F(f,{flexDirection:"column",children:[F(f,{flexDirection:"row",gap:1,children:[Q(U,{bold:!0,children:q.agentType}),Q(U,{dimColor:!0,children:"·"}),Q(U,{dimColor:!0,children:Z}),Q(U,{dimColor:!0,children:"·"}),F(U,{dimColor:!0,children:[DZ(Y)," tokens"]}),V>0&&F(G0,{children:[Q(U,{dimColor:!0,children:"·"}),F(U,{dimColor:!0,children:[V," tool",V!==1?"s":""]})]})]}),R&&Q(f,{paddingLeft:2,children:Q(U,{dimColor:!0,italic:!0,children:R.activityDescription??R.toolName})})]},q.id)})})})]})}var CZ=$(()=>{R0();NX();PQ();cX();p()});function JY({onExit:J}){let X=h0();t("confirm:no",J,{context:"Confirmation",isActive:!0});let q=X.pending?`Press ${X.keyName} again to exit`:"←/→ switch tabs · ↑↓ navigate · Enter select · Esc close";return Q(f,{marginLeft:2,marginTop:1,children:Q(U,{dimColor:!0,children:q})})}function AZ({tools:J,onExit:X}){let[q,Y]=yZ.useState("library");wZ((Z,R)=>{if(R.leftArrow)Y("running");if(R.rightArrow)Y("library")},{isActive:!0});let V=F(f,{flexDirection:"row",gap:1,marginBottom:0,children:[Q(U,{bold:!0,color:"permission",children:"Agents"}),F(U,{bold:q==="running",inverse:q==="running",children:[" ","Running"," "]}),F(U,{bold:q==="library",inverse:q==="library",children:[" ","Library"," "]})]});if(q==="running")return F(f,{flexDirection:"column",children:[V,Q(vZ,{}),Q(JY,{onExit:()=>X("Agents dialog dismissed",{display:"system"})})]});return F(f,{flexDirection:"column",children:[V,Q(IZ,{tools:J,onExit:X})]})}var yZ;var hZ=$(()=>{R0();RX();b0();bZ();CZ();p();yZ=o(k0(),1)});async function GF(J,X){let Y=X.getAppState().toolPermissionContext,V=_Z(Y);return Q(AZ,{tools:V,onExit:J})}var ZY=$(()=>{hZ();QY();p()});ZY();export{GF as call};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Uc as H,Vc as I,Wc as J,Xc as K,Yc as L,Zc as U}from"./cli-1.1.12-fcmw5w0b.mjs";import{Qu as F,Tu as G,Zu as T}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import{_ia as E,aja as R}from"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";U();T();R();function C(j){let x=J(j),y=[j.agentType];if(x)y.push(x);if(j.memory)y.push(`${j.memory} memory`);return y.join(" · ")}async function Z(){let j=E(),{allAgents:x}=await G(j),y=F(x),M=I(x,y),k=[],z=0;for(let{label:N,source:P}of H){let B=M.filter((q)=>q.source===P).sort(L);if(B.length===0)continue;k.push(`${N}:`);for(let q of B)if(q.overriddenBy){let Q=K(q.overriddenBy);k.push(` (shadowed by ${Q}) ${C(q)}`)}else k.push(` ${C(q)}`),z++;k.push("")}if(k.length===0)console.log("No agents found.");else console.log(`${z} active agents
|
|
2
|
-
`),console.log(k.join(`
|
|
3
|
-
`).trimEnd())}export{Z as agentsHandler};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{D4 as a,E4 as b,F4 as c,G4 as d,H4 as e,I4 as f,J4 as g,K4 as h,L4 as i,M4 as j,N4 as k}from"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";k();export{j as updateSessionTitle,i as sendEventToRemoteSession,d as prepareApiRequest,a as isTransientNetworkError,f as getOAuthHeaders,h as getBranchFromSession,g as fetchSession,e as fetchCodeSessionsFromSessionsAPI,b as axiosGetWithRetry,c as CodeSessionSchema};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{qb as a,rb as b}from"./cli-1.1.12-nfqrrpxy.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";export{b as renameRecordingForSession,a as getSessionRecordingPaths};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./cli-1.1.12-2nzqqw4h.mjs";var n=null;export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$7 as c,A8 as D,B8 as E,C8 as F,D8 as G,E8 as H,F8 as I,G8 as J,H8 as K,I8 as L,J8 as M,K8 as N,L8 as O,M8 as P,N8 as Q,O8 as R,P8 as S,Q8 as T,R8 as U,S8 as V,T8 as W,U8 as X,V8 as Y,W8 as Z,X8 as _,Y8 as $,Z7 as a,_7 as b,_8 as aa,a8 as d,b8 as e,c8 as f,d8 as g,e8 as h,f8 as i,g8 as j,h8 as k,i8 as l,j8 as m,k8 as n,l8 as o,m8 as p,n8 as q,o8 as r,p8 as s,q8 as t,r8 as u,s8 as v,t8 as w,u8 as x,v8 as y,w8 as z,x8 as A,y8 as B,z8 as C}from"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";aa();export{$ as validateForceLoginOrg,C as saveOAuthTokensIfNeeded,z as saveApiKey,B as removeApiKey,u as refreshGcpCredentialsIfNeeded,t as refreshGcpAuth,o as refreshAwsAuth,p as refreshAndGetAwsCredentials,w as prefetchGcpCredentialsIfSafe,x as prefetchAwsCredentialsAndBedRockInfoIfSafe,n as prefetchApiKeyFromApiKeyHelperIfSafe,W as isUsing3PServices,Q as isTeamSubscriber,R as isTeamPremiumSubscriber,T as isProSubscriber,M as isOverageProvisioningAllowed,X as isOtelHeadersHelperFromProjectOrLocalSettings,P as isMaxSubscriber,r as isGcpAuthRefreshFromProjectSettings,S as isEnterpriseSubscriber,A as isCustomApiKeyApproved,Z as isConsumerSubscriber,I as isClaudeAISubscriber,h as isAwsCredentialExportFromProjectSettings,g as isAwsAuthRefreshFromProjectSettings,a as isAnthropicAuthEnabled,K as is1PApiCustomer,J as hasProfileScope,N as hasOpusAccess,d as hasAnthropicApiKeyAuth,F as handleOAuth401Error,O as getSubscriptionType,V as getSubscriptionName,U as getRateLimitTier,Y as getOtelHeadersFromHelper,L as getOauthAccountInfo,f as getConfiguredApiKeyHelper,G as getClaudeAIOAuthTokensAsync,D as getClaudeAIOAuthTokens,b as getAuthTokenSource,j as getApiKeyHelperElapsedMs,y as getApiKeyFromConfigOrMacOSKeychain,l as getApiKeyFromApiKeyHelperCached,k as getApiKeyFromApiKeyHelper,e as getAnthropicApiKeyWithSource,c as getAnthropicApiKey,_ as getAccountInformation,E as clearOAuthTokenCache,v as clearGcpCredentialsCache,q as clearAwsCredentialsCache,m as clearApiKeyHelperCache,s as checkGcpCredentialsValid,H as checkAndRefreshOAuthTokenIfNeeded,i as calculateApiKeyHelperTTL};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{AH as e,BH as f,CH as g,wH as a,xH as b,yH as c,zH as d}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";g();export{a as performLogout,c as installOAuthTokens,b as clearAuthRelatedCaches,e as authStatus,f as authLogout,d as authLogin};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import{Lx as w,Mx as z,Nx as F,Ox as N,uu as b,vu as I}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import{R6 as y,i7 as P,p7 as x}from"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import{_da as Q,aea as k}from"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import{uka as $,zka as U}from"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import{pla as Z,wla as T}from"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";T();x();N();k();I();U();function G(h){process.stdout.write($(h,null,2)+`
|
|
2
|
-
`)}var V=`Auto-mode classifier prompts are not bundled in this build.
|
|
3
|
-
Effective behavior at runtime: auto-allow for non-allowlisted tools.
|
|
4
|
-
Add prompt templates at src/utils/permissions/yolo-classifier-prompts/ and rebuild to enable.
|
|
5
|
-
`;function D(){if(!w()){process.stdout.write(V);return}G(z())}function E(){if(!w()){process.stdout.write(V);return}let h=Q(),j=z();G({allow:h?.allow?.length?h.allow:j.allow,soft_deny:h?.soft_deny?.length?h.soft_deny:j.soft_deny,environment:h?.environment?.length?h.environment:j.environment})}var m=`You are an expert reviewer of auto mode classifier rules for Claude Code.
|
|
6
|
-
|
|
7
|
-
Claude Code has an "auto mode" that uses an AI classifier to decide whether tool calls should be auto-approved or require user confirmation. Users can write custom rules in three categories:
|
|
8
|
-
|
|
9
|
-
- **allow**: Actions the classifier should auto-approve
|
|
10
|
-
- **soft_deny**: Actions the classifier should block (require user confirmation)
|
|
11
|
-
- **environment**: Context about the user's setup that helps the classifier make decisions
|
|
12
|
-
|
|
13
|
-
Your job is to critique the user's custom rules for clarity, completeness, and potential issues. The classifier is an LLM that reads these rules as part of its system prompt.
|
|
14
|
-
|
|
15
|
-
For each rule, evaluate:
|
|
16
|
-
1. **Clarity**: Is the rule unambiguous? Could the classifier misinterpret it?
|
|
17
|
-
2. **Completeness**: Are there gaps or edge cases the rule doesn't cover?
|
|
18
|
-
3. **Conflicts**: Do any of the rules conflict with each other?
|
|
19
|
-
4. **Actionability**: Is the rule specific enough for the classifier to act on?
|
|
20
|
-
|
|
21
|
-
Be concise and constructive. Only comment on rules that could be improved. If all rules look good, say so.`;async function M(h){if(!w()){process.stdout.write(V);return}let j=Q();if(!((j?.allow?.length??0)>0||(j?.soft_deny?.length??0)>0||(j?.environment?.length??0)>0)){process.stdout.write(`No custom auto mode rules found.
|
|
22
|
-
|
|
23
|
-
Add rules to your settings file under autoMode.{allow, soft_deny, environment}.
|
|
24
|
-
Run \`claude auto-mode defaults\` to see the default rules for reference.
|
|
25
|
-
`);return}let H=h.model?P(h.model):y(),q=z(),v=F(),O=K("allow",j?.allow??[],q.allow)+K("soft_deny",j?.soft_deny??[],q.soft_deny)+K("environment",j?.environment??[],q.environment);process.stdout.write(`Analyzing your auto mode rules…
|
|
26
|
-
|
|
27
|
-
`);let X;try{X=await b({querySource:"auto_mode_critique",model:H,system:m,max_tokens:4096,messages:[{role:"user",content:`Here is the full classifier system prompt that the auto mode classifier receives:
|
|
28
|
-
|
|
29
|
-
<classifier_system_prompt>
|
|
30
|
-
`+v+`
|
|
31
|
-
</classifier_system_prompt>
|
|
32
|
-
|
|
33
|
-
Here are the user's custom rules that REPLACE the corresponding default sections:
|
|
34
|
-
|
|
35
|
-
`+O+`
|
|
36
|
-
Please critique these custom rules.`}]})}catch(J){process.stderr.write("Failed to analyze rules: "+Z(J)+`
|
|
37
|
-
`),process.exitCode=1;return}let Y=X.content.find((J)=>J.type==="text");if(Y?.type==="text")process.stdout.write(Y.text+`
|
|
38
|
-
`);else process.stdout.write(`No critique was generated. Please try again.
|
|
39
|
-
`)}function K(h,j,W){if(j.length===0)return"";let H=j.map((v)=>"- "+v).join(`
|
|
40
|
-
`),q=W.map((v)=>"- "+v).join(`
|
|
41
|
-
`);return"## "+h+` (custom rules replacing defaults)
|
|
42
|
-
Custom:
|
|
43
|
-
`+H+`
|
|
44
|
-
|
|
45
|
-
Defaults being replaced:
|
|
46
|
-
`+q+`
|
|
47
|
-
|
|
48
|
-
`}export{D as autoModeDefaultsHandler,M as autoModeCritiqueHandler,E as autoModeConfigHandler};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{KU as a,LU as b,MU as c,NU as d,OU as e,PU as f,QU as g,RU as h,SU as i,TU as j,UU as k,VU as l,WU as m,XU as n,YU as o}from"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";o();export{f as shouldSkipVersion,b as repairBunGlobalBinary,n as installGlobalPackage,m as getVersionHistory,j as getNpmDistTags,e as getMaxVersionMessage,d as getMaxVersion,g as getLockFilePath,k as getLatestVersionFromGcs,i as getLatestVersion,l as getGcsDistTags,a as getBunGlobalPackageDir,h as checkGlobalInstallPermissions,c as assertMinVersion};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ka as a}from"./cli-1.1.12-wffm9a57.mjs";import"./cli-1.1.12-ngk7eqab.mjs";import"./cli-1.1.12-6hs980bz.mjs";import"./cli-1.1.12-xkbvk7gy.mjs";import"./cli-1.1.12-p4fz1xfs.mjs";import"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import"./cli-1.1.12-k27ty3ar.mjs";import"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import"./cli-1.1.12-2nzqqw4h.mjs";export{a as startBackgroundHousekeeping};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Ej as D,Fj as j,KT as E,Kj as x,MT as c,jT as M,yj as C}from"./cli-1.1.12-5dbxwy0d.mjs";import"./cli-1.1.12-sj6ttn0z.mjs";import"./cli-1.1.12-30xcatmk.mjs";import"./cli-1.1.12-w367zd8v.mjs";import"./cli-1.1.12-wgwn4sap.mjs";import"./cli-1.1.12-dyrae0ap.mjs";import"./cli-1.1.12-81527bdh.mjs";import"./cli-1.1.12-n7zph2hg.mjs";import"./cli-1.1.12-rn91dahv.mjs";import"./cli-1.1.12-g74smv34.mjs";import"./cli-1.1.12-z6ysegyx.mjs";import"./cli-1.1.12-14n2vprd.mjs";import"./cli-1.1.12-dgfste25.mjs";import"./cli-1.1.12-tyfp1v92.mjs";import"./cli-1.1.12-d51fm3w8.mjs";import"./cli-1.1.12-xgpj2nyq.mjs";import"./cli-1.1.12-5phn452s.mjs";import"./cli-1.1.12-7009ycac.mjs";import"./cli-1.1.12-n1489021.mjs";import"./cli-1.1.12-2jkk9gdn.mjs";import"./cli-1.1.12-dtv1b9yb.mjs";import"./cli-1.1.12-zcapjmh1.mjs";import"./cli-1.1.12-mrjjav4s.mjs";import"./cli-1.1.12-nfb55a30.mjs";import"./cli-1.1.12-k11knrs8.mjs";import"./cli-1.1.12-24hecrkb.mjs";import"./cli-1.1.12-mc1t8ngb.mjs";import"./cli-1.1.12-xstqyy5j.mjs";import"./cli-1.1.12-q6ks02c2.mjs";import"./cli-1.1.12-kv8ajcy1.mjs";import"./cli-1.1.12-5n60hab1.mjs";import"./cli-1.1.12-ma7hkjc4.mjs";import"./cli-1.1.12-q8d5kbeh.mjs";import"./cli-1.1.12-c4rttvkn.mjs";import"./cli-1.1.12-gwf0e4mf.mjs";import"./cli-1.1.12-e12y7jsd.mjs";import"./cli-1.1.12-ekjf9eqs.mjs";import"./cli-1.1.12-fzme9j9v.mjs";import"./cli-1.1.12-w43nkerm.mjs";import"./cli-1.1.12-tnbdhy9q.mjs";import"./cli-1.1.12-djycjsgd.mjs";import"./cli-1.1.12-r39m68an.mjs";import"./cli-1.1.12-8f8r3ncx.mjs";import"./cli-1.1.12-mbz4shze.mjs";import"./cli-1.1.12-dbebv805.mjs";import"./cli-1.1.12-zpzh9jxt.mjs";import{aba as U,dba as N,hda as w,rda as S}from"./cli-1.1.12-v395vz88.mjs";import"./cli-1.1.12-d1nm8nza.mjs";import"./cli-1.1.12-3ytes8mc.mjs";import"./cli-1.1.12-j66wgyhx.mjs";import"./cli-1.1.12-jjjbjcg7.mjs";import"./cli-1.1.12-6w4t0de0.mjs";import"./cli-1.1.12-3avc8vy5.mjs";import"./cli-1.1.12-rz34q5jj.mjs";import{Oja as v,Rja as I}from"./cli-1.1.12-k27ty3ar.mjs";import{uka as O,zka as k}from"./cli-1.1.12-fy2fghxn.mjs";import"./cli-1.1.12-vmt4b9p8.mjs";import"./cli-1.1.12-fx9tstdr.mjs";import"./cli-1.1.12-pyh14x7q.mjs";import{pra as b,qna as z,wna as F}from"./cli-1.1.12-fpn24m0s.mjs";import"./cli-1.1.12-fkqwvtrq.mjs";import"./cli-1.1.12-zdsde34g.mjs";import"./cli-1.1.12-5wda517s.mjs";import"./cli-1.1.12-c2gz12r6.mjs";import"./cli-1.1.12-hg1d1fgx.mjs";import{bta as T}from"./cli-1.1.12-2nzqqw4h.mjs";import{randomUUID as p}from"crypto";import{mkdir as y,readFile as f,writeFile as u}from"fs/promises";function g(Q){let G=Q?.message?.content;if(!G)return"Branched conversation";let X=typeof G==="string"?G:G.find((Z)=>Z.type==="text")?.text;if(!X)return"Branched conversation";return X.replace(/\s+/g," ").trim().slice(0,100)||"Branched conversation"}async function d(Q){let G=p(),X=z(),Z=x(F()),Y=j(G),V=D();await y(Z,{recursive:!0,mode:448});let K;try{K=await f(V)}catch{throw Error("No conversation to branch")}if(K.length===0)throw Error("No conversation to branch");let _=U(K),W=_.filter((A)=>C(A)&&!A.isSidechain),H=_.filter((A)=>A.type==="content-replacement"&&A.sessionId===X).flatMap((A)=>A.replacements);if(W.length===0)throw Error("No messages to branch");let $=null,q=[],B=[];for(let A of W){let L={...A,sessionId:G,parentUuid:$,isSidechain:!1,forkedFrom:{sessionId:X,messageUuid:A.uuid}},J={...A,sessionId:G};if(B.push(J),q.push(O(L)),A.type!=="progress")$=A.uuid}if(H.length>0){let A={type:"content-replacement",sessionId:G,replacements:H};q.push(O(A))}return await u(Y,q.join(`
|
|
2
|
-
`)+`
|
|
3
|
-
`,{encoding:"utf8",mode:384}),{sessionId:G,title:Q,forkPath:Y,serializedMessages:B,contentReplacementRecords:H}}async function m(Q){let G=`${Q} (Branch)`;if((await E(G,{exact:!0})).length===0)return G;let Z=await E(`${Q} (Branch`),Y=new Set([1]),V=new RegExp(`^${w(Q)} \\(Branch(?: (\\d+))?\\)$`);for(let _ of Z){let W=_.customTitle?.match(V);if(W)if(W[1])Y.add(parseInt(W[1],10));else Y.add(1)}let K=2;while(Y.has(K))K++;return`${Q} (Branch ${K})`}async function AA(Q,G,X){let Z=X?.trim()||void 0,Y=z();try{let{sessionId:V,title:K,forkPath:_,serializedMessages:W,contentReplacementRecords:H}=await d(Z),$=new Date,q=g(W.find((P)=>P.type==="user")),A=await m(K??q);await M(V,A,_),v("tengu_conversation_forked",{message_count:W.length,has_custom_title:!!K});let L={date:$.toISOString().split("T")[0],messages:W,fullPath:_,value:$.getTime(),created:$,modified:$,firstPrompt:q,messageCount:W.length,isSidechain:!1,sessionId:V,customTitle:A,contentReplacements:H},J=K?` "${K}"`:"",R=`
|
|
4
|
-
To resume the original: claude -r ${Y}`,h=`Branched conversation${J}. You are now in the branch.${R}`;if(G.resume)await G.resume(V,L,"fork"),Q(h,{display:"system"});else Q(`Branched conversation${J}. Resume with: /resume ${V}`);return null}catch(V){let K=V instanceof Error?V.message:"Unknown error occurred";return Q(`Failed to branch conversation: ${K}`),null}}var l=T(()=>{b();I();N();c();k();S()});l();export{g as deriveFirstPrompt,AA as call};
|