@claudiolabs/claudin 0.5.13 → 0.5.14
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/bin/claudin +26 -0
- package/dist/chunks/AgentTool-0.5.14-ka5wbadf.mjs +1 -0
- package/dist/chunks/App-0.5.14-x714qge6.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.5.14-6nm0jbxj.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.5.14-7hhwh7yd.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.5.14-pb4xjhhm.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.5.14-8a3gxq1p.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.14-jsf36abf.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.5.14-gb4tkybg.mjs +1 -0
- package/dist/chunks/DiffDialog-0.5.14-mzjz3dmq.mjs +3 -0
- package/dist/chunks/Doctor-0.5.14-deqdqs2y.mjs +1 -0
- package/dist/chunks/Grove-0.5.14-zj5vsq17.mjs +1 -0
- package/dist/chunks/ITermBackend-0.5.14-vc2v0d30.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.5.14-99drb087.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.5.14-cx07mwzh.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.5.14-2n9dg022.mjs +1 -0
- package/dist/chunks/Onboarding-0.5.14-peymefv5.mjs +1 -0
- package/dist/chunks/ProviderManager-0.5.14-00vppy63.mjs +1 -0
- package/dist/chunks/REPL-0.5.14-bewb9pnz.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.5.14-j7hzavxp.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.5.14-bz9qwn3m.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.5.14-5k9g7jnn.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.14-v04nvw78.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.5.14-91kfwccd.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.5.14-egq2w642.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.5.14-nt5waewd.mjs +1 -0
- package/dist/chunks/TrustDialog-0.5.14-x3ns8q41.mjs +1 -0
- package/dist/chunks/activeProvider-0.5.14-zmyztc9d.mjs +1 -0
- package/dist/chunks/add-dir-0.5.14-m1bgsa5k.mjs +1 -0
- package/dist/chunks/agents-0.5.14-7493pd9j.mjs +3 -0
- package/dist/chunks/agents-0.5.14-g33swkvh.mjs +110 -0
- package/dist/chunks/api-0.5.14-n9d664hq.mjs +1 -0
- package/dist/chunks/asciicast-0.5.14-cdw29gxq.mjs +1 -0
- package/dist/chunks/assistant-0.5.14-5ttn63vc.mjs +1 -0
- package/dist/chunks/auth-0.5.14-cn5sbpmt.mjs +1 -0
- package/dist/chunks/auth-0.5.14-daysvmja.mjs +1 -0
- package/dist/chunks/autoMode-0.5.14-6w3n0461.mjs +48 -0
- package/dist/chunks/autoUpdater-0.5.14-w6ksev5d.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.5.14-v09b9v3d.mjs +1 -0
- package/dist/chunks/branch-0.5.14-mk8vbtcd.mjs +4 -0
- package/dist/chunks/bridgePointer-0.5.14-qm9kdp95.mjs +1 -0
- package/dist/chunks/btw-0.5.14-fnbs5xz3.mjs +1 -0
- package/dist/chunks/buddy-0.5.14-m0fpeg6d.mjs +3 -0
- package/dist/chunks/cacache-0.5.14-sxk12nzn.mjs +1 -0
- package/dist/chunks/cache-probe-0.5.14-wnnzjne3.mjs +21 -0
- package/dist/chunks/cacheStats-0.5.14-w0h102n4.mjs +4 -0
- package/dist/chunks/caches-0.5.14-37cvhfpr.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.5.14-vsxz691t.mjs +1 -0
- package/dist/chunks/claudemd-0.5.14-tp1vgk3z.mjs +1 -0
- package/dist/chunks/clear-0.5.14-y27axrbf.mjs +1 -0
- package/dist/chunks/clearTerminal-0.5.14-5x5qjbpr.mjs +1 -0
- package/dist/chunks/cli-0.5.14-091bzaxj.mjs +2 -0
- package/dist/chunks/cli-0.5.14-0q3cgg09.mjs +2 -0
- package/dist/chunks/cli-0.5.14-0xpjxnvf.mjs +3 -0
- package/dist/chunks/cli-0.5.14-0yttjd5j.mjs +2 -0
- package/dist/chunks/cli-0.5.14-143vggzh.mjs +45 -0
- package/dist/chunks/cli-0.5.14-16ak6yfx.mjs +1 -0
- package/dist/chunks/cli-0.5.14-1d34ehpy.mjs +16 -0
- package/dist/chunks/cli-0.5.14-1dm5x2bp.mjs +2 -0
- package/dist/chunks/cli-0.5.14-1gr6bex0.mjs +2 -0
- package/dist/chunks/cli-0.5.14-1hazt8y4.mjs +50 -0
- package/dist/chunks/cli-0.5.14-1n5t7fhh.mjs +6 -0
- package/dist/chunks/cli-0.5.14-1ttqdawg.mjs +2 -0
- package/dist/chunks/cli-0.5.14-1ysbyz3f.mjs +21 -0
- package/dist/chunks/cli-0.5.14-20jyzpyr.mjs +2 -0
- package/dist/chunks/cli-0.5.14-20vxp61q.mjs +2 -0
- package/dist/chunks/cli-0.5.14-21qmk948.mjs +3 -0
- package/dist/chunks/cli-0.5.14-26qxsgry.mjs +2 -0
- package/dist/chunks/cli-0.5.14-2get61vb.mjs +15 -0
- package/dist/chunks/cli-0.5.14-2m40h4kp.mjs +5 -0
- package/dist/chunks/cli-0.5.14-2nfr4a2g.mjs +2 -0
- package/dist/chunks/cli-0.5.14-2pafgvs4.mjs +2 -0
- package/dist/chunks/cli-0.5.14-3f5mbe3a.mjs +2 -0
- package/dist/chunks/cli-0.5.14-3pq7th32.mjs +2 -0
- package/dist/chunks/cli-0.5.14-3rsvr6t8.mjs +2 -0
- package/dist/chunks/cli-0.5.14-41jtw8ac.mjs +2 -0
- package/dist/chunks/cli-0.5.14-4367p06d.mjs +9 -0
- package/dist/chunks/cli-0.5.14-45c9ydpj.mjs +2 -0
- package/dist/chunks/cli-0.5.14-493n054v.mjs +3 -0
- package/dist/chunks/cli-0.5.14-4d1vgx1q.mjs +2 -0
- package/dist/chunks/cli-0.5.14-4h0hxm6g.mjs +2 -0
- package/dist/chunks/cli-0.5.14-4khekra9.mjs +2 -0
- package/dist/chunks/cli-0.5.14-4swh9njd.mjs +2 -0
- package/dist/chunks/cli-0.5.14-5008zpga.mjs +2 -0
- package/dist/chunks/cli-0.5.14-50yq8sa4.mjs +2 -0
- package/dist/chunks/cli-0.5.14-5gkrj1ak.mjs +2 -0
- package/dist/chunks/cli-0.5.14-5tjkdtp9.mjs +2 -0
- package/dist/chunks/cli-0.5.14-60yczvwy.mjs +133 -0
- package/dist/chunks/cli-0.5.14-63x4db8w.mjs +133 -0
- package/dist/chunks/cli-0.5.14-64rpppf8.mjs +18 -0
- package/dist/chunks/cli-0.5.14-685647jf.mjs +7 -0
- package/dist/chunks/cli-0.5.14-6937x3w3.mjs +2 -0
- package/dist/chunks/cli-0.5.14-6eea9ezs.mjs +4 -0
- package/dist/chunks/cli-0.5.14-6fk534v0.mjs +17 -0
- package/dist/chunks/cli-0.5.14-6kksfjy8.mjs +2 -0
- package/dist/chunks/cli-0.5.14-6raawc34.mjs +6 -0
- package/dist/chunks/cli-0.5.14-6yty6gqs.mjs +20 -0
- package/dist/chunks/cli-0.5.14-73ackmw7.mjs +2 -0
- package/dist/chunks/cli-0.5.14-7m77sfxk.mjs +58 -0
- package/dist/chunks/cli-0.5.14-7pgk96hh.mjs +2 -0
- package/dist/chunks/cli-0.5.14-7rnbh7ne.mjs +2 -0
- package/dist/chunks/cli-0.5.14-8azez85y.mjs +2 -0
- package/dist/chunks/cli-0.5.14-8f89rfzv.mjs +2 -0
- package/dist/chunks/cli-0.5.14-8kb1432a.mjs +2 -0
- package/dist/chunks/cli-0.5.14-8qymm509.mjs +2 -0
- package/dist/chunks/cli-0.5.14-9d7p6385.mjs +2 -0
- package/dist/chunks/cli-0.5.14-9h71xtmr.mjs +2 -0
- package/dist/chunks/cli-0.5.14-9j1dsrh1.mjs +2 -0
- package/dist/chunks/cli-0.5.14-9wya0d3v.mjs +2 -0
- package/dist/chunks/cli-0.5.14-9xvhzhkm.mjs +3 -0
- package/dist/chunks/cli-0.5.14-ahpdwf0v.mjs +2 -0
- package/dist/chunks/cli-0.5.14-an5qgv3a.mjs +2 -0
- package/dist/chunks/cli-0.5.14-anv6260e.mjs +2 -0
- package/dist/chunks/cli-0.5.14-aqeeb0f5.mjs +2 -0
- package/dist/chunks/cli-0.5.14-avm7rqss.mjs +3 -0
- package/dist/chunks/cli-0.5.14-aw48m66c.mjs +2 -0
- package/dist/chunks/cli-0.5.14-axshc74p.mjs +2 -0
- package/dist/chunks/cli-0.5.14-b0d1cwrx.mjs +2 -0
- package/dist/chunks/cli-0.5.14-b2pmvy9z.mjs +2 -0
- package/dist/chunks/cli-0.5.14-b2y4c4qz.mjs +2 -0
- package/dist/chunks/cli-0.5.14-bfcf75rz.mjs +2 -0
- package/dist/chunks/cli-0.5.14-bwk8tz6z.mjs +2 -0
- package/dist/chunks/cli-0.5.14-c4t8gdgj.mjs +2 -0
- package/dist/chunks/cli-0.5.14-c5w3y4bc.mjs +2 -0
- package/dist/chunks/cli-0.5.14-c9j9jsmz.mjs +3 -0
- package/dist/chunks/cli-0.5.14-cegh4n4e.mjs +2 -0
- package/dist/chunks/cli-0.5.14-ckv99ms5.mjs +2 -0
- package/dist/chunks/cli-0.5.14-cw6v5vt0.mjs +18 -0
- package/dist/chunks/cli-0.5.14-d1dqcsvv.mjs +18 -0
- package/dist/chunks/cli-0.5.14-d26aykc0.mjs +2 -0
- package/dist/chunks/cli-0.5.14-d46mhdrz.mjs +2 -0
- package/dist/chunks/cli-0.5.14-d4frp6k6.mjs +2 -0
- package/dist/chunks/cli-0.5.14-d5t0sr9t.mjs +2 -0
- package/dist/chunks/cli-0.5.14-dmbyd0sa.mjs +2 -0
- package/dist/chunks/cli-0.5.14-dpcawxem.mjs +2 -0
- package/dist/chunks/cli-0.5.14-dpys58zb.mjs +12 -0
- package/dist/chunks/cli-0.5.14-dqhxbxb7.mjs +2 -0
- package/dist/chunks/cli-0.5.14-e0f671ax.mjs +2 -0
- package/dist/chunks/cli-0.5.14-e3gxn67m.mjs +4 -0
- package/dist/chunks/cli-0.5.14-e9wbczy7.mjs +2 -0
- package/dist/chunks/cli-0.5.14-easqaf33.mjs +2 -0
- package/dist/chunks/cli-0.5.14-ef8ctc2m.mjs +4 -0
- package/dist/chunks/cli-0.5.14-efp8wjg1.mjs +2 -0
- package/dist/chunks/cli-0.5.14-en3hbpe6.mjs +2 -0
- package/dist/chunks/cli-0.5.14-fbvy5zb9.mjs +2 -0
- package/dist/chunks/cli-0.5.14-g3h8xpqj.mjs +2 -0
- package/dist/chunks/cli-0.5.14-g91kxyj3.mjs +17 -0
- package/dist/chunks/cli-0.5.14-gdb0dvne.mjs +2 -0
- package/dist/chunks/cli-0.5.14-gjegk0er.mjs +2 -0
- package/dist/chunks/cli-0.5.14-gm5kmg2w.mjs +2 -0
- package/dist/chunks/cli-0.5.14-gscd2x4f.mjs +4 -0
- package/dist/chunks/cli-0.5.14-gxtw8dhr.mjs +15 -0
- package/dist/chunks/cli-0.5.14-h5pkzt2b.mjs +2 -0
- package/dist/chunks/cli-0.5.14-h61trenx.mjs +2 -0
- package/dist/chunks/cli-0.5.14-h72zd06s.mjs +2 -0
- package/dist/chunks/cli-0.5.14-hanfd2pz.mjs +2 -0
- package/dist/chunks/cli-0.5.14-jad7e0eg.mjs +2 -0
- package/dist/chunks/cli-0.5.14-jdvea9zv.mjs +10 -0
- package/dist/chunks/cli-0.5.14-jf3et57a.mjs +5316 -0
- package/dist/chunks/cli-0.5.14-jff31gdc.mjs +2 -0
- package/dist/chunks/cli-0.5.14-jm5cqnt7.mjs +2 -0
- package/dist/chunks/cli-0.5.14-jrcr7y5a.mjs +2 -0
- package/dist/chunks/cli-0.5.14-k4pqcfd4.mjs +2 -0
- package/dist/chunks/cli-0.5.14-k8g7xd1q.mjs +2 -0
- package/dist/chunks/cli-0.5.14-k9xvwt73.mjs +2 -0
- package/dist/chunks/cli-0.5.14-kbqdxnzh.mjs +2 -0
- package/dist/chunks/cli-0.5.14-kt358a3h.mjs +2 -0
- package/dist/chunks/cli-0.5.14-m7skqd4q.mjs +2 -0
- package/dist/chunks/cli-0.5.14-m9p42h1g.mjs +2 -0
- package/dist/chunks/cli-0.5.14-mdmz1bw1.mjs +2 -0
- package/dist/chunks/cli-0.5.14-mkr2nerd.mjs +2 -0
- package/dist/chunks/cli-0.5.14-mqepr6k4.mjs +2 -0
- package/dist/chunks/cli-0.5.14-mqp3fc5k.mjs +2 -0
- package/dist/chunks/cli-0.5.14-mt7egvs8.mjs +2 -0
- package/dist/chunks/cli-0.5.14-mys2py3s.mjs +2 -0
- package/dist/chunks/cli-0.5.14-n1wzvy0k.mjs +2 -0
- package/dist/chunks/cli-0.5.14-n5069ej6.mjs +2 -0
- package/dist/chunks/cli-0.5.14-nd1cyqtv.mjs +2 -0
- package/dist/chunks/cli-0.5.14-ndq9rhn7.mjs +193 -0
- package/dist/chunks/cli-0.5.14-nef9j9x3.mjs +67 -0
- package/dist/chunks/cli-0.5.14-nhz1s6yj.mjs +24 -0
- package/dist/chunks/cli-0.5.14-nkmxan04.mjs +2 -0
- package/dist/chunks/cli-0.5.14-np80e4h0.mjs +2 -0
- package/dist/chunks/cli-0.5.14-nx2k2fc6.mjs +2 -0
- package/dist/chunks/cli-0.5.14-p8gq7nq3.mjs +2 -0
- package/dist/chunks/cli-0.5.14-pd7b7t5h.mjs +3 -0
- package/dist/chunks/cli-0.5.14-pdz4gbap.mjs +2 -0
- package/dist/chunks/cli-0.5.14-pftvwkk8.mjs +4 -0
- package/dist/chunks/cli-0.5.14-pr6tse5d.mjs +2 -0
- package/dist/chunks/cli-0.5.14-pvx7sqsj.mjs +2 -0
- package/dist/chunks/cli-0.5.14-q8y3c8ja.mjs +3 -0
- package/dist/chunks/cli-0.5.14-qa02d35p.mjs +3 -0
- package/dist/chunks/cli-0.5.14-qb0wcr18.mjs +24 -0
- package/dist/chunks/cli-0.5.14-qc6a2vcb.mjs +2 -0
- package/dist/chunks/cli-0.5.14-qcmh02jt.mjs +4 -0
- package/dist/chunks/cli-0.5.14-qcrttwqb.mjs +2 -0
- package/dist/chunks/cli-0.5.14-qhgp0jp4.mjs +4 -0
- package/dist/chunks/cli-0.5.14-qwa1c8w2.mjs +34 -0
- package/dist/chunks/cli-0.5.14-r38faawy.mjs +2 -0
- package/dist/chunks/cli-0.5.14-r61p0n6x.mjs +2 -0
- package/dist/chunks/cli-0.5.14-r66bevxp.mjs +2 -0
- package/dist/chunks/cli-0.5.14-r8f2hssc.mjs +59 -0
- package/dist/chunks/cli-0.5.14-rfbqq3z1.mjs +2 -0
- package/dist/chunks/cli-0.5.14-rj1nh8jm.mjs +2 -0
- package/dist/chunks/cli-0.5.14-s5wgj31r.mjs +15 -0
- package/dist/chunks/cli-0.5.14-s6vd2h5w.mjs +2 -0
- package/dist/chunks/cli-0.5.14-sg9wjwba.mjs +5 -0
- package/dist/chunks/cli-0.5.14-svdmqpzs.mjs +12 -0
- package/dist/chunks/cli-0.5.14-sx666s0x.mjs +2 -0
- package/dist/chunks/cli-0.5.14-t32fswzp.mjs +2 -0
- package/dist/chunks/cli-0.5.14-t3d6ycsp.mjs +2 -0
- package/dist/chunks/cli-0.5.14-t72p44x7.mjs +2 -0
- package/dist/chunks/cli-0.5.14-tdaq69ga.mjs +4 -0
- package/dist/chunks/cli-0.5.14-tgeskqzs.mjs +2 -0
- package/dist/chunks/cli-0.5.14-tmc3jcgf.mjs +5 -0
- package/dist/chunks/cli-0.5.14-tqnsct7g.mjs +39 -0
- package/dist/chunks/cli-0.5.14-v6kjcfbm.mjs +2 -0
- package/dist/chunks/cli-0.5.14-vbnr7r6e.mjs +2 -0
- package/dist/chunks/cli-0.5.14-vf6t34v8.mjs +2 -0
- package/dist/chunks/cli-0.5.14-vhj1gfhf.mjs +2 -0
- package/dist/chunks/cli-0.5.14-vq78tz92.mjs +2 -0
- package/dist/chunks/cli-0.5.14-vqk0h33w.mjs +4 -0
- package/dist/chunks/cli-0.5.14-wbj99kyq.mjs +2 -0
- package/dist/chunks/cli-0.5.14-wnmt9qkk.mjs +2 -0
- package/dist/chunks/cli-0.5.14-wq0qfb4r.mjs +2 -0
- package/dist/chunks/cli-0.5.14-xad83fbb.mjs +2 -0
- package/dist/chunks/cli-0.5.14-xc847091.mjs +2 -0
- package/dist/chunks/cli-0.5.14-xeawxepw.mjs +2 -0
- package/dist/chunks/cli-0.5.14-xevr51kc.mjs +3 -0
- package/dist/chunks/cli-0.5.14-xjdw6amg.mjs +9 -0
- package/dist/chunks/cli-0.5.14-y22mbspw.mjs +3 -0
- package/dist/chunks/cli-0.5.14-y3kkm5vp.mjs +2 -0
- package/dist/chunks/cli-0.5.14-ya2ykcd6.mjs +2 -0
- package/dist/chunks/cli-0.5.14-yafpkp67.mjs +3 -0
- package/dist/chunks/cli-0.5.14-yfh9te0f.mjs +2 -0
- package/dist/chunks/cli-0.5.14-yms71vy8.mjs +4 -0
- package/dist/chunks/cli-0.5.14-ytt72j1r.mjs +2 -0
- package/dist/chunks/cli-0.5.14-z1wt52vd.mjs +2 -0
- package/dist/chunks/cli-0.5.14-z1zfnf2j.mjs +25 -0
- package/dist/chunks/cli-0.5.14-z2kvxbjn.mjs +8 -0
- package/dist/chunks/cli-0.5.14-z55jz0h2.mjs +12 -0
- package/dist/chunks/cli-0.5.14-ze38m3e0.mjs +42 -0
- package/dist/chunks/cli-0.5.14-zm1c93pa.mjs +6 -0
- package/dist/chunks/cli-0.5.14-zpggrnj1.mjs +2 -0
- package/dist/chunks/client-0.5.14-7m64ax0b.mjs +1 -0
- package/dist/chunks/color-0.5.14-gsm9gxpa.mjs +1 -0
- package/dist/chunks/compact-0.5.14-pqfy772p.mjs +3 -0
- package/dist/chunks/config-0.5.14-hdw0yb76.mjs +1 -0
- package/dist/chunks/config-0.5.14-k01b10a5.mjs +1 -0
- package/dist/chunks/constants-0.5.14-g7s59vvv.mjs +1 -0
- package/dist/chunks/context-0.5.14-0y16jvz3.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.5.14-bsa0wjaf.mjs +1 -0
- package/dist/chunks/conversation-0.5.14-sm5xssg2.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.5.14-s8z7mree.mjs +1 -0
- package/dist/chunks/copy-0.5.14-sxqyn9qc.mjs +9 -0
- package/dist/chunks/cost-0.5.14-p252pkws.mjs +1 -0
- package/dist/chunks/createSSHSession-0.5.14-kvm8kq1c.mjs +1 -0
- package/dist/chunks/createSession-0.5.14-h945q3v2.mjs +1 -0
- package/dist/chunks/debug-0.5.14-6s6x2x5y.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.5.14-pm2kkmmd.mjs +1169 -0
- package/dist/chunks/desktop-0.5.14-b0c0mf4t.mjs +1 -0
- package/dist/chunks/detectRepository-0.5.14-v7wq8791.mjs +1 -0
- package/dist/chunks/detection-0.5.14-y386aphh.mjs +1 -0
- package/dist/chunks/diff-0.5.14-hyggfx76.mjs +1 -0
- package/dist/chunks/doctor-0.5.14-q3fn5hpz.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.5.14-tq9nej4a.mjs +1 -0
- package/dist/chunks/earlyInput-0.5.14-f9vhdypy.mjs +1 -0
- package/dist/chunks/effort-0.5.14-2smy583n.mjs +10 -0
- package/dist/chunks/envUtils-0.5.14-xbzyg758.mjs +1 -0
- package/dist/chunks/environmentSelection-0.5.14-emmy6rr3.mjs +1 -0
- package/dist/chunks/environments-0.5.14-ecp8qdny.mjs +1 -0
- package/dist/chunks/errors-0.5.14-8y2a0e4y.mjs +1 -0
- package/dist/chunks/exampleCommands-0.5.14-kngvnqsk.mjs +1 -0
- package/dist/chunks/exit-0.5.14-5kstn07d.mjs +1 -0
- package/dist/chunks/export-0.5.14-4xtsrx1s.mjs +2 -0
- package/dist/chunks/extra-usage-0.5.14-c359cbqm.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.5.14-nd846d7b.mjs +1 -0
- package/dist/chunks/fast-0.5.14-ph4h5w66.mjs +1 -0
- package/dist/chunks/feedback-0.5.14-4s0gwfzz.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.5.14-c9xcj3z5.mjs +1 -0
- package/dist/chunks/git-0.5.14-5evnfaj9.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.5.14-fkz7b722.mjs +1 -0
- package/dist/chunks/goal-0.5.14-ey3n29t8.mjs +4 -0
- package/dist/chunks/grove-0.5.14-dtm2qt3a.mjs +1 -0
- package/dist/chunks/growthbook-0.5.14-p52b1fpn.mjs +1 -0
- package/dist/chunks/headless-0.5.14-szhcws9m.mjs +2 -0
- package/dist/chunks/heapdump-0.5.14-eb1hjsjx.mjs +6 -0
- package/dist/chunks/help-0.5.14-mzc8t22x.mjs +1 -0
- package/dist/chunks/hookChains-0.5.14-g97q30xx.mjs +3 -0
- package/dist/chunks/hooks-0.5.14-88bm5h5k.mjs +1 -0
- package/dist/chunks/hooks-0.5.14-ys5d015m.mjs +79 -0
- package/dist/chunks/ide-0.5.14-2krrg1a9.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.5.14-xkhg31fm.mjs +1 -0
- package/dist/chunks/index-0.5.14-0vbethc3.mjs +9 -0
- package/dist/chunks/index-0.5.14-0xy3pmj6.mjs +1 -0
- package/dist/chunks/index-0.5.14-2xwm9tzw.mjs +1 -0
- package/dist/chunks/index-0.5.14-4f2sts9v.mjs +1 -0
- package/dist/chunks/index-0.5.14-6abmnxq5.mjs +1 -0
- package/dist/chunks/index-0.5.14-7f15ecf5.mjs +1 -0
- package/dist/chunks/index-0.5.14-9xk2eb5e.mjs +2 -0
- package/dist/chunks/index-0.5.14-ac62kk33.mjs +1 -0
- package/dist/chunks/index-0.5.14-b22bcys9.mjs +1 -0
- package/dist/chunks/index-0.5.14-cpq99fc2.mjs +1 -0
- package/dist/chunks/index-0.5.14-f0fcdhmh.mjs +1 -0
- package/dist/chunks/index-0.5.14-h1dnxskr.mjs +9 -0
- package/dist/chunks/index-0.5.14-hnv3hqb4.mjs +2 -0
- package/dist/chunks/index-0.5.14-hx6n2t98.mjs +17 -0
- package/dist/chunks/index-0.5.14-j5gnx1h5.mjs +1 -0
- package/dist/chunks/index-0.5.14-jedeztfh.mjs +1 -0
- package/dist/chunks/index-0.5.14-n4ak9ayt.mjs +5 -0
- package/dist/chunks/index-0.5.14-pnvmm51v.mjs +1 -0
- package/dist/chunks/index-0.5.14-qt3rsghk.mjs +30 -0
- package/dist/chunks/index-0.5.14-w09z3j2p.mjs +1 -0
- package/dist/chunks/index-0.5.14-wegrd5ws.mjs +1 -0
- package/dist/chunks/index-0.5.14-y52vxjk8.mjs +1 -0
- package/dist/chunks/init-0.5.14-r84vn66h.mjs +1 -0
- package/dist/chunks/initReplBridge-0.5.14-93w4t2bk.mjs +1 -0
- package/dist/chunks/ink-0.5.14-dtjvx2bw.mjs +1 -0
- package/dist/chunks/insights-0.5.14-ee7wh6rp.mjs +870 -0
- package/dist/chunks/install-0.5.14-0pkv3rx9.mjs +1 -0
- package/dist/chunks/install-github-app-0.5.14-jwgnppse.mjs +149 -0
- package/dist/chunks/install-slack-app-0.5.14-xg6pdyqv.mjs +1 -0
- package/dist/chunks/instrumentation-0.5.14-40pdqy02.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.5.14-0vxxrbcv.mjs +1 -0
- package/dist/chunks/keybindings-0.5.14-yrj9hktn.mjs +2 -0
- package/dist/chunks/knowledge-0.5.14-wmfeb8sj.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.5.14-btshynjc.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.5.14-bgwtbfkw.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.14-7arkwrx5.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.5.14-ft2aw53h.mjs +1 -0
- package/dist/chunks/log-0.5.14-zc88rz5g.mjs +1 -0
- package/dist/chunks/main-0.5.14-dtm7rx0y.mjs +1 -0
- package/dist/chunks/managedEnv-0.5.14-t0mfftrg.mjs +1 -0
- package/dist/chunks/mcp-0.5.14-afsrv7xy.mjs +4 -0
- package/dist/chunks/mcp-0.5.14-m5xjst8y.mjs +17 -0
- package/dist/chunks/mcp-0.5.14-qs8y9tyg.mjs +1 -0
- package/dist/chunks/mcpb-0.5.14-hqf00wdg.mjs +1 -0
- package/dist/chunks/memory-0.5.14-deqz5wf4.mjs +3 -0
- package/dist/chunks/mobile-0.5.14-nav99g5f.mjs +2 -0
- package/dist/chunks/model-0.5.14-4m2ak31n.mjs +1 -0
- package/dist/chunks/model-0.5.14-8908s4h1.mjs +2 -0
- package/dist/chunks/node-0.5.14-y28vz58a.mjs +12 -0
- package/dist/chunks/oauth-0.5.14-cqg2kcsy.mjs +1 -0
- package/dist/chunks/openaiShim-0.5.14-zqbrf5p3.mjs +14 -0
- package/dist/chunks/output-style-0.5.14-rhdxpb2v.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.5.14-rcttc4yp.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.5.14-wj5c5dp3.mjs +1 -0
- package/dist/chunks/parser-0.5.14-thy6xbb8.mjs +1 -0
- package/dist/chunks/passes-0.5.14-vta3tpqh.mjs +1 -0
- package/dist/chunks/permissions-0.5.14-668n4zqr.mjs +3 -0
- package/dist/chunks/plan-0.5.14-fd25354c.mjs +1 -0
- package/dist/chunks/plist-0.5.14-3dqnn8w2.mjs +1 -0
- package/dist/chunks/plugin-0.5.14-tzhch29w.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.5.14-yp54tttb.mjs +1 -0
- package/dist/chunks/plugins-0.5.14-4n79y0tg.mjs +9 -0
- package/dist/chunks/preActionHook-0.5.14-7xyg62a5.mjs +2 -0
- package/dist/chunks/print-0.5.14-jkb0vbrw.mjs +57 -0
- package/dist/chunks/privacy-settings-0.5.14-5gz91bcv.mjs +1 -0
- package/dist/chunks/process-0.5.14-5ven8sh9.mjs +1 -0
- package/dist/chunks/processBashCommand-0.5.14-w72vmsa3.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.5.14-1pq0axg8.mjs +9 -0
- package/dist/chunks/prompt-0.5.14-e3te1m4f.mjs +1 -0
- package/dist/chunks/prompt-0.5.14-prgmwqyn.mjs +1 -0
- package/dist/chunks/prompts-0.5.14-cdwagfnj.mjs +1 -0
- package/dist/chunks/protocolHandler-0.5.14-s73ezrw9.mjs +13 -0
- package/dist/chunks/provider-0.5.14-v7s7j76x.mjs +2 -0
- package/dist/chunks/providerProfiles-0.5.14-5n5txt96.mjs +1 -0
- package/dist/chunks/providerValidation-0.5.14-b6jb7n1p.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.5.14-r9005cw2.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.5.14-n1ax913t.mjs +34 -0
- package/dist/chunks/registry-0.5.14-fh1m7gth.mjs +1 -0
- package/dist/chunks/release-notes-0.5.14-n6nnpd4k.mjs +5 -0
- package/dist/chunks/reload-plugins-0.5.14-1askmda7.mjs +2 -0
- package/dist/chunks/remote-env-0.5.14-zp4b9t21.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.5.14-vwrkzyqk.mjs +1 -0
- package/dist/chunks/remoteSession-0.5.14-95tfvwa6.mjs +1 -0
- package/dist/chunks/rename-0.5.14-nejym9bj.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.5.14-qqvggm22.mjs +1 -0
- package/dist/chunks/replLauncher-0.5.14-fefkewc5.mjs +1 -0
- package/dist/chunks/resume-0.5.14-4m6xat30.mjs +2 -0
- package/dist/chunks/rewind-0.5.14-r58b720w.mjs +1 -0
- package/dist/chunks/rootOptions-0.5.14-a5vv29e3.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.5.14-zb3t1137.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.5.14-xsv41nq3.mjs +1 -0
- package/dist/chunks/session-0.5.14-wyrxa25a.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.5.14-28vpj06b.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.5.14-z2qpn0tn.mjs +1 -0
- package/dist/chunks/sessionStorage-0.5.14-kwv9d6vs.mjs +1 -0
- package/dist/chunks/settings-0.5.14-p0zs5fdt.mjs +1 -0
- package/dist/chunks/setup-0.5.14-qg611r9j.mjs +5 -0
- package/dist/chunks/sinks-0.5.14-kk1z8jn1.mjs +1 -0
- package/dist/chunks/skills-0.5.14-jks9y478.mjs +1 -0
- package/dist/chunks/startupProfiler-0.5.14-jaxmn568.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.5.14-1yfdaz7t.mjs +1 -0
- package/dist/chunks/state-0.5.14-kf06ggyz.mjs +1 -0
- package/dist/chunks/stats-0.5.14-8f11qq7g.mjs +6 -0
- package/dist/chunks/status-0.5.14-yx768tmg.mjs +1 -0
- package/dist/chunks/stickers-0.5.14-8nb2bx0d.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.5.14-hhz4z80t.mjs +1 -0
- package/dist/chunks/tasks-0.5.14-mgjvgj3q.mjs +1 -0
- package/dist/chunks/teamHelpers-0.5.14-zn6sdp9e.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.5.14-mr3qdh44.mjs +1 -0
- package/dist/chunks/teleport-0.5.14-jg3r903g.mjs +1 -0
- package/dist/chunks/terminalSetup-0.5.14-ys9stqfy.mjs +1 -0
- package/dist/chunks/theme-0.5.14-vwqjdywj.mjs +1 -0
- package/dist/chunks/thinkback-0.5.14-rnqvt431.mjs +1 -0
- package/dist/chunks/thinkback-play-0.5.14-gh24t0mc.mjs +1 -0
- package/dist/chunks/toolPool-0.5.14-6bzfbnf4.mjs +1 -0
- package/dist/chunks/toolSearch-0.5.14-6em6kvm8.mjs +1 -0
- package/dist/chunks/tools-0.5.14-3zfad976.mjs +1 -0
- package/dist/chunks/trustedDevice-0.5.14-csn78406.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.5.14-fg9tbzhn.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.5.14-d4hjcjxs.mjs +4 -0
- package/dist/chunks/update-0.5.14-c55smch2.mjs +86 -0
- package/dist/chunks/upgrade-0.5.14-hgzg25f4.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.5.14-ss7ej555.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.5.14-qbb087da.mjs +1 -0
- package/dist/chunks/usage-0.5.14-pghv9g49.mjs +1 -0
- package/dist/chunks/util-0.5.14-z79t0g8n.mjs +1 -0
- package/dist/chunks/utils-0.5.14-rc3e5m8r.mjs +1 -0
- package/dist/chunks/vim-0.5.14-hfvzh87q.mjs +1 -0
- package/dist/chunks/watcher-0.5.14-eh1f1h28.mjs +1 -0
- package/dist/chunks/wiki-0.5.14-kpp6v5tp.mjs +132 -0
- package/dist/chunks/worktree-0.5.14-czpr7pcg.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.5.14-07wp1qe2.mjs +1 -0
- package/dist/chunks/wrapper-0.5.14-9z68ky7a.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +0 -1
- package/dist/chunks/App-0.5.13-h8h37pzk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +0 -1
- package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +0 -3
- package/dist/chunks/Doctor-0.5.13-335trspw.mjs +0 -1
- package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +0 -1
- package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +0 -1
- package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +0 -1
- package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +0 -1
- package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +0 -1
- package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +0 -1
- package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +0 -1
- package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +0 -1
- package/dist/chunks/agents-0.5.13-manb7tcq.mjs +0 -3
- package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +0 -110
- package/dist/chunks/api-0.5.13-q2anppzf.mjs +0 -1
- package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +0 -1
- package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +0 -1
- package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +0 -1
- package/dist/chunks/auth-0.5.13-jn53extx.mjs +0 -1
- package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +0 -48
- package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +0 -1
- package/dist/chunks/branch-0.5.13-qmyekghp.mjs +0 -4
- package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +0 -1
- package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +0 -1
- package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +0 -3
- package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +0 -1
- package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +0 -21
- package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +0 -4
- package/dist/chunks/caches-0.5.13-75dr0q42.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +0 -1
- package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +0 -1
- package/dist/chunks/clear-0.5.13-k8q15yen.mjs +0 -1
- package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +0 -1
- package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-055v20cs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-061m60f2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +0 -3
- package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-15kmd08p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-16khcs2m.mjs +0 -3
- package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-1qt91z42.mjs +0 -2
- package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +0 -45
- package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +0 -5276
- package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-426cpksk.mjs +0 -4
- package/dist/chunks/cli-0.5.13-4at49cv9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +0 -2
- package/dist/chunks/cli-0.5.13-50cwkg00.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +0 -6
- package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-62qasgve.mjs +0 -2
- package/dist/chunks/cli-0.5.13-667jxcab.mjs +0 -18
- package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +0 -2
- package/dist/chunks/cli-0.5.13-6yehabyw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +0 -4
- package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +0 -2
- package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-77mqds6w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7fzk2679.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +0 -2
- package/dist/chunks/cli-0.5.13-7je48sax.mjs +0 -15
- package/dist/chunks/cli-0.5.13-898bb5x7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-9r26f53q.mjs +0 -8
- package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +0 -3
- package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +0 -6
- package/dist/chunks/cli-0.5.13-acgafbm9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-adphma77.mjs +0 -2
- package/dist/chunks/cli-0.5.13-atfk3e81.mjs +0 -2
- package/dist/chunks/cli-0.5.13-athb0q85.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b2593ngv.mjs +0 -4
- package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-b6aefc28.mjs +0 -1
- package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +0 -4
- package/dist/chunks/cli-0.5.13-cnzars85.mjs +0 -5
- package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +0 -39
- package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +0 -24
- package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +0 -2
- package/dist/chunks/cli-0.5.13-d6bw823x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +0 -15
- package/dist/chunks/cli-0.5.13-ddpterr2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +0 -24
- package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +0 -34
- package/dist/chunks/cli-0.5.13-epjykaww.mjs +0 -17
- package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +0 -10
- package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f1e673b2.mjs +0 -2
- package/dist/chunks/cli-0.5.13-f6tattxs.mjs +0 -4
- package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +0 -3
- package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fgckevv1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-frerk7s6.mjs +0 -2
- package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gb0363rs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +0 -15
- package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +0 -12
- package/dist/chunks/cli-0.5.13-gw433gw1.mjs +0 -9
- package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +0 -17
- package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +0 -2
- package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +0 -25
- package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +0 -4
- package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +0 -2
- package/dist/chunks/cli-0.5.13-j97wk70q.mjs +0 -2
- package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +0 -3
- package/dist/chunks/cli-0.5.13-jqns71dy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +0 -2
- package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +0 -2
- package/dist/chunks/cli-0.5.13-khtf0a93.mjs +0 -9
- package/dist/chunks/cli-0.5.13-kry2fk76.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +0 -6
- package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-mwrgy706.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nc37z94b.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +0 -2
- package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +0 -133
- package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +0 -16
- package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +0 -193
- package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qfxggvke.mjs +0 -18
- package/dist/chunks/cli-0.5.13-qkjyj942.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qrn019we.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +0 -3
- package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +0 -2
- package/dist/chunks/cli-0.5.13-r442vgxt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rd990xfy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +0 -2
- package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +0 -58
- package/dist/chunks/cli-0.5.13-rrqv533k.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s005ka5h.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s58vke8w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-s719y89z.mjs +0 -2
- package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +0 -4
- package/dist/chunks/cli-0.5.13-sww17qtj.mjs +0 -42
- package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +0 -3
- package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +0 -2
- package/dist/chunks/cli-0.5.13-teedketa.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +0 -3
- package/dist/chunks/cli-0.5.13-thgp6asf.mjs +0 -21
- package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tr9s34te.mjs +0 -59
- package/dist/chunks/cli-0.5.13-tvfs784w.mjs +0 -2
- package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ve50w85d.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vee98ybt.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +0 -2
- package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +0 -3
- package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +0 -2
- package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +0 -5
- package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +0 -5
- package/dist/chunks/cli-0.5.13-xvg417w8.mjs +0 -7
- package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +0 -2
- package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +0 -2
- package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +0 -67
- package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +0 -20
- package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +0 -2
- package/dist/chunks/cli-0.5.13-yskavx3s.mjs +0 -12
- package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +0 -2
- package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +0 -4
- package/dist/chunks/cli-0.5.13-z0f17269.mjs +0 -2
- package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +0 -2
- package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +0 -3
- package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +0 -4
- package/dist/chunks/cli-0.5.13-zms1a287.mjs +0 -50
- package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +0 -133
- package/dist/chunks/client-0.5.13-wkzv25nn.mjs +0 -1
- package/dist/chunks/color-0.5.13-yd46yzt2.mjs +0 -1
- package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +0 -3
- package/dist/chunks/config-0.5.13-mwq6ejza.mjs +0 -1
- package/dist/chunks/config-0.5.13-t1bvsttc.mjs +0 -1
- package/dist/chunks/context-0.5.13-zffaf66t.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +0 -1
- package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +0 -1
- package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +0 -9
- package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +0 -1
- package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +0 -1
- package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +0 -1
- package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +0 -1177
- package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +0 -1
- package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +0 -1
- package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +0 -1
- package/dist/chunks/diff-0.5.13-515a1hs6.mjs +0 -1
- package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +0 -1
- package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +0 -1
- package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +0 -10
- package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +0 -1
- package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +0 -1
- package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +0 -1
- package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +0 -1
- package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +0 -1
- package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +0 -1
- package/dist/chunks/export-0.5.13-d2yz4k76.mjs +0 -2
- package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +0 -1
- package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +0 -1
- package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +0 -1
- package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +0 -1
- package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +0 -1
- package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +0 -1
- package/dist/chunks/headless-0.5.13-05rns8kj.mjs +0 -2
- package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +0 -6
- package/dist/chunks/help-0.5.13-8pfrra9q.mjs +0 -1
- package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +0 -3
- package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +0 -1
- package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +0 -79
- package/dist/chunks/ide-0.5.13-r40xcg67.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +0 -1
- package/dist/chunks/index-0.5.13-06mj6naw.mjs +0 -1
- package/dist/chunks/index-0.5.13-12hemzfc.mjs +0 -1
- package/dist/chunks/index-0.5.13-4559xg8z.mjs +0 -17
- package/dist/chunks/index-0.5.13-5gmbch0k.mjs +0 -9
- package/dist/chunks/index-0.5.13-5qstd1y9.mjs +0 -1
- package/dist/chunks/index-0.5.13-5zhr2qys.mjs +0 -1
- package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +0 -1
- package/dist/chunks/index-0.5.13-9zz559q7.mjs +0 -1
- package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +0 -1
- package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +0 -2
- package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +0 -1
- package/dist/chunks/index-0.5.13-ej6cywk8.mjs +0 -30
- package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +0 -1
- package/dist/chunks/index-0.5.13-fertw6vb.mjs +0 -1
- package/dist/chunks/index-0.5.13-jwf634zt.mjs +0 -1
- package/dist/chunks/index-0.5.13-nny2e7sx.mjs +0 -5
- package/dist/chunks/index-0.5.13-np7s1rcw.mjs +0 -1
- package/dist/chunks/index-0.5.13-qkvpat3t.mjs +0 -9
- package/dist/chunks/index-0.5.13-qq60ettc.mjs +0 -1
- package/dist/chunks/index-0.5.13-rty9gaxf.mjs +0 -2
- package/dist/chunks/index-0.5.13-yqdcztr9.mjs +0 -1
- package/dist/chunks/index-0.5.13-zhze2z09.mjs +0 -1
- package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +0 -1
- package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +0 -1
- package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +0 -1
- package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +0 -870
- package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +0 -1
- package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +0 -149
- package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +0 -1
- package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +0 -1
- package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +0 -2
- package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +0 -1
- package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +0 -1
- package/dist/chunks/main-0.5.13-n87gjwzq.mjs +0 -1
- package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +0 -1
- package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +0 -4
- package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +0 -17
- package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +0 -1
- package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +0 -1
- package/dist/chunks/memory-0.5.13-exfd915f.mjs +0 -3
- package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +0 -2
- package/dist/chunks/model-0.5.13-02rcx381.mjs +0 -1
- package/dist/chunks/model-0.5.13-nn224m13.mjs +0 -2
- package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +0 -12
- package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +0 -1
- package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +0 -14
- package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +0 -1
- package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +0 -1
- package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +0 -1
- package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +0 -3
- package/dist/chunks/plan-0.5.13-837bdxnq.mjs +0 -1
- package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +0 -1
- package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +0 -1
- package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +0 -9
- package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +0 -2
- package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +0 -57
- package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +0 -1
- package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +0 -1
- package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +0 -9
- package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +0 -1
- package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +0 -1
- package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +0 -1
- package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +0 -13
- package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +0 -2
- package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +0 -1
- package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +0 -34
- package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +0 -1
- package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +0 -5
- package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +0 -2
- package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +0 -1
- package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +0 -1
- package/dist/chunks/rename-0.5.13-c388bb34.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +0 -1
- package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +0 -1
- package/dist/chunks/resume-0.5.13-zwms595g.mjs +0 -2
- package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +0 -1
- package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +0 -1
- package/dist/chunks/session-0.5.13-ef059m1s.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +0 -1
- package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +0 -1
- package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +0 -1
- package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +0 -5
- package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +0 -1
- package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +0 -1
- package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +0 -1
- package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +0 -1
- package/dist/chunks/stats-0.5.13-6083a1n1.mjs +0 -6
- package/dist/chunks/status-0.5.13-043z2z1k.mjs +0 -1
- package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +0 -1
- package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +0 -1
- package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +0 -1
- package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +0 -1
- package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +0 -1
- package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +0 -1
- package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +0 -1
- package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +0 -1
- package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +0 -1
- package/dist/chunks/tools-0.5.13-jd6408d0.mjs +0 -1
- package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +0 -4
- package/dist/chunks/update-0.5.13-r5daertf.mjs +0 -86
- package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +0 -1
- package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +0 -1
- package/dist/chunks/util-0.5.13-f4gpmja3.mjs +0 -1
- package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +0 -1
- package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +0 -1
- package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +0 -1
- package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +0 -132
- package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +0 -1
- package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +0 -7
- /package/dist/chunks/{cli-0.5.13-c4q1pthh.mjs → cli-0.5.14-0603yw8e.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-07hv5jdz.mjs → cli-0.5.14-erhk4f70.mjs} +0 -0
- /package/dist/chunks/{cli-0.5.13-epw9z05w.mjs → cli-0.5.14-jayg77dr.mjs} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{NG as Q,QG as F}from"./cli-0.5.14-jf3et57a.mjs";import{Qga as b,Tga as y}from"./cli-0.5.14-6raawc34.mjs";import{kha as x,pha as f}from"./cli-0.5.14-ef8ctc2m.mjs";import{Fha as R,sha as w}from"./cli-0.5.14-p8gq7nq3.mjs";import{dna as K,nja as $,qja as j}from"./cli-0.5.14-gm5kmg2w.mjs";import{Ooa as v}from"./cli-0.5.14-hanfd2pz.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
|
|
2
|
+
|
|
3
|
+
`:"",B=k===G?`
|
|
4
|
+
|
|
5
|
+
${c}`:"";return`Scheduled loop tick.
|
|
6
|
+
|
|
7
|
+
${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
|
|
8
|
+
|
|
9
|
+
If .claudin/loop.md exists, read it and follow it.
|
|
10
|
+
Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
|
|
11
|
+
Otherwise:
|
|
12
|
+
- continue any unfinished work from the conversation
|
|
13
|
+
- tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
|
|
14
|
+
- run cleanup passes such as bug hunts or simplification when nothing else is pending
|
|
15
|
+
|
|
16
|
+
Do not start new initiatives outside that scope.
|
|
17
|
+
Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
|
|
18
|
+
export{Y as Vg,G as Wg,D as Xg,g as Yg,M as Zg,U as _g};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{AR as o,BR as s,GR as GQ,wR as t,xR as E,zR as a}from"./cli-0.5.14-b2y4c4qz.mjs";import{l0 as N,n0 as r}from"./cli-0.5.14-r61p0n6x.mjs";import{E3 as U,F3 as I}from"./cli-0.5.14-1d34ehpy.mjs";import{X4 as n,c5 as KQ}from"./cli-0.5.14-4367p06d.mjs";import{v7 as Y,x7 as h}from"./cli-0.5.14-ndq9rhn7.mjs";import{Ofa as u,Qfa as ZQ}from"./cli-0.5.14-easqaf33.mjs";import{Qga as K,Tga as b,tga as k,uga as R,yga as y}from"./cli-0.5.14-6raawc34.mjs";import{iha as H,jha as i,pha as F}from"./cli-0.5.14-ef8ctc2m.mjs";import{Zna as e,poa as jQ}from"./cli-0.5.14-cw6v5vt0.mjs";ZQ();b();h();F();y();function D(Q){if(Q<60000)return`${Math.round(Q/1000)}s`;let W=Math.floor(Q/60000),Z=Math.round(Q%60000/1000);return Z>0?`${W}m ${Z}s`:`${W}m`}function $Q(Q){let Z=(Q.startsWith("sk-ant-si-")?Q.slice(10):Q).split(".");if(Z.length!==3||!Z[1])return null;try{return R(Buffer.from(Z[1],"base64url").toString("utf8"))}catch{return null}}function f(Q){let W=$Q(Q);if(W!==null&&typeof W==="object"&&"exp"in W&&typeof W.exp==="number")return W.exp;return null}var zQ=300000,p=1800000,m=3,JQ=60000;function FQ({getAccessToken:Q,onRefresh:W,label:Z,refreshBufferMs:z=zQ}){let $=new Map,J=new Map,G=new Map;function X(V){let w=(G.get(V)??0)+1;return G.set(V,w),w}function q(V,w){let j=f(w);if(!j){K(`[${Z}:token] Could not decode JWT expiry for sessionId=${V}, token prefix=${w.slice(0,15)}…, keeping existing timer`);return}let C=$.get(V);if(C)clearTimeout(C);let B=X(V),P=new Date(j*1000).toISOString(),v=j*1000-Date.now()-z;if(v<=0){K(`[${Z}:token] Token for sessionId=${V} expires=${P} (past or within buffer), refreshing immediately`),O(V,B);return}K(`[${Z}:token] Scheduled token refresh for sessionId=${V} in ${D(v)} (expires=${P}, buffer=${z/1000}s)`);let WQ=setTimeout(O,v,V,B);$.set(V,WQ)}function L(V,w){let j=$.get(V);if(j)clearTimeout(j);let C=X(V),B=Math.max(w*1000-z,30000);K(`[${Z}:token] Scheduled token refresh for sessionId=${V} in ${D(B)} (expires_in=${w}s, buffer=${z/1000}s)`);let P=setTimeout(O,B,V,C);$.set(V,P)}async function O(V,w){let j;try{j=await Q()}catch(B){K(`[${Z}:token] getAccessToken threw for sessionId=${V}: ${H(B)}`,{level:"error"})}if(G.get(V)!==w){K(`[${Z}:token] doRefresh for sessionId=${V} stale (gen ${w} vs ${G.get(V)}), skipping`);return}if(!j){let B=(J.get(V)??0)+1;if(J.set(V,B),K(`[${Z}:token] No OAuth token available for refresh, sessionId=${V} (failure ${B}/${m})`,{level:"error"}),Y("error","bridge_token_refresh_no_oauth"),B<m){let P=setTimeout(O,JQ,V,w);$.set(V,P)}return}J.delete(V),K(`[${Z}:token] Refreshing token for sessionId=${V}: new token prefix=${j.slice(0,15)}…`),u("tengu_bridge_token_refreshed",{}),W(V,j);let C=setTimeout(O,p,V,w);$.set(V,C),K(`[${Z}:token] Scheduled follow-up refresh for sessionId=${V} in ${D(p)}`)}function _(V){X(V);let w=$.get(V);if(w)clearTimeout(w),$.delete(V);J.delete(V)}function QQ(){for(let V of G.keys())X(V);for(let V of $.values())clearTimeout(V);$.clear(),J.clear()}return{schedule:q,scheduleFromExpiresIn:L,cancel:_,cancelAll:QQ}}import{randomUUID as g}from"crypto";b();h();F();KQ();GQ();a();I();r();y();class T extends Error{retryAfterMs;constructor(Q,W){super(Q);this.retryAfterMs=W}}class x{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(Q){this.config=Q}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(Q){if(this.closed)return;let W=Array.isArray(Q)?Q:[Q];if(W.length===0)return;while(this.pending.length+W.length>this.config.maxQueueSize&&!this.closed)await new Promise((Z)=>{this.backpressureResolvers.push(Z)});if(this.closed)return;this.pending.push(...W),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((Q)=>{this.flushResolvers.push(Q)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let Q of this.backpressureResolvers)Q();this.backpressureResolvers=[];for(let Q of this.flushResolvers)Q();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let Q=0;try{while(this.pending.length>0&&!this.closed){let W=this.takeBatch();if(W.length===0)continue;try{await this.config.send(W),Q=0}catch(Z){if(Q++,this.config.maxConsecutiveFailures!==void 0&&Q>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(W.length,Q),Q=0,this.releaseBackpressure();continue}this.pending=W.concat(this.pending);let z=Z instanceof T?Z.retryAfterMs:void 0;await this.sleep(this.retryDelay(Q,z));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let W of this.flushResolvers)W();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:Q,maxBatchBytes:W}=this.config;if(W===void 0)return this.pending.splice(0,Q);let Z=0,z=0;while(z<this.pending.length&&z<Q){let $;try{$=Buffer.byteLength(k(this.pending[z]))}catch{this.pending.splice(z,1);continue}if(z>0&&Z+$>W)break;Z+=$,z++}return this.pending.splice(0,z)}retryDelay(Q,W){let Z=Math.random()*this.config.jitterMs;if(W!==void 0)return Math.max(this.config.baseDelayMs,Math.min(W,this.config.maxDelayMs))+Z;return Math.min(this.config.baseDelayMs*2**(Q-1),this.config.maxDelayMs)+Z}releaseBackpressure(){let Q=this.backpressureResolvers;this.backpressureResolvers=[];for(let W of Q)W()}sleep(Q){return new Promise((W)=>{this.sleepResolve=W,setTimeout((Z,z)=>{Z.sleepResolve=null,z()},Q,this,W)})}}I();class c{inflight=null;pending=null;closed=!1;config;constructor(Q){this.config=Q}enqueue(Q){if(this.closed)return;this.pending=this.pending?d(this.pending,Q):Q,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let Q=this.pending;this.pending=null,this.inflight=this.sendWithRetry(Q).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(Q){let W=Q,Z=0;while(!this.closed){if(await this.config.send(W))return;if(Z++,await U(this.retryDelay(Z)),this.pending&&!this.closed)W=d(W,this.pending),this.pending=null}}retryDelay(Q){let W=Math.min(this.config.baseDelayMs*2**(Q-1),this.config.maxDelayMs),Z=Math.random()*this.config.jitterMs;return W+Z}}function d(Q,W){let Z={...Q};for(let[z,$]of Object.entries(W))if((z==="external_metadata"||z==="internal_metadata")&&Z[z]&&typeof Z[z]==="object"&&typeof $==="object"&&$!==null)Z[z]={...Z[z],...$};else Z[z]=$;return Z}var VQ=20000,YQ=100;function l(){return!0}class M extends Error{reason;constructor(Q){super(`CCRClient init failed: ${Q}`);this.reason=Q}}var XQ=10;function qQ(){return{byMessage:new Map,scopeToMessage:new Map}}function S(Q){return`${Q.session_id}:${Q.parent_tool_use_id??""}`}function wQ(Q,W){let Z=[],z=new Map;for(let $ of Q)switch($.event.type){case"message_start":{let J=$.event.message.id,G=W.scopeToMessage.get(S($));if(G)W.byMessage.delete(G);W.scopeToMessage.set(S($),J),W.byMessage.set(J,[]),Z.push($);break}case"content_block_delta":{if($.event.delta.type!=="text_delta"){Z.push($);break}let J=W.scopeToMessage.get(S($)),G=J?W.byMessage.get(J):void 0;if(!G){Z.push($);break}let X=G[$.event.index]??=[];X.push($.event.delta.text);let q=z.get(X);if(q){q.event.delta.text=X.join("");break}let L={type:"stream_event",uuid:$.uuid,session_id:$.session_id,parent_tool_use_id:$.parent_tool_use_id,event:{type:"content_block_delta",index:$.event.index,delta:{type:"text_delta",text:X.join("")}}};z.set(X,L),Z.push(L);break}default:Z.push($)}return Z}function LQ(Q,W){Q.byMessage.delete(W.message.id);let Z=S(W);if(Q.scopeToMessage.get(Z)===W.message.id)Q.scopeToMessage.delete(Z)}class OQ{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=n({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=qQ();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(Q,W,Z){if(this.onEpochMismatch=Z?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=Z?.heartbeatIntervalMs??VQ,this.heartbeatJitterFraction=Z?.heartbeatJitterFraction??0,this.getAuthHeaders=Z?.getAuthHeaders??E,W.protocol!=="http:"&&W.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${W.protocol}`);let z=W.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${W.protocol}//${W.host}${z}`,this.sessionId=z.split("/").pop()||"",this.workerState=new c({send:($)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...$},"PUT worker").then((J)=>J.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new x({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async($)=>{let J=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:$},"client events");if(!J.ok)throw new T("client event POST failed",J.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new x({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async($)=>{let J=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:$},"internal events");if(!J.ok)throw new T("internal event POST failed",J.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new x({maxBatchSize:64,maxQueueSize:64,send:async($)=>{let J=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:$.map((G)=>({event_id:G.eventId,status:G.status}))},"delivery batch");if(!J.ok)throw new T("delivery POST failed",J.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),Q.setOnEvent(($)=>{this.reportDelivery($.event_id,"received")})}async initialize(Q){let W=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new M("no_auth_headers");if(Q===void 0){let G=process.env.CLAUDE_CODE_WORKER_EPOCH;Q=G?parseInt(G,10):NaN}if(isNaN(Q))throw new M("missing_epoch");this.workerEpoch=Q;let Z=this.getWorkerState();if(!(await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)")).ok)throw new M("worker_register_failed");this.currentState="idle",this.startHeartbeat(),o(()=>{this.writeEvent({type:"keep_alive"})}),K(`CCRClient: initialized, epoch=${this.workerEpoch}`),Y("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-W});let{metadata:$,durationMs:J}=await Z;if(!this.closed)Y("info","cli_worker_state_restored",{duration_ms:J,had_state:$!==null});return $}async getWorkerState(){let Q=Date.now(),W=this.getAuthHeaders();if(Object.keys(W).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,W,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-Q}}async request(Q,W,Z,z,{timeout:$=1e4}={}){let J=this.getAuthHeaders();if(Object.keys(J).length===0)return{ok:!1};try{let G=await this.http[Q](`${this.sessionBaseUrl}${W}`,Z,{headers:{...J,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":N()},validateStatus:l,timeout:$});if(G.status>=200&&G.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(G.status===409)this.handleEpochMismatch();if(G.status===401||G.status===403){let X=t(),q=X?f(X):null;if(q!==null&&q*1000<Date.now())K(`CCRClient: session_token expired (exp=${new Date(q*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),Y("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=XQ)K(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),Y("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(K(`CCRClient: ${z} returned ${G.status}`,{level:"warn"}),Y("warn","cli_worker_request_failed",{method:Q,path:W,status:G.status}),G.status===429){let X=G.headers?.["retry-after"],q=typeof X==="string"?parseInt(X,10):NaN;if(!isNaN(q)&&q>=0)return{ok:!1,retryAfterMs:q*1000}}return{ok:!1}}catch(G){return K(`CCRClient: ${z} failed: ${H(G)}`,{level:"warn"}),Y("warn","cli_worker_request_error",{method:Q,path:W,error_code:i(G)}),{ok:!1}}}reportState(Q,W){if(Q===this.currentState&&!W)return;this.currentState=Q,this.workerState.enqueue({worker_status:Q,requires_action_details:W?{tool_name:W.tool_name,action_description:W.action_description,request_id:W.request_id}:null})}reportMetadata(Q){this.workerState.enqueue({external_metadata:Q})}handleEpochMismatch(){K("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),Y("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let Q=()=>{let Z=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(W,this.heartbeatIntervalMs+Z)},W=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;Q()};Q()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)K("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(Q){if(Q.type==="stream_event"){if(this.streamEventBuffer.push(Q),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),YQ);return}if(await this.flushStreamEventBuffer(),Q.type==="assistant")LQ(this.streamTextAccumulator,Q);await this.eventUploader.enqueue(this.toClientEvent(Q))}toClientEvent(Q){let W=Q;return{payload:{...W,uuid:typeof W.uuid==="string"?W.uuid:g()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let Q=this.streamEventBuffer;this.streamEventBuffer=[];let W=wQ(Q,this.streamTextAccumulator);await this.eventUploader.enqueue(W.map((Z)=>({payload:Z,ephemeral:!0})))}async writeInternalEvent(Q,W,{isCompaction:Z=!1,agentId:z}={}){let $={payload:{type:Q,...W,uuid:typeof W.uuid==="string"?W.uuid:g()},...Z&&{is_compaction:!0},...z&&{agent_id:z}};await this.internalEventUploader.enqueue($)}flushInternalEvents(){return this.internalEventUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true"},"subagent_events")}async paginatedGet(Q,W,Z){let z=this.getAuthHeaders();if(Object.keys(z).length===0)return null;let $=[],J;do{let G=new URL(`${this.sessionBaseUrl}${Q}`);for(let[q,L]of Object.entries(W))G.searchParams.set(q,L);if(J)G.searchParams.set("cursor",J);let X=await this.getWithRetry(G.toString(),z,Z);if(!X)return null;$.push(...X.data??[]),J=X.next_cursor}while(J);return K(`CCRClient: Read ${$.length} internal events from ${Q}${W.subagents?" (subagents)":""}`),$}async getWithRetry(Q,W,Z){for(let z=1;z<=10;z++){let $;try{$=await this.http.get(Q,{headers:{...W,"anthropic-version":"2023-06-01","User-Agent":N()},validateStatus:l,timeout:30000})}catch(J){if(K(`CCRClient: GET ${Q} failed (attempt ${z}/10): ${H(J)}`,{level:"warn"}),z<10){let G=Math.min(500*2**(z-1),30000)+Math.random()*500;await U(G)}continue}if($.status>=200&&$.status<300)return $.data;if($.status===409)this.handleEpochMismatch();if(K(`CCRClient: GET ${Q} returned ${$.status} (attempt ${z}/10)`,{level:"warn"}),z<10){let J=Math.min(500*2**(z-1),30000)+Math.random()*500;await U(J)}}return K("CCRClient: GET retries exhausted",{level:"error"}),Y("error","cli_worker_get_retries_exhausted",{context:Z}),null}reportDelivery(Q,W){this.deliveryUploader.enqueue({eventId:Q,status:W})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),s(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.streamTextAccumulator.byMessage.clear(),this.streamTextAccumulator.scopeToMessage.clear(),this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}jQ();b();h();F();a();I();y();r();var BQ=1000,HQ=30000,UQ=600000,CQ=45000,PQ=new Set([401,403,404]),A=10,TQ=500,NQ=8000,kQ={stream:!0};function xQ(){return!0}function AQ(Q){let W=[],Z=0,z;while((z=Q.indexOf(`
|
|
2
|
+
|
|
3
|
+
`,Z))!==-1){let $=Q.slice(Z,z);if(Z=z+2,!$.trim())continue;let J={},G=!1;for(let X of $.split(`
|
|
4
|
+
`)){if(X.startsWith(":")){G=!0;continue}let q=X.indexOf(":");if(q===-1)continue;let L=X.slice(0,q),O=X[q+1]===" "?X.slice(q+2):X.slice(q+1);switch(L){case"event":J.event=O;break;case"id":J.id=O;break;case"data":J.data=J.data?J.data+`
|
|
5
|
+
`+O:O;break}}if(J.data||G)W.push(J)}return{frames:W,remaining:Q.slice(Z)}}class _Q{url;state="idle";onData;onCloseCallback;onEventCallback;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;livenessTimer=null;postUrl;constructor(Q,W={},Z,z,$,J){this.url=Q;if(this.headers=W,this.sessionId=Z,this.refreshHeaders=z,this.getAuthHeaders=J??E,this.postUrl=RQ(Q),$!==void 0&&$>0)this.lastSequenceNum=$;K(`SSETransport: SSE URL = ${Q.href}`),K(`SSETransport: POST URL = ${this.postUrl}`),Y("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){K(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Y("error","cli_sse_connect_failed");return}this.state="reconnecting";let Q=Date.now(),W=new URL(this.url.href);if(this.lastSequenceNum>0)W.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let Z=this.getAuthHeaders(),z={...this.headers,...Z,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":N()};if(Z.Cookie)delete z.Authorization;if(this.lastSequenceNum>0)z["Last-Event-ID"]=String(this.lastSequenceNum);K(`SSETransport: Opening ${W.href}`),Y("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let $=await fetch(W.href,{headers:z,signal:this.abortController.signal});if(!$.ok){let G=PQ.has($.status);if(K(`SSETransport: HTTP ${$.status}${G?" (permanent)":""}`,{level:"error"}),Y("error","cli_sse_connect_http_error",{status:$.status}),G){this.state="closed",this.onCloseCallback?.($.status);return}this.handleConnectionError();return}if(!$.body){K("SSETransport: No response body"),this.handleConnectionError();return}let J=Date.now()-Q;K("SSETransport: Connected"),Y("info","cli_sse_connect_connected",{duration_ms:J}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream($.body)}catch($){if(this.abortController?.signal.aborted)return;K(`SSETransport: Connection error: ${H($)}`,{level:"error"}),Y("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(Q){let W=Q.getReader(),Z=new TextDecoder,z="";try{while(!0){let{done:$,value:J}=await W.read();if($)break;z+=Z.decode(J,kQ);let{frames:G,remaining:X}=AQ(z);z=X;for(let q of G){if(this.resetLivenessTimer(),q.id){let L=parseInt(q.id,10);if(!isNaN(L)){if(this.seenSequenceNums.has(L))K(`SSETransport: DUPLICATE frame seq=${L} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),Y("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(L),this.seenSequenceNums.size>1000){let O=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<O)this.seenSequenceNums.delete(_)}if(L>this.lastSequenceNum)this.lastSequenceNum=L}}if(q.event&&q.data)this.handleSSEFrame(q.event,q.data);else if(q.data)K("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),Y("warn","cli_sse_frame_missing_event_field")}}}catch($){if(this.abortController?.signal.aborted)return;K(`SSETransport: Stream read error: ${H($)}`,{level:"error"}),Y("error","cli_sse_stream_read_error")}finally{W.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")K("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(Q,W){if(Q!=="client_event"){K(`SSETransport: Unexpected SSE event type '${Q}' on worker stream`,{level:"warn"}),Y("warn","cli_sse_unexpected_event_type",{event_type:Q});return}let Z;try{Z=R(W)}catch($){K(`SSETransport: Failed to parse client_event data: ${H($)}`,{level:"error"});return}let z=Z.payload;if(z&&typeof z==="object"&&"type"in z){let $=this.sessionId?` session=${this.sessionId}`:"";K(`SSETransport: Event seq=${Z.sequence_num} event_id=${Z.event_id} event_type=${Z.event_type} payload_type=${String(z.type)}${$}`),Y("info","cli_sse_message_received"),this.onData?.(k(z)+`
|
|
6
|
+
`)}else K(`SSETransport: Ignoring client_event with no type in payload: event_id=${Z.event_id}`);this.onEventCallback?.(Z)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;let W=Q-this.reconnectStartTime;if(W<UQ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let $=this.refreshHeaders();Object.assign(this.headers,$),K("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let Z=Math.min(BQ*Math.pow(2,this.reconnectAttempts-1),HQ),z=Math.max(0,Z+Z*0.25*(2*Math.random()-1));K(`SSETransport: Reconnecting in ${Math.round(z)}ms (attempt ${this.reconnectAttempts}, ${Math.round(W/1000)}s elapsed)`),Y("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},z)}else K(`SSETransport: Reconnection time budget exhausted after ${Math.round(W/1000)}s`,{level:"error"}),Y("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:W}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,K("SSETransport: Liveness timeout, reconnecting",{level:"error"}),Y("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,CQ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(Q){let W=this.getAuthHeaders();if(Object.keys(W).length===0){K("SSETransport: No session token available for POST"),Y("warn","cli_sse_post_no_token");return}let Z={...W,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":N()};K(`SSETransport: POST body keys=${Object.keys(Q).join(",")}`);for(let z=1;z<=A;z++){try{let J=await e.post(this.postUrl,Q,{headers:Z,validateStatus:xQ});if(J.status===200||J.status===201){K(`SSETransport: POST success type=${Q.type}`);return}if(K(`SSETransport: POST ${J.status} body=${k(J.data).slice(0,200)}`),J.status>=400&&J.status<500&&J.status!==429){K(`SSETransport: POST returned ${J.status} (client error), not retrying`),Y("warn","cli_sse_post_client_error",{status:J.status});return}K(`SSETransport: POST returned ${J.status}, attempt ${z}/${A}`),Y("warn","cli_sse_post_retryable_error",{status:J.status,attempt:z})}catch(J){K(`SSETransport: POST error: ${J.message}, attempt ${z}/${A}`),Y("warn","cli_sse_post_network_error",{attempt:z})}if(z===A){K(`SSETransport: POST failed after ${A} attempts, continuing`),Y("warn","cli_sse_post_retries_exhausted");return}let $=Math.min(TQ*Math.pow(2,z-1),NQ);await U($)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(Q){this.onData=Q}setOnClose(Q){this.onCloseCallback=Q}setOnEvent(Q){this.onEventCallback=Q}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function RQ(Q){let W=Q.pathname;if(W.endsWith("/stream"))W=W.slice(0,-7);return`${Q.protocol}//${Q.host}${W}`}
|
|
7
|
+
export{FQ as n,x as o,M as p,OQ as q,_Q as r};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Noa as Q,Ooa as U}from"./cli-0.5.14-hanfd2pz.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
|
|
2
|
+
export{K as voa,w as woa,L as xoa};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Joa as Z}from"./cli-0.5.14-g91kxyj3.mjs";import{Moa as Y,Poa as O}from"./cli-0.5.14-hanfd2pz.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
|
|
2
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
|
|
4
|
+
export{ye as Coa};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{D3 as K,x3 as x}from"./cli-0.5.14-1d34ehpy.mjs";import{Faa as J,vaa as w}from"./cli-0.5.14-ndq9rhn7.mjs";import{Lea as v,Xea as I}from"./cli-0.5.14-pvx7sqsj.mjs";import{Fha as G,vha as q}from"./cli-0.5.14-p8gq7nq3.mjs";import{Ooa as z}from"./cli-0.5.14-hanfd2pz.mjs";function W(b){return b.type==="advisor_tool_result"||b.type==="server_tool_use"&&b.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 b=j();return k()&&!N()&&b.baseModel&&b.advisorModel?{baseModel:b.baseModel,advisorModel:b.advisorModel}:void 0}function Z(b){let h=b.toLowerCase();return h.includes("opus-4-8")||h.includes("opus-4-7")||h.includes("opus-4-6")||h.includes("sonnet-4-6")}function $(b){let h=b.toLowerCase();return h.includes("opus-4-8")||h.includes("opus-4-7")||h.includes("opus-4-6")||h.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(b){let h=b.iterations;if(!h)return[];return h.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 gS,k as hS,N as iS,X as jS,Z as kS,$ as lS,B as mS,D as nS,F as oS,O as pS};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{rd as j,sd as E}from"./cli-0.5.14-vqk0h33w.mjs";import{II as Z,In as W,KI as w,Ln as v,OI as _,QI as $,VI as f,xI as X,zI as Y}from"./cli-0.5.14-jf3et57a.mjs";import{$_ as Q,Eba as S,Pba as A,kda as V,m$ as T,sda as N}from"./cli-0.5.14-ndq9rhn7.mjs";import{Qga as B,Tga as R}from"./cli-0.5.14-6raawc34.mjs";import{iha as L,pha as K}from"./cli-0.5.14-ef8ctc2m.mjs";import{Ooa as y}from"./cli-0.5.14-hanfd2pz.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
|
|
2
|
+
export{d as Pc,P as Qc,t as Rc,U as Sc};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Wga as ZX,Zga as y8}from"./cli-0.5.14-efp8wjg1.mjs";import{jha as r,pha as R8}from"./cli-0.5.14-ef8ctc2m.mjs";import{Fha as j8,sha as $X,vha as NJ}from"./cli-0.5.14-p8gq7nq3.mjs";import{$ha as oJ,Cia as O,Dia as GJ,Gha as dQ,Hha as P6,Mha as qJ,Nha as oX,Qha as eJ,Rha as fX,Sha as fQ,Tha as T6,Uha as $Q,Vha as cX,Yha as JQ,Zha as pX,_ha as g,aia as n,bia as LQ,dna as sQ,eia as pQ,fia as v6,iia as l,jia as wQ,jja as XX,kia as w,lia as kQ,oia as yJ,pia as OX,qia as h,ria as vJ,sia as tJ,tia as hX,uia as hJ,via as wX,wia as y,xia as OJ,yia as gQ,zia as m6}from"./cli-0.5.14-gm5kmg2w.mjs";import{Cna as V,Dna as xJ,ena as SJ,fna as CX,kna as cJ,lna as TX,mna as HJ,nna as J6,qna as L,rna as XJ,wna as LJ,xna as zX}from"./cli-0.5.14-y3kkm5vp.mjs";import{Noa as uJ,Ooa as U,Qoa as N,Roa as W}from"./cli-0.5.14-hanfd2pz.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
|
|
2
|
+
`)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
|
|
3
|
+
`);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
|
|
4
|
+
`))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
|
|
5
|
+
`;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
|
|
6
|
+
export{zJ as Rfa,BJ as Sfa,IJ as Tfa,r8 as Ufa,CJ as Vfa,e as Wfa,_J as Xfa,m as Yfa,JJ as Zfa,j as _fa,QJ as $fa,R as aga,k as bga,_ as cga,d as dga,$J as ega,lJ as fga,iJ as gga,rJ as hga,b as iga,ZJ as jga,ZQ as kga,YQ as lga,BQ as mga,IQ as nga,RQ as oga,AQ as pga,nQ as qga,lQ as rga,E as sga,KJ as tga,I8 as uga,C8 as vga,F8 as wga,V8 as xga,UJ as yga,JX as zga,H1 as Aga,G1 as Bga,s as Cga,K1 as Dga,U1 as Ega,N1 as Fga,QX as Gga,g8 as Hga,T as Iga,L1 as Jga,b8 as Kga,GX as Lga,KX as Mga,_1 as Nga,S1 as Oga,O1 as Pga,D8 as Qga,UX as Rga,w1 as Sga,aQ as Tga};
|