@claudiolabs/claudin 1.0.17 → 1.1.1
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-1.1.1-s78q59z8.mjs +1 -0
- package/dist/chunks/App-1.1.1-efs19kgh.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.1-batyxczq.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.1-gxh3rb0c.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.1-xn0ghhf8.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.1-myj4gs4r.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.1-1f2wwv81.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.1-915bc3fz.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.1-zvp5dxyf.mjs +7 -0
- package/dist/chunks/Doctor-1.1.1-j54rpjza.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.1-my62gkan.mjs +6 -0
- package/dist/chunks/Grove-1.1.1-shq78y5c.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.1-f7y0hygx.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.1-875g6ewa.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.1-1e52f3nk.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.1-f7qyyszc.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.1-ns4dbmkj.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.1-491ha27w.mjs +1 -0
- package/dist/chunks/REPL-1.1.1-kkw6hq2j.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.1-whkx0y5w.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.1-j6jzkdg3.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.1-b37cg7xp.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.1-52gwqn04.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.1-83ejnp5w.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.1-4hre6f8b.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.1-7tb8517v.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.1-z9y2cj95.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.1-3c8p876v.mjs +1 -0
- package/dist/chunks/add-dir-1.1.1-z9eg0949.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.1-hnfrh305.mjs +1 -0
- package/dist/chunks/agents-1.1.1-hf8w814g.mjs +3 -0
- package/dist/chunks/agents-1.1.1-xqrqkwb5.mjs +110 -0
- package/dist/chunks/api-1.1.1-934f8zxk.mjs +1 -0
- package/dist/chunks/asciicast-1.1.1-e8353bvt.mjs +1 -0
- package/dist/chunks/assistant-1.1.1-mzpss3sh.mjs +1 -0
- package/dist/chunks/auth-1.1.1-8xse81z1.mjs +1 -0
- package/dist/chunks/auth-1.1.1-9f3cp9gp.mjs +1 -0
- package/dist/chunks/autoMode-1.1.1-15ahwpy1.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.1-81k0pg1h.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.1-pndv2vca.mjs +1 -0
- package/dist/chunks/branch-1.1.1-wyjy4jfq.mjs +4 -0
- package/dist/chunks/bridge-1.1.1-fz27rnbb.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.1-1srg7w12.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.1-hpve37v3.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.1-va485rwj.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.1-4e6545em.mjs +1 -0
- package/dist/chunks/btw-1.1.1-2hj5cz16.mjs +1 -0
- package/dist/chunks/buddy-1.1.1-mbavcpyj.mjs +3 -0
- package/dist/chunks/cacache-1.1.1-5brj0j0a.mjs +1 -0
- package/dist/chunks/cache-probe-1.1.1-cy6xfej9.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.1-01qjcc1e.mjs +4 -0
- package/dist/chunks/caches-1.1.1-vcss5vxp.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.1-827j42dz.mjs +1 -0
- package/dist/chunks/claudemd-1.1.1-5j35wnk1.mjs +1 -0
- package/dist/chunks/clear-1.1.1-eb6r6tee.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.1-a2zg5e0p.mjs +1 -0
- package/dist/chunks/cli-1.1.1-01gn0bc1.mjs +2 -0
- package/dist/chunks/cli-1.1.1-01nvax13.mjs +2 -0
- package/dist/chunks/cli-1.1.1-05m3jbze.mjs +2 -0
- package/dist/chunks/cli-1.1.1-0eqyjkcc.mjs +2 -0
- package/dist/chunks/cli-1.1.1-0hn5dj2w.mjs +2 -0
- package/dist/chunks/cli-1.1.1-0rnw8vxn.mjs +2 -0
- package/dist/chunks/cli-1.1.1-0xwez66d.mjs +67 -0
- package/dist/chunks/cli-1.1.1-0xz1de77.mjs +2 -0
- package/dist/chunks/cli-1.1.1-152wk4rk.mjs +2 -0
- package/dist/chunks/cli-1.1.1-1987jcbz.mjs +5 -0
- package/dist/chunks/cli-1.1.1-19wm2xn6.mjs +2 -0
- package/dist/chunks/cli-1.1.1-1q3ezkgp.mjs +4 -0
- package/dist/chunks/cli-1.1.1-1rn8sc8r.mjs +2 -0
- package/dist/chunks/cli-1.1.1-1zr9ww4h.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2b66vsz3.mjs +3 -0
- package/dist/chunks/cli-1.1.1-2ck5yx9f.mjs +18 -0
- package/dist/chunks/cli-1.1.1-2eervm4j.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2g0asdx9.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2hr65a5m.mjs +4 -0
- package/dist/chunks/cli-1.1.1-2jscs5ek.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2r6j3hc2.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2wmsmw96.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2xecrgas.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2y2npk6a.mjs +2 -0
- package/dist/chunks/cli-1.1.1-2yqkaj2a.mjs +4 -0
- package/dist/chunks/cli-1.1.1-38kc1r2d.mjs +2 -0
- package/dist/chunks/cli-1.1.1-3avcamf3.mjs +39 -0
- package/dist/chunks/cli-1.1.1-3fb7zat9.mjs +9 -0
- package/dist/chunks/cli-1.1.1-3nhzbd0x.mjs +2 -0
- package/dist/chunks/cli-1.1.1-3pspjtmp.mjs +18 -0
- package/dist/chunks/cli-1.1.1-3wx8xt0d.mjs +2 -0
- package/dist/chunks/cli-1.1.1-3y91rx7d.mjs +2 -0
- package/dist/chunks/cli-1.1.1-3yhgq98b.mjs +2 -0
- package/dist/chunks/cli-1.1.1-3yk5zm2a.mjs +2 -0
- package/dist/chunks/cli-1.1.1-3zwjajhq.mjs +2 -0
- package/dist/chunks/cli-1.1.1-4232y84r.mjs +2 -0
- package/dist/chunks/cli-1.1.1-48eqv75k.mjs +202 -0
- package/dist/chunks/cli-1.1.1-4exyd7ra.mjs +2 -0
- package/dist/chunks/cli-1.1.1-4j7t9vcq.mjs +2 -0
- package/dist/chunks/cli-1.1.1-4nf2hftc.mjs +24 -0
- package/dist/chunks/cli-1.1.1-51qpx7j4.mjs +2 -0
- package/dist/chunks/cli-1.1.1-5a13gyb4.mjs +2 -0
- package/dist/chunks/cli-1.1.1-5yv8wq29.mjs +2 -0
- package/dist/chunks/cli-1.1.1-6121wy9f.mjs +3 -0
- package/dist/chunks/cli-1.1.1-6587ae95.mjs +2 -0
- package/dist/chunks/cli-1.1.1-65apqfps.mjs +2 -0
- package/dist/chunks/cli-1.1.1-6h5x77nq.mjs +2 -0
- package/dist/chunks/cli-1.1.1-6n2sxzhk.mjs +2 -0
- package/dist/chunks/cli-1.1.1-6tztmxpt.mjs +2 -0
- package/dist/chunks/cli-1.1.1-6wwgxn4p.mjs +2 -0
- package/dist/chunks/cli-1.1.1-6zke1wc8.mjs +2 -0
- package/dist/chunks/cli-1.1.1-71h16h6t.mjs +4 -0
- package/dist/chunks/cli-1.1.1-71vwpynf.mjs +2 -0
- package/dist/chunks/cli-1.1.1-774eebcf.mjs +2 -0
- package/dist/chunks/cli-1.1.1-783296xh.mjs +6 -0
- package/dist/chunks/cli-1.1.1-7bhncvpq.mjs +4 -0
- package/dist/chunks/cli-1.1.1-7gkmf39y.mjs +25 -0
- package/dist/chunks/cli-1.1.1-7t3w18nd.mjs +2 -0
- package/dist/chunks/cli-1.1.1-7x4t5f2a.mjs +2 -0
- package/dist/chunks/cli-1.1.1-85rrb9q4.mjs +2 -0
- package/dist/chunks/cli-1.1.1-884t9g0f.mjs +2 -0
- package/dist/chunks/cli-1.1.1-8ar2s628.mjs +2 -0
- package/dist/chunks/cli-1.1.1-8bt9x8md.mjs +2 -0
- package/dist/chunks/cli-1.1.1-8g62r2pb.mjs +2 -0
- package/dist/chunks/cli-1.1.1-8hpszz5x.mjs +3 -0
- package/dist/chunks/cli-1.1.1-8tzp0yrd.mjs +2 -0
- package/dist/chunks/cli-1.1.1-8zfnrs72.mjs +2 -0
- package/dist/chunks/cli-1.1.1-8zjem87v.mjs +9 -0
- package/dist/chunks/cli-1.1.1-8zzt6htb.mjs +3 -0
- package/dist/chunks/cli-1.1.1-94s27fva.mjs +2 -0
- package/dist/chunks/cli-1.1.1-98h55a72.mjs +2 -0
- package/dist/chunks/cli-1.1.1-9kv5a6f4.mjs +2 -0
- package/dist/chunks/cli-1.1.1-9p39qc3e.mjs +5638 -0
- package/dist/chunks/cli-1.1.1-9q6jbhm6.mjs +6 -0
- package/dist/chunks/cli-1.1.1-9rjrg0tv.mjs +7 -0
- package/dist/chunks/cli-1.1.1-9rrtz0k2.mjs +2 -0
- package/dist/chunks/cli-1.1.1-9syt3cqd.mjs +2 -0
- package/dist/chunks/cli-1.1.1-9tqznq04.mjs +6 -0
- package/dist/chunks/cli-1.1.1-9w0d3wxf.mjs +2 -0
- package/dist/chunks/cli-1.1.1-9wd4xvzd.mjs +2 -0
- package/dist/chunks/cli-1.1.1-9xxs59n0.mjs +4 -0
- package/dist/chunks/cli-1.1.1-a0pp3xv5.mjs +2 -0
- package/dist/chunks/cli-1.1.1-a2aanf2k.mjs +2 -0
- package/dist/chunks/cli-1.1.1-a8r32wr9.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ajerx2nx.mjs +2 -0
- package/dist/chunks/cli-1.1.1-atzkmfy8.mjs +2 -0
- package/dist/chunks/cli-1.1.1-b1kqmh2w.mjs +8 -0
- package/dist/chunks/cli-1.1.1-b7abx3n7.mjs +2 -0
- package/dist/chunks/cli-1.1.1-bb95back.mjs +2 -0
- package/dist/chunks/cli-1.1.1-bkqayrk3.mjs +2 -0
- package/dist/chunks/cli-1.1.1-bzdx5f9h.mjs +2 -0
- package/dist/chunks/cli-1.1.1-bzqzhffr.mjs +4 -0
- package/dist/chunks/cli-1.1.1-ck3y4av6.mjs +2 -0
- package/dist/chunks/cli-1.1.1-cw6t7x5a.mjs +2 -0
- package/dist/chunks/cli-1.1.1-d21wwf9h.mjs +2 -0
- package/dist/chunks/cli-1.1.1-d63f9zds.mjs +2 -0
- package/dist/chunks/cli-1.1.1-daz59drp.mjs +2 -0
- package/dist/chunks/cli-1.1.1-dmd0wakf.mjs +21 -0
- package/dist/chunks/cli-1.1.1-e5sc3rwd.mjs +1 -0
- package/dist/chunks/cli-1.1.1-ea6eap5z.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ebax5r8y.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ec3zbk9q.mjs +2 -0
- package/dist/chunks/cli-1.1.1-egnem382.mjs +24 -0
- package/dist/chunks/cli-1.1.1-ekcthfcd.mjs +25 -0
- package/dist/chunks/cli-1.1.1-ex0sqz63.mjs +2 -0
- package/dist/chunks/cli-1.1.1-f4f8asne.mjs +12 -0
- package/dist/chunks/cli-1.1.1-fnhx5s3j.mjs +18 -0
- package/dist/chunks/cli-1.1.1-fwshj75j.mjs +2 -0
- package/dist/chunks/cli-1.1.1-g1awxrn4.mjs +4 -0
- package/dist/chunks/cli-1.1.1-g69kxy79.mjs +2 -0
- package/dist/chunks/cli-1.1.1-g76vwnqj.mjs +2 -0
- package/dist/chunks/cli-1.1.1-g7j0r82j.mjs +2 -0
- package/dist/chunks/cli-1.1.1-g96by86m.mjs +2 -0
- package/dist/chunks/cli-1.1.1-gkynj1h3.mjs +133 -0
- package/dist/chunks/cli-1.1.1-gmxcjwmv.mjs +2 -0
- package/dist/chunks/cli-1.1.1-gnhxj8zp.mjs +2 -0
- package/dist/chunks/cli-1.1.1-gtbama8g.mjs +2 -0
- package/dist/chunks/cli-1.1.1-gv6thx1d.mjs +2 -0
- package/dist/chunks/cli-1.1.1-h13exkfb.mjs +2 -0
- package/dist/chunks/cli-1.1.1-hd439wse.mjs +2 -0
- package/dist/chunks/cli-1.1.1-hjpxjf64.mjs +2 -0
- package/dist/chunks/cli-1.1.1-hz3enw9q.mjs +5 -0
- package/dist/chunks/cli-1.1.1-jebnfazq.mjs +2 -0
- package/dist/chunks/cli-1.1.1-jfy1zmx2.mjs +15 -0
- package/dist/chunks/cli-1.1.1-jht24afj.mjs +2 -0
- package/dist/chunks/cli-1.1.1-jhxy6tyz.mjs +2 -0
- package/dist/chunks/cli-1.1.1-jtdjbvbn.mjs +50 -0
- package/dist/chunks/cli-1.1.1-jv6s649f.mjs +3 -0
- package/dist/chunks/cli-1.1.1-jvcpm7sm.mjs +58 -0
- package/dist/chunks/cli-1.1.1-kb84b41j.mjs +45 -0
- package/dist/chunks/cli-1.1.1-kbqy5x92.mjs +2 -0
- package/dist/chunks/cli-1.1.1-kembhhn1.mjs +3 -0
- package/dist/chunks/cli-1.1.1-kwhspda1.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ma5v2jch.mjs +2 -0
- package/dist/chunks/cli-1.1.1-matkcn4v.mjs +3 -0
- package/dist/chunks/cli-1.1.1-mfkfar88.mjs +2 -0
- package/dist/chunks/cli-1.1.1-mqrbnazn.mjs +2 -0
- package/dist/chunks/cli-1.1.1-mqx6avyz.mjs +4 -0
- package/dist/chunks/cli-1.1.1-mxx5vd6y.mjs +2 -0
- package/dist/chunks/cli-1.1.1-mymbst6p.mjs +4 -0
- package/dist/chunks/cli-1.1.1-n5zzg2fv.mjs +2 -0
- package/dist/chunks/cli-1.1.1-n70wqfbp.mjs +2 -0
- package/dist/chunks/cli-1.1.1-n7mc6bx5.mjs +2 -0
- package/dist/chunks/cli-1.1.1-npd8k2hb.mjs +2 -0
- package/dist/chunks/cli-1.1.1-nrfj4jj5.mjs +6 -0
- package/dist/chunks/cli-1.1.1-ntngssqy.mjs +2 -0
- package/dist/chunks/cli-1.1.1-nwg10cz1.mjs +2 -0
- package/dist/chunks/cli-1.1.1-p6v0z6hs.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ped3g2j0.mjs +16 -0
- package/dist/chunks/cli-1.1.1-q40shhn8.mjs +2 -0
- package/dist/chunks/cli-1.1.1-q9wvkkjf.mjs +59 -0
- package/dist/chunks/cli-1.1.1-qfasf488.mjs +3 -0
- package/dist/chunks/cli-1.1.1-qx9beg4x.mjs +2 -0
- package/dist/chunks/cli-1.1.1-r0ewpxvn.mjs +2 -0
- package/dist/chunks/cli-1.1.1-r6d3a12p.mjs +2 -0
- package/dist/chunks/cli-1.1.1-r6rebhmb.mjs +6 -0
- package/dist/chunks/cli-1.1.1-r9nn4cq9.mjs +2 -0
- package/dist/chunks/cli-1.1.1-rcxk0q47.mjs +3 -0
- package/dist/chunks/cli-1.1.1-rd13jv1m.mjs +2 -0
- package/dist/chunks/cli-1.1.1-rkjpq1rt.mjs +2 -0
- package/dist/chunks/cli-1.1.1-rrfnctm7.mjs +2 -0
- package/dist/chunks/cli-1.1.1-s0qbvs8w.mjs +2 -0
- package/dist/chunks/cli-1.1.1-sbhptgsa.mjs +2 -0
- package/dist/chunks/cli-1.1.1-sj83jazr.mjs +2 -0
- package/dist/chunks/cli-1.1.1-sj9xzz88.mjs +2 -0
- package/dist/chunks/cli-1.1.1-str8bn0w.mjs +20 -0
- package/dist/chunks/cli-1.1.1-t3pmg9eh.mjs +2 -0
- package/dist/chunks/cli-1.1.1-tekhwq09.mjs +2 -0
- package/dist/chunks/cli-1.1.1-tmpebtqd.mjs +24 -0
- package/dist/chunks/cli-1.1.1-tmrnrx8v.mjs +2 -0
- package/dist/chunks/cli-1.1.1-tn50af03.mjs +2 -0
- package/dist/chunks/cli-1.1.1-v9ar4kzn.mjs +15 -0
- package/dist/chunks/cli-1.1.1-v9xqeqz0.mjs +12 -0
- package/dist/chunks/cli-1.1.1-ve2ye3ad.mjs +2 -0
- package/dist/chunks/cli-1.1.1-vj8vq3r2.mjs +2 -0
- package/dist/chunks/cli-1.1.1-vrj1t108.mjs +2 -0
- package/dist/chunks/cli-1.1.1-vsc2bhws.mjs +2 -0
- package/dist/chunks/cli-1.1.1-vvjjnyzw.mjs +2 -0
- package/dist/chunks/cli-1.1.1-vyet04sj.mjs +2 -0
- package/dist/chunks/cli-1.1.1-wp27gqf3.mjs +12 -0
- package/dist/chunks/cli-1.1.1-wpky02br.mjs +2 -0
- package/dist/chunks/cli-1.1.1-wqdpr3ra.mjs +2 -0
- package/dist/chunks/cli-1.1.1-wtn7e4jz.mjs +15 -0
- package/dist/chunks/cli-1.1.1-wxtm9yxy.mjs +34 -0
- package/dist/chunks/cli-1.1.1-x3ae1bxc.mjs +42 -0
- package/dist/chunks/cli-1.1.1-x61tsmhm.mjs +2 -0
- package/dist/chunks/cli-1.1.1-x7n7cp4n.mjs +3 -0
- package/dist/chunks/cli-1.1.1-xdq9vz2v.mjs +2 -0
- package/dist/chunks/cli-1.1.1-xksd65yv.mjs +3 -0
- package/dist/chunks/cli-1.1.1-xx3e0bn5.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ya166ffm.mjs +17 -0
- package/dist/chunks/cli-1.1.1-yc3xhtyn.mjs +12 -0
- package/dist/chunks/cli-1.1.1-ych7rrbd.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ye3hmdgh.mjs +3 -0
- package/dist/chunks/cli-1.1.1-yga1m543.mjs +2 -0
- package/dist/chunks/cli-1.1.1-ypkgwx9d.mjs +2 -0
- package/dist/chunks/cli-1.1.1-yqss3x1b.mjs +133 -0
- package/dist/chunks/cli-1.1.1-z0pk7sm0.mjs +2 -0
- package/dist/chunks/cli-1.1.1-z31vnjht.mjs +2 -0
- package/dist/chunks/cli-1.1.1-zbnepy2q.mjs +4 -0
- package/dist/chunks/cli-1.1.1-zmzpxmeq.mjs +2 -0
- package/dist/chunks/cli-1.1.1-zve2w6c9.mjs +17 -0
- package/dist/chunks/cli-1.1.1-zxvwb38m.mjs +2 -0
- package/dist/chunks/client-1.1.1-j3w0pe6c.mjs +1 -0
- package/dist/chunks/color-1.1.1-h26c9ne7.mjs +1 -0
- package/dist/chunks/compact-1.1.1-w47181ep.mjs +3 -0
- package/dist/chunks/config-1.1.1-6zcy87ar.mjs +1 -0
- package/dist/chunks/config-1.1.1-trscazmb.mjs +1 -0
- package/dist/chunks/constants-1.1.1-ttnprx1k.mjs +1 -0
- package/dist/chunks/context-1.1.1-5sgcsmam.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.1-7hjf19rb.mjs +1 -0
- package/dist/chunks/conversation-1.1.1-z6tpmna3.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.1-qv8vd2vd.mjs +1 -0
- package/dist/chunks/copy-1.1.1-x5m52tqg.mjs +9 -0
- package/dist/chunks/cost-1.1.1-rt2rxwm1.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.1-fgm4775d.mjs +1 -0
- package/dist/chunks/createSession-1.1.1-878gtbt1.mjs +1 -0
- package/dist/chunks/debug-1.1.1-d8qa0g0j.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.1-bepehy24.mjs +1446 -0
- package/dist/chunks/desktop-1.1.1-abjyemqy.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.1-khq8s53d.mjs +1 -0
- package/dist/chunks/detection-1.1.1-hjbac0c8.mjs +1 -0
- package/dist/chunks/diff-1.1.1-9xwv88x6.mjs +1 -0
- package/dist/chunks/doctor-1.1.1-fszqkj4v.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.1-w8ngdv52.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.1-c4n49v4q.mjs +1 -0
- package/dist/chunks/effort-1.1.1-esmpmzxn.mjs +13 -0
- package/dist/chunks/engine-1.1.1-07myw22m.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.1-byfwm61g.mjs +1 -0
- package/dist/chunks/envUtils-1.1.1-ww093azg.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.1-295v5dqy.mjs +1 -0
- package/dist/chunks/environments-1.1.1-hpwr5w28.mjs +1 -0
- package/dist/chunks/errors-1.1.1-hftq1zkm.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.1-f82pb78c.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.1-d1aydfab.mjs +1 -0
- package/dist/chunks/exit-1.1.1-yc9akff2.mjs +1 -0
- package/dist/chunks/explorer-1.1.1-vmv967b9.mjs +1 -0
- package/dist/chunks/export-1.1.1-0z1e15hc.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.1-4twkmntw.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.1-jg9fj653.mjs +1 -0
- package/dist/chunks/fast-1.1.1-qys2km8z.mjs +1 -0
- package/dist/chunks/feedback-1.1.1-tr4y0ch0.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.1-7wz7x5ra.mjs +1 -0
- package/dist/chunks/git-1.1.1-51pkabvr.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.1-2zygs5gw.mjs +1 -0
- package/dist/chunks/goal-1.1.1-e9phftpw.mjs +4 -0
- package/dist/chunks/grove-1.1.1-1ag8h7p5.mjs +1 -0
- package/dist/chunks/growthbook-1.1.1-qef68xgb.mjs +1 -0
- package/dist/chunks/headless-1.1.1-jy6w561r.mjs +2 -0
- package/dist/chunks/heapdump-1.1.1-ed456vky.mjs +6 -0
- package/dist/chunks/help-1.1.1-t8j5v83g.mjs +1 -0
- package/dist/chunks/hookChains-1.1.1-vhpc5ejj.mjs +3 -0
- package/dist/chunks/hooks-1.1.1-sb1mqcpz.mjs +79 -0
- package/dist/chunks/hooks-1.1.1-v40qht7p.mjs +1 -0
- package/dist/chunks/ide-1.1.1-jq6fzrr8.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.1-4y6xb66j.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.1-kt406stw.mjs +1 -0
- package/dist/chunks/index-1.1.1-22g434vw.mjs +1 -0
- package/dist/chunks/index-1.1.1-3tqmdx42.mjs +1 -0
- package/dist/chunks/index-1.1.1-6b23qrhd.mjs +1 -0
- package/dist/chunks/index-1.1.1-831bha9e.mjs +1 -0
- package/dist/chunks/index-1.1.1-8cnva9ne.mjs +1 -0
- package/dist/chunks/index-1.1.1-8da5q9g0.mjs +1 -0
- package/dist/chunks/index-1.1.1-90ykavq0.mjs +2 -0
- package/dist/chunks/index-1.1.1-99zmp2ps.mjs +30 -0
- package/dist/chunks/index-1.1.1-9px0bvba.mjs +1 -0
- package/dist/chunks/index-1.1.1-9y71kyrj.mjs +2 -0
- package/dist/chunks/index-1.1.1-adq8vvcq.mjs +5 -0
- package/dist/chunks/index-1.1.1-d9d1y0xy.mjs +1 -0
- package/dist/chunks/index-1.1.1-f3c3172e.mjs +9 -0
- package/dist/chunks/index-1.1.1-faj87xfe.mjs +1 -0
- package/dist/chunks/index-1.1.1-g0ax59dw.mjs +1 -0
- package/dist/chunks/index-1.1.1-h17gbfyk.mjs +1 -0
- package/dist/chunks/index-1.1.1-q6fnrh31.mjs +1 -0
- package/dist/chunks/index-1.1.1-qzgt3tqq.mjs +1 -0
- package/dist/chunks/index-1.1.1-rkne46w2.mjs +1 -0
- package/dist/chunks/index-1.1.1-wy3wddv5.mjs +17 -0
- package/dist/chunks/index-1.1.1-x398ec1v.mjs +1 -0
- package/dist/chunks/index-1.1.1-y44m8pc8.mjs +9 -0
- package/dist/chunks/index-1.1.1-ymbhqb7a.mjs +1 -0
- package/dist/chunks/init-1.1.1-xz02rb2g.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.1-kv3zvcqm.mjs +1 -0
- package/dist/chunks/ink-1.1.1-ts8kz51v.mjs +1 -0
- package/dist/chunks/insights-1.1.1-ngjqkjt0.mjs +870 -0
- package/dist/chunks/install-1.1.1-4r1x1e7v.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.1-bwwf005w.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.1-adwykfa7.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.1-mgk4dsdp.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.1-2kmkwc3e.mjs +1 -0
- package/dist/chunks/keybindings-1.1.1-217cgz80.mjs +2 -0
- package/dist/chunks/knowledge-1.1.1-h9nvn3pk.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.1-v0bjj4j7.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.1-fvfkg4pz.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.1-09829bee.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.1-ks9c0rqf.mjs +1 -0
- package/dist/chunks/log-1.1.1-ny9tjyjz.mjs +1 -0
- package/dist/chunks/main-1.1.1-dk2pmpcr.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.1-vh54nadj.mjs +1 -0
- package/dist/chunks/mcp-1.1.1-0xajrtdb.mjs +17 -0
- package/dist/chunks/mcp-1.1.1-vbcrdqmb.mjs +4 -0
- package/dist/chunks/mcp-1.1.1-xp78k98x.mjs +1 -0
- package/dist/chunks/mcpb-1.1.1-rhne101r.mjs +1 -0
- package/dist/chunks/memory-1.1.1-scrmwf7c.mjs +72 -0
- package/dist/chunks/model-1.1.1-as90vvvf.mjs +1 -0
- package/dist/chunks/model-1.1.1-jyf2vnvg.mjs +2 -0
- package/dist/chunks/node-1.1.1-ha7q8qzq.mjs +12 -0
- package/dist/chunks/oauth-1.1.1-stj442qp.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.1-tbbj59s9.mjs +14 -0
- package/dist/chunks/output-style-1.1.1-s7dgeq38.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.1.1-sw5txmkn.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.1-yq34k18v.mjs +1 -0
- package/dist/chunks/parser-1.1.1-905wxz1h.mjs +1 -0
- package/dist/chunks/passes-1.1.1-tzyxx4nr.mjs +1 -0
- package/dist/chunks/permissions-1.1.1-32frrkp8.mjs +3 -0
- package/dist/chunks/permissions-1.1.1-52vyx1cw.mjs +1 -0
- package/dist/chunks/plan-1.1.1-1xwn0q2w.mjs +1 -0
- package/dist/chunks/plist-1.1.1-x63x823y.mjs +1 -0
- package/dist/chunks/plugin-1.1.1-2137mb81.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.1-vswc3yva.mjs +1 -0
- package/dist/chunks/plugins-1.1.1-qwrzc7gx.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.1-81dgne38.mjs +2 -0
- package/dist/chunks/print-1.1.1-zxwjkq6w.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.1-7taqcgcn.mjs +1 -0
- package/dist/chunks/process-1.1.1-cmc5gnbm.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.1-7mebt6rm.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.1-hp957bf8.mjs +9 -0
- package/dist/chunks/prompt-1.1.1-1ebtk0je.mjs +1 -0
- package/dist/chunks/prompt-1.1.1-rghw84pr.mjs +1 -0
- package/dist/chunks/prompts-1.1.1-x63nzadg.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.1-8006jsvm.mjs +13 -0
- package/dist/chunks/provider-1.1.1-znmbhpqc.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.1-tncrzs7g.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.1-hvgdx6gz.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.1-03pfc3mn.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.1-d7trtqbt.mjs +34 -0
- package/dist/chunks/registry-1.1.1-10hk5pdr.mjs +1 -0
- package/dist/chunks/release-notes-1.1.1-ymmqtngr.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.1-y2fq7m0b.mjs +2 -0
- package/dist/chunks/remote-env-1.1.1-09923mmx.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.1-shksn0qq.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.1-x6zsy3p0.mjs +1 -0
- package/dist/chunks/rename-1.1.1-33edcj9v.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.1-pm1k9p9p.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.1-v540zdz4.mjs +1 -0
- package/dist/chunks/resume-1.1.1-dh01es5c.mjs +2 -0
- package/dist/chunks/rewind-1.1.1-c67qy3xg.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.1-ffyvn3c6.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.1-mm9fvkrt.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.1-t72pc0m1.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.1-ftncjx7h.mjs +1 -0
- package/dist/chunks/session-1.1.1-npa4qjy3.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.1-mnz0wg6k.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.1-rkn2r5h7.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.1-1swj757c.mjs +1 -0
- package/dist/chunks/settings-1.1.1-22mzj46y.mjs +1 -0
- package/dist/chunks/setup-1.1.1-f7fxdsa8.mjs +5 -0
- package/dist/chunks/sinks-1.1.1-000q9sh0.mjs +1 -0
- package/dist/chunks/skills-1.1.1-e5343fy7.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.1-47a6124t.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.1-acthvy1s.mjs +1 -0
- package/dist/chunks/state-1.1.1-7pv2ergw.mjs +1 -0
- package/dist/chunks/stats-1.1.1-gkq9kw3d.mjs +6 -0
- package/dist/chunks/status-1.1.1-c8wh646y.mjs +1 -0
- package/dist/chunks/stickers-1.1.1-x16691x3.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.1-s9eb1ebz.mjs +1 -0
- package/dist/chunks/tasks-1.1.1-hf2m8vwd.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.1-bh0tny54.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.1-33rs06c9.mjs +1 -0
- package/dist/chunks/teleport-1.1.1-8tegxvgv.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.1-dckvxw7f.mjs +1 -0
- package/dist/chunks/theme-1.1.1-xdyfpwgx.mjs +1 -0
- package/dist/chunks/thinkback-1.1.1-48dgjam0.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.1-ja387fza.mjs +1 -0
- package/dist/chunks/toolPool-1.1.1-7byzrvcw.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.1-ptantdef.mjs +1 -0
- package/dist/chunks/tools-1.1.1-ptw1g92g.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.1-adv5nypt.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.1-b28vqpjf.mjs +69 -0
- package/dist/chunks/types-1.1.1-8fh9zk18.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.1-g05tw4qq.mjs +4 -0
- package/dist/chunks/update-1.1.1-kbve1bfd.mjs +88 -0
- package/dist/chunks/upgrade-1.1.1-6kxsf3f3.mjs +1 -0
- package/dist/chunks/upload-1.1.1-ymhqntg7.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.1-e5mpv3vk.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.1-v5t4s4mm.mjs +1 -0
- package/dist/chunks/usage-1.1.1-7vhbkw6t.mjs +1 -0
- package/dist/chunks/util-1.1.1-1gy72074.mjs +1 -0
- package/dist/chunks/utils-1.1.1-dk86qenr.mjs +1 -0
- package/dist/chunks/vim-1.1.1-3xxzx58p.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.1-cs9xsv8s.mjs +13 -0
- package/dist/chunks/watcher-1.1.1-36zhrjfn.mjs +1 -0
- package/dist/chunks/wiki-1.1.1-wgesmc0j.mjs +132 -0
- package/dist/chunks/workflows-1.1.1-gjxqq9he.mjs +1 -0
- package/dist/chunks/worktree-1.1.1-2bwg78x8.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.1-d42z1v61.mjs +1 -0
- package/dist/chunks/wrapper-1.1.1-tevg51mj.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.17-5sh00rvp.mjs +0 -1
- package/dist/chunks/App-1.0.17-21x955nf.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.17-v9qwnks3.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.17-7fhpba7s.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.17-1f2htb8d.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.17-f0sxwzjz.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.17-3vym5r13.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.17-zm43ebg6.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.17-4tms55j9.mjs +0 -7
- package/dist/chunks/Doctor-1.0.17-t06djmxa.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.17-70s33s8m.mjs +0 -6
- package/dist/chunks/Grove-1.0.17-yjm80k3b.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.17-9m0b17d2.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.17-emahg4dz.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.17-c6e0v6c3.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.17-c7bybvmz.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.17-b8ejyr1p.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.17-p0r1dne9.mjs +0 -1
- package/dist/chunks/REPL-1.0.17-wgem7h01.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.17-bjzzhjqs.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.17-k7x0a14y.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.17-an8ph2xk.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.17-tsxxhwhb.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.17-ktxtd7sf.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.17-ffkbx4sp.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.17-x1hvw496.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.17-3k9jkx42.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.17-3ndd66y9.mjs +0 -1
- package/dist/chunks/add-dir-1.0.17-c4r7f3at.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.17-neqgdzv4.mjs +0 -1
- package/dist/chunks/agents-1.0.17-s7nhde9z.mjs +0 -110
- package/dist/chunks/agents-1.0.17-sfz2xbbe.mjs +0 -3
- package/dist/chunks/api-1.0.17-wawrdq5e.mjs +0 -1
- package/dist/chunks/asciicast-1.0.17-x1k7s3xe.mjs +0 -1
- package/dist/chunks/assistant-1.0.17-j9qj4tcs.mjs +0 -1
- package/dist/chunks/auth-1.0.17-31h7x8d1.mjs +0 -1
- package/dist/chunks/auth-1.0.17-mm386118.mjs +0 -1
- package/dist/chunks/autoMode-1.0.17-tqqmwaya.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.17-wyfmhbnx.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.17-10bcwm4v.mjs +0 -1
- package/dist/chunks/branch-1.0.17-k80de7gn.mjs +0 -4
- package/dist/chunks/bridge-1.0.17-tcs32wqn.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.17-fw6mj0cy.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.17-3j84y5ft.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.17-2fm7fkaf.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.17-16f5ek10.mjs +0 -1
- package/dist/chunks/btw-1.0.17-jx41dad0.mjs +0 -1
- package/dist/chunks/buddy-1.0.17-845ax733.mjs +0 -3
- package/dist/chunks/cacache-1.0.17-b2nj6hfy.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.17-zwhwxqas.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.17-ryzxdsqt.mjs +0 -4
- package/dist/chunks/caches-1.0.17-11t05bjz.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.17-53efpe93.mjs +0 -1
- package/dist/chunks/claudemd-1.0.17-zse4k4wj.mjs +0 -1
- package/dist/chunks/clear-1.0.17-jk7fy20t.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.17-3veatmfp.mjs +0 -1
- package/dist/chunks/cli-1.0.17-04mwr39a.mjs +0 -2
- package/dist/chunks/cli-1.0.17-05v12vep.mjs +0 -2
- package/dist/chunks/cli-1.0.17-082vgztb.mjs +0 -6
- package/dist/chunks/cli-1.0.17-0g7kgsx0.mjs +0 -2
- package/dist/chunks/cli-1.0.17-0gwvjedx.mjs +0 -2
- package/dist/chunks/cli-1.0.17-0h68yp5q.mjs +0 -2
- package/dist/chunks/cli-1.0.17-0h8rgkqn.mjs +0 -18
- package/dist/chunks/cli-1.0.17-0r3rrjqs.mjs +0 -2
- package/dist/chunks/cli-1.0.17-10rqsvs2.mjs +0 -2
- package/dist/chunks/cli-1.0.17-142ww3xz.mjs +0 -67
- package/dist/chunks/cli-1.0.17-182fckgj.mjs +0 -2
- package/dist/chunks/cli-1.0.17-1ay7n4n5.mjs +0 -2
- package/dist/chunks/cli-1.0.17-1d9ccn16.mjs +0 -2
- package/dist/chunks/cli-1.0.17-1gh241a0.mjs +0 -50
- package/dist/chunks/cli-1.0.17-1nnc1g3f.mjs +0 -2
- package/dist/chunks/cli-1.0.17-1ptwye5c.mjs +0 -25
- package/dist/chunks/cli-1.0.17-1w8t10bs.mjs +0 -59
- package/dist/chunks/cli-1.0.17-1ycfrbcz.mjs +0 -133
- package/dist/chunks/cli-1.0.17-1yj54t22.mjs +0 -2
- package/dist/chunks/cli-1.0.17-23znd3er.mjs +0 -2
- package/dist/chunks/cli-1.0.17-28rys8n5.mjs +0 -2
- package/dist/chunks/cli-1.0.17-2c5rzypz.mjs +0 -2
- package/dist/chunks/cli-1.0.17-2f86ehqm.mjs +0 -2
- package/dist/chunks/cli-1.0.17-2jt2w5sh.mjs +0 -42
- package/dist/chunks/cli-1.0.17-2mdpd30s.mjs +0 -3
- package/dist/chunks/cli-1.0.17-2yxp2sz6.mjs +0 -2
- package/dist/chunks/cli-1.0.17-3939hx4x.mjs +0 -2
- package/dist/chunks/cli-1.0.17-3ba3vg5e.mjs +0 -6
- package/dist/chunks/cli-1.0.17-3dm1st8c.mjs +0 -4
- package/dist/chunks/cli-1.0.17-46tr5weq.mjs +0 -2
- package/dist/chunks/cli-1.0.17-472de7yw.mjs +0 -2
- package/dist/chunks/cli-1.0.17-4dka7p1w.mjs +0 -3
- package/dist/chunks/cli-1.0.17-4e7wpg9g.mjs +0 -2
- package/dist/chunks/cli-1.0.17-4ppbs89h.mjs +0 -2
- package/dist/chunks/cli-1.0.17-4prxa3t4.mjs +0 -2
- package/dist/chunks/cli-1.0.17-4qh79bzg.mjs +0 -2
- package/dist/chunks/cli-1.0.17-5g9z2hnd.mjs +0 -2
- package/dist/chunks/cli-1.0.17-5j5603y3.mjs +0 -2
- package/dist/chunks/cli-1.0.17-5jrh9pw3.mjs +0 -6
- package/dist/chunks/cli-1.0.17-5my2a6t5.mjs +0 -2
- package/dist/chunks/cli-1.0.17-5wvqpfzb.mjs +0 -4
- package/dist/chunks/cli-1.0.17-6amam79j.mjs +0 -4
- package/dist/chunks/cli-1.0.17-6gqj4d8v.mjs +0 -2
- package/dist/chunks/cli-1.0.17-6hxscz8d.mjs +0 -2
- package/dist/chunks/cli-1.0.17-6ty7z7jt.mjs +0 -2
- package/dist/chunks/cli-1.0.17-70a54p8v.mjs +0 -2
- package/dist/chunks/cli-1.0.17-7ngvd609.mjs +0 -2
- package/dist/chunks/cli-1.0.17-7p5c1h67.mjs +0 -2
- package/dist/chunks/cli-1.0.17-89k0njkm.mjs +0 -2
- package/dist/chunks/cli-1.0.17-89p1ntv1.mjs +0 -4
- package/dist/chunks/cli-1.0.17-8c9eadan.mjs +0 -2
- package/dist/chunks/cli-1.0.17-8f71d8ge.mjs +0 -2
- package/dist/chunks/cli-1.0.17-8gd4gtyj.mjs +0 -39
- package/dist/chunks/cli-1.0.17-8h47dvj2.mjs +0 -12
- package/dist/chunks/cli-1.0.17-8jrync3y.mjs +0 -2
- package/dist/chunks/cli-1.0.17-8r1zjpkg.mjs +0 -2
- package/dist/chunks/cli-1.0.17-8tbkxnj4.mjs +0 -2
- package/dist/chunks/cli-1.0.17-8vch8btt.mjs +0 -2
- package/dist/chunks/cli-1.0.17-926g8p8g.mjs +0 -2
- package/dist/chunks/cli-1.0.17-95kcmvj1.mjs +0 -2
- package/dist/chunks/cli-1.0.17-9868wetk.mjs +0 -2
- package/dist/chunks/cli-1.0.17-9kwckjes.mjs +0 -15
- package/dist/chunks/cli-1.0.17-9xr21bd5.mjs +0 -45
- package/dist/chunks/cli-1.0.17-a0qpbbgx.mjs +0 -2
- package/dist/chunks/cli-1.0.17-a49frejp.mjs +0 -2
- package/dist/chunks/cli-1.0.17-a6mc44b2.mjs +0 -4
- package/dist/chunks/cli-1.0.17-a77fqcz9.mjs +0 -2
- package/dist/chunks/cli-1.0.17-a8nd0nw1.mjs +0 -15
- package/dist/chunks/cli-1.0.17-a9k3xfma.mjs +0 -25
- package/dist/chunks/cli-1.0.17-ah6z554b.mjs +0 -2
- package/dist/chunks/cli-1.0.17-amskbazt.mjs +0 -2
- package/dist/chunks/cli-1.0.17-at0j3482.mjs +0 -2
- package/dist/chunks/cli-1.0.17-awxt5jcy.mjs +0 -2
- package/dist/chunks/cli-1.0.17-b7zgt5wj.mjs +0 -2
- package/dist/chunks/cli-1.0.17-b91m27j2.mjs +0 -2
- package/dist/chunks/cli-1.0.17-bbq31y7a.mjs +0 -9
- package/dist/chunks/cli-1.0.17-bheyzxzm.mjs +0 -2
- package/dist/chunks/cli-1.0.17-bmw1t0t6.mjs +0 -58
- package/dist/chunks/cli-1.0.17-bner2z30.mjs +0 -16
- package/dist/chunks/cli-1.0.17-bnex4nm7.mjs +0 -6
- package/dist/chunks/cli-1.0.17-btwwqyqt.mjs +0 -2
- package/dist/chunks/cli-1.0.17-bwt7gr42.mjs +0 -5
- package/dist/chunks/cli-1.0.17-bxwv0g41.mjs +0 -7
- package/dist/chunks/cli-1.0.17-bzn05jd6.mjs +0 -2
- package/dist/chunks/cli-1.0.17-c4mj41az.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ca7kkyhc.mjs +0 -2
- package/dist/chunks/cli-1.0.17-cavdar8z.mjs +0 -2
- package/dist/chunks/cli-1.0.17-cd9q5wvd.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ctfz7aky.mjs +0 -2
- package/dist/chunks/cli-1.0.17-cxy5w8mx.mjs +0 -2
- package/dist/chunks/cli-1.0.17-dc668fev.mjs +0 -2
- package/dist/chunks/cli-1.0.17-dfb76sxr.mjs +0 -2
- package/dist/chunks/cli-1.0.17-dgjmb848.mjs +0 -3
- package/dist/chunks/cli-1.0.17-dpms71sy.mjs +0 -4
- package/dist/chunks/cli-1.0.17-dss95ag9.mjs +0 -6
- package/dist/chunks/cli-1.0.17-dyrqnbfs.mjs +0 -2
- package/dist/chunks/cli-1.0.17-e4mt36cj.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ea8m8v7k.mjs +0 -133
- package/dist/chunks/cli-1.0.17-ecr8sjr9.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ee1sf1f4.mjs +0 -2
- package/dist/chunks/cli-1.0.17-emxxxrjh.mjs +0 -2
- package/dist/chunks/cli-1.0.17-erbfjxqt.mjs +0 -2
- package/dist/chunks/cli-1.0.17-es1tv25a.mjs +0 -2
- package/dist/chunks/cli-1.0.17-esydm78q.mjs +0 -2
- package/dist/chunks/cli-1.0.17-f5mwgpmm.mjs +0 -2
- package/dist/chunks/cli-1.0.17-fgbyxz18.mjs +0 -3
- package/dist/chunks/cli-1.0.17-fjz6hvrb.mjs +0 -9
- package/dist/chunks/cli-1.0.17-fkqttg24.mjs +0 -24
- package/dist/chunks/cli-1.0.17-fm4473vw.mjs +0 -2
- package/dist/chunks/cli-1.0.17-gch1jsbe.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ge11eg68.mjs +0 -3
- package/dist/chunks/cli-1.0.17-gwqztngk.mjs +0 -2
- package/dist/chunks/cli-1.0.17-gy47n7qj.mjs +0 -2
- package/dist/chunks/cli-1.0.17-h101c40b.mjs +0 -2
- package/dist/chunks/cli-1.0.17-h3jp181w.mjs +0 -20
- package/dist/chunks/cli-1.0.17-h4w6a4d1.mjs +0 -3
- package/dist/chunks/cli-1.0.17-h6b518v1.mjs +0 -2
- package/dist/chunks/cli-1.0.17-hb445h5r.mjs +0 -2
- package/dist/chunks/cli-1.0.17-hbqxdxv2.mjs +0 -2
- package/dist/chunks/cli-1.0.17-hc0snvws.mjs +0 -2
- package/dist/chunks/cli-1.0.17-hh90k4js.mjs +0 -2
- package/dist/chunks/cli-1.0.17-hswqk374.mjs +0 -12
- package/dist/chunks/cli-1.0.17-hxyavaae.mjs +0 -2
- package/dist/chunks/cli-1.0.17-hzag9kre.mjs +0 -2
- package/dist/chunks/cli-1.0.17-j526q1y7.mjs +0 -2
- package/dist/chunks/cli-1.0.17-j5qmnveg.mjs +0 -2
- package/dist/chunks/cli-1.0.17-jfarzka9.mjs +0 -18
- package/dist/chunks/cli-1.0.17-jfrx870z.mjs +0 -3
- package/dist/chunks/cli-1.0.17-jktkjeyp.mjs +0 -2
- package/dist/chunks/cli-1.0.17-jze67k48.mjs +0 -2
- package/dist/chunks/cli-1.0.17-k165z3yw.mjs +0 -4
- package/dist/chunks/cli-1.0.17-k27bgcpe.mjs +0 -2
- package/dist/chunks/cli-1.0.17-k3xz0fme.mjs +0 -21
- package/dist/chunks/cli-1.0.17-ka8tc4xj.mjs +0 -4
- package/dist/chunks/cli-1.0.17-kn7c19b9.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ksmypgky.mjs +0 -202
- package/dist/chunks/cli-1.0.17-kxfqzcbd.mjs +0 -2
- package/dist/chunks/cli-1.0.17-m2mr0t1a.mjs +0 -2
- package/dist/chunks/cli-1.0.17-m52g3sxg.mjs +0 -17
- package/dist/chunks/cli-1.0.17-m59cbaf4.mjs +0 -5
- package/dist/chunks/cli-1.0.17-m983tex6.mjs +0 -2
- package/dist/chunks/cli-1.0.17-mf9k8ee9.mjs +0 -2
- package/dist/chunks/cli-1.0.17-mhmktnkz.mjs +0 -2
- package/dist/chunks/cli-1.0.17-mk4ctspx.mjs +0 -2
- package/dist/chunks/cli-1.0.17-mnsjbqs4.mjs +0 -2
- package/dist/chunks/cli-1.0.17-mzzfvdfd.mjs +0 -2
- package/dist/chunks/cli-1.0.17-n6v9ztev.mjs +0 -2
- package/dist/chunks/cli-1.0.17-nf9nfc0r.mjs +0 -2
- package/dist/chunks/cli-1.0.17-nkg0ctrj.mjs +0 -2
- package/dist/chunks/cli-1.0.17-park9sag.mjs +0 -3
- package/dist/chunks/cli-1.0.17-pfwa4tne.mjs +0 -2
- package/dist/chunks/cli-1.0.17-pkj16tyk.mjs +0 -2
- package/dist/chunks/cli-1.0.17-pzebvptb.mjs +0 -2
- package/dist/chunks/cli-1.0.17-qadydg9v.mjs +0 -15
- package/dist/chunks/cli-1.0.17-qde4391n.mjs +0 -2
- package/dist/chunks/cli-1.0.17-qnyqadyd.mjs +0 -3
- package/dist/chunks/cli-1.0.17-qx980gch.mjs +0 -5637
- package/dist/chunks/cli-1.0.17-r5sxt70v.mjs +0 -4
- package/dist/chunks/cli-1.0.17-rev3s74x.mjs +0 -4
- package/dist/chunks/cli-1.0.17-rhsj77ax.mjs +0 -12
- package/dist/chunks/cli-1.0.17-rp4pr56x.mjs +0 -2
- package/dist/chunks/cli-1.0.17-rpm2778d.mjs +0 -2
- package/dist/chunks/cli-1.0.17-rq8fyqe6.mjs +0 -2
- package/dist/chunks/cli-1.0.17-rsrbhcgg.mjs +0 -2
- package/dist/chunks/cli-1.0.17-s87gh0xy.mjs +0 -2
- package/dist/chunks/cli-1.0.17-sdwcavah.mjs +0 -2
- package/dist/chunks/cli-1.0.17-svhv399t.mjs +0 -2
- package/dist/chunks/cli-1.0.17-sxwsnjkf.mjs +0 -2
- package/dist/chunks/cli-1.0.17-t3a6qmnj.mjs +0 -2
- package/dist/chunks/cli-1.0.17-tq56x0z7.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ttnq9eyz.mjs +0 -2
- package/dist/chunks/cli-1.0.17-v39zqb3q.mjs +0 -12
- package/dist/chunks/cli-1.0.17-v42jc8b6.mjs +0 -2
- package/dist/chunks/cli-1.0.17-v7gbw6nc.mjs +0 -2
- package/dist/chunks/cli-1.0.17-verxvj0s.mjs +0 -2
- package/dist/chunks/cli-1.0.17-vg1egngy.mjs +0 -2
- package/dist/chunks/cli-1.0.17-vjz0mgdc.mjs +0 -2
- package/dist/chunks/cli-1.0.17-w221edm9.mjs +0 -2
- package/dist/chunks/cli-1.0.17-w335kv69.mjs +0 -2
- package/dist/chunks/cli-1.0.17-wbr7f7wj.mjs +0 -2
- package/dist/chunks/cli-1.0.17-wm0z0tn9.mjs +0 -24
- package/dist/chunks/cli-1.0.17-wp8wyvc5.mjs +0 -34
- package/dist/chunks/cli-1.0.17-wqrh69a1.mjs +0 -8
- package/dist/chunks/cli-1.0.17-x0khsc7b.mjs +0 -2
- package/dist/chunks/cli-1.0.17-xc8m08gx.mjs +0 -2
- package/dist/chunks/cli-1.0.17-xhvs9ddb.mjs +0 -2
- package/dist/chunks/cli-1.0.17-xvntbm80.mjs +0 -3
- package/dist/chunks/cli-1.0.17-xvt8srd0.mjs +0 -2
- package/dist/chunks/cli-1.0.17-y24xrbmn.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ya2pc5rh.mjs +0 -1
- package/dist/chunks/cli-1.0.17-yhm1j87y.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ykztjshc.mjs +0 -2
- package/dist/chunks/cli-1.0.17-ysbbhgx7.mjs +0 -2
- package/dist/chunks/cli-1.0.17-yt9x63kq.mjs +0 -17
- package/dist/chunks/cli-1.0.17-ytcs4408.mjs +0 -2
- package/dist/chunks/cli-1.0.17-z313h4h8.mjs +0 -3
- package/dist/chunks/cli-1.0.17-zjtvw594.mjs +0 -18
- package/dist/chunks/cli-1.0.17-znwer2mk.mjs +0 -3
- package/dist/chunks/cli-1.0.17-zsbjcta9.mjs +0 -2
- package/dist/chunks/cli-1.0.17-zw7pcdw5.mjs +0 -4
- package/dist/chunks/cli-1.0.17-zxmxc807.mjs +0 -2
- package/dist/chunks/cli-1.0.17-zzy8pydb.mjs +0 -24
- package/dist/chunks/client-1.0.17-xqf28e2z.mjs +0 -1
- package/dist/chunks/color-1.0.17-x7gy4qsg.mjs +0 -1
- package/dist/chunks/compact-1.0.17-ntr0k3c1.mjs +0 -3
- package/dist/chunks/config-1.0.17-1bmax1k6.mjs +0 -1
- package/dist/chunks/config-1.0.17-wg2z9bvt.mjs +0 -1
- package/dist/chunks/constants-1.0.17-9g1fvd9s.mjs +0 -1
- package/dist/chunks/context-1.0.17-798z8a9c.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.17-fbqqqy1k.mjs +0 -1
- package/dist/chunks/conversation-1.0.17-dh2k9gmk.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.17-ztn0cqk4.mjs +0 -1
- package/dist/chunks/copy-1.0.17-74hpmk8e.mjs +0 -9
- package/dist/chunks/cost-1.0.17-edvv39jq.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.17-9vy9wmd2.mjs +0 -1
- package/dist/chunks/createSession-1.0.17-6ethfgt5.mjs +0 -1
- package/dist/chunks/debug-1.0.17-ka59nr0k.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.17-pa1y8kd6.mjs +0 -1446
- package/dist/chunks/desktop-1.0.17-31m1etzm.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.17-8pz5azd8.mjs +0 -1
- package/dist/chunks/detection-1.0.17-3evcsm4n.mjs +0 -1
- package/dist/chunks/diff-1.0.17-gh9asnv7.mjs +0 -1
- package/dist/chunks/doctor-1.0.17-dk3s21ty.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.17-31t5hgcb.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.17-t706682g.mjs +0 -1
- package/dist/chunks/effort-1.0.17-qdecy5rp.mjs +0 -10
- package/dist/chunks/engine-1.0.17-1h34mzj4.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.17-ae0j9tej.mjs +0 -1
- package/dist/chunks/envUtils-1.0.17-3wpvqsah.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.17-n74jjawy.mjs +0 -1
- package/dist/chunks/environments-1.0.17-5cwk3b85.mjs +0 -1
- package/dist/chunks/errors-1.0.17-7m26fq8r.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.17-gva1ra1c.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.0.17-f7g2n79t.mjs +0 -1
- package/dist/chunks/exit-1.0.17-js0a6tr5.mjs +0 -1
- package/dist/chunks/explorer-1.0.17-0tsv1eaz.mjs +0 -1
- package/dist/chunks/export-1.0.17-y5w7ttdw.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.17-ws6dsej0.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.17-9fqc29gm.mjs +0 -1
- package/dist/chunks/fast-1.0.17-bz8x0afk.mjs +0 -1
- package/dist/chunks/feedback-1.0.17-t3m4hybn.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.17-avapd2qj.mjs +0 -1
- package/dist/chunks/git-1.0.17-dp3j8z22.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.17-kp29gxmn.mjs +0 -1
- package/dist/chunks/goal-1.0.17-gs6qz9xz.mjs +0 -4
- package/dist/chunks/grove-1.0.17-g1jrnrfa.mjs +0 -1
- package/dist/chunks/growthbook-1.0.17-c150q3q5.mjs +0 -1
- package/dist/chunks/headless-1.0.17-3s0pbnt1.mjs +0 -2
- package/dist/chunks/heapdump-1.0.17-7w56g33y.mjs +0 -6
- package/dist/chunks/help-1.0.17-t0jyya03.mjs +0 -1
- package/dist/chunks/hookChains-1.0.17-8hq9yg68.mjs +0 -3
- package/dist/chunks/hooks-1.0.17-75bzpsfq.mjs +0 -1
- package/dist/chunks/hooks-1.0.17-vkahmdgs.mjs +0 -79
- package/dist/chunks/ide-1.0.17-yy904k1k.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.17-6faqb25d.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.17-tk5xd5n5.mjs +0 -1
- package/dist/chunks/index-1.0.17-3x8p135j.mjs +0 -9
- package/dist/chunks/index-1.0.17-3xzthc12.mjs +0 -1
- package/dist/chunks/index-1.0.17-4hbew0jj.mjs +0 -1
- package/dist/chunks/index-1.0.17-63rw94pj.mjs +0 -1
- package/dist/chunks/index-1.0.17-6sz8n41b.mjs +0 -30
- package/dist/chunks/index-1.0.17-7kafj1wr.mjs +0 -1
- package/dist/chunks/index-1.0.17-8bzj2r89.mjs +0 -1
- package/dist/chunks/index-1.0.17-94k1v6vk.mjs +0 -1
- package/dist/chunks/index-1.0.17-anafdqwk.mjs +0 -2
- package/dist/chunks/index-1.0.17-bmrkyghv.mjs +0 -1
- package/dist/chunks/index-1.0.17-f1kag1j2.mjs +0 -1
- package/dist/chunks/index-1.0.17-fm1dtwyv.mjs +0 -1
- package/dist/chunks/index-1.0.17-htkh5gz1.mjs +0 -1
- package/dist/chunks/index-1.0.17-kbm6jjth.mjs +0 -1
- package/dist/chunks/index-1.0.17-mwn9khh9.mjs +0 -1
- package/dist/chunks/index-1.0.17-r5cma447.mjs +0 -17
- package/dist/chunks/index-1.0.17-rqt631c5.mjs +0 -5
- package/dist/chunks/index-1.0.17-rzz9jfsj.mjs +0 -1
- package/dist/chunks/index-1.0.17-s1j2b6vq.mjs +0 -1
- package/dist/chunks/index-1.0.17-vsgqkee9.mjs +0 -1
- package/dist/chunks/index-1.0.17-ym2rj6bp.mjs +0 -9
- package/dist/chunks/index-1.0.17-z2zgermv.mjs +0 -2
- package/dist/chunks/index-1.0.17-zh9afr9s.mjs +0 -1
- package/dist/chunks/init-1.0.17-fz0hn5sx.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.17-3r8ea310.mjs +0 -1
- package/dist/chunks/ink-1.0.17-rp7215qx.mjs +0 -1
- package/dist/chunks/insights-1.0.17-q6rck59k.mjs +0 -870
- package/dist/chunks/install-1.0.17-6080qjjr.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.17-z7kv0v60.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.17-gm26km9g.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.17-jzxwt5er.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.17-w48vtvtz.mjs +0 -1
- package/dist/chunks/keybindings-1.0.17-x6tbbf7w.mjs +0 -2
- package/dist/chunks/knowledge-1.0.17-bfrdctvr.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.17-6henz973.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.17-n60qxn26.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.17-8tqx0pdk.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.17-wav55dek.mjs +0 -1
- package/dist/chunks/log-1.0.17-j1rv6dsh.mjs +0 -1
- package/dist/chunks/main-1.0.17-h4k1en4r.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.17-nt7nm12j.mjs +0 -1
- package/dist/chunks/mcp-1.0.17-23ggaedw.mjs +0 -17
- package/dist/chunks/mcp-1.0.17-jj7xfnfe.mjs +0 -4
- package/dist/chunks/mcp-1.0.17-z4984caf.mjs +0 -1
- package/dist/chunks/mcpb-1.0.17-bhsxvq63.mjs +0 -1
- package/dist/chunks/memory-1.0.17-yt68v7ap.mjs +0 -72
- package/dist/chunks/model-1.0.17-aeyz5p9p.mjs +0 -2
- package/dist/chunks/model-1.0.17-qsjdvrd5.mjs +0 -1
- package/dist/chunks/node-1.0.17-0rq9m4ak.mjs +0 -12
- package/dist/chunks/oauth-1.0.17-yjkwe4k5.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.17-tz5wqwzh.mjs +0 -14
- package/dist/chunks/output-style-1.0.17-9g29453y.mjs +0 -1
- package/dist/chunks/package-2VNCXFNY-1.0.17-rztr9aj4.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.17-hkk9pnna.mjs +0 -1
- package/dist/chunks/parser-1.0.17-msy0vt6k.mjs +0 -1
- package/dist/chunks/passes-1.0.17-j2yp563b.mjs +0 -1
- package/dist/chunks/permissions-1.0.17-gy7m159e.mjs +0 -3
- package/dist/chunks/permissions-1.0.17-v5041xc1.mjs +0 -1
- package/dist/chunks/plan-1.0.17-dsrf8crc.mjs +0 -1
- package/dist/chunks/plist-1.0.17-qj89pt80.mjs +0 -1
- package/dist/chunks/plugin-1.0.17-rtmfht0z.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.17-9rqvbt4k.mjs +0 -1
- package/dist/chunks/plugins-1.0.17-aa1p63yv.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.17-sk15skx3.mjs +0 -2
- package/dist/chunks/print-1.0.17-2mzd4w21.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.17-7vm1x5sr.mjs +0 -1
- package/dist/chunks/process-1.0.17-v6aqjwzk.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.17-zykh4cqf.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.17-gcjyjyjr.mjs +0 -9
- package/dist/chunks/prompt-1.0.17-6wa08t1s.mjs +0 -1
- package/dist/chunks/prompt-1.0.17-n7xqvg3b.mjs +0 -1
- package/dist/chunks/prompts-1.0.17-s87r77nr.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.17-4w13byd5.mjs +0 -13
- package/dist/chunks/provider-1.0.17-55mbqxc2.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.17-kxhx9m23.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.17-haa5b155.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.17-0cqpvcdk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.17-5zmj0kqm.mjs +0 -34
- package/dist/chunks/registry-1.0.17-mkfb3tvt.mjs +0 -1
- package/dist/chunks/release-notes-1.0.17-8snbpqbs.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.17-eg1v6x99.mjs +0 -2
- package/dist/chunks/remote-env-1.0.17-9fksp65j.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.17-rtawcjw6.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.17-a1ms2ttj.mjs +0 -1
- package/dist/chunks/rename-1.0.17-09e526vj.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.17-3qyccrd1.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.17-50011rdb.mjs +0 -1
- package/dist/chunks/resume-1.0.17-hy1ncvwh.mjs +0 -2
- package/dist/chunks/rewind-1.0.17-cvna2377.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.17-kpkg1wb0.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.0.17-jbv8z86k.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.0.17-hq7fx8ex.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.17-kr3wm7t7.mjs +0 -1
- package/dist/chunks/session-1.0.17-5613sexq.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.17-gsw1cxaw.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.17-p0gkvt4d.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.17-9ayxcfb9.mjs +0 -1
- package/dist/chunks/settings-1.0.17-dp8x87ef.mjs +0 -1
- package/dist/chunks/setup-1.0.17-ey47rggp.mjs +0 -5
- package/dist/chunks/sinks-1.0.17-pjfn1cvs.mjs +0 -1
- package/dist/chunks/skills-1.0.17-957pj40r.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.17-r5qx27af.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.17-ccx0f3x6.mjs +0 -1
- package/dist/chunks/state-1.0.17-wqzcjy24.mjs +0 -1
- package/dist/chunks/stats-1.0.17-qwr66nst.mjs +0 -6
- package/dist/chunks/status-1.0.17-fw5sv974.mjs +0 -1
- package/dist/chunks/stickers-1.0.17-0xx7db6g.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.17-n5cn87xp.mjs +0 -1
- package/dist/chunks/tasks-1.0.17-w0q9gftt.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.17-sa3s8hyk.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.17-z253vr4f.mjs +0 -1
- package/dist/chunks/teleport-1.0.17-g2by1yjq.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.17-g2q4wcwh.mjs +0 -1
- package/dist/chunks/theme-1.0.17-40nrdpr3.mjs +0 -1
- package/dist/chunks/thinkback-1.0.17-vzzceq55.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.17-f75qmjyw.mjs +0 -1
- package/dist/chunks/toolPool-1.0.17-qtydtser.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.17-913zemhq.mjs +0 -1
- package/dist/chunks/tools-1.0.17-22ce3q9j.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.17-rhbew9da.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.17-3b3z4x7p.mjs +0 -69
- package/dist/chunks/types-1.0.17-psrdfpk3.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.17-srb6z4yz.mjs +0 -4
- package/dist/chunks/update-1.0.17-chegbf04.mjs +0 -88
- package/dist/chunks/upgrade-1.0.17-4r1q1v3q.mjs +0 -1
- package/dist/chunks/upload-1.0.17-am8s1q94.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.17-88vgegvm.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.17-cg7jf2v4.mjs +0 -1
- package/dist/chunks/usage-1.0.17-0pjtc1jb.mjs +0 -1
- package/dist/chunks/util-1.0.17-cwe172ex.mjs +0 -1
- package/dist/chunks/utils-1.0.17-2q7gzedz.mjs +0 -1
- package/dist/chunks/vim-1.0.17-9re127j9.mjs +0 -1
- package/dist/chunks/watchLoop-1.0.17-8n39xwhz.mjs +0 -13
- package/dist/chunks/watcher-1.0.17-annky0s6.mjs +0 -1
- package/dist/chunks/wiki-1.0.17-p8s2y2fh.mjs +0 -132
- package/dist/chunks/workflows-1.0.17-5ygdx16y.mjs +0 -1
- package/dist/chunks/worktree-1.0.17-zh7mn90d.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.17-m9g3s832.mjs +0 -1
- package/dist/chunks/wrapper-1.0.17-p976tvn1.mjs +0 -7
- /package/dist/chunks/{cli-1.0.17-v698jz68.mjs → cli-1.1.1-10s3pxec.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.17-zdnd89rw.mjs → cli-1.1.1-f1n1hjs0.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.17-9ktgfern.mjs → cli-1.1.1-ghx32shb.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.17-j7brfjt1.mjs → cli-1.1.1-kr5z77zj.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.17-y1rnx6nw.mjs → cli-1.1.1-x3ph4re0.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.17-d25jj43z.mjs → cli-1.1.1-xd0vsxbj.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.17-t0tb5qzh.mjs → cli-1.1.1-y1n8t2yy.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_x as C,by as X}from"./cli-1.0.17-qx980gch.mjs";import{Y3 as W}from"./cli-1.0.17-ttnq9eyz.mjs";import{E6 as I,R6 as J,Y6 as V}from"./cli-1.0.17-bner2z30.mjs";import{Nha as T,sha as H}from"./cli-1.0.17-2yxp2sz6.mjs";import{gsa as P,ksa as Q}from"./cli-1.0.17-h101c40b.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
-
export{v as od,Y as pd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ksa as M}from"./cli-1.0.17-h101c40b.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
|
|
2
|
-
export{W as Qia,Q as Ria,K as Sia,X as Tia,Y as Uia,Z as Via,y as Wia,G as Xia,h as Yia,w as Zia};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{EV as k,FV as f,VV as u}from"./cli-1.0.17-a49frejp.mjs";import{KX as C,WX as d}from"./cli-1.0.17-qde4391n.mjs";import{p4 as A,r4 as F}from"./cli-1.0.17-4qh79bzg.mjs";import{N4 as q,T4 as i}from"./cli-1.0.17-bner2z30.mjs";import{$8 as I,L8 as W,O8 as _,V8 as j,W8 as w}from"./cli-1.0.17-8h47dvj2.mjs";import{Bga as U,tga as V}from"./cli-1.0.17-ksmypgky.mjs";import{Yia as M,Zia as v}from"./cli-1.0.17-verxvj0s.mjs";import{Gja as X,Hja as R,Lja as p,bka as J,eka as x}from"./cli-1.0.17-082vgztb.mjs";import{Bka as P,Ika as T}from"./cli-1.0.17-89p1ntv1.mjs";import{lsa as O}from"./cli-1.0.17-h101c40b.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-1.0.17-p976tvn1.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
-
export{b as Na,$z as Oa,Xz as Pa,Wz as Qa,Lz as Ra};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ksa as n}from"./cli-1.0.17-h101c40b.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
|
|
2
|
-
export{o as $V,e as aW,i as bW,g as cW,r as dW,u as eW,f as fW,l as gW,t as hW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{BU as N,CU as p,DU as F,FU as U,GU as A}from"./cli-1.0.17-k27bgcpe.mjs";import{$8 as k,I8 as L,J8 as P,M8 as O,O8 as V,Y8 as x,_8 as H}from"./cli-1.0.17-8h47dvj2.mjs";import{Bda as Y,Bea as Z,Kda as K,Vaa as I,Wea as M,Xaa as D,vda as X}from"./cli-1.0.17-ksmypgky.mjs";import{Oka as $,Yka as b}from"./cli-1.0.17-1d9ccn16.mjs";import{ksa as G}from"./cli-1.0.17-h101c40b.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
|
|
2
|
-
export{r as Rc,g as Sc,j as Tc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t4 as M,u4 as E}from"./cli-1.0.17-fgbyxz18.mjs";import{$ea as _,ega as S,hfa as F,hga as p,sfa as l,vfa as L,wfa as c}from"./cli-1.0.17-ksmypgky.mjs";import{Qka as Y,Yka as m}from"./cli-1.0.17-1d9ccn16.mjs";import{ksa as B}from"./cli-1.0.17-h101c40b.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:g}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||T}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,y=J?.scope?.trim()||C,$=y===C?[y]:[y,C],j="Device code request failed.",z=b(R(J?.domain));for(let V of $){let W=await Z(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let w=await W.text().catch(()=>"");j=`Device code request failed: ${W.status} ${w}`;let D=/invalid_scope/i.test(w);if(V!==C&&D)continue;throw new q(j)}let X=await W.json(),N=X.device_code,K=X.user_code,x=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof x!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:x,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(j)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let y=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,j=Q?.fetchImpl??fetch,z=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await j(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(y*1000);continue}if(N==="slow_down"){y=typeof X.interval==="number"?X.interval:y+5,await P(y*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},y=Z.fetchImpl??fetch,$=h(R(Z.domain)),j=await y($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!j.ok){let K=await j.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${j.status} ${K}`)}let z=await j.json(),V=z.token,W=z.expires_at,X=z.refresh_in,N=z.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var T="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{E();u={"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"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function k(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),j=$+"=".repeat((4-$.length%4)%4),z=Buffer.from(j,"base64").toString("utf8"),V=JSON.parse(z);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function yJ(){if(!k())return;if(Y())return;if(a())return}async function zJ(){if(!k())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,y=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!y&&!$)return!1;if((y?d(y):"expired")==="valid")return!1;if(!$)return!1;let z=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:z});if(!n(V.token,$,z).success)return!1;let X=_().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)F(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let y=J.trim();if(!y)return{success:!1,warning:"Token is empty."};let $=L(),j=$.read()||{},z=j[U],V=Q?.trim(),W={accessToken:y};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(z?.oauthAccessToken?.trim())W.oauthAccessToken=z.oauthAccessToken.trim();let N=Z?.trim()||z?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...j,[U]:W};return $.update(X)}function jJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
|
|
2
|
-
export{R as p2,r as q2,o as r2,e as s2,I as t2,O as u2,U as v2,VJ as w2,a as x2,WJ as y2,yJ as z2,zJ as A2,n as B2,jJ as C2,s as D2};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xb as d}from"./cli-1.0.17-zdnd89rw.mjs";import{Cv as Gj,FT as F,Gm as E,Hk as $,Hl as P,Hm as e,Ik as n,Il as R,NS as m,OS as S,Ou as k,PS as A,Pk as v,QR as Qj,Qk as r,Ru as V,TT as Xj,Vj as O,Xj as o,Xu as zj,Yu as w,Zu as Bj,_S as c,am as s,fT as p,gK as f,gT as X,nm as y,sm as t,tT as Vj,vE as Jj,vt as h,wv as C,xC as I,xt as qj,xv as D,yC as Hj}from"./cli-1.0.17-qx980gch.mjs";import{jV as W,xV as jj}from"./cli-1.0.17-a49frejp.mjs";import{wX as x,zX as Kj}from"./cli-1.0.17-zzy8pydb.mjs";import{R6 as T,Y6 as u}from"./cli-1.0.17-bner2z30.mjs";import{lia as Z,mia as i}from"./cli-1.0.17-pzebvptb.mjs";import{bka as b,eka as l}from"./cli-1.0.17-082vgztb.mjs";import{Bqa as g,Cma as U,Fma as _,Kma as Y,Pna as M,Rna as N,Xpa as K}from"./cli-1.0.17-jktkjeyp.mjs";g();e();Gj();zj();r();o();import{dirname as Yj}from"path";Xj();Jj();Kj();i();l();qj();Qj();u();t();n();Hj();Vj();jj();Bj();s();function Zj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=w().safeParse(G.todos);return H.success?H.data:[]}return[]}function aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)h(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!W()&&j.messages&&j.messages.length>0){let B=Zj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function $j(j){return}function Pj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Rj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function yj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:k(H)}}function Ej(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function gj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function lj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(f(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Yj(q.transcriptPath):null),await d(),await S(),!C(Q))D(j.messages)}}else if(j.contentReplacements?.length)await m(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Ej(j.worktreeSession),A();let{agentDefinition:G,agentType:H}=Rj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?$j(j):void 0,L=Pj(j.agentName,j.agentColor);x(j.agentName);let a=await yj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
|
|
2
|
-
export{aj as Sa,Pj as Ta,Rj as Ua,Ej as Va,gj as Wa,lj as Xa};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{Hg as _Q,Jg as iQ}from"./cli-1.0.17-m59cbaf4.mjs";import{ui as WQ,vi as zX}from"./cli-1.0.17-1ptwye5c.mjs";import{Cp as ZQ,Cs as CQ,DJ as JJ,Dp as uQ,EJ as mJ,LJ as GQ,MJ as KQ,Ms as qX,NJ as VQ,OJ as OQ,QJ as NQ,TJ as IJ,UJ as nJ,VJ as rJ,WJ as gQ,ZF as SJ,_F as YQ}from"./cli-1.0.17-qx980gch.mjs";import{XX as bJ,YX as aJ,jY as AQ,lY as ZX,oY as FQ,pY as $X,vY as zJ,wY as iJ}from"./cli-1.0.17-at0j3482.mjs";import{C0 as FJ,D0 as CJ,E0 as oJ,H0 as N,J0 as M,T0 as t,b1 as e,bZ as LJ,cZ as lJ,m1 as WJ,uZ as AJ}from"./cli-1.0.17-1w8t10bs.mjs";import{V3 as q,W3 as _,X3 as s}from"./cli-1.0.17-dfb76sxr.mjs";import{Y3 as BJ}from"./cli-1.0.17-ttnq9eyz.mjs";import{b9 as i,c9 as dJ}from"./cli-1.0.17-3ba3vg5e.mjs";import{Bga as DJ,tga as x}from"./cli-1.0.17-ksmypgky.mjs";import{Gga as f,Hga as pJ,Jga as n,Nga as uJ,Sga as vJ,Yga as kQ}from"./cli-1.0.17-a6mc44b2.mjs";import{lia as UQ,mia as aQ}from"./cli-1.0.17-pzebvptb.mjs";import{gsa as OJ,ksa as qJ,lsa as oQ}from"./cli-1.0.17-h101c40b.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let B of HJ(H.agents))if(K+=1,!B.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((B)=>!B.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",B=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return B+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),B=eJ(J),W=Math.min(U,Math.max(0,B.length-1)),X=B[W],{done:I,total:w}=tJ(J),[S]=AJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=B.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[B,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...B.filter(($)=>$.runId!==J.runId)]:B).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((A)=>Math.max(0,A-1));else if(Y.downArrow)O(),S((A)=>Math.min(Math.max(0,P-1),A+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(BJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),B=J.instructions.trim();return`---
|
|
2
|
-
${H}
|
|
3
|
-
---
|
|
4
|
-
${B?`${B}
|
|
5
|
-
`:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((B,W)=>({...B,name:W===U?K:B.name,handbackTo:B.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[B]=AJ(),W=FJ(B),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.0.17-neqgdzv4.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),A=C-1,u=X&&A>=0?X.steps[A]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
|
|
6
|
-
`:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,A).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,A,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&A>=0)P((G)=>({...G,steps:qQ(G.steps,A,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,A,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,A,P]),jQ=E.useCallback(()=>{if(A<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==A)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,A,P]),gJ=E.useCallback((Q)=>{if(!X||A<0)return;let Z=A+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(A,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,A,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
|
|
7
|
-
`):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(BJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,B]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{B(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((A)=>Math.max(0,A-1));else if(P.downArrow)w((A)=>Math.min(H.length-1,A+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let A=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,A?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
|
|
8
|
-
name: ${J}
|
|
9
|
-
description: What this workflow does
|
|
10
|
-
steps:
|
|
11
|
-
- name: explore
|
|
12
|
-
agents: [explorer]
|
|
13
|
-
- name: synthesize
|
|
14
|
-
agents: [synthesizer]
|
|
15
|
-
handbackTo: [explore]
|
|
16
|
-
- name: done
|
|
17
|
-
---
|
|
18
|
-
Describe the goal and any house rules for this workflow.
|
|
19
|
-
`;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(BJ(),1)});function BQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return AQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[B,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
|
|
20
|
-
<status>${c.status}</status>
|
|
21
|
-
<summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
|
|
22
|
-
<result>${$}</result>
|
|
23
|
-
</task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:B==="running",inverse:B==="running",children:[" ","Running"," "]}),_(M,{bold:B==="library",inverse:B==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(B==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(BQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(BQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(BJ(),1)});
|
|
24
|
-
export{NZ as dc,YX as ec};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{F0 as X,L0 as JT,M0 as ST,m1 as IT}from"./cli-1.0.17-1w8t10bs.mjs";import{b9 as K,c9 as VT}from"./cli-1.0.17-3ba3vg5e.mjs";import{$da as f,A$ as _T,B_ as o,Bea as V,Bga as n,Eaa as XT,Hea as l,Iea as d,Jaa as FT,Maa as qT,Naa as OT,Wea as D,bea as YT,jba as Q,lba as UT,tga as H,xaa as s,yea as z,z$ as BT,z_ as Y}from"./cli-1.0.17-ksmypgky.mjs";import{lia as E,mia as QT}from"./cli-1.0.17-pzebvptb.mjs";import{Gja as GT,Hja as $T,Lja as zT,Pja as P,Tja as KT}from"./cli-1.0.17-082vgztb.mjs";import{Gka as u,Ika as LT}from"./cli-1.0.17-89p1ntv1.mjs";import{$qa as ZT,_qa as r}from"./cli-1.0.17-gy47n7qj.mjs";import{ksa as I}from"./cli-1.0.17-h101c40b.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
|
|
2
|
-
|
|
3
|
-
No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
|
|
4
|
-
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
5
|
-
`;let F=`Terminal setup cannot be run from ${$}.
|
|
6
|
-
|
|
7
|
-
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
-
${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
-
|
|
10
|
-
To set up the shortcut (optional):
|
|
11
|
-
1. Exit tmux/screen temporarily
|
|
12
|
-
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
-
${J} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
-
• Other: Alacritty
|
|
15
|
-
3. Return to tmux/screen - settings will persist
|
|
16
|
-
|
|
17
|
-
${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
|
|
18
|
-
{
|
|
19
|
-
"key": "shift+enter",
|
|
20
|
-
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
-
"args": { "text": "\\u001b\\r" },
|
|
22
|
-
"when": "terminalFocus"
|
|
23
|
-
}
|
|
24
|
-
]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
|
|
25
|
-
`))F+=`
|
|
26
|
-
`;return F+=`
|
|
27
|
-
[[keyboard.bindings]]
|
|
28
|
-
key = "Return"
|
|
29
|
-
mods = "Shift"
|
|
30
|
-
chars = "\\u001B\\r"
|
|
31
|
-
`,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
|
|
32
|
-
`,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
|
|
33
|
-
`,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
-
export{a as HY,h as IY,e as JY,TT as KY,Ww as LY,uT as MY,ET as NY,Lw as OY,zw as PY,Vw as QY,_w as RY,bT as SY};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{gb as b}from"./cli-1.0.17-t0tb5qzh.mjs";import{of as QK,tf as gK}from"./cli-1.0.17-qnyqadyd.mjs";import{MK as Pz,Sm as oz,UK as wK,Um as fK,Vo as x,WT as j,Wo as SK,YT as aK,Yo as sz,_A as tz,aB as ez,aJ as pK,ap as hK,bB as mK,bJ as dK,dM as zK,eM as cK,ev as jz,lQ as bz,lv as FK,tM as KK,uQ as yK,vM as uK}from"./cli-1.0.17-qx980gch.mjs";import{$Y as Qz,VY as Kz,_Y as AK,aZ as GK}from"./cli-1.0.17-1w8t10bs.mjs";import{A6 as Iz,E6 as Dz,F6 as rz,H8 as Fz,M6 as Oz,N4 as U,R6 as A,T4 as G,T6 as _z,Y6 as P,j7 as iz,n7 as vK,t8 as Mz,v8 as wz,w6 as Uz,x8 as R}from"./cli-1.0.17-bner2z30.mjs";import{b9 as O,c9 as UK}from"./cli-1.0.17-3ba3vg5e.mjs";import{Ada as f,Bda as Cz,Bea as W,Bga as D,Eda as Jz,Hea as Wz,Iaa as t,Iea as Bz,Jea as nz,Kda as _,Naa as IK,T_ as $z,Taa as e,V_ as MK,Wea as N,Xaa as DK,a$ as uz,cba as zz,eba as OK,m_ as Zz,n_ as xK,q$ as gz,sea as lz,tga as V,u_ as T,vda as q,w_ as jK,x$ as bK,xda as H,yea as $,zda as az}from"./cli-1.0.17-ksmypgky.mjs";import{bha as E,gha as CK}from"./cli-1.0.17-a6mc44b2.mjs";import{lia as cz,mia as EK}from"./cli-1.0.17-pzebvptb.mjs";import{_ia as Z,bja as L}from"./cli-1.0.17-hb445h5r.mjs";import{Jja as r,Lja as LK,Mja as i,Pja as o,Tja as _K}from"./cli-1.0.17-082vgztb.mjs";import{jka as s,kka as NK}from"./cli-1.0.17-926g8p8g.mjs";import{Bka as y,Dka as n,Ika as BK}from"./cli-1.0.17-89p1ntv1.mjs";import{Nka as C,Oka as v,Qka as pz,Wka as dz,Yka as kK}from"./cli-1.0.17-1d9ccn16.mjs";import{Bqa as F,Doa as mz,Koa as a,Pna as Rz,Qna as fz,Rna as Tz,Tna as Sz,bpa as l,roa as hz,tma as w,xma as WK}from"./cli-1.0.17-jktkjeyp.mjs";import{hsa as PK}from"./cli-1.0.17-h101c40b.mjs";UK();AK();F();OK();BK();_K();IK();D();NK();DK();WK();LK();GK();import{readFileSync as RK}from"node:fs";var TK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function qQ(){let z=zz()?TK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function HQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function JQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(O.red(`Error: Invalid JSON provided to --settings
|
|
2
|
-
`)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{RK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(O.red(`Error: Settings file not found: ${Y}
|
|
3
|
-
`)),process.exit(1);throw J}X=Y}a(X),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(O.red(`Error processing settings: ${y(z)}
|
|
4
|
-
`)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(O.red(`Error processing --setting-sources: ${y(z)}
|
|
5
|
-
`)),process.exit(1)}}async function VQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
|
|
6
|
-
`);return[K,Q].filter(Boolean).join(`
|
|
7
|
-
`)}return K}CK();aK();L();fK();N();vK();jK();kK();bK();xK();MK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}D();P();cK();hK();uK();L();N();D();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}L();N();D();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}L();N();D();_();function Lz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let I=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...I,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let I=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...I,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((I)=>{let{enableAllProjectMcpServers:S,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...M}=I;return M});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}L();N();P();G();_();function Nz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}L();P();_();function Az(){if(!Oz())return;if(q("userSettings")?.model!=="opus")return;if(Uz(Iz()))return;let z="opus[1m]",Q=A(z)===A(Dz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}N();function Gz(){$((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}F();N();G();_();function xz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Rz()==="sonnet[1m]")Tz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}L();Fz();N();G();_();function yz(){if(U()!=="firstParty")return;if(!R()&&!Mz()&&!wz())return;let K=q("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}L();N();D();wK();_();function kz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(Pz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}L();Fz();N();G();_();function Ez(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(Cz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}gK();SK();F();EK();_();yK();L();FK();async function vz(K,z){let Q=await bz(K),X=jz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}mK();function iX(){try{let K=q("policySettings");if(K){let z=az(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function oX(){let K=A(fz()??rz());vz(cz(),iz(K,Sz())),KK().then(({enabled:z,errors:Q})=>{let X=zK();tz(z,X,sz()),ez(Q,X)}).catch((z)=>V(z))}function lK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function sX(){if(oz())return;let[K,z,Q]=await Promise.all([uz(),gz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:x.isSandboxingEnabled(),are_unsandboxed_commands_allowed:x.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:x.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:nz(),prefers_reduced_motion:f().prefersReducedMotion??!1,...lK()})}var k=11;function tX(){if(W().migrationVersion!==k)Hz(),Vz(),Lz(),Ez(),xz(),Nz(),yz(),Az(),Gz(),kz(),$((K)=>K.migrationVersion===k?K:{...K,migrationVersion:k});QK().catch(()=>{})}function eX(){if(hz()){T("info","prefetch_system_context_non_interactive"),j();return}if(lz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function zY(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function KY(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function QY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:I,numAllowedTools:S,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:M,skipWebFetchPreflight:XK,githubActionInputs:p,dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,allowDangerouslySkipPermissionsPassed:qK,systemPromptFlag:d,appendSystemPromptFlag:c,thinkingConfig:HK,assistantActivationPath:u,isCoordinator:JK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:I,numAllowedTools:S,numDisallowedTools:h,mcpClientCount:m,worktree:M,skipWebFetchPreflight:XK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,inProtectedNamespace:dz(),allowDangerouslySkipPermissionsPassed:qK,thinkingType:HK.type,...d&&{systemPromptFlag:d},...c&&{appendSystemPromptFlag:c},is_simple:pz()||void 0,is_coordinator:JK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:f().autoUpdatesChannel??"latest"})}catch(VK){V(VK)}}function XY(K){}function YY(K){return}
|
|
8
|
-
export{qQ as N,HQ as O,JQ as P,VQ as Q,iX as R,oX as S,sX as T,tX as U,eX as V,zY as W,KY as X,QY as Y,XY as Z,YY as _};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{lZ as O}from"./cli-1.0.17-1w8t10bs.mjs";import{V3 as X,X3 as Q}from"./cli-1.0.17-dfb76sxr.mjs";import{Y3 as b}from"./cli-1.0.17-ttnq9eyz.mjs";import{Iea as W,Wea as P}from"./cli-1.0.17-ksmypgky.mjs";import{gsa as U}from"./cli-1.0.17-h101c40b.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
-
export{V as qb,C as rb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Yf as EG,Zf as iG,dg as rG}from"./cli-1.0.17-5wvqpfzb.mjs";import{$N as cG,$x as jG,BM as WG,CM as qG,HM as a,JN as bG,LM as DG,MN as sG,Ms as uG,NM as y,OM as o,PM as lG,QN as f,RM as kG,RN as s,SN as c,TN as v,UN as i,WM as _G,XN as u,_x as l,ay as HG,by as dG,dN as aG,fn as FG,gn as OG,kn as VG,lN as $G,mN as oG,ns as vG,pF as KG,qF as mG,un as fG,wM as LG,xM as BG,zM as pG}from"./cli-1.0.17-qx980gch.mjs";import{lZ as QJ}from"./cli-1.0.17-1w8t10bs.mjs";import{V3 as wG,X3 as PG}from"./cli-1.0.17-dfb76sxr.mjs";import{Y3 as YG}from"./cli-1.0.17-ttnq9eyz.mjs";import{Bca as CG,Bga as gG,wca as zG,xga as R,yga as _}from"./cli-1.0.17-ksmypgky.mjs";import{Nha as NG}from"./cli-1.0.17-2yxp2sz6.mjs";import{_ia as A,bja as MG}from"./cli-1.0.17-hb445h5r.mjs";import{Lja as yG,bka as ZG,eka as SG}from"./cli-1.0.17-082vgztb.mjs";import{Bka as h,Ika as TG}from"./cli-1.0.17-89p1ntv1.mjs";import{Bqa as XG,Cma as QG}from"./cli-1.0.17-jktkjeyp.mjs";import{gsa as r,ksa as p}from"./cli-1.0.17-h101c40b.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
|
|
2
|
-
export{e as Tf,aJ as Uf,oJ as Vf,sJ as Wf,XJ as Xf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ksa as r}from"./cli-1.0.17-h101c40b.mjs";var i,a=(s,e)=>function(){try{return e||(0,s[i(s)[0]])((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},c;var p=r(()=>{i=Object.getOwnPropertyNames,c=a({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.30.1",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.18.0",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^14.0.0"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","js-yaml@>=3.0.0 <3.15.0":"3.15.0","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0","form-data@>=4.0.0 <4.0.6":"4.0.6","@babel/core@>=7.0.0 <7.29.6":"7.29.7","esbuild@>=0.17.0 <0.28.1":"0.28.1"}}}}})});
|
|
2
|
-
export{c as ni,p as oi};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{jha as L,nha as O}from"./cli-1.0.17-bheyzxzm.mjs";import{ksa as N}from"./cli-1.0.17-h101c40b.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
|
|
2
|
-
`,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
|
|
3
|
-
export{S as n1,J as o1,T as p1,U as q1,V as r1,W as s1,Q as t1};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ksa as s}from"./cli-1.0.17-h101c40b.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.0.17 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
-
export{c as d4,i as e4,r as f4};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ksa as M}from"./cli-1.0.17-h101c40b.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
|
|
2
|
-
export{V as zi,W as Ai,X as Bi,Z as Ci,Y as Di};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eia as q,gia as A,hia as x,iia as B}from"./cli-1.0.17-142ww3xz.mjs";import{Lja as J}from"./cli-1.0.17-082vgztb.mjs";import{Ika as G}from"./cli-1.0.17-89p1ntv1.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bea as A,Bga as N,Wea as L,tga as B}from"./cli-1.0.17-ksmypgky.mjs";import{bka as z,eka as K}from"./cli-1.0.17-082vgztb.mjs";import{jsa as I,ksa as J}from"./cli-1.0.17-h101c40b.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
|
|
2
|
-
export{P as NU,Q as OU,R as PU,H as QU,U as RU,V as SU,W as TU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hi as W,Ii as B}from"./cli-1.0.17-nf9nfc0r.mjs";import{V3 as U,X3 as J}from"./cli-1.0.17-dfb76sxr.mjs";import{t4 as V,u4 as v}from"./cli-1.0.17-fgbyxz18.mjs";import{H8 as $,c5 as N,d5 as _,h8 as Q,m8 as R}from"./cli-1.0.17-bner2z30.mjs";import{Bga as Z,tga as K}from"./cli-1.0.17-ksmypgky.mjs";import{ksa as Y}from"./cli-1.0.17-h101c40b.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();v();Z();B();J()});
|
|
2
|
-
export{w as hc,E as ic};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ksa as b}from"./cli-1.0.17-h101c40b.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
|
|
2
|
-
export{j as if,k as jf,q as kf,w as lf,g as mf};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import{A7 as K,u7 as x}from"./cli-1.0.17-bner2z30.mjs";import{Ada as w,Kda as J}from"./cli-1.0.17-ksmypgky.mjs";import{Bha as v,Nha as I}from"./cli-1.0.17-2yxp2sz6.mjs";import{Oka as q,Yka as G}from"./cli-1.0.17-1d9ccn16.mjs";import{ksa as z}from"./cli-1.0.17-h101c40b.mjs";function W(h){return h.type==="advisor_tool_result"||h.type==="server_tool_use"&&h.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDE_CODE_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let h=j();return k()&&!N()&&h.baseModel&&h.advisorModel?{baseModel:h.baseModel,advisorModel:h.advisorModel}:void 0}function Z(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function $(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(h){let b=h.iterations;if(!b)return[];return b.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
|
|
2
|
-
|
|
3
|
-
You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
|
|
4
|
-
|
|
5
|
-
Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
|
|
6
|
-
|
|
7
|
-
Also call advisor:
|
|
8
|
-
- When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
|
|
9
|
-
- When stuck -- errors recurring, approach not converging, results that don't fit.
|
|
10
|
-
- When considering a change of approach.
|
|
11
|
-
|
|
12
|
-
On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
|
|
13
|
-
|
|
14
|
-
Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
|
|
15
|
-
|
|
16
|
-
If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
|
|
17
|
-
export{W as UU,k as VU,N as WU,X as XU,Z as YU,$ as ZU,B as _U,D as $U,F as aV,O as bV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{RW as M,TW as X}from"./cli-1.0.17-hh90k4js.mjs";import{Bda as L,Kda as W,Oaa as B,Xaa as V,vda as K}from"./cli-1.0.17-ksmypgky.mjs";import{ksa as Q}from"./cli-1.0.17-h101c40b.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
|
|
2
|
-
export{F as fc,Y as gc};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{h2 as k,j2 as w}from"./cli-1.0.17-rsrbhcgg.mjs";import{H8 as v,n8 as j}from"./cli-1.0.17-bner2z30.mjs";import{Bha as d,Mha as h,Nha as s}from"./cli-1.0.17-2yxp2sz6.mjs";import{Yka as q}from"./cli-1.0.17-1d9ccn16.mjs";import{ksa as p}from"./cli-1.0.17-h101c40b.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
-
Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
|
|
3
|
-
export{x as IW,O as JW,P as KW,Q as LW,R as MW,U as NW,W as OW,X as PW,z as QW};
|