@claudiolabs/claudin 0.6.2 → 0.6.4
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/dist/chunks/AgentTool-0.6.4-rbaf1y65.mjs +1 -0
- package/dist/chunks/App-0.6.4-rq289jnp.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.4-7d5f28j9.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.4-phb69d3e.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.4-9bf4j0dx.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.4-62rbe590.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.4-5xv95y7k.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.4-7ng7n8ac.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.4-ydwpx8jz.mjs +3 -0
- package/dist/chunks/Doctor-0.6.4-r3nh0zs5.mjs +1 -0
- package/dist/chunks/Grove-0.6.4-8mwvr7ha.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.4-w345qte9.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.4-e1xk1r00.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.4-7pz7en7r.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.4-xgqr16p1.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.4-2735sbgf.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.4-q840wtmd.mjs +1 -0
- package/dist/chunks/REPL-0.6.4-k1gbkvvz.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.4-mpzvada2.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.4-jctmc6zk.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.4-gq0hnh6t.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.4-21sqsahr.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.4-fjbh45wb.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.4-5w2x0jdm.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.4-5qd1qqs9.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.4-rj702s6d.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.4-wdg63cg4.mjs +1 -0
- package/dist/chunks/add-dir-0.6.4-kchsbt43.mjs +1 -0
- package/dist/chunks/agents-0.6.4-99qwf49d.mjs +110 -0
- package/dist/chunks/agents-0.6.4-rdvzbjcr.mjs +3 -0
- package/dist/chunks/api-0.6.4-9emwrek2.mjs +1 -0
- package/dist/chunks/asciicast-0.6.4-v9b43g5d.mjs +1 -0
- package/dist/chunks/assistant-0.6.4-f4m6fp3b.mjs +1 -0
- package/dist/chunks/auth-0.6.4-767mww9n.mjs +1 -0
- package/dist/chunks/auth-0.6.4-sgz2927j.mjs +1 -0
- package/dist/chunks/autoMode-0.6.4-n865xxhg.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.4-bvb6j5ck.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.4-fercqr2y.mjs +1 -0
- package/dist/chunks/branch-0.6.4-0hvhjqr5.mjs +4 -0
- package/dist/chunks/bridgePointer-0.6.4-dgames2b.mjs +1 -0
- package/dist/chunks/btw-0.6.4-fprrp4ch.mjs +1 -0
- package/dist/chunks/buddy-0.6.4-0d1rrwbv.mjs +3 -0
- package/dist/chunks/cacache-0.6.4-6yj2mrct.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.4-x5tn2a2e.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.4-ar55ww2f.mjs +4 -0
- package/dist/chunks/caches-0.6.4-54fb2qc2.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.4-h06j868n.mjs +1 -0
- package/dist/chunks/claudemd-0.6.4-35r4255p.mjs +1 -0
- package/dist/chunks/clear-0.6.4-6chw4mjb.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.4-81zcpvka.mjs +1 -0
- package/dist/chunks/cli-0.6.4-00191v0e.mjs +10 -0
- package/dist/chunks/cli-0.6.4-02v7f4p3.mjs +2 -0
- package/dist/chunks/cli-0.6.4-0gnhakty.mjs +42 -0
- package/dist/chunks/cli-0.6.4-0m6t3msa.mjs +2 -0
- package/dist/chunks/cli-0.6.4-0ngrseg8.mjs +15 -0
- package/dist/chunks/cli-0.6.4-167h8t8x.mjs +2 -0
- package/dist/chunks/cli-0.6.4-1ery4vpn.mjs +50 -0
- package/dist/chunks/cli-0.6.4-1k1e5y32.mjs +2 -0
- package/dist/chunks/cli-0.6.4-1mgm8ymv.mjs +3 -0
- package/dist/chunks/cli-0.6.4-1nzpzrfm.mjs +2 -0
- package/dist/chunks/cli-0.6.4-1qryxm4s.mjs +21 -0
- package/dist/chunks/cli-0.6.4-1s60014f.mjs +2 -0
- package/dist/chunks/cli-0.6.4-28pnb4ka.mjs +18 -0
- package/dist/chunks/cli-0.6.4-29860mke.mjs +2 -0
- package/dist/chunks/cli-0.6.4-2d65trmc.mjs +2 -0
- package/dist/chunks/cli-0.6.4-2dm4scsb.mjs +2 -0
- package/dist/chunks/cli-0.6.4-2dwdm1v9.mjs +2 -0
- package/dist/chunks/cli-0.6.4-2fqxn556.mjs +2 -0
- package/dist/chunks/cli-0.6.4-2mytx51g.mjs +16 -0
- package/dist/chunks/cli-0.6.4-2q70rra3.mjs +2 -0
- package/dist/chunks/cli-0.6.4-2qaa0gp3.mjs +2 -0
- package/dist/chunks/cli-0.6.4-2sh53v7p.mjs +7 -0
- package/dist/chunks/cli-0.6.4-2y7ay1jf.mjs +2 -0
- package/dist/chunks/cli-0.6.4-3d8syj43.mjs +15 -0
- package/dist/chunks/cli-0.6.4-3rqg480e.mjs +2 -0
- package/dist/chunks/cli-0.6.4-43y102gt.mjs +2 -0
- package/dist/chunks/cli-0.6.4-48fcth51.mjs +2 -0
- package/dist/chunks/cli-0.6.4-4b3h6h1j.mjs +2 -0
- package/dist/chunks/cli-0.6.4-4dtvmfyr.mjs +24 -0
- package/dist/chunks/cli-0.6.4-4g9qybcx.mjs +5324 -0
- package/dist/chunks/cli-0.6.4-4jc68p21.mjs +2 -0
- package/dist/chunks/cli-0.6.4-4mfc5kte.mjs +2 -0
- package/dist/chunks/cli-0.6.4-4qg60938.mjs +5 -0
- package/dist/chunks/cli-0.6.4-4qyz0e3r.mjs +2 -0
- package/dist/chunks/cli-0.6.4-55a83gct.mjs +2 -0
- package/dist/chunks/cli-0.6.4-5eshcq2g.mjs +2 -0
- package/dist/chunks/cli-0.6.4-5j8b83wg.mjs +2 -0
- package/dist/chunks/cli-0.6.4-6czv84g6.mjs +2 -0
- package/dist/chunks/cli-0.6.4-771h1906.mjs +2 -0
- package/dist/chunks/cli-0.6.4-78evvtpq.mjs +2 -0
- package/dist/chunks/cli-0.6.4-7djzrbzn.mjs +4 -0
- package/dist/chunks/cli-0.6.4-7htjg50k.mjs +2 -0
- package/dist/chunks/cli-0.6.4-7jvtehkv.mjs +2 -0
- package/dist/chunks/cli-0.6.4-7keg9eew.mjs +45 -0
- package/dist/chunks/cli-0.6.4-7xp2yhpq.mjs +2 -0
- package/dist/chunks/cli-0.6.4-89pes3g1.mjs +2 -0
- package/dist/chunks/cli-0.6.4-8jwbt311.mjs +4 -0
- package/dist/chunks/cli-0.6.4-95vk17cy.mjs +2 -0
- package/dist/chunks/cli-0.6.4-96m5w0az.mjs +2 -0
- package/dist/chunks/cli-0.6.4-9ab34q29.mjs +2 -0
- package/dist/chunks/cli-0.6.4-9j2480tb.mjs +3 -0
- package/dist/chunks/cli-0.6.4-9k5r0pfb.mjs +1 -0
- package/dist/chunks/cli-0.6.4-9wdpd5tf.mjs +2 -0
- package/dist/chunks/cli-0.6.4-9ydhssth.mjs +2 -0
- package/dist/chunks/cli-0.6.4-9z6f4aka.mjs +2 -0
- package/dist/chunks/cli-0.6.4-a1der2pe.mjs +2 -0
- package/dist/chunks/cli-0.6.4-a4wjm2rf.mjs +58 -0
- package/dist/chunks/cli-0.6.4-a7tb1zsc.mjs +3 -0
- package/dist/chunks/cli-0.6.4-aprgpdp6.mjs +2 -0
- package/dist/chunks/cli-0.6.4-bbsbw8kz.mjs +2 -0
- package/dist/chunks/cli-0.6.4-bgwzkgj9.mjs +2 -0
- package/dist/chunks/cli-0.6.4-btcax77x.mjs +2 -0
- package/dist/chunks/cli-0.6.4-bvrcy0gs.mjs +2 -0
- package/dist/chunks/cli-0.6.4-cgktpczq.mjs +2 -0
- package/dist/chunks/cli-0.6.4-cp53mw1m.mjs +2 -0
- package/dist/chunks/cli-0.6.4-cttwajrp.mjs +2 -0
- package/dist/chunks/cli-0.6.4-cxhs267r.mjs +2 -0
- package/dist/chunks/cli-0.6.4-cy7jqdcj.mjs +2 -0
- package/dist/chunks/cli-0.6.4-da88vvgh.mjs +2 -0
- package/dist/chunks/cli-0.6.4-dhyghbjg.mjs +2 -0
- package/dist/chunks/cli-0.6.4-dny0rntq.mjs +2 -0
- package/dist/chunks/cli-0.6.4-dtrjgbbz.mjs +2 -0
- package/dist/chunks/cli-0.6.4-dvh5yb9z.mjs +2 -0
- package/dist/chunks/cli-0.6.4-dz01y28k.mjs +133 -0
- package/dist/chunks/cli-0.6.4-dzer59m8.mjs +2 -0
- package/dist/chunks/cli-0.6.4-e0pqs0qg.mjs +4 -0
- package/dist/chunks/cli-0.6.4-e4nxzjbd.mjs +3 -0
- package/dist/chunks/cli-0.6.4-ehexec8h.mjs +2 -0
- package/dist/chunks/cli-0.6.4-ejrq8g7w.mjs +2 -0
- package/dist/chunks/cli-0.6.4-ekg42ba5.mjs +2 -0
- package/dist/chunks/cli-0.6.4-em2mfvpg.mjs +193 -0
- package/dist/chunks/cli-0.6.4-ex2d76ze.mjs +4 -0
- package/dist/chunks/cli-0.6.4-eykta4ak.mjs +2 -0
- package/dist/chunks/cli-0.6.4-f1ya630v.mjs +39 -0
- package/dist/chunks/cli-0.6.4-f51bqfv1.mjs +4 -0
- package/dist/chunks/cli-0.6.4-fg71wev8.mjs +2 -0
- package/dist/chunks/cli-0.6.4-fh1fzqd2.mjs +133 -0
- package/dist/chunks/cli-0.6.4-fhcsv0k7.mjs +2 -0
- package/dist/chunks/cli-0.6.4-fppw8yjy.mjs +2 -0
- package/dist/chunks/cli-0.6.4-g1kweb8j.mjs +17 -0
- package/dist/chunks/cli-0.6.4-g1qw18ad.mjs +2 -0
- package/dist/chunks/cli-0.6.4-g2a0w8wh.mjs +3 -0
- package/dist/chunks/cli-0.6.4-g37ywszt.mjs +2 -0
- package/dist/chunks/cli-0.6.4-gbc9szsq.mjs +20 -0
- package/dist/chunks/cli-0.6.4-gdvys9qy.mjs +2 -0
- package/dist/chunks/cli-0.6.4-ge6qg76s.mjs +18 -0
- package/dist/chunks/cli-0.6.4-ggxbtbd1.mjs +2 -0
- package/dist/chunks/cli-0.6.4-ghagvvva.mjs +2 -0
- package/dist/chunks/cli-0.6.4-gyb3cp0m.mjs +15 -0
- package/dist/chunks/cli-0.6.4-h2c5gxa3.mjs +2 -0
- package/dist/chunks/cli-0.6.4-h598qtx2.mjs +2 -0
- package/dist/chunks/cli-0.6.4-h9ncym59.mjs +2 -0
- package/dist/chunks/cli-0.6.4-hb3rny4x.mjs +3 -0
- package/dist/chunks/cli-0.6.4-hhaw00mw.mjs +2 -0
- package/dist/chunks/cli-0.6.4-hk0wy6ay.mjs +2 -0
- package/dist/chunks/cli-0.6.4-hrs590q0.mjs +2 -0
- package/dist/chunks/cli-0.6.4-hx250zvn.mjs +2 -0
- package/dist/chunks/cli-0.6.4-j61ta5y1.mjs +2 -0
- package/dist/chunks/cli-0.6.4-j7hr5rd4.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jc2r75s6.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jg4xm27s.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jh0d8t91.mjs +9 -0
- package/dist/chunks/cli-0.6.4-jk0aqvhn.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jmvxa7qj.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jn11nc5a.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jra8pavs.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jrweqe5y.mjs +2 -0
- package/dist/chunks/cli-0.6.4-jvfz5yaf.mjs +2 -0
- package/dist/chunks/cli-0.6.4-k2azfhje.mjs +12 -0
- package/dist/chunks/cli-0.6.4-k498jsqp.mjs +9 -0
- package/dist/chunks/cli-0.6.4-k6a4gc0p.mjs +3 -0
- package/dist/chunks/cli-0.6.4-k76c1cdx.mjs +2 -0
- package/dist/chunks/cli-0.6.4-kkwh828j.mjs +2 -0
- package/dist/chunks/cli-0.6.4-ksf3bj49.mjs +2 -0
- package/dist/chunks/cli-0.6.4-kygb95p8.mjs +2 -0
- package/dist/chunks/cli-0.6.4-m0b0hm20.mjs +2 -0
- package/dist/chunks/cli-0.6.4-n3wmzz8w.mjs +2 -0
- package/dist/chunks/cli-0.6.4-n9mgjg26.mjs +2 -0
- package/dist/chunks/cli-0.6.4-nscxc6w9.mjs +2 -0
- package/dist/chunks/cli-0.6.4-p1yyrrqa.mjs +2 -0
- package/dist/chunks/cli-0.6.4-p56yx5pd.mjs +3 -0
- package/dist/chunks/cli-0.6.4-p7mvm2y6.mjs +5 -0
- package/dist/chunks/cli-0.6.4-pd75v1wy.mjs +6 -0
- package/dist/chunks/cli-0.6.4-pg577m2t.mjs +18 -0
- package/dist/chunks/cli-0.6.4-pjk8hxs1.mjs +4 -0
- package/dist/chunks/cli-0.6.4-pp4r33sa.mjs +4 -0
- package/dist/chunks/cli-0.6.4-pqdfmet2.mjs +4 -0
- package/dist/chunks/cli-0.6.4-prdj94yp.mjs +4 -0
- package/dist/chunks/cli-0.6.4-prv34fmj.mjs +2 -0
- package/dist/chunks/cli-0.6.4-q45r4rnd.mjs +2 -0
- package/dist/chunks/cli-0.6.4-qcpjz3yn.mjs +2 -0
- package/dist/chunks/cli-0.6.4-qxhfaxsk.mjs +2 -0
- package/dist/chunks/cli-0.6.4-rdtbn65d.mjs +2 -0
- package/dist/chunks/cli-0.6.4-rf4gtxa6.mjs +2 -0
- package/dist/chunks/cli-0.6.4-rqmfmwew.mjs +4 -0
- package/dist/chunks/cli-0.6.4-rw4dqk3e.mjs +2 -0
- package/dist/chunks/cli-0.6.4-s062axqp.mjs +67 -0
- package/dist/chunks/cli-0.6.4-sebyspe3.mjs +2 -0
- package/dist/chunks/cli-0.6.4-sg59x1y7.mjs +2 -0
- package/dist/chunks/cli-0.6.4-sk4r23n0.mjs +2 -0
- package/dist/chunks/cli-0.6.4-spysehd5.mjs +2 -0
- package/dist/chunks/cli-0.6.4-sz5jkrwv.mjs +8 -0
- package/dist/chunks/cli-0.6.4-t13eh9gb.mjs +2 -0
- package/dist/chunks/cli-0.6.4-t87tgqs2.mjs +2 -0
- package/dist/chunks/cli-0.6.4-tda6fzwk.mjs +2 -0
- package/dist/chunks/cli-0.6.4-tgtxrvzn.mjs +3 -0
- package/dist/chunks/cli-0.6.4-ttyv846t.mjs +2 -0
- package/dist/chunks/cli-0.6.4-v050kzdd.mjs +2 -0
- package/dist/chunks/cli-0.6.4-v2fsc12w.mjs +2 -0
- package/dist/chunks/cli-0.6.4-v3ym5bjk.mjs +2 -0
- package/dist/chunks/cli-0.6.4-vawbj80d.mjs +5 -0
- package/dist/chunks/cli-0.6.4-vekd5qeh.mjs +3 -0
- package/dist/chunks/cli-0.6.4-vg82smm8.mjs +24 -0
- package/dist/chunks/cli-0.6.4-vyqg6c95.mjs +3 -0
- package/dist/chunks/cli-0.6.4-vyyncn9y.mjs +34 -0
- package/dist/chunks/cli-0.6.4-wpzc8xj5.mjs +3 -0
- package/dist/chunks/cli-0.6.4-x0pe866a.mjs +2 -0
- package/dist/chunks/cli-0.6.4-x3pc9zn1.mjs +6 -0
- package/dist/chunks/cli-0.6.4-x6d6qxpg.mjs +2 -0
- package/dist/chunks/cli-0.6.4-x6npewbm.mjs +6 -0
- package/dist/chunks/cli-0.6.4-x7ss8dse.mjs +2 -0
- package/dist/chunks/cli-0.6.4-x84dfqja.mjs +2 -0
- package/dist/chunks/cli-0.6.4-xf6vdp7p.mjs +2 -0
- package/dist/chunks/cli-0.6.4-xgmmcr56.mjs +25 -0
- package/dist/chunks/cli-0.6.4-xh0mhy0q.mjs +2 -0
- package/dist/chunks/cli-0.6.4-xj949nnt.mjs +2 -0
- package/dist/chunks/cli-0.6.4-xm44y40c.mjs +2 -0
- package/dist/chunks/cli-0.6.4-y9nrcnx6.mjs +2 -0
- package/dist/chunks/cli-0.6.4-yak49q2f.mjs +12 -0
- package/dist/chunks/cli-0.6.4-ymgdd6a7.mjs +2 -0
- package/dist/chunks/cli-0.6.4-yrfkm9my.mjs +2 -0
- package/dist/chunks/cli-0.6.4-ysvx8vre.mjs +12 -0
- package/dist/chunks/cli-0.6.4-yxqfeka0.mjs +2 -0
- package/dist/chunks/cli-0.6.4-z0j0rsqe.mjs +2 -0
- package/dist/chunks/cli-0.6.4-z3hp0qzv.mjs +59 -0
- package/dist/chunks/cli-0.6.4-z63xq66c.mjs +2 -0
- package/dist/chunks/cli-0.6.4-zgzya3hb.mjs +17 -0
- package/dist/chunks/cli-0.6.4-zkfpt86n.mjs +2 -0
- package/dist/chunks/cli-0.6.4-zss3bwjp.mjs +2 -0
- package/dist/chunks/cli-0.6.4-ztqssjbf.mjs +2 -0
- package/dist/chunks/client-0.6.4-ba2mtgjd.mjs +1 -0
- package/dist/chunks/color-0.6.4-2g7drx0s.mjs +1 -0
- package/dist/chunks/compact-0.6.4-tnqd9mmn.mjs +3 -0
- package/dist/chunks/config-0.6.4-3bhr23pq.mjs +1 -0
- package/dist/chunks/config-0.6.4-x56wgtde.mjs +1 -0
- package/dist/chunks/constants-0.6.4-cy9scgrh.mjs +1 -0
- package/dist/chunks/context-0.6.4-sjcg7yxa.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.4-630bqrtn.mjs +1 -0
- package/dist/chunks/conversation-0.6.4-4wkb13gm.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.4-6ygmq0rm.mjs +1 -0
- package/dist/chunks/copy-0.6.4-bgxrhckq.mjs +9 -0
- package/dist/chunks/cost-0.6.4-w83wc8ng.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.4-xcjsx731.mjs +1 -0
- package/dist/chunks/createSession-0.6.4-wsz3r56j.mjs +1 -0
- package/dist/chunks/debug-0.6.4-98yk6kds.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.4-gnr6f4bm.mjs +1365 -0
- package/dist/chunks/desktop-0.6.4-hpbrkj08.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.4-jtg1wvsa.mjs +1 -0
- package/dist/chunks/detection-0.6.4-dqwz1bq1.mjs +1 -0
- package/dist/chunks/diff-0.6.4-6mtph9me.mjs +1 -0
- package/dist/chunks/doctor-0.6.4-rhc37adv.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.4-dwt35xp9.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.4-gwc98r30.mjs +1 -0
- package/dist/chunks/effort-0.6.4-gat4neps.mjs +10 -0
- package/dist/chunks/envUtils-0.6.4-y2b3abdc.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.4-xxrzk7m6.mjs +1 -0
- package/dist/chunks/environments-0.6.4-h1v61wzy.mjs +1 -0
- package/dist/chunks/errors-0.6.4-ca74wb6q.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.4-g36htc09.mjs +1 -0
- package/dist/chunks/exit-0.6.4-z7yj01cx.mjs +1 -0
- package/dist/chunks/export-0.6.4-ffzrse4n.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.4-d23skk9c.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.4-0akfkh19.mjs +1 -0
- package/dist/chunks/fast-0.6.4-dy9ew4g1.mjs +1 -0
- package/dist/chunks/feedback-0.6.4-5pw5kr6j.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.4-58n8gvjr.mjs +1 -0
- package/dist/chunks/git-0.6.4-5p9es5sh.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.4-c75tjtm6.mjs +1 -0
- package/dist/chunks/goal-0.6.4-05yfbtf5.mjs +4 -0
- package/dist/chunks/grove-0.6.4-3mxw3jbp.mjs +1 -0
- package/dist/chunks/growthbook-0.6.4-w1a2ja8q.mjs +1 -0
- package/dist/chunks/headless-0.6.4-1b8pxyk6.mjs +2 -0
- package/dist/chunks/heapdump-0.6.4-ckft18df.mjs +6 -0
- package/dist/chunks/help-0.6.4-1qswzq2t.mjs +1 -0
- package/dist/chunks/hookChains-0.6.4-mc6w2yn4.mjs +3 -0
- package/dist/chunks/hooks-0.6.4-zqycdaww.mjs +1 -0
- package/dist/chunks/hooks-0.6.4-zw8ak2ae.mjs +79 -0
- package/dist/chunks/ide-0.6.4-kjaythhf.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.4-9n32xq4y.mjs +1 -0
- package/dist/chunks/index-0.6.4-1eqjmyfc.mjs +1 -0
- package/dist/chunks/index-0.6.4-5x2zgy8s.mjs +1 -0
- package/dist/chunks/index-0.6.4-6er8ykqb.mjs +1 -0
- package/dist/chunks/index-0.6.4-6z8pdxeg.mjs +1 -0
- package/dist/chunks/index-0.6.4-8gxkz67a.mjs +1 -0
- package/dist/chunks/index-0.6.4-ay6td6v7.mjs +1 -0
- package/dist/chunks/index-0.6.4-bf4fb2rv.mjs +1 -0
- package/dist/chunks/index-0.6.4-cs4qnyse.mjs +9 -0
- package/dist/chunks/index-0.6.4-d8a7z3cd.mjs +1 -0
- package/dist/chunks/index-0.6.4-e1xb3q84.mjs +1 -0
- package/dist/chunks/index-0.6.4-fapqkd13.mjs +30 -0
- package/dist/chunks/index-0.6.4-fsypm1g5.mjs +1 -0
- package/dist/chunks/index-0.6.4-j1dpgmwz.mjs +5 -0
- package/dist/chunks/index-0.6.4-k5z3btpk.mjs +1 -0
- package/dist/chunks/index-0.6.4-kv8v270h.mjs +1 -0
- package/dist/chunks/index-0.6.4-nn5ynnfb.mjs +2 -0
- package/dist/chunks/index-0.6.4-np003dn4.mjs +2 -0
- package/dist/chunks/index-0.6.4-qtcndy07.mjs +1 -0
- package/dist/chunks/index-0.6.4-s0gg7sga.mjs +1 -0
- package/dist/chunks/index-0.6.4-scbwf11t.mjs +9 -0
- package/dist/chunks/index-0.6.4-sqrhv68x.mjs +17 -0
- package/dist/chunks/index-0.6.4-w93mdh3w.mjs +1 -0
- package/dist/chunks/init-0.6.4-ccs2p8cg.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.4-7cnffgw6.mjs +1 -0
- package/dist/chunks/ink-0.6.4-kv9v236j.mjs +1 -0
- package/dist/chunks/insights-0.6.4-v475bskf.mjs +870 -0
- package/dist/chunks/install-0.6.4-9x6x6d7w.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.4-e0hnh1ac.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.4-5m1bq4zr.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.4-j0dm5kvt.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.4-trjfh09v.mjs +1 -0
- package/dist/chunks/keybindings-0.6.4-52xyg2q7.mjs +2 -0
- package/dist/chunks/knowledge-0.6.4-3pd8yspr.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.4-6nv1r43c.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.4-2f1egc65.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.4-6bdefjx0.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.4-jg6hn8q1.mjs +1 -0
- package/dist/chunks/log-0.6.4-byx1v0aw.mjs +1 -0
- package/dist/chunks/main-0.6.4-7kgs4wzg.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.4-seg7a473.mjs +1 -0
- package/dist/chunks/mcp-0.6.4-fme3jax5.mjs +17 -0
- package/dist/chunks/mcp-0.6.4-gw2k9j0s.mjs +4 -0
- package/dist/chunks/mcp-0.6.4-hz4ymzf8.mjs +1 -0
- package/dist/chunks/mcpb-0.6.4-rm87xg1m.mjs +1 -0
- package/dist/chunks/memory-0.6.4-hdem4rfy.mjs +3 -0
- package/dist/chunks/mobile-0.6.4-xga427dx.mjs +2 -0
- package/dist/chunks/model-0.6.4-e7swq7hs.mjs +1 -0
- package/dist/chunks/model-0.6.4-raaz0pn8.mjs +2 -0
- package/dist/chunks/node-0.6.4-2mhf46p7.mjs +12 -0
- package/dist/chunks/oauth-0.6.4-de05kmr6.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.4-shaa1wsv.mjs +14 -0
- package/dist/chunks/output-style-0.6.4-gfd6r8hz.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.4-syh17p64.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.4-k2eex22j.mjs +1 -0
- package/dist/chunks/parser-0.6.4-43t4x7r9.mjs +1 -0
- package/dist/chunks/passes-0.6.4-tbj019p0.mjs +1 -0
- package/dist/chunks/permissions-0.6.4-d0fw76d7.mjs +3 -0
- package/dist/chunks/plan-0.6.4-084fq0kq.mjs +1 -0
- package/dist/chunks/plist-0.6.4-439zn1sw.mjs +1 -0
- package/dist/chunks/plugin-0.6.4-mnsbmvwr.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.4-t2kn51a4.mjs +1 -0
- package/dist/chunks/plugins-0.6.4-630t2jf7.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.4-gfadf2sk.mjs +2 -0
- package/dist/chunks/print-0.6.4-pw4vrnzd.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.4-b97bep23.mjs +1 -0
- package/dist/chunks/process-0.6.4-yewqx1g2.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.4-64reh5jq.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.4-46w7k3kw.mjs +9 -0
- package/dist/chunks/prompt-0.6.4-1dfbspxp.mjs +1 -0
- package/dist/chunks/prompt-0.6.4-ax8j0qse.mjs +1 -0
- package/dist/chunks/prompts-0.6.4-avjtc7j4.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.4-z0382sns.mjs +13 -0
- package/dist/chunks/provider-0.6.4-dww4c5j2.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.4-phwwz4cg.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.4-zctdw7r7.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.4-sydaxbv7.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.4-ejhhvkd5.mjs +34 -0
- package/dist/chunks/registry-0.6.4-kb0x4rx3.mjs +1 -0
- package/dist/chunks/release-notes-0.6.4-es6sgycw.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.4-z5560vpf.mjs +2 -0
- package/dist/chunks/remote-env-0.6.4-6ypd7mgt.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.4-r2nre1by.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.4-jhazvxam.mjs +1 -0
- package/dist/chunks/rename-0.6.4-wnm225zc.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.4-90waxyt2.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.4-fqvqymes.mjs +1 -0
- package/dist/chunks/resume-0.6.4-2edgjvxb.mjs +2 -0
- package/dist/chunks/rewind-0.6.4-43tzjabn.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.4-efwh7nb7.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.4-7ccq9g0r.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.4-ca6p1txa.mjs +1 -0
- package/dist/chunks/session-0.6.4-xqz0b6bv.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.4-zhn2re2r.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.4-0s8vv82b.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.4-k27431kx.mjs +1 -0
- package/dist/chunks/settings-0.6.4-xg6qae4k.mjs +1 -0
- package/dist/chunks/setup-0.6.4-zc0wstra.mjs +5 -0
- package/dist/chunks/sinks-0.6.4-3rycgm4d.mjs +1 -0
- package/dist/chunks/skills-0.6.4-jwf0fht6.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.4-6c1wp85a.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.4-xqbvq5b5.mjs +1 -0
- package/dist/chunks/state-0.6.4-p0ddysh2.mjs +1 -0
- package/dist/chunks/stats-0.6.4-hys6q4f4.mjs +6 -0
- package/dist/chunks/status-0.6.4-5f8q60ey.mjs +1 -0
- package/dist/chunks/stickers-0.6.4-tftjq5eh.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.4-gz5jdaaq.mjs +1 -0
- package/dist/chunks/tasks-0.6.4-s9qwaetv.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.4-h72qp38f.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.4-ezcvghhw.mjs +1 -0
- package/dist/chunks/teleport-0.6.4-e668czw7.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.4-53azbkac.mjs +1 -0
- package/dist/chunks/theme-0.6.4-zhw8bpdv.mjs +1 -0
- package/dist/chunks/thinkback-0.6.4-cpckywc7.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.4-ke47vrva.mjs +1 -0
- package/dist/chunks/toolPool-0.6.4-whn705s5.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.4-80h4rrgj.mjs +1 -0
- package/dist/chunks/tools-0.6.4-4kf64373.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.4-zbvda07m.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.4-ghgzppms.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.6.4-r028gcax.mjs +4 -0
- package/dist/chunks/update-0.6.4-a233wpzj.mjs +86 -0
- package/dist/chunks/upgrade-0.6.4-mx4jnstf.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.6.4-4cmr0qtj.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.4-vt0a3wdc.mjs +1 -0
- package/dist/chunks/usage-0.6.4-8kncs1zq.mjs +1 -0
- package/dist/chunks/util-0.6.4-afjsm52j.mjs +1 -0
- package/dist/chunks/utils-0.6.4-r5qbctxg.mjs +1 -0
- package/dist/chunks/vim-0.6.4-qb1hpv1s.mjs +1 -0
- package/dist/chunks/watcher-0.6.4-w81paz2g.mjs +1 -0
- package/dist/chunks/wiki-0.6.4-3wc3s65f.mjs +132 -0
- package/dist/chunks/worktree-0.6.4-hy75224j.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.4-7wyg7p08.mjs +1 -0
- package/dist/chunks/wrapper-0.6.4-vqj09efm.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +0 -1
- package/dist/chunks/App-0.6.2-81hq55t1.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +0 -3
- package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +0 -1
- package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +0 -1
- package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +0 -1
- package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +0 -1
- package/dist/chunks/agents-0.6.2-pwkawpda.mjs +0 -110
- package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +0 -3
- package/dist/chunks/api-0.6.2-r9z30232.mjs +0 -1
- package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +0 -1
- package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +0 -1
- package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +0 -1
- package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +0 -1
- package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +0 -1
- package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +0 -4
- package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +0 -1
- package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +0 -1
- package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +0 -3
- package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +0 -4
- package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +0 -1
- package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +0 -1
- package/dist/chunks/clear-0.6.2-301n503a.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +0 -1
- package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +0 -42
- package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +0 -4
- package/dist/chunks/cli-0.6.2-0p39svq8.mjs +0 -2
- package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +0 -2
- package/dist/chunks/cli-0.6.2-1ahapm20.mjs +0 -2
- package/dist/chunks/cli-0.6.2-1b9hx344.mjs +0 -2
- package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +0 -2
- package/dist/chunks/cli-0.6.2-1hrabb68.mjs +0 -3
- package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +0 -9
- package/dist/chunks/cli-0.6.2-1y907j57.mjs +0 -2
- package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +0 -2
- package/dist/chunks/cli-0.6.2-26qywcgz.mjs +0 -2
- package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +0 -2
- package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +0 -3
- package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +0 -2
- package/dist/chunks/cli-0.6.2-2z19ppek.mjs +0 -15
- package/dist/chunks/cli-0.6.2-334vw6ys.mjs +0 -2
- package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +0 -2
- package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +0 -2
- package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +0 -2
- package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +0 -2
- package/dist/chunks/cli-0.6.2-42d88f3r.mjs +0 -2
- package/dist/chunks/cli-0.6.2-43f0sknv.mjs +0 -2
- package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +0 -2
- package/dist/chunks/cli-0.6.2-4a5t390f.mjs +0 -2
- package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +0 -15
- package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +0 -2
- package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +0 -39
- package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +0 -5323
- package/dist/chunks/cli-0.6.2-4py7r63v.mjs +0 -2
- package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +0 -59
- package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +0 -2
- package/dist/chunks/cli-0.6.2-5jempndm.mjs +0 -133
- package/dist/chunks/cli-0.6.2-657fbmws.mjs +0 -2
- package/dist/chunks/cli-0.6.2-6bacgc39.mjs +0 -3
- package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +0 -5
- package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +0 -2
- package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +0 -3
- package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +0 -3
- package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +0 -4
- package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +0 -2
- package/dist/chunks/cli-0.6.2-7egesyh9.mjs +0 -4
- package/dist/chunks/cli-0.6.2-7rmm482v.mjs +0 -12
- package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +0 -2
- package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +0 -25
- package/dist/chunks/cli-0.6.2-83ennmm8.mjs +0 -21
- package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +0 -2
- package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +0 -5
- package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +0 -10
- package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +0 -2
- package/dist/chunks/cli-0.6.2-974c5e67.mjs +0 -9
- package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +0 -2
- package/dist/chunks/cli-0.6.2-9mwrq250.mjs +0 -3
- package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +0 -2
- package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +0 -2
- package/dist/chunks/cli-0.6.2-9qtj477e.mjs +0 -2
- package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +0 -2
- package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +0 -4
- package/dist/chunks/cli-0.6.2-a8atyp18.mjs +0 -2
- package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +0 -2
- package/dist/chunks/cli-0.6.2-aq30pg47.mjs +0 -2
- package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +0 -6
- package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +0 -2
- package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +0 -2
- package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +0 -2
- package/dist/chunks/cli-0.6.2-bkff60ff.mjs +0 -2
- package/dist/chunks/cli-0.6.2-br678d1b.mjs +0 -8
- package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +0 -2
- package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +0 -2
- package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +0 -2
- package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +0 -4
- package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +0 -2
- package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +0 -2
- package/dist/chunks/cli-0.6.2-d3evezft.mjs +0 -1
- package/dist/chunks/cli-0.6.2-d3y2w089.mjs +0 -2
- package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +0 -2
- package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +0 -12
- package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +0 -2
- package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +0 -2
- package/dist/chunks/cli-0.6.2-dv8abe56.mjs +0 -7
- package/dist/chunks/cli-0.6.2-dx6qfese.mjs +0 -2
- package/dist/chunks/cli-0.6.2-dy4zwces.mjs +0 -2
- package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +0 -2
- package/dist/chunks/cli-0.6.2-e26khw0m.mjs +0 -6
- package/dist/chunks/cli-0.6.2-e66qz53g.mjs +0 -2
- package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +0 -16
- package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +0 -45
- package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +0 -5
- package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +0 -2
- package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +0 -2
- package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +0 -2
- package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +0 -2
- package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +0 -2
- package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +0 -6
- package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +0 -2
- package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +0 -2
- package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +0 -2
- package/dist/chunks/cli-0.6.2-grf75vb7.mjs +0 -2
- package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +0 -2
- package/dist/chunks/cli-0.6.2-h72p44ws.mjs +0 -24
- package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +0 -2
- package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +0 -193
- package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +0 -2
- package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +0 -2
- package/dist/chunks/cli-0.6.2-hqmcear6.mjs +0 -2
- package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +0 -34
- package/dist/chunks/cli-0.6.2-j05kmd43.mjs +0 -2
- package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +0 -2
- package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +0 -2
- package/dist/chunks/cli-0.6.2-jrb4f391.mjs +0 -15
- package/dist/chunks/cli-0.6.2-jrpted0b.mjs +0 -2
- package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +0 -2
- package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +0 -2
- package/dist/chunks/cli-0.6.2-k9v931hm.mjs +0 -2
- package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +0 -2
- package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +0 -2
- package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +0 -4
- package/dist/chunks/cli-0.6.2-ky1drj50.mjs +0 -2
- package/dist/chunks/cli-0.6.2-mabejxsw.mjs +0 -4
- package/dist/chunks/cli-0.6.2-majp93c4.mjs +0 -2
- package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +0 -2
- package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +0 -3
- package/dist/chunks/cli-0.6.2-n9610c8k.mjs +0 -2
- package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +0 -2
- package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +0 -2
- package/dist/chunks/cli-0.6.2-nwzye174.mjs +0 -2
- package/dist/chunks/cli-0.6.2-p0jszyht.mjs +0 -3
- package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +0 -58
- package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +0 -2
- package/dist/chunks/cli-0.6.2-q45wdma3.mjs +0 -3
- package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +0 -2
- package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +0 -2
- package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +0 -2
- package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +0 -2
- package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +0 -2
- package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +0 -2
- package/dist/chunks/cli-0.6.2-r4p904h3.mjs +0 -67
- package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +0 -2
- package/dist/chunks/cli-0.6.2-rde30n8x.mjs +0 -2
- package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +0 -2
- package/dist/chunks/cli-0.6.2-red287ya.mjs +0 -2
- package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +0 -2
- package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +0 -2
- package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +0 -17
- package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +0 -24
- package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +0 -2
- package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +0 -2
- package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +0 -2
- package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +0 -2
- package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +0 -2
- package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +0 -133
- package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +0 -2
- package/dist/chunks/cli-0.6.2-t038jmme.mjs +0 -3
- package/dist/chunks/cli-0.6.2-t3e59m32.mjs +0 -2
- package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +0 -2
- package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +0 -2
- package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +0 -2
- package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +0 -2
- package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +0 -50
- package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +0 -20
- package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +0 -2
- package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +0 -2
- package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +0 -2
- package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +0 -2
- package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +0 -2
- package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +0 -18
- package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +0 -2
- package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +0 -3
- package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +0 -2
- package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +0 -2
- package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +0 -12
- package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +0 -2
- package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +0 -2
- package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +0 -18
- package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +0 -2
- package/dist/chunks/cli-0.6.2-yep449sd.mjs +0 -17
- package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +0 -2
- package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +0 -2
- package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +0 -4
- package/dist/chunks/cli-0.6.2-yysvdabq.mjs +0 -2
- package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +0 -4
- package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +0 -3
- package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +0 -4
- package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +0 -2
- package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +0 -18
- package/dist/chunks/cli-0.6.2-zaahyems.mjs +0 -2
- package/dist/chunks/cli-0.6.2-zftyh47j.mjs +0 -2
- package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +0 -2
- package/dist/chunks/cli-0.6.2-zs4qp487.mjs +0 -2
- package/dist/chunks/client-0.6.2-8b0s065m.mjs +0 -1
- package/dist/chunks/color-0.6.2-jza3jez4.mjs +0 -1
- package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +0 -3
- package/dist/chunks/config-0.6.2-qjwjrd75.mjs +0 -1
- package/dist/chunks/config-0.6.2-xac3sjb7.mjs +0 -1
- package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +0 -1
- package/dist/chunks/context-0.6.2-w965073f.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +0 -1
- package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +0 -1
- package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +0 -9
- package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +0 -1
- package/dist/chunks/createSession-0.6.2-axgp009k.mjs +0 -1
- package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +0 -1365
- package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +0 -1
- package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +0 -1
- package/dist/chunks/diff-0.6.2-md180qh9.mjs +0 -1
- package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +0 -1
- package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +0 -10
- package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +0 -1
- package/dist/chunks/environments-0.6.2-fe197syt.mjs +0 -1
- package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +0 -1
- package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +0 -1
- package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +0 -1
- package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +0 -1
- package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +0 -1
- package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +0 -1
- package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +0 -4
- package/dist/chunks/grove-0.6.2-a2wgccag.mjs +0 -1
- package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +0 -1
- package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +0 -2
- package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +0 -6
- package/dist/chunks/help-0.6.2-c49svpae.mjs +0 -1
- package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +0 -3
- package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +0 -1
- package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +0 -79
- package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +0 -1
- package/dist/chunks/index-0.6.2-1kk3erm5.mjs +0 -9
- package/dist/chunks/index-0.6.2-21nak3ad.mjs +0 -1
- package/dist/chunks/index-0.6.2-2vns8v9p.mjs +0 -1
- package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +0 -1
- package/dist/chunks/index-0.6.2-3g92ew8z.mjs +0 -1
- package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +0 -1
- package/dist/chunks/index-0.6.2-88m8k4cp.mjs +0 -1
- package/dist/chunks/index-0.6.2-93bh3w93.mjs +0 -1
- package/dist/chunks/index-0.6.2-9e0qz384.mjs +0 -1
- package/dist/chunks/index-0.6.2-emm65q8h.mjs +0 -17
- package/dist/chunks/index-0.6.2-ff57yvh3.mjs +0 -1
- package/dist/chunks/index-0.6.2-g6xy97jv.mjs +0 -1
- package/dist/chunks/index-0.6.2-h37g7n0s.mjs +0 -9
- package/dist/chunks/index-0.6.2-h8jkf613.mjs +0 -5
- package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +0 -1
- package/dist/chunks/index-0.6.2-jw83xhc8.mjs +0 -2
- package/dist/chunks/index-0.6.2-mehn31e3.mjs +0 -30
- package/dist/chunks/index-0.6.2-naw1d8mg.mjs +0 -2
- package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +0 -1
- package/dist/chunks/index-0.6.2-qn0re7sj.mjs +0 -1
- package/dist/chunks/index-0.6.2-tftj6wdh.mjs +0 -1
- package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +0 -1
- package/dist/chunks/init-0.6.2-47k2caay.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +0 -1
- package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +0 -1
- package/dist/chunks/insights-0.6.2-st861yg4.mjs +0 -870
- package/dist/chunks/install-0.6.2-webkhwz9.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +0 -1
- package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +0 -2
- package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +0 -1
- package/dist/chunks/log-0.6.2-h02k5q0p.mjs +0 -1
- package/dist/chunks/main-0.6.2-51xvrsbq.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +0 -1
- package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +0 -17
- package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +0 -4
- package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +0 -1
- package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +0 -1
- package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +0 -3
- package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +0 -2
- package/dist/chunks/model-0.6.2-49f9g2vz.mjs +0 -2
- package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +0 -1
- package/dist/chunks/node-0.6.2-40bknjza.mjs +0 -12
- package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +0 -14
- package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +0 -1
- package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +0 -1
- package/dist/chunks/passes-0.6.2-kadygcw6.mjs +0 -1
- package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +0 -3
- package/dist/chunks/plan-0.6.2-hzbsezab.mjs +0 -1
- package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +0 -1
- package/dist/chunks/plugin-0.6.2-pr48413e.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +0 -1
- package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +0 -2
- package/dist/chunks/print-0.6.2-ng7p0m66.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +0 -1
- package/dist/chunks/process-0.6.2-7k26fk4b.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +0 -9
- package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +0 -1
- package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +0 -1
- package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +0 -13
- package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +0 -34
- package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +0 -1
- package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +0 -2
- package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +0 -1
- package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +0 -1
- package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +0 -2
- package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +0 -1
- package/dist/chunks/session-0.6.2-k41jbqwf.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +0 -1
- package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +0 -1
- package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +0 -5
- package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +0 -1
- package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +0 -1
- package/dist/chunks/state-0.6.2-nymhw7ey.mjs +0 -1
- package/dist/chunks/stats-0.6.2-skm9nakv.mjs +0 -6
- package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +0 -1
- package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +0 -1
- package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +0 -1
- package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +0 -1
- package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +0 -1
- package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +0 -1
- package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +0 -1
- package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +0 -4
- package/dist/chunks/update-0.6.2-p8edrwg4.mjs +0 -86
- package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +0 -1
- package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +0 -1
- package/dist/chunks/util-0.6.2-yet75ms4.mjs +0 -1
- package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +0 -1
- package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +0 -1
- package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +0 -1
- package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +0 -132
- package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +0 -1
- package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +0 -7
- /package/dist/chunks/{cli-0.6.2-7p1ykg1m.mjs → cli-0.6.4-0dsecg4e.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.2-1e5p6hw6.mjs → cli-0.6.4-a772rm3j.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.2-adegz2m3.mjs → cli-0.6.4-ms7sef7r.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.2-hb4fz4pd.mjs → cli-0.6.4-p7q1dk2n.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.2-hkgnx8g7.mjs → cli-0.6.4-pdn08sja.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.2-3eaaj6e5.mjs → cli-0.6.4-sd36e6nd.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.2-qk6j042k.mjs → cli-0.6.4-vs7kwtc6.mjs} +0 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import{rc as iX,sc as zZ,tc as rX,uc as VQ,vc as RQ,wc as GQ}from"./cli-0.6.4-dtrjgbbz.mjs";import{xc as NZ,yc as lq}from"./cli-0.6.4-kygb95p8.mjs";import"./cli-0.6.4-k76c1cdx.mjs";import"./cli-0.6.4-9z6f4aka.mjs";import{Fc as gQ,Gc as cq}from"./cli-0.6.4-29860mke.mjs";import{Sf as zX,Tf as a0,Uf as VX}from"./cli-0.6.4-4qg60938.mjs";import{$N as SQ,$k as hX,Am as cQ,Au as o0,Ax as AQ,Bm as mq,Bx as Aq,CL as _q,Cu as NX,Cy as uJ,Dj as yQ,Dy as oZ,Gj as yq,Gy as cJ,HO as Tq,Hy as sZ,Im as n,Jm as w0,Km as a,Lm as N0,MH as _Z,Mm as Q0,Nm as z0,PH as ZY,Qm as C0,Rm as lX,Rx as mJ,Ss as bJ,Sx as fX,TA as xJ,Ts as SX,Tx as TX,UA as aZ,Us as kJ,Vs as tJ,Ws as _X,Wx as PJ,YK as nJ,YN as sJ,Yu as pJ,Yx as xZ,ZK as Yq,ZN as Oq,Zk as WX,Zu as lZ,_k as nQ,_s as kZ,at as iq,bt as $0,bv as TJ,ct as dX,cv as rZ,dH as dJ,dt as LX,dv as SJ,eH as tZ,et as XQ,ev as $Z,fG as xQ,ft as UX,gG as uq,gt as n0,hH as iJ,iH as Xq,jB as gJ,jt as PZ,kB as eZ,kE as j0,kK as cX,kt as EZ,lE as vX,pt as QX,sK as Zq,sR as mQ,tL as hQ,tR as Sq,tv as jJ,uE as v0,uH as lJ,uv as nZ,vE as qX,vH as Jq,vL as hq,wH as rJ,wK as $J,wm as eJ,xH as Qq,xK as qq,xm as Mq,xx as OX,yO as jQ,yx as CJ,zL as _Q,zu as e0,zx as pX}from"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import{kV as h0,lV as RX}from"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import{BW as b0,HW as u0,IW as uX,zW as t}from"./cli-0.6.4-1nzpzrfm.mjs";import{AY as U,UY as wZ,dX as L0,dZ as R0,yY as f}from"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import{C0 as G0,D0 as Q,E0 as F,F0 as p}from"./cli-0.6.4-btcax77x.mjs";import{G0 as k0}from"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import{G5 as T0,H5 as gX}from"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import{B9 as i0,D9 as AJ,K7 as Y0,L7 as ZX,Pda as wX,T$ as mX,Vba as MZ,Xda as dq,Z$ as iZ,_$ as YX,baa as hJ,hba as S0,k_ as aJ,naa as BJ,oaa as _J,oba as BX,rca as gq,s_ as fq,w_ as LJ,waa as IJ,y_ as SZ}from"./cli-0.6.4-em2mfvpg.mjs";import{dea as JJ,mea as vZ,sea as PQ}from"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import{Dfa as JX,Efa as GJ}from"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import{rga as IX,tga as BQ}from"./cli-0.6.4-ksf3bj49.mjs";import{Zga as QJ,bha as wq}from"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import{Mha as fZ,Oha as AX,Uha as RJ}from"./cli-0.6.4-rqmfmwew.mjs";import{Xha as VJ,iia as TZ}from"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import{Goa as jq,roa as uQ}from"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import{spa as o,wpa as $}from"./cli-0.6.4-yrfkm9my.mjs";var A0;var YJ=$(()=>{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(VJ(),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();RJ();YJ()});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,D=!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 v;if(X[10]!==q.whenToUse)v=F(f,{flexDirection:"column",children:[B,Q(f,{marginLeft:2,children:Q(U,{children:q.whenToUse})})]}),X[10]=q.whenToUse,X[11]=v;else v=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]!==v||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:D,onKeyDown:G,children:[M,v,A,r,x,E,S,I,b,c]}),X[35]=k,X[36]=G,X[37]=v,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();_X();hX();TX();QX();pX();xZ();x0();p();EJ=o(L0(),1)});function MX(J){let X=vJ.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]=DJ.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 D=g0[L];V(D==="automatic"?void 0:D)}},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,D)=>{let M=D===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:SX[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:SX[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 vJ,DJ,g0;var jX=$(()=>{ZX();R0();_X();IJ();p();vJ=o(L0(),1),DJ=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(v0,{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();pX();qX();p();wJ=o(L0(),1)});function yJ(){return{READ_ONLY:{name:"Read-only tools",toolNames:new Set([SJ.name,TJ.name,sJ.name,gJ.name,dJ.name,jJ.name,rJ.name,iJ.name,lJ.name,$J.name,nJ.name])},EDIT:{name:"Edit tools",toolNames:new Set([uJ.name,pJ.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(cX(q)){let Y=mX(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=mJ({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,D;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];D=O.filter(u),X[7]=O,X[8]=z,X[9]=D}else D=X[9];let M=D,B;if(X[12]!==M)B=new Set(M),X[12]=M,X[13]=B;else B=X[13];let v=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(cX(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]!==v)S=(u)=>{let q0=i0(u,(J0)=>v.has(J0.name))<u.length;return()=>{let J0=u.map(Fq);d(J0,q0)}},X[22]=v,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]!==v||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)=>v.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 qJ=Vq(L);if(k){if(qJ.length>0)b.push({id:"mcp-servers-header",label:"MCP Servers:",action:Lq,isHeader:!0}),qJ.forEach((M0)=>{let{serverName:m0,tools:I0}=M0,yX=i0(I0,(XX)=>v.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=mX(M0.name);m0=I0?`${I0.toolName} (${I0.serverName})`:M0.name}b.push({id:`tool-${M0.name}`,label:`${v.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]=v,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":`${v.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 xX=$(()=>{ZX();iZ();Zq();TX();hJ();aZ();Oq();oZ();eZ();lZ();$Z();rZ();qq();sZ();Yq();Jq();Xq();nZ();tZ();Qq();R0();b0();AJ();IJ();uX();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:v,model:T}=M,P=v??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 D=()=>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 D();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=$(()=>{gX();ZX();NX();R0();b0();_X();QX();VX();dX();x0();jX();kX();xX();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=rX(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=rX(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]=D0.useState(null),[H,W]=D0.useState(!0),O=D0.useMemo(()=>[...X].sort(RQ),[X]),K=D0.useMemo(()=>Eq(O),[O]),G=D0.useMemo(()=>{if(J==="all")return iX.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]);D0.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)]})},D=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:D,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 v=i0(O,(P)=>!P.overriddenBy),T;if(J==="all")T=F(G0,{children:[iX.filter((P)=>P.source!=="built-in").map(({label:P,source:g})=>Q(D0.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:D,subtitle:`${v} 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 D0,kq=20,Pq=12;var FQ=$(()=>{ZX();R0();GQ();AJ();lX();uX();EX();p();D0=o(k0(),1)});function nX(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),D;if(X[2]===Symbol.for("react.memo_cache_sentinel"))D=[],X[2]=D;else D=X[2];let[M,B]=p0.useState(D);h0();let v,T;if(X[3]!==y||X[4]!==V||X[5]!==k)v=()=>{if(y)B([]),V(k)},T=[y,k,V],X[3]=y,X[4]=V,X[5]=k,X[6]=v,X[7]=T;else v=X[6],T=X[7];p0.useEffect(v,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($X.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,$X;var oX=$(()=>{RX();p();KQ=o(L0(),1),p0=o(k0(),1),$X=p0.createContext(null)});function e(){let J=HQ.useContext($X);if(!J)throw Error("useWizard must be used within a WizardProvider");return J}var HQ;var sX=$(()=>{oX();HQ=o(k0(),1)});function aX({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 eX=$(()=>{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(aX,{instructions:R}),X[6]=R,X[7]=z;else z=X[7];let D;if(X[8]!==y||X[9]!==z)D=F(G0,{children:[y,z]}),X[8]=y,X[9]=z,X[10]=D;else D=X[10];return D}var WQ;var P0=$(()=>{lX();sX();eX();p();WQ=o(L0(),1)});var O0=$(()=>{sX();P0();eX();oX()});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();jX();p();OQ=o(L0(),1)});function tX(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=tX(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 XJ=$(()=>{TX();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,D,M,B,v,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=JJ(G.getSystemPrompt(),240),X[28]=G,X[29]=l;else l=X[29];let s=l,X0;if(X[30]!==G.whenToUse)X0=JJ(G.whenToUse,240),X[30]=G.whenToUse,X[31]=X0;else X0=X[31];let V0=X0,f0=Dq,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)D=Q(f,{marginLeft:2,marginTop:1,children:Q(U,{children:V0})}),X[55]=V0,X[56]=D;else D=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];v=_.warnings.length>0&&F(f,{marginTop:1,flexDirection:"column",children:[Q(U,{color:"warning",children:"Warnings:"}),_.warnings.map(vq)]}),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]=D,X[15]=M,X[16]=B,X[17]=v,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],D=X[14],M=X[15],B=X[16],v=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]!==D||X[70]!==M||X[71]!==B||X[72]!==v||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,D,M,B,v,T,I,j]}),X[65]=N,X[66]=w,X[67]=y,X[68]=z,X[69]=D,X[70]=M,X[71]=B,X[72]=v,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 vq(J,X){return F(U,{dimColor:!0,children:[" ","• ",J]},X)}function Dq(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();hX();PQ();pX();N0();z0();w0();O0();P0();x0();XJ();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=$(()=>{gX();BQ();NX();QX();dX();VX();O0();x0();zQ();p();s0=o(k0(),1)});function DQ(){let J=vQ.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 D;if(J[8]===Symbol.for("react.memo_cache_sentinel"))D=Q(U,{children:"When should Claude use this agent?"}),J[8]=D;else D=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 v;if(J[15]!==M||J[16]!==B)v=Q(Z0,{subtitle:"Description (tell Claude when to use this agent)",footerText:z,children:F(f,{flexDirection:"column",children:[D,M,B]})}),J[15]=M,J[16]=B,J[17]=v;else v=J[17];return v}var vQ,bX;var CQ=$(()=>{R0();b0();VX();N0();z0();w0();vX();O0();P0();p();vQ=o(L0(),1),bX=o(k0(),1)});async function pQ(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=SQ({content:Z}),L=await mQ(),H=hQ([R],L),W=S0()?wQ+pq:wQ,G=(await _Q({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=QJ(G.trim())}catch{let k=G.match(/\{[\s\S]*\}/);if(!k)throw Error("No JSON object found in response");N=QJ(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 TQ=$(()=>{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 v=await pQ(M,G,[],B.signal);J({agentType:v.identifier,whenToUse:v.whenToUse,systemPrompt:v.systemPrompt,generatedAgent:v,isGenerating:!1,wasGenerated:!0}),q(6)}catch(v){if(v instanceof uQ);else if(v instanceof Error&&!v.message.includes("No assistant message found"))W(v.message||"Failed to generate agent");J({isGenerating:!1})}finally{L(!1),N.current=null}},D="Describe what this agent should do and when it should be used (be comprehensive for best results)";if(R)return Q(Z0,{subtitle:D,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:D,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=$(()=>{jq();cq();R0();b0();mq();VX();N0();z0();uq();vX();O0();P0();TQ();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(v0,{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(v0,{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();hX();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(v0,{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]=DX.useState(V.systemPrompt||""),[L,H]=DX.useState(Z.length),[W,O]=DX.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 D,M;if(J[9]===Symbol.for("react.memo_cache_sentinel"))D=Q(U,{children:"Enter the system prompt for your agent:"}),M=Q(U,{dimColor:!0,children:"Be comprehensive for best results"}),J[9]=D,J[10]=M;else D=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 v;if(J[15]!==W)v=W&&Q(f,{marginTop:1,children:Q(U,{color:"error",children:W})}),J[15]=W,J[16]=v;else v=J[16];let T;if(J[17]!==B||J[18]!==v)T=Q(Z0,{subtitle:"System prompt",footerText:z,children:F(f,{flexDirection:"column",children:[D,M,B,v]})}),J[17]=B,J[18]=v,J[19]=T;else T=J[19];return T}var qZ,DX;var VZ=$(()=>{R0();b0();VX();N0();z0();w0();vX();O0();P0();p();qZ=o(L0(),1),DX=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();xX();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 v=B.trim(),T=tX(v);if(T){W(T);return}W(null),V({agentType:v}),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 D;if(X[10]!==H)D=H&&Q(f,{marginTop:1,children:Q(U,{color:"error",children:H})}),X[10]=H,X[11]=D;else D=X[11];let M;if(X[12]!==z||X[13]!==D)M=Q(Z0,{subtitle:"Agent type (identifier)",footerText:w,children:F(f,{flexDirection:"column",children:[y,z,D]})}),X[12]=z,X[13]=D,X[14]=M;else M=X[14];return M}var UZ,CX;var KZ=$(()=>{R0();b0();N0();z0();w0();vX();O0();P0();XJ();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,DQ,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(nX,{steps:K,initialData:G,onComplete:xq,onCancel:Z,title:"Create new agent",showStepCounter:!1}),X[14]=Z,X[15]=K,X[16]=N;else N=X[16];return N}function xq(){}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]=ZJ.useState(V),L=e0(JY),H=e0(XY),W=e0(tq),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]=ZJ.useState(N),y=NZ(q,H,W);h0();let z;if(X[2]!==K)z=K.filter(eq),X[2]=K,X[3]=z;else z=X[3];let D;if(X[4]!==K)D=K.filter(aq),X[4]=K,X[5]=D;else D=X[5];let M;if(X[6]!==K)M=K.filter(sq),X[6]=K,X[7]=M;else M=X[7];let B;if(X[8]!==K)B=K.filter(oq),X[8]=K,X[9]=B;else B=X[9];let v;if(X[10]!==K)v=K.filter(nq),X[10]=K,X[11]=v;else v=X[11];let T;if(X[12]!==K)T=K.filter($q),X[12]=K,X[13]=T;else T=X[13];let P;if(X[14]!==K)P=K.filter(rq),X[14]=K,X[15]=P;else P=X[15];let g;if(X[16]!==K||X[17]!==z||X[18]!==D||X[19]!==M||X[20]!==B||X[21]!==v||X[22]!==T||X[23]!==P)g={"built-in":z,userSettings:D,projectSettings:M,policySettings:B,localSettings:v,flagSettings:T,plugin:P,all:K},X[16]=K,X[17]=z,X[18]=D,X[19]=M,X[20]=B,X[21]=v,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(v0,{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(v0,{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 rq(J){return J.source==="plugin"}function $q(J){return J.source==="flagSettings"}function nq(J){return J.source==="localSettings"}function oq(J){return J.source==="policySettings"}function sq(J){return J.source==="projectSettings"}function aq(J){return J.source==="userSettings"}function eq(J){return J.source==="built-in"}function tq(J){return J.toolPermissionContext}function XY(J){return J.mcp.tools}function JY(J){return J.agentDefinitions}var BZ,ZJ;var bZ=$(()=>{gX();RX();lq();R0();NX();GQ();QX();iq();dX();gq();RJ();dq();qX();lX();zJ();QQ();qQ();FQ();kX();x0();GJ();OZ();p();BZ=o(L0(),1),ZJ=o(k0(),1)});function DZ(){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:[vZ(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();uX();p()});function QY({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(DZ,{}),Q(QY,{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 LF(J,X){let Y=X.getAppState().toolPermissionContext,V=_Z(Y);return Q(AZ,{tools:V,onExit:J})}var qY=$(()=>{hZ();ZY();p()});qY();export{LF as call};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{rc as H,sc as I,tc as J,uc as K,vc as L,wc as U}from"./cli-0.6.4-dtrjgbbz.mjs";import{gt as F,jt as G,pt as T}from"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import{Dfa as E,Efa as R}from"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$0 as l,Q0 as a,R0 as b,S0 as c,T0 as d,U0 as e,V0 as f,W0 as g,X0 as h,Y0 as i,Z0 as j,_0 as k}from"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.mjs";l();export{k as updateSessionTitle,j as sendEventToRemoteSession,e as prepareApiRequest,b as isTransientNetworkError,g as getOAuthHeaders,i as getBranchFromSession,h as fetchSession,f as fetchCodeSessionsFromSessionsAPI,c as axiosGetWithRetry,d as CodeSessionSchema,a as CCR_BYOC_BETA};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Bb as a,Cb as b,Db as c,Eb as d,Fb as e,Gb as f}from"./cli-0.6.4-p7q1dk2n.mjs";import"./cli-0.6.4-yrfkm9my.mjs";export{d as renameRecordingForSession,f as installAsciicastRecorder,c as getSessionRecordingPaths,a as getRecordFilePath,e as flushAsciicastRecorder,b as _resetRecordingStateForTesting};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./cli-0.6.4-yrfkm9my.mjs";var n=null;export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$4 as S,A4 as r,B4 as s,C4 as t,D4 as u,E4 as v,F4 as w,G4 as x,H4 as y,I4 as z,J4 as A,K4 as B,L4 as C,M4 as D,N4 as E,O4 as F,P4 as G,Q4 as H,R4 as I,S4 as J,T4 as K,U4 as L,V4 as M,W4 as N,X4 as O,Y4 as P,Z4 as Q,_4 as R,a5 as T,b5 as U,c5 as V,d5 as W,e5 as X,f5 as Y,g5 as Z,h5 as _,i5 as $,j4 as a,k4 as b,k5 as aa,l4 as c,m4 as d,n4 as e,o4 as f,p4 as g,q4 as h,r4 as i,s4 as j,t4 as k,u4 as l,v4 as m,w4 as n,x4 as o,y4 as p,z4 as q}from"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{AF as d,BF as e,CF as f,DF as g,xF as a,yF as b,zF as c}from"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.mjs";g();export{a as performLogout,c as installOAuthTokens,b as clearAuthRelatedCaches,e as authStatus,f as authLogout,d as authLogin};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import{Js as b,Ks as I,Nx as w,Ox as z,Px as F,Qx as N}from"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import{D3 as x,e3 as y,w3 as P}from"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import{eba as Q,gba as k}from"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import{Yga as $,bha as U}from"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import{Nha as Z,Uha as T}from"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{JR as a,KR as b,LR as c,MR as d,NR as e,OR as f,PR as g,QR as h,RR as i,SR as j,TR as k,UR as l,VR as m}from"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-yrfkm9my.mjs";m();export{d as shouldSkipVersion,l as installGlobalPackage,k as getVersionHistory,h as getNpmDistTags,c as getMaxVersionMessage,b as getMaxVersion,e as getLockFilePath,i as getLatestVersionFromGcs,g as getLatestVersion,j as getGcsDistTags,f as checkGlobalInstallPermissions,a as assertMinVersion};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Xa as a}from"./cli-0.6.4-nscxc6w9.mjs";import"./cli-0.6.4-y9nrcnx6.mjs";import"./cli-0.6.4-ex2d76ze.mjs";import"./cli-0.6.4-4jc68p21.mjs";import"./cli-0.6.4-a4wjm2rf.mjs";import"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.mjs";export{a as startBackgroundHousekeeping};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Ci as D,Di as j,Ii as x,SQ as E,UQ as c,bQ as M,wi as C}from"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import{f_ as U,i_ as N,maa as w,waa as S}from"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import{rga as v,tga as I}from"./cli-0.6.4-ksf3bj49.mjs";import{Yga as O,bha as k}from"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import{Nna as b,Oja as z,Uja as F}from"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import{wpa as T}from"./cli-0.6.4-yrfkm9my.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Kea as A,Lea as k,Vea as G,Wea as N,Zea as M,afa as Y,cfa as O,dfa as S,efa as _}from"./cli-0.6.4-s062axqp.mjs";import{Yga as K,Zga as W,bha as j,tha as C,wha as R}from"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import{Pha as y,Uha as c}from"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-yrfkm9my.mjs";O();R();c();k();_();M();j();import{mkdir as m,readFile as z,stat as E,unlink as T,writeFile as f}from"fs/promises";import{dirname as B,join as b}from"path";var I=50,D=14400000,u=S(()=>Y.object({sessionId:Y.string(),environmentId:Y.string(),source:Y.enum(["standalone","repl"])}));function J(q){return b(N(),G(q),"bridge-pointer.json")}async function g(q,x){let v=J(q);try{await m(B(v),{recursive:!0}),await f(v,K(x),"utf8"),C(`[bridge:pointer] wrote ${v}`)}catch(V){C(`[bridge:pointer] write failed: ${V}`,{level:"warn"})}}async function U(q){let x=J(q),v,V;try{V=(await E(x)).mtimeMs,v=await z(x,"utf8")}catch{return null}let Z=u().safeParse(F(v));if(!Z.success)return C(`[bridge:pointer] invalid schema, clearing: ${x}`),await X(q),null;let $=Math.max(0,Date.now()-V);if($>D)return C(`[bridge:pointer] stale (>4h mtime), clearing: ${x}`),await X(q),null;return{...Z.data,ageMs:$}}async function s(q){let x=await U(q);if(x)return{pointer:x,dir:q};let v=await A(q);if(v.length<=1)return null;if(v.length>I)return C(`[bridge:pointer] ${v.length} worktrees exceeds fanout cap ${I}, skipping`),null;let V=G(q),Z=v.filter((H)=>G(H)!==V),$=await Promise.all(Z.map(async(H)=>{let L=await U(H);return L?{pointer:L,dir:H}:null})),Q=null;for(let H of $)if(H&&(!Q||H.pointer.ageMs<Q.pointer.ageMs))Q=H;if(Q)C(`[bridge:pointer] fanout found pointer in worktree ${Q.dir} (ageMs=${Q.pointer.ageMs})`);return Q}async function X(q){let x=J(q);try{await T(x),C(`[bridge:pointer] cleared ${x}`)}catch(v){if(!y(v))C(`[bridge:pointer] clear failed: ${v}`,{level:"warn"})}}function F(q){try{return W(q)}catch{return null}}export{g as writeBridgePointer,s as readBridgePointerAcrossWorktrees,U as readBridgePointer,J as getBridgePointerPath,X as clearBridgePointer,D as BRIDGE_POINTER_TTL_MS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Sg as a,Tg as bJ}from"./cli-0.6.4-1qryxm4s.mjs";import{Ug as x,Vg as AJ}from"./cli-0.6.4-cgktpczq.mjs";import{Am as m,Ax as i,Bm as UJ,Bx as HJ,CC as kJ,HO as hJ,TF as $,UF as vJ,Wx as u,Yx as WJ,iN as r,pN as TJ,rR as s,sR as t,tO as o,tR as DJ,wC as l}from"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import{EW as c,GW as IJ,lW as g,mW as QJ}from"./cli-0.6.4-1nzpzrfm.mjs";import{AY as v,RY as j,TY as KJ,dX as GJ,dZ as NJ,yY as k}from"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import{D0 as F,E0 as W,F0 as d}from"./cli-0.6.4-btcax77x.mjs";import{G0 as zJ}from"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import{M_ as p,N_ as C,Vba as S,c$ as ZJ,rca as FJ}from"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import{Nha as f,Uha as YJ}from"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import{spa as R,wpa as XJ}from"./cli-0.6.4-yrfkm9my.mjs";function EJ(V){let J=n.c(25),{question:Y,context:z,onDone:G}=V,[Z,e]=N.useState(null),[K,y]=N.useState(null),[P,JJ]=N.useState(0),T=N.useRef(null),{rows:VJ}=c(g()),A;if(J[0]===Symbol.for("react.memo_cache_sentinel"))A=()=>JJ(qJ),J[0]=A;else A=J[0];j(A,Z||K?null:80);let b;if(J[1]!==G)b=function(X){if(X.key==="escape"||X.key==="return"||X.key===" "||X.ctrl&&(X.key==="c"||X.key==="d")){X.preventDefault(),G(void 0,{display:"skip"});return}if(X.key==="up"||X.ctrl&&X.key==="p")X.preventDefault(),T.current?.scrollBy(-_);if(X.key==="down"||X.ctrl&&X.key==="n")X.preventDefault(),T.current?.scrollBy(_)},J[1]=G,J[2]=b;else b=J[2];let h=b,w,L;if(J[3]!==z||J[4]!==Y)w=()=>{let B=m();return async function(){try{let O=await MJ(z),M=await a({question:Y,cacheSafeParams:O});if(!B.signal.aborted)if(M.response)e(M.response);else y("No response received")}catch(O){let M=O;if(!B.signal.aborted)y(f(M)||"Failed to get response")}}(),()=>{B.abort()}},L=[Y,z],J[3]=z,J[4]=Y,J[5]=w,J[6]=L;else w=J[5],L=J[6];N.useEffect(w,L);let D=Math.max(5,VJ-wJ-LJ),E;if(J[7]===Symbol.for("react.memo_cache_sentinel"))E=W(v,{color:"warning",bold:!0,children:["/btw"," "]}),J[7]=E;else E=J[7];let Q;if(J[8]!==Y)Q=W(k,{children:[E,F(v,{dimColor:!0,children:Y})]}),J[8]=Y,J[9]=Q;else Q=J[9];let U;if(J[10]!==K||J[11]!==P||J[12]!==Z)U=F(x,{ref:T,flexDirection:"column",flexGrow:1,children:K?F(v,{color:"error",children:K}):Z?F(u,{children:Z}):W(k,{children:[F($,{frame:P,messageColor:"warning"}),F(v,{color:"warning",children:"Answering..."})]})}),J[10]=K,J[11]=P,J[12]=Z,J[13]=U;else U=J[13];let I;if(J[14]!==D||J[15]!==U)I=F(k,{marginTop:1,marginLeft:2,maxHeight:D,children:U}),J[14]=D,J[15]=U,J[16]=I;else I=J[16];let H;if(J[17]!==K||J[18]!==Z)H=(Z||K)&&F(k,{marginTop:1,children:W(v,{dimColor:!0,children:[p,"/",C," to scroll · Space, Enter, or Escape to dismiss"]})}),J[17]=K,J[18]=Z,J[19]=H;else H=J[19];let q;if(J[20]!==h||J[21]!==Q||J[22]!==I||J[23]!==H)q=W(k,{flexDirection:"column",paddingLeft:2,marginTop:1,tabIndex:0,autoFocus:!0,onKeyDown:h,children:[Q,I,H]}),J[20]=h,J[21]=Q,J[22]=I,J[23]=H,J[24]=q;else q=J[24];return q}function qJ(V){return V+1}function BJ(V){let J=V.at(-1);if(J?.type==="assistant"&&J.message.stop_reason===null)return V.slice(0,-1);return V}async function MJ(V){let J=o(BJ(V.messages)),Y=l();if(Y)return{systemPrompt:Y.systemPrompt,userContext:Y.userContext,systemContext:Y.systemContext,toolUseContext:V,forkContextMessages:J};let[z,G,Z]=await Promise.all([r(V.options.tools,V.options.mainLoopModel,[],V.options.mcpClients),t(),s()]);return{systemPrompt:i(z),userContext:G,systemContext:Z,toolUseContext:V,forkContextMessages:J}}async function aJ(V,J,Y){let z=Y?.trim();if(!z)return V("Usage: /btw <your question>",{display:"system"}),null;return S((G)=>({...G,btwUseCount:G.btwUseCount+1})),F(EJ,{question:z,context:J,onDone:V})}var n,N,wJ=5,LJ=6,_=3;var PJ=XJ(()=>{KJ();WJ();vJ();ZJ();TJ();IJ();DJ();QJ();AJ();NJ();UJ();FJ();YJ();kJ();hJ();bJ();HJ();d();n=R(GJ(),1),N=R(zJ(),1)});PJ();export{aJ as call};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{eV as p,fV as f,gV as a,hV as S}from"./cli-0.6.4-cxhs267r.mjs";import{Vba as d,rca as C}from"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import{ega as m,fga as y,gga as b}from"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import{wpa as g}from"./cli-0.6.4-yrfkm9my.mjs";function R(t){let o=2166136261;for(let s=0;s<t.length;s++)o^=t.charCodeAt(s),o=Math.imul(o,16777619);return o>>>0}function r(t,o){return t[R(o)%t.length]}function M(t){return t.charAt(0).toUpperCase()+t.slice(1)}function O(){let t=f(),{bones:o}=p(`${t}:buddy`),s=r($,`${t}:prefix`),n=r(A,`${t}:suffix`),i=r(w,`${t}:personality`);return{name:`${s}${n}`,personality:`${i}.`,hatchedAt:Date.now()}}function l(t,o,s=!1){t.setAppState((n)=>({...n,companionReaction:o,companionPetAt:s?Date.now():n.companionPetAt}))}function c(t){t(`Usage: /buddy [status|mute|unmute]
|
|
2
|
+
|
|
3
|
+
Run /buddy with no args to hatch your companion the first time, then pet it on later runs.`,{display:"system"})}async function X(t,o,s){let n=s?.trim().toLowerCase()??"";if(m.includes(n)||n===""){let e=a();if(n!==""||e){if(n!=="")return c(t),null}}if(m.includes(n))return c(t),null;if(y.includes(n)||n==="status"){let e=a();if(!e)return t("No buddy hatched yet. Run /buddy to hatch one.",{display:"system"}),null;return t(`${e.name} is your ${M(e.rarity)} ${e.species}. ${e.personality}`,{display:"system"}),null}if(n==="mute"||n==="unmute"){let e=n==="mute";if(d((u)=>({...u,companionMuted:e})),e)l(o,void 0);return t(`Buddy ${e?"muted":"unmuted"}.`,{display:"system"}),null}if(n!=="")return c(t),null;let i=a();if(!i){let e=O();return d((u)=>({...u,companion:e,companionMuted:!1})),i={...p(`${f()}:buddy`).bones,...e},l(o,`${i.name} the ${i.species} has hatched.`,!0),t(`${i.name} the ${i.species} is now your buddy. Run /buddy again to pet them.`,{display:"system"}),null}let h=`${i.name} ${r(E,`${Date.now()}:${i.name}`)}`;return l(o,h,!0),t(void 0,{display:"skip"}),null}var $,A,w,E;var L=g(()=>{C();S();b();$=["Byte","Echo","Glint","Miso","Nova","Pixel","Rune","Static","Vector","Whisk"],A=["bean","bit","bud","dot","ling","loop","moss","patch","puff","spark"],w=["Curious and quietly encouraging","A patient little watcher with strong debugging instincts","Playful, observant, and suspicious of flaky tests","Calm under pressure and fond of clean diffs","A tiny terminal gremlin who likes successful builds"],E=["leans into the headpat","does a proud little bounce","emits a content beep","looks delighted","wiggles happily"]});L();export{X as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./cli-0.6.4-yrfkm9my.mjs";var g=()=>null,c=class{},q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},z=new Proxy(g,q),C=z,A=!0,B=null,D=new Proxy({},{get:()=>g}),E={parse:()=>({})},F=[],G=g,H=null,I=null,J=g,K=g,L={SUCCESS:0,FAILED:1},M=g,P=c,Q=c,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},u={active:g,with:(v,j)=>j()},w={OK:0,ERROR:1,UNSET:2},y="service.name",N="service.version",O="service.name",T="service.version",h={CUMULATIVE:0,DELTA:1},x={HISTOGRAM:0,SUM:1,GAUGE:2},d={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},f=c,m={};export{k as trace,M as resourceFromAttributes,K as plot,J as getSyntaxTheme,G as getMcpConfigForManifest,C as default,u as context,A as __stub,w as SpanStatusCode,Q as SimpleSpanProcessor,_ as SimpleLogRecordProcessor,m as SeverityNumber,B as SandboxViolationStore,E as SandboxRuntimeConfigSchema,D as SandboxManager,T as SEMRESATTRS_SERVICE_VERSION,O as SEMRESATTRS_SERVICE_NAME,P as Resource,f as PushMetricExporter,Y as PrometheusExporter,i as PeriodicExportingMetricReader,V as OTLPTraceExporter,X as OTLPMetricExporter,W as OTLPLogExporter,S as NodeTracerProvider,b as MeterProvider,Z as LoggerProvider,d as InstrumentType,L as ExportResultCode,x as DataPointType,I as ColorFile,H as ColorDiff,R as BatchSpanProcessor,$ as BatchLogRecordProcessor,U as BasicTracerProvider,F as BROWSER_TOOLS,h as AggregationTemporality,N as ATTR_SERVICE_VERSION,y as ATTR_SERVICE_NAME};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{VV as h,ZV as zz}from"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-9j2480tb.mjs";import{D3 as e,e3 as m}from"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import{Ada as v,Dda as r,qda as y,xda as s}from"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import{tha as k,wha as o}from"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import{Nna as a,Oja as b}from"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import{wpa as n}from"./cli-0.6.4-yrfkm9my.mjs";function Nz(J){if(!J)return"unknown";return J.replace(/-\d{4,}$/,"").replace(/-latest$/,"").replace(/-preview$/,"")}function Y(J,Q){return Q.split(".").reduce((X,O)=>X!=null?X[O]:void 0,J)}async function R(J,Q,X,O){let q=Date.now(),V;try{V=await fetch(J,{method:"POST",headers:Q,body:JSON.stringify(X)})}catch(B){return{label:O,status:0,elapsed:Date.now()-q,headers:{},usage:null,responseId:null,error:B.message}}let A=Date.now()-q,U={};if(V.headers.forEach((B,w)=>{U[w]=B}),!V.ok){let B=await V.text().catch(()=>"");return{label:O,status:V.status,elapsed:A,headers:U,usage:null,responseId:null,error:B}}let L=await V.text(),$=null,T=null,_=J.endsWith("/responses");for(let B of L.split(`
|
|
2
|
+
|
|
3
|
+
`)){let w=B.split(`
|
|
4
|
+
`).map((x)=>x.trim()).filter(Boolean);if(_){let x=w.find((z)=>z.startsWith("event: ")),j=w.filter((z)=>z.startsWith("data: "));if(!x||!j.length)continue;let C=x.slice(7).trim();if(C==="response.completed"||C==="response.incomplete")try{let z=JSON.parse(j.map((W)=>W.slice(6)).join(`
|
|
5
|
+
`));$=z?.response?.usage??null,T=z?.response?.id??null}catch{}}else for(let x of w){if(!x.startsWith("data: "))continue;let j=x.slice(6).trim();if(j==="[DONE]")continue;try{let C=JSON.parse(j);if(C.usage)$=C.usage,T=C.id??null}catch{}}}return{label:O,status:V.status,elapsed:A,headers:U,usage:$,responseId:T,error:null}}function S(J){let Q=[`--- ${J.label} ---`];if(J.error)return Q.push(` ERROR (HTTP ${J.status}): ${J.error.slice(0,200)}`),Q.join(`
|
|
6
|
+
`);if(Q.push(` HTTP ${J.status} — ${J.elapsed}ms`),J.responseId)Q.push(` response.id: ${J.responseId}`);if(J.usage)Q.push(" Usage:"),Q.push(` ${JSON.stringify(J.usage,null,2).replace(/\n/g,`
|
|
7
|
+
`)}`);else Q.push(" Usage: null");for(let X of["openai-processing-ms","x-ratelimit-remaining","x-ratelimit-limit","x-ms-region","x-github-request-id","x-request-id"])if(J.headers[X])Q.push(` ${X}: ${J.headers[X]}`);return Q.join(`
|
|
8
|
+
`)}var Jz,K,M='Say "hello" and nothing else.',g=3000,jz=async(J)=>{let Q=(J??"").trim().split(/\s+/).filter(Boolean),X=Q.includes("--no-key"),q=(Q.find((N)=>!N.startsWith("--"))||void 0)??m(),V=y({model:q}),A=v(),U=A?.transport==="github_copilot";if(U)h();let L=A?.apiKey??A?.extras?.githubToken??"";if(!L)return{type:"text",value:`No API key found. Make sure you are in an active OpenAI-compatible or GitHub Copilot session.
|
|
9
|
+
For GitHub Copilot: run /provider and choose GitHub Copilot.
|
|
10
|
+
For OpenAI-compatible: configure a profile via /provider.`};let $=V.transport==="codex_responses",T=$?"/responses":"/chat/completions",_=`${V.baseUrl}${T}`,B=Nz(V.resolvedModel),w=`${b()}:${B}`,x={"Content-Type":"application/json",Authorization:`Bearer ${L}`,originator:"claudin"};if(U)Object.assign(x,Jz);let j;if($)j={model:V.resolvedModel,instructions:K,input:[{type:"message",role:"user",content:[{type:"input_text",text:M}]}],stream:!0,...X?{}:{store:!1,prompt_cache_key:w,prompt_cache_retention:"24h"}};else j={model:V.resolvedModel,messages:[{role:"system",content:K},{role:"user",content:M}],stream:!0,stream_options:{include_usage:!0},max_tokens:20,...X?{}:{store:!1,prompt_cache_key:w}};let C=[`[cache-probe] Starting cache probe${X?" (--no-key: cache params OMITTED)":""}`,` model: ${V.resolvedModel} (family: ${B})`,` transport: ${V.transport}`,` endpoint: ${_}`,` prompt_cache_key: ${X?"NOT SENT":w}`,` store: ${X?"NOT SENT":"false"}`,` system prompt: ~${Math.round(K.length/4)} tokens`,` delay between calls: ${g}ms`].join(`
|
|
11
|
+
`);k(C);let z=await R(_,x,j,"CALL 1 — Cold (no cache)");if(k(`[cache-probe]
|
|
12
|
+
${S(z)}`),z.error)return{type:"text",value:`Cache probe failed on first call: HTTP ${z.status}
|
|
13
|
+
${z.error.slice(0,300)}
|
|
14
|
+
|
|
15
|
+
Full details in debug log.`};await new Promise((N)=>setTimeout(N,g));let W=await R(_,x,j,"CALL 2 — Warm (cache expected)");k(`[cache-probe]
|
|
16
|
+
${S(W)}`);let c=["input_tokens","output_tokens","total_tokens","prompt_tokens","completion_tokens","input_tokens_details.cached_tokens","prompt_tokens_details.cached_tokens","output_tokens_details.reasoning_tokens"],Z=["[cache-probe] COMPARISON"];Z.push(` ${"Field".padEnd(42)} ${"Call 1".padStart(8)} ${"Call 2".padStart(8)} ${"Delta".padStart(8)}`),Z.push(` ${"-".repeat(72)}`);for(let N of c){let H=Y(z.usage,N),I=Y(W.usage,N);if(H===void 0&&I===void 0)continue;let i=typeof H==="number"&&typeof I==="number"?I-H:"";Z.push(` ${N.padEnd(42)} ${String(H??"-").padStart(8)} ${String(I??"-").padStart(8)} ${String(i).padStart(8)}`)}Z.push(""),Z.push(` Latency: ${z.elapsed}ms → ${W.elapsed}ms (${W.elapsed-z.elapsed>0?"+":""}${W.elapsed-z.elapsed}ms)`);for(let N of["openai-processing-ms","x-ms-region","x-ratelimit-remaining"]){let H=z.headers[N],I=W.headers[N];if(H||I)Z.push(` ${N}: ${H??"-"} → ${I??"-"}`)}let D=Y(W.usage,"input_tokens_details.cached_tokens")??Y(W.usage,"prompt_tokens_details.cached_tokens")??0,F=z.usage?.input_tokens??z.usage?.prompt_tokens??0,P=W.usage?.input_tokens??W.usage?.prompt_tokens??0,G;if(D>0){let N=P>0?Math.round(D/P*100):"?";G=`CACHE HIT: ${D} cached tokens (${N}% of input)`}else if(F===0&&P===0)G="INCONCLUSIVE: Server returns 0 input_tokens — cannot measure";else if(W.elapsed<z.elapsed*0.6&&F>100)G=`POSSIBLE SILENT CACHING: Call 2 was ${Math.round((1-W.elapsed/z.elapsed)*100)}% faster but no cached_tokens reported`;else G="NO CACHE DETECTED";Z.push(`
|
|
17
|
+
Verdict: ${G}`);function u(N){return{input_tokens:N?.input_tokens??0,output_tokens:N?.output_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:0}}function p(N){return{input_tokens:N?.prompt_tokens??0,output_tokens:N?.completion_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:N?.prompt_tokens_details?.cached_tokens??0}}let f=$?u:p,d=f(z.usage),E=f(W.usage);if(Z.push(""),Z.push(` --- What main's shim reports (${$?"codexShim.makeUsage":"openaiShim.convertChunkUsage"}) ---`),Z.push(` Call 1: cache_read_input_tokens=${d.cache_read_input_tokens}`),Z.push(` Call 2: cache_read_input_tokens=${E.cache_read_input_tokens}`),$&&D>0)Z.push(` BUG: Server returned ${D} cached tokens but main's makeUsage() drops it → reports 0`);else if(!$&&E.cache_read_input_tokens>0)Z.push(" OK: Chat Completions path on main correctly reads cached_tokens");k(Z.join(`
|
|
18
|
+
`));let t=X?" (NO cache key sent)":"",l=$?"codexShim.makeUsage()":"openaiShim.convertChunkUsage()";return{type:"text",value:[`Cache Probe — ${V.resolvedModel} via ${$?"Responses API":"Chat Completions"}${t}`,"",`Call 1: ${z.elapsed}ms, input=${F}, cached=${Y(z.usage,"input_tokens_details.cached_tokens")??Y(z.usage,"prompt_tokens_details.cached_tokens")??0}`,`Call 2: ${W.elapsed}ms, input=${P}, cached=${D}`,"",G,"",`What main's ${l} reports:`,` Call 2 cache_read_input_tokens = ${E.cache_read_input_tokens}${$&&D>0?" ← BUG: server sent "+D+" but main drops it":""}`,"","Full details written to debug log."].join(`
|
|
19
|
+
`)}};var Qz=n(()=>{a();r();s();o();zz();e();Jz={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},K=["You are a coding assistant. Answer concisely.","CONTEXT: User is working on a TypeScript project with Bun runtime.",...Array.from({length:80},(J,Q)=>`Rule ${Q+1}: Follow best practices for TypeScript including strict typing, error handling, testing, and clean code. Prefer explicit types over any. Use const assertions. Await all async operations.`)].join(`
|
|
20
|
+
|
|
21
|
+
`)});Qz();export{jz as call};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{bW as L,cW as P,dW as $,hW as Q,iW as U,jW as V,kW as j}from"./cli-0.6.4-6czv84g6.mjs";import{wpa as Z}from"./cli-0.6.4-yrfkm9my.mjs";function w(k,D){let G=new Date(k.timestamp).toISOString(),B=`${G.slice(0,10)} ${G.slice(11,19)}`,I=L(k.metrics);return` #${String(D+1).padStart(3)} ${B} ${k.label.padEnd(28).slice(0,28)} ${I}`}function K(k,D){return`${k.padEnd(18)}${P(D)}`}var v=20,O=async()=>{let k=V(),D=U(),G=Q();if(k.length===0)return{type:"text",value:`Cache stats
|
|
2
|
+
No API requests yet this session.
|
|
3
|
+
Start a turn and re-run /cache-stats to see results.`};let B=k.slice(-v),I=k.length-B.length,q=["Cache stats",""];q.push(K("Current turn:",G)),q.push(K("Session total:",D)),q.push(""),q.push(`Recent requests (${B.length}${I>0?` of ${k.length}, ${I} older omitted`:""}):`),q.push(" # time model cache");for(let[J,Y]of B.entries())q.push(w(Y,k.length-B.length+J));if(B.some((J)=>!J.metrics.supported))q.push(""),q.push(" N/A rows: provider API does not expose cache usage (GitHub Copilot, Ollama)."),q.push(" The request still ran normally — only the metric is unavailable.");return{type:"text",value:q.join(`
|
|
4
|
+
`)}};var A=Z(()=>{j();$()});A();export{O as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Yg as a,Zg as b}from"./cli-0.6.4-48fcth51.mjs";import"./cli-0.6.4-7djzrbzn.mjs";import"./cli-0.6.4-a4wjm2rf.mjs";import"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.mjs";b();export{a as clearSessionCaches};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A$ as A,Pda as X,X8 as V,Xda as H,Y8 as W,Z8 as J,d_ as k,i_ as N,x$ as x}from"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import{Oha as b,Uha as y}from"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-yrfkm9my.mjs";A();y();N();H();J();import{readdir as L,readFile as U,stat as Z}from"fs/promises";import{homedir as _}from"os";import{join as $}from"path";async function F(){let B=W();if(!V.includes(B))throw Error(`Unsupported platform: ${B} - Claude Desktop integration only works on macOS and WSL.`);if(B==="macos")return $(_(),"Library","Application Support","Claude","claude_desktop_config.json");let K=process.env.USERPROFILE?process.env.USERPROFILE.replace(/\\/g,"/"):null;if(K){let q=`/mnt/c${K.replace(/^[A-Z]:/,"")}/AppData/Roaming/Claude/claude_desktop_config.json`;try{return await Z(q),q}catch{}}try{try{let q=await L("/mnt/c/Users",{withFileTypes:!0});for(let z of q){if(z.name==="Public"||z.name==="Default"||z.name==="Default User"||z.name==="All Users")continue;let I=$("/mnt/c/Users",z.name,"AppData","Roaming","Claude","claude_desktop_config.json");try{return await Z(I),I}catch{}}}catch{}}catch(G){X(G)}throw Error("Could not find Claude Desktop config file in Windows. Make sure Claude Desktop is installed on Windows.")}async function h(){if(!V.includes(W()))throw Error("Unsupported platform - Claude Desktop integration only works on macOS and WSL.");try{let B=await F(),K;try{K=await U(B,{encoding:"utf8"})}catch(I){if(b(I)==="ENOENT")return{};throw I}let G=k(K);if(!G||typeof G!=="object")return{};let q=G.mcpServers;if(!q||typeof q!=="object")return{};let z={};for(let[I,Q]of Object.entries(q)){if(!Q||typeof Q!=="object")continue;let Y=x().safeParse(Q);if(Y.success)z[I]=Y.data}return z}catch(B){return X(B),{}}}export{h as readClaudeDesktopMcpServers,F as getClaudeDesktopConfigPath};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$Q as e,XQ as a,YQ as b,ZQ as c,_Q as d,aR as f,bR as g,cR as h,dR as i,eR as j,fR as k,gR as l,hR as m,iR as n,jR as o,kR as p,lR as q,mR as r,nR as s,oR as t}from"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import"./cli-0.6.4-yrfkm9my.mjs";t();export{b as stripHtmlComments,q as shouldShowClaudeMdExternalIncludesWarning,g as resetGetMemoryFilesCache,c as processMemoryFile,d as processMdRules,n as processConditionedMdRules,r as isMemoryFilePath,p as hasExternalClaudeMdIncludes,l as getMemoryFilesForNestedDirectory,e as getMemoryFiles,k as getManagedAndUserConditionalRules,h as getLargeMemoryFiles,o as getExternalClaudeMdIncludes,m as getConditionalRulesForCwdLevelDirectory,j as getClaudeMds,s as getAllMemoryFilePaths,i as filterInjectedMemoryFiles,f as clearMemoryFileCaches,a as MAX_MEMORY_CHARACTER_COUNT};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Wg as a,Xg as l}from"./cli-0.6.4-dzer59m8.mjs";import"./cli-0.6.4-48fcth51.mjs";import"./cli-0.6.4-7djzrbzn.mjs";import"./cli-0.6.4-28pnb4ka.mjs";import"./cli-0.6.4-a4wjm2rf.mjs";import"./cli-0.6.4-4g9qybcx.mjs";import"./cli-0.6.4-v2fsc12w.mjs";import"./cli-0.6.4-0ngrseg8.mjs";import"./cli-0.6.4-cy7jqdcj.mjs";import"./cli-0.6.4-t13eh9gb.mjs";import"./cli-0.6.4-x0pe866a.mjs";import"./cli-0.6.4-jvfz5yaf.mjs";import"./cli-0.6.4-jc2r75s6.mjs";import"./cli-0.6.4-zgzya3hb.mjs";import"./cli-0.6.4-2dm4scsb.mjs";import"./cli-0.6.4-g1qw18ad.mjs";import"./cli-0.6.4-a1der2pe.mjs";import"./cli-0.6.4-7xp2yhpq.mjs";import"./cli-0.6.4-ehexec8h.mjs";import"./cli-0.6.4-vg82smm8.mjs";import"./cli-0.6.4-cp53mw1m.mjs";import"./cli-0.6.4-spysehd5.mjs";import"./cli-0.6.4-cxhs267r.mjs";import"./cli-0.6.4-bgwzkgj9.mjs";import"./cli-0.6.4-vyyncn9y.mjs";import"./cli-0.6.4-7jvtehkv.mjs";import"./cli-0.6.4-z63xq66c.mjs";import"./cli-0.6.4-6czv84g6.mjs";import"./cli-0.6.4-1nzpzrfm.mjs";import"./cli-0.6.4-z3hp0qzv.mjs";import"./cli-0.6.4-vyqg6c95.mjs";import"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-dhyghbjg.mjs";import"./cli-0.6.4-pd75v1wy.mjs";import"./cli-0.6.4-h9ncym59.mjs";import"./cli-0.6.4-dvh5yb9z.mjs";import"./cli-0.6.4-89pes3g1.mjs";import"./cli-0.6.4-p7mvm2y6.mjs";import"./cli-0.6.4-btcax77x.mjs";import"./cli-0.6.4-n9mgjg26.mjs";import"./cli-0.6.4-jra8pavs.mjs";import"./cli-0.6.4-hrs590q0.mjs";import"./cli-0.6.4-ejrq8g7w.mjs";import"./cli-0.6.4-9j2480tb.mjs";import"./cli-0.6.4-2mytx51g.mjs";import"./cli-0.6.4-k498jsqp.mjs";import"./cli-0.6.4-x3pc9zn1.mjs";import"./cli-0.6.4-fh1fzqd2.mjs";import"./cli-0.6.4-bvrcy0gs.mjs";import"./cli-0.6.4-ymgdd6a7.mjs";import"./cli-0.6.4-eykta4ak.mjs";import"./cli-0.6.4-em2mfvpg.mjs";import"./cli-0.6.4-prdj94yp.mjs";import"./cli-0.6.4-771h1906.mjs";import"./cli-0.6.4-s062axqp.mjs";import"./cli-0.6.4-4qyz0e3r.mjs";import"./cli-0.6.4-95vk17cy.mjs";import"./cli-0.6.4-4b3h6h1j.mjs";import"./cli-0.6.4-ksf3bj49.mjs";import"./cli-0.6.4-x6npewbm.mjs";import"./cli-0.6.4-xf6vdp7p.mjs";import"./cli-0.6.4-rqmfmwew.mjs";import"./cli-0.6.4-43y102gt.mjs";import"./cli-0.6.4-1k1e5y32.mjs";import"./cli-0.6.4-yxqfeka0.mjs";import"./cli-0.6.4-0gnhakty.mjs";import"./cli-0.6.4-ge6qg76s.mjs";import"./cli-0.6.4-ysvx8vre.mjs";import"./cli-0.6.4-2d65trmc.mjs";import{wpa as t}from"./cli-0.6.4-yrfkm9my.mjs";var n=async(e,o)=>{return await a(o),{type:"text",value:""}};var m=t(()=>{l()});m();export{n as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{TZ as a,UZ as b,VZ as c}from"./cli-0.6.4-g37ywszt.mjs";import"./cli-0.6.4-yrfkm9my.mjs";c();export{a as getClearTerminalSequence,b as clearTerminal};
|