@claudiolabs/claudio 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.1.15-aene6e12.mjs +1 -0
- package/dist/chunks/App-0.1.15-skbrajfh.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +1 -0
- package/dist/chunks/{AssistantSessionChooser-0.1.14-tf848k8v.mjs → AssistantSessionChooser-0.1.15-3wyrkte5.mjs} +1 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +1 -0
- package/dist/chunks/{DiffDialog-0.1.14-wtx2wmbs.mjs → DiffDialog-0.1.15-86m0j64m.mjs} +1 -1
- package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +1 -0
- package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +1 -0
- package/dist/chunks/{ITermBackend-0.1.14-xtdr5bmp.mjs → ITermBackend-0.1.15-ejm7gc8d.mjs} +1 -1
- package/dist/chunks/{InProcessTransport-0.1.14-wdqgcpb4.mjs → InProcessTransport-0.1.15-p32k8qva.mjs} +1 -1
- package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +1 -0
- package/dist/chunks/{Onboarding-0.1.14-1rddgg2b.mjs → Onboarding-0.1.15-pqx4v1wq.mjs} +1 -1
- package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +1 -0
- package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +1 -0
- package/dist/chunks/{ResumeConversation-0.1.14-79hg5s2w.mjs → ResumeConversation-0.1.15-fm1gvj49.mjs} +1 -1
- package/dist/chunks/{SnapshotUpdateDialog-0.1.14-sbjnsz3c.mjs → SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs} +1 -1
- package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +1 -0
- package/dist/chunks/{TeleportResumeWrapper-0.1.14-8wfa8twy.mjs → TeleportResumeWrapper-0.1.15-bwv0syaw.mjs} +1 -1
- package/dist/chunks/{TmuxBackend-0.1.14-175xkeyy.mjs → TmuxBackend-0.1.15-0d8n5p59.mjs} +1 -1
- package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +1 -0
- package/dist/chunks/{TrustDialog-0.1.14-zvmfmtg5.mjs → TrustDialog-0.1.15-srz2xcqx.mjs} +1 -1
- package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +1 -0
- package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +1 -0
- package/dist/chunks/agents-0.1.15-vkekdkan.mjs +3 -0
- package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +111 -0
- package/dist/chunks/api-0.1.15-jq17qdd8.mjs +1 -0
- package/dist/chunks/{asciicast-0.1.14-kgp9j4z6.mjs → asciicast-0.1.15-4t4tanfk.mjs} +1 -1
- package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +1 -0
- package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +1 -0
- package/dist/chunks/{auth-0.1.14-vj6095mm.mjs → auth-0.1.15-x6bxj6d1.mjs} +1 -1
- package/dist/chunks/{autoMode-0.1.14-jxse6h16.mjs → autoMode-0.1.15-p9r45wxy.mjs} +1 -1
- package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +1 -0
- package/dist/chunks/{branch-0.1.14-r5tt7cec.mjs → branch-0.1.15-cqq1x0cj.mjs} +1 -1
- package/dist/chunks/{bridgePointer-0.1.14-2w1wvxgt.mjs → bridgePointer-0.1.15-p6kq1zz7.mjs} +1 -1
- package/dist/chunks/{btw-0.1.14-j1cexrtn.mjs → btw-0.1.15-q693ppfr.mjs} +1 -1
- package/dist/chunks/{buddy-0.1.14-r4nmfbke.mjs → buddy-0.1.15-vcca6k2p.mjs} +1 -1
- package/dist/chunks/{cacache-0.1.14-3vw5qkqs.mjs → cacache-0.1.15-tj6nes3h.mjs} +1 -1
- package/dist/chunks/{cache-probe-0.1.14-zfb6aw4f.mjs → cache-probe-0.1.15-dfdjj53r.mjs} +1 -1
- package/dist/chunks/{cacheStats-0.1.14-15eahew3.mjs → cacheStats-0.1.15-v9v9y02q.mjs} +1 -1
- package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +1 -0
- package/dist/chunks/{claudeDesktop-0.1.14-0df0z4v6.mjs → claudeDesktop-0.1.15-rxtx8hbf.mjs} +1 -1
- package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +1 -0
- package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +1 -0
- package/dist/chunks/{cli-0.1.14-39y8qfj7.mjs → cli-0.1.15-0a38j3t8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ktz3cgwa.mjs → cli-0.1.15-0g0abv7y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-mgcmwvcn.mjs → cli-0.1.15-11sdbfxy.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-r46jh9af.mjs → cli-0.1.15-12azgmva.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-as9nq99n.mjs → cli-0.1.15-1hxkpjgs.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-sn1rf71y.mjs → cli-0.1.15-1kmf57b0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-eq0gbnpg.mjs → cli-0.1.15-1nkkhw5c.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-heevc19y.mjs → cli-0.1.15-20tvdt2s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-edjtfw4q.mjs → cli-0.1.15-216kns0c.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-sb7dm65b.mjs → cli-0.1.15-229xqnrp.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-hvfg45y0.mjs → cli-0.1.15-23cavaaa.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-j5sbzwhy.mjs → cli-0.1.15-26hkdean.mjs} +709 -707
- package/dist/chunks/{cli-0.1.14-244fknyr.mjs → cli-0.1.15-2ccapgj1.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fdpfr31f.mjs → cli-0.1.15-2h647znt.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-0kzzfe41.mjs → cli-0.1.15-2vwx57re.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-y2wxptpk.mjs → cli-0.1.15-30tz5ck8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9gem156t.mjs → cli-0.1.15-36pxgzf6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ch9c9c38.mjs → cli-0.1.15-3jz926ax.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-tqexnkmz.mjs → cli-0.1.15-3qwnw3ca.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-c4v2kfdn.mjs → cli-0.1.15-3z0tzzs8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-2f7s5xbd.mjs → cli-0.1.15-4892kydg.mjs} +3 -3
- package/dist/chunks/{cli-0.1.14-ta3w93yb.mjs → cli-0.1.15-4fc5wnse.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jnfs73kb.mjs → cli-0.1.15-4hnhxg2w.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-rtstk94r.mjs → cli-0.1.15-4y7051f2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-rc5yd94n.mjs → cli-0.1.15-5denzf1p.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-bgqm4vsk.mjs → cli-0.1.15-5g0zxgxn.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9kxzs20h.mjs → cli-0.1.15-5qx5p8cd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9b8kspnd.mjs → cli-0.1.15-5tz7z79g.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-seq2fm2d.mjs → cli-0.1.15-68f0jtkh.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-k8nwm06m.mjs → cli-0.1.15-69kq5chw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9vc52dnj.mjs → cli-0.1.15-6mad0r56.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jpe9sxch.mjs → cli-0.1.15-6nwbd09n.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-71sp86jb.mjs → cli-0.1.15-6r12ayea.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-wwehdfwx.mjs → cli-0.1.15-6r630k68.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-vp1kn532.mjs → cli-0.1.15-77346q11.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-90zkq8jm.mjs → cli-0.1.15-7myqm617.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-4wdh3k7y.mjs → cli-0.1.15-7rr53z40.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yxce1bdc.mjs → cli-0.1.15-82r3zgmq.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-qe5zyvfh.mjs → cli-0.1.15-8k69z9kk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-hxvzvfr2.mjs → cli-0.1.15-8sgewact.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-w6nzk5dc.mjs → cli-0.1.15-8v8bskr0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-28exj8zm.mjs → cli-0.1.15-90ye3yqx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5rp4y3q2.mjs → cli-0.1.15-99wmm9j7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-c0bv9eha.mjs → cli-0.1.15-9m2znwvb.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-s9m1y93w.mjs → cli-0.1.15-9pe3dbgs.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-w3rwfr1d.mjs → cli-0.1.15-9w140hjt.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3w7fbjhy.mjs → cli-0.1.15-a10ekh15.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ntq8w1ss.mjs → cli-0.1.15-a8kgfrkd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-8fr10t94.mjs → cli-0.1.15-acdm8b28.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-dqads3y3.mjs → cli-0.1.15-ajg1d1bh.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-d4zkffre.mjs → cli-0.1.15-asts8hm3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dt11hwkv.mjs → cli-0.1.15-b1t6c81s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kcrsww4s.mjs → cli-0.1.15-b21k5hzy.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-wz5yr49j.mjs → cli-0.1.15-b6gdqjbg.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-k9jcmxtd.mjs → cli-0.1.15-b7p48xfw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-zjqt3r89.mjs → cli-0.1.15-be4mz6ka.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-e40hm9sd.mjs → cli-0.1.15-behp1dag.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kt6sq4nr.mjs → cli-0.1.15-bfd337b0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fmmxw3gj.mjs → cli-0.1.15-bpcmpy8b.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yagh75p5.mjs → cli-0.1.15-bz57rf9t.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-cbseyggr.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-7zz7abpc.mjs → cli-0.1.15-cenwnwnx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-71m91842.mjs → cli-0.1.15-cf4s92e9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-7zjhrz42.mjs → cli-0.1.15-cqzrzsh5.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-wgatq2fj.mjs → cli-0.1.15-cr7qy3wd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3zj4s594.mjs → cli-0.1.15-cyq0gbzk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nxphqjb4.mjs → cli-0.1.15-d9nfa2yf.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5brvxst8.mjs → cli-0.1.15-dcabmk2v.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-adz0gnzy.mjs → cli-0.1.15-dcxa8b6s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nprcbhwn.mjs → cli-0.1.15-dp2e8j4f.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-442a367x.mjs → cli-0.1.15-dq954y1q.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9evp0ewn.mjs → cli-0.1.15-dqkhbs67.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ftjxb57b.mjs → cli-0.1.15-e2e7hn7p.mjs} +3 -3
- package/dist/chunks/{cli-0.1.14-zrmretjp.mjs → cli-0.1.15-e494j2sj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-y56629hj.mjs → cli-0.1.15-e64w5wan.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-xp6rc33g.mjs → cli-0.1.15-e70ktyft.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-zs4vmj7z.mjs → cli-0.1.15-em40knm7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-4tmbgg29.mjs → cli-0.1.15-en9ppdbd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5te1nbdc.mjs → cli-0.1.15-f838g4vw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jf8019sb.mjs → cli-0.1.15-f8abjagh.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-08ambmnj.mjs → cli-0.1.15-fe92jeft.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jbn4ywda.mjs → cli-0.1.15-fmnyh9j9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-x88ypr2r.mjs → cli-0.1.15-fr83vs1y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-khtq9cgy.mjs → cli-0.1.15-ft6xtjsa.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-d483gd53.mjs → cli-0.1.15-g5wt8d3g.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dw74ppax.mjs → cli-0.1.15-ghvjjc4g.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-0nhaxy76.mjs → cli-0.1.15-gkzany0s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kmsvd61a.mjs → cli-0.1.15-gmdv5ny8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-zq66y0mv.mjs → cli-0.1.15-gn4wnxx3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-16jrehc2.mjs → cli-0.1.15-gqf82qvm.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ab0rxxvk.mjs → cli-0.1.15-gqp8kzp0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-r5qyt63x.mjs → cli-0.1.15-gtn9gx9w.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-hjktwgtk.mjs → cli-0.1.15-gxgy4enj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-77ha4n58.mjs → cli-0.1.15-h3a2cbdb.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-aky5tegx.mjs → cli-0.1.15-h4erh2cn.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-canpypsb.mjs → cli-0.1.15-htms4w3h.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-a15xdexp.mjs → cli-0.1.15-hyydz4kc.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-cp2pada5.mjs → cli-0.1.15-j5m3s9r5.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-we6s7jfg.mjs → cli-0.1.15-jy7cjb23.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-m7xchegb.mjs → cli-0.1.15-k0bn0cze.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-mngn74ga.mjs → cli-0.1.15-knpxv22b.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fmgz6tx2.mjs → cli-0.1.15-ks9rz9tk.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-w8efvbh6.mjs → cli-0.1.15-kw7che8m.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yfc7weqn.mjs → cli-0.1.15-m0v1d1kt.mjs} +11 -11
- package/dist/chunks/{cli-0.1.14-0x3m90bk.mjs → cli-0.1.15-m7gtc61y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3scecgzx.mjs → cli-0.1.15-my0y22r7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-r00mjm41.mjs → cli-0.1.15-n97y4hq4.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-d1edbjh4.mjs → cli-0.1.15-ncammv2n.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-svqkx41a.mjs → cli-0.1.15-nejf7yqz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-m75ce5ve.mjs → cli-0.1.15-njg0k6ga.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-2mzb5ath.mjs → cli-0.1.15-nk50qhet.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-wymtdw5f.mjs → cli-0.1.15-nkn6jfmb.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-mx9yse7m.mjs → cli-0.1.15-nts79xbr.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5e5kkjam.mjs → cli-0.1.15-nw94frpp.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-4mde8z7h.mjs → cli-0.1.15-nx5v1cvm.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nzsj259d.mjs → cli-0.1.15-p159ga3t.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yxq1tr3a.mjs → cli-0.1.15-p47rrzrn.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-akz49g5v.mjs → cli-0.1.15-p5ty029c.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dq7jkw1n.mjs → cli-0.1.15-pcqjreq6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ckjcet41.mjs → cli-0.1.15-pxf97j8y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fspxpmh7.mjs → cli-0.1.15-pya8tbx3.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-q021qg07.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-a6kwmqhz.mjs → cli-0.1.15-q35rzjnz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-25ta9abj.mjs → cli-0.1.15-qhz07at6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dntkrp1j.mjs → cli-0.1.15-qns6xv34.mjs} +5 -5
- package/dist/chunks/{cli-0.1.14-1g5jq0j8.mjs → cli-0.1.15-r626437v.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3yj4dkmn.mjs → cli-0.1.15-r8qzzahw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nmmtd1d6.mjs → cli-0.1.15-r9nrfwrq.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3xj419mp.mjs → cli-0.1.15-rbx47sc3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yphht6rx.mjs → cli-0.1.15-rq9n4js4.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-cdby401e.mjs → cli-0.1.15-rr65b3dk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-68wbwy40.mjs → cli-0.1.15-rs5swvy0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-473sgexj.mjs → cli-0.1.15-rv6zpjh8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-6cjjzttb.mjs → cli-0.1.15-rvtve9kq.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-893g12wf.mjs → cli-0.1.15-rwx8446j.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-v9q1cxjy.mjs → cli-0.1.15-s7trme0x.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-0ctjta81.mjs → cli-0.1.15-sct02cw6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kpsh76mj.mjs → cli-0.1.15-sd5jysf2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dcgxqsyp.mjs → cli-0.1.15-sg3n1v0w.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-qyx55m6c.mjs → cli-0.1.15-svhrqvzp.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-whe4bxfr.mjs → cli-0.1.15-tj4kzvth.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nnr43nyg.mjs → cli-0.1.15-tn4214gj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-harz1d9d.mjs → cli-0.1.15-tp614m5f.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-a9ytrehs.mjs → cli-0.1.15-twq0mjmr.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3m63hy2a.mjs → cli-0.1.15-v07ep52w.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-y55hrwdp.mjs → cli-0.1.15-v8zwx5j6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ba919tmj.mjs → cli-0.1.15-vwb8h4r1.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-z0ckw2hb.mjs → cli-0.1.15-vzk22hwe.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kv650aha.mjs → cli-0.1.15-w8q8f37x.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-z8j2n955.mjs → cli-0.1.15-wfn10357.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-gdm27acz.mjs → cli-0.1.15-wmwtv0tz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-m7khgn2k.mjs → cli-0.1.15-wn40n534.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-42sm5vzr.mjs → cli-0.1.15-x3yhaxm9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-stv1d0q3.mjs → cli-0.1.15-x69hfzmj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nkza93de.mjs → cli-0.1.15-xaw2s45s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-qzcceap6.mjs → cli-0.1.15-xe4dq144.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-g5q2xqp3.mjs → cli-0.1.15-xery8c8c.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-1xkst5wv.mjs → cli-0.1.15-y6fkcbes.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-tyv29sz9.mjs → cli-0.1.15-y7xkk5ds.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-hkaqyhx1.mjs → cli-0.1.15-yghcqf7h.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fhfj87ej.mjs → cli-0.1.15-yjxhk7qj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-tkb5t0xv.mjs → cli-0.1.15-ywed2hpz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kn1f2x94.mjs → cli-0.1.15-yxm6wwfz.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-yym7bka2.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-v2acyy7r.mjs → cli-0.1.15-z2yexprk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-59axynr8.mjs → cli-0.1.15-z35x5bfj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-as1s0b0t.mjs → cli-0.1.15-zap1wk9j.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-0a8ckx07.mjs → cli-0.1.15-zf1s8y92.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +2 -0
- package/dist/chunks/client-0.1.15-pbb4218v.mjs +1 -0
- package/dist/chunks/color-0.1.15-w9tvjt51.mjs +1 -0
- package/dist/chunks/{compact-0.1.14-mx9ng433.mjs → compact-0.1.15-2a2eywaz.mjs} +1 -1
- package/dist/chunks/{config-0.1.14-76vavy7t.mjs → config-0.1.15-m4gwmfb1.mjs} +1 -1
- package/dist/chunks/config-0.1.15-r15yk3zr.mjs +1 -0
- package/dist/chunks/{context-0.1.14-hyykwj83.mjs → context-0.1.15-ghkedaaw.mjs} +1 -1
- package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +1 -0
- package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +1 -0
- package/dist/chunks/{copy-0.1.14-kp76nh7r.mjs → copy-0.1.15-53q3e2fk.mjs} +1 -1
- package/dist/chunks/cost-0.1.15-garxyfxy.mjs +1 -0
- package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +1 -0
- package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +1 -0
- package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +1 -0
- package/dist/chunks/diff-0.1.15-gc5686z3.mjs +1 -0
- package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +1 -0
- package/dist/chunks/{earlyInput-0.1.14-997vtdw4.mjs → earlyInput-0.1.15-ftgt9y2w.mjs} +1 -1
- package/dist/chunks/{effort-0.1.14-d9xmff2t.mjs → effort-0.1.15-5za6yh63.mjs} +1 -1
- package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +1 -0
- package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +1 -0
- package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +1 -0
- package/dist/chunks/{export-0.1.14-qpt72paa.mjs → export-0.1.15-h5n9s624.mjs} +1 -1
- package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +1 -0
- package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +1 -0
- package/dist/chunks/{feedback-0.1.14-qhk5ek0b.mjs → feedback-0.1.15-pqe68x4v.mjs} +1 -1
- package/dist/chunks/{firstPartyEventLogger-0.1.14-78y09nr6.mjs → firstPartyEventLogger-0.1.15-pss0293k.mjs} +1 -1
- package/dist/chunks/{git-0.1.14-zvsa13gk.mjs → git-0.1.15-002t17pq.mjs} +1 -1
- package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +1 -0
- package/dist/chunks/{growthbook-0.1.14-dcdeqgyq.mjs → growthbook-0.1.15-m7gdvgqa.mjs} +1 -1
- package/dist/chunks/{heapdump-0.1.14-tj7w79dt.mjs → heapdump-0.1.15-s8h9rwpe.mjs} +1 -1
- package/dist/chunks/{help-0.1.14-gk9s0stg.mjs → help-0.1.15-y48dg88b.mjs} +1 -1
- package/dist/chunks/{hookChains-0.1.14-wng6tzfd.mjs → hookChains-0.1.15-z46c2xkf.mjs} +2 -2
- package/dist/chunks/{hooks-0.1.14-jy9bt7s6.mjs → hooks-0.1.15-f81kq7m2.mjs} +1 -1
- package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +1 -0
- package/dist/chunks/{ide-0.1.14-0ar60k4r.mjs → ide-0.1.15-xepj09gj.mjs} +1 -1
- package/dist/chunks/{plist-0.1.14-ssqtjjq9.mjs → image-processor-napi-0.1.15-5w5sybn1.mjs} +1 -1
- package/dist/chunks/index-0.1.15-0z186jwx.mjs +1 -0
- package/dist/chunks/index-0.1.15-136649ke.mjs +1 -0
- package/dist/chunks/{index-0.1.14-8v5xwttx.mjs → index-0.1.15-15ftbc8a.mjs} +2 -2
- package/dist/chunks/index-0.1.15-1r19582s.mjs +1 -0
- package/dist/chunks/{index-0.1.14-2v6wa4p4.mjs → index-0.1.15-3jxezstk.mjs} +1 -1
- package/dist/chunks/index-0.1.15-52zxtxf2.mjs +1 -0
- package/dist/chunks/{index-0.1.14-ac13h1t1.mjs → index-0.1.15-628tag5v.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-y3aj57xa.mjs → index-0.1.15-77j1wp6f.mjs} +1 -1
- package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +1 -0
- package/dist/chunks/{index-0.1.14-mzhk0gvs.mjs → index-0.1.15-832xm57n.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-272zxs9n.mjs → index-0.1.15-abzge0fa.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-qrykb444.mjs → index-0.1.15-b9sdtjj4.mjs} +2 -2
- package/dist/chunks/{index-0.1.14-4hv4f8g9.mjs → index-0.1.15-bvr8e4dt.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-ksa4vdak.mjs → index-0.1.15-d4ea93sj.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-hqphn8m5.mjs → index-0.1.15-f1y1067a.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-2x59va64.mjs → index-0.1.15-n2q4dkvc.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-g5kkm9ng.mjs → index-0.1.15-nzmg6zng.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-071xy8v4.mjs → index-0.1.15-r9ck21mp.mjs} +1 -1
- package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +1 -0
- package/dist/chunks/{index-0.1.14-dmbjzapt.mjs → index-0.1.15-tf5b20vy.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-1mttyja2.mjs → index-0.1.15-x8ghxne4.mjs} +1 -1
- package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +1 -0
- package/dist/chunks/{initReplBridge-0.1.14-qe820gff.mjs → initReplBridge-0.1.15-g7q1qemf.mjs} +1 -1
- package/dist/chunks/{ink-0.1.14-kxs7ygns.mjs → ink-0.1.15-rd56fvsx.mjs} +1 -1
- package/dist/chunks/{insights-0.1.14-9n58d9t8.mjs → insights-0.1.15-2zt9898j.mjs} +1 -1
- package/dist/chunks/{install-0.1.14-1zyjez10.mjs → install-0.1.15-z6a6aa3t.mjs} +1 -1
- package/dist/chunks/{install-github-app-0.1.14-kmetkgdq.mjs → install-github-app-0.1.15-h746hza3.mjs} +1 -1
- package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +1 -0
- package/dist/chunks/{instrumentation-0.1.14-fsgk97cp.mjs → instrumentation-0.1.15-bwm4tb1y.mjs} +1 -1
- package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +1 -0
- package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +2 -0
- package/dist/chunks/{knowledge-0.1.14-f7w4damb.mjs → knowledge-0.1.15-2bnycc4a.mjs} +1 -1
- package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +1 -0
- package/dist/chunks/{lsp-0.1.14-cks4jevz.mjs → lsp-0.1.15-veqrp99h.mjs} +1 -1
- package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +1 -0
- package/dist/chunks/{mcp-0.1.14-3tzc0agq.mjs → mcp-0.1.15-rfy9pyrt.mjs} +1 -1
- package/dist/chunks/{mcp-0.1.14-dmtc9tjr.mjs → mcp-0.1.15-tw9s435t.mjs} +3 -3
- package/dist/chunks/{mcp-0.1.14-tepbr987.mjs → mcp-0.1.15-zc7h2fyj.mjs} +1 -1
- package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +1 -0
- package/dist/chunks/{image-processor-napi-0.1.14-p1r3vkb0.mjs → mcpb-0.1.15-5mam984d.mjs} +1 -1
- package/dist/chunks/{memory-0.1.14-cgx518q9.mjs → memory-0.1.15-b6zkcs44.mjs} +1 -1
- package/dist/chunks/{mobile-0.1.14-bwjnmpy0.mjs → mobile-0.1.15-sm8kbft4.mjs} +1 -1
- package/dist/chunks/{model-0.1.14-zg566cz0.mjs → model-0.1.15-843f7654.mjs} +1 -1
- package/dist/chunks/{model-0.1.14-rq2dkze7.mjs → model-0.1.15-e62wxf7h.mjs} +1 -1
- package/dist/chunks/{oauth-0.1.14-gftadks2.mjs → oauth-0.1.15-gxgmqwwx.mjs} +1 -1
- package/dist/chunks/{openaiShim-0.1.14-jv6416m8.mjs → openaiShim-0.1.15-0yryhq9r.mjs} +1 -1
- package/dist/chunks/{output-style-0.1.14-v41ce6t5.mjs → output-style-0.1.15-d20e4vc3.mjs} +1 -1
- package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +1 -0
- package/dist/chunks/parser-0.1.15-wbja947p.mjs +1 -0
- package/dist/chunks/{passes-0.1.14-0jjh5wg5.mjs → passes-0.1.15-726y1cyq.mjs} +1 -1
- package/dist/chunks/{permissions-0.1.14-hh0d709r.mjs → permissions-0.1.15-4pqgyt4h.mjs} +1 -1
- package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +1 -0
- package/dist/chunks/{mcpb-0.1.14-ffa57420.mjs → plist-0.1.15-fseac2c0.mjs} +1 -1
- package/dist/chunks/{plugin-0.1.14-01jhhdd3.mjs → plugin-0.1.15-yeqq1san.mjs} +1 -1
- package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +1 -0
- package/dist/chunks/{plugins-0.1.14-4tggkexv.mjs → plugins-0.1.15-3rpwr86v.mjs} +2 -2
- package/dist/chunks/{print-0.1.14-m719w2yp.mjs → print-0.1.15-64y2p7wj.mjs} +4 -4
- package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +1 -0
- package/dist/chunks/{process-0.1.14-vgdgd7sq.mjs → process-0.1.15-g6km3z8k.mjs} +1 -1
- package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +1 -0
- package/dist/chunks/{processSlashCommand-0.1.14-7w1v93bg.mjs → processSlashCommand-0.1.15-mee2mbyy.mjs} +1 -1
- package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +1 -0
- package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +1 -0
- package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +1 -0
- package/dist/chunks/{provider-0.1.14-xs34vy3w.mjs → provider-0.1.15-gz0fhpp7.mjs} +1 -1
- package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +1 -0
- package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +1 -0
- package/dist/chunks/release-notes-0.1.15-1g908440.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +2 -0
- package/dist/chunks/{remote-env-0.1.14-jyc0gkhb.mjs → remote-env-0.1.15-fd5z1adp.mjs} +1 -1
- package/dist/chunks/{remoteBridgeCore-0.1.14-8kt4ffzy.mjs → remoteBridgeCore-0.1.15-kbthngek.mjs} +1 -1
- package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +1 -0
- package/dist/chunks/rename-0.1.15-8079z5ff.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +1 -0
- package/dist/chunks/{resume-0.1.14-7sda36n0.mjs → resume-0.1.15-s4hv4t9y.mjs} +1 -1
- package/dist/chunks/{rewind-0.1.14-zba66at0.mjs → rewind-0.1.15-fevxgefp.mjs} +1 -1
- package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +1 -0
- package/dist/chunks/{sandbox-toggle-0.1.14-jz6x02qp.mjs → sandbox-toggle-0.1.15-fn86ac4p.mjs} +1 -1
- package/dist/chunks/session-0.1.15-crg226x4.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +1 -0
- package/dist/chunks/{sessionStorage-0.1.14-sz2medpp.mjs → sessionStorage-0.1.15-x0gw4hbz.mjs} +1 -1
- package/dist/chunks/{setup-0.1.14-f13rnmdg.mjs → setup-0.1.15-6znmc2q6.mjs} +2 -2
- package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +1 -0
- package/dist/chunks/{skills-0.1.14-1vvr60ph.mjs → skills-0.1.15-sybv0v2p.mjs} +1 -1
- package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +1 -0
- package/dist/chunks/{state-0.1.14-rj00ry6n.mjs → state-0.1.15-rr5k0vbf.mjs} +1 -1
- package/dist/chunks/{stats-0.1.14-rr3tpwqw.mjs → stats-0.1.15-3c4f5zp4.mjs} +1 -1
- package/dist/chunks/status-0.1.15-cvscafrs.mjs +1 -0
- package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +1 -0
- package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +1 -0
- package/dist/chunks/{teamHelpers-0.1.14-zv908fgk.mjs → teamHelpers-0.1.15-gw6hwmyj.mjs} +1 -1
- package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +1 -0
- package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +1 -0
- package/dist/chunks/theme-0.1.15-zq998m8x.mjs +1 -0
- package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +1 -0
- package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +1 -0
- package/dist/chunks/{turndown.cjs-0.1.14-nw2rtcyd.mjs → turndown.cjs-0.1.15-pmxpe7z8.mjs} +1 -1
- package/dist/chunks/{ultrareviewCommand-0.1.14-9twnt5bp.mjs → ultrareviewCommand-0.1.15-3gjgaeyn.mjs} +1 -1
- package/dist/chunks/{update-0.1.14-9dhep94r.mjs → update-0.1.15-jtd1h3e7.mjs} +11 -11
- package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +1 -0
- package/dist/chunks/{upstreamproxy-0.1.14-sc0x4n7b.mjs → upstreamproxy-0.1.15-wtbs40ct.mjs} +1 -1
- package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +1 -0
- package/dist/chunks/util-0.1.15-vs1eanbw.mjs +1 -0
- package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +1 -0
- package/dist/chunks/vim-0.1.15-syferjfa.mjs +1 -0
- package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +1 -0
- package/dist/chunks/{wiki-0.1.14-s3exyf45.mjs → wiki-0.1.15-pp951r9h.mjs} +1 -1
- package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +1 -0
- package/dist/chunks/{wrapper-0.1.14-a4mesaeh.mjs → wrapper-0.1.15-dw3awx2b.mjs} +1 -1
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.1.14-cdr5h1g4.mjs +0 -1
- package/dist/chunks/App-0.1.14-pg2tqqjz.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.14-e86h3nff.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.14-ftdkaf8h.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.14-d45z21x5.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.14-dzhpgrhm.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.14-y2v8vg76.mjs +0 -1
- package/dist/chunks/Doctor-0.1.14-rhryp3qj.mjs +0 -1
- package/dist/chunks/Grove-0.1.14-4pt83x25.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.14-rx2djmka.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.14-nhkj2max.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.14-f6hf3ymp.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.14-2d77t0cr.mjs +0 -1
- package/dist/chunks/REPL-0.1.14-rz1jsayd.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.14-411m3y24.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.14-v6ytg24w.mjs +0 -1
- package/dist/chunks/ToolSearchTool-0.1.14-rpbvvb5j.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.14-5cpywex1.mjs +0 -1
- package/dist/chunks/add-dir-0.1.14-q700x1tp.mjs +0 -1
- package/dist/chunks/agents-0.1.14-nm4k11re.mjs +0 -3
- package/dist/chunks/agents-0.1.14-pjr42t23.mjs +0 -111
- package/dist/chunks/api-0.1.14-v09922m9.mjs +0 -1
- package/dist/chunks/assistant-0.1.14-yt6v1sjy.mjs +0 -1
- package/dist/chunks/auth-0.1.14-vg6ez70v.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.1.14-bh13ez8a.mjs +0 -1
- package/dist/chunks/caches-0.1.14-et2zg3m5.mjs +0 -1
- package/dist/chunks/claudemd-0.1.14-exzt8psa.mjs +0 -1
- package/dist/chunks/clear-0.1.14-62gnxkg3.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.14-5p1j5sbv.mjs +0 -1
- package/dist/chunks/cli-0.1.14-1shkmy81.mjs +0 -2
- package/dist/chunks/cli-0.1.14-2e2jfccr.mjs +0 -2
- package/dist/chunks/cli-0.1.14-373staaj.mjs +0 -2
- package/dist/chunks/cli-0.1.14-86gckvrm.mjs +0 -2
- package/dist/chunks/cli-0.1.14-bat0c779.mjs +0 -2
- package/dist/chunks/cli-0.1.14-dz2jvye2.mjs +0 -2
- package/dist/chunks/cli-0.1.14-efhhkgkx.mjs +0 -2
- package/dist/chunks/cli-0.1.14-ja2ctrem.mjs +0 -2
- package/dist/chunks/cli-0.1.14-ka0xhrv6.mjs +0 -2
- package/dist/chunks/cli-0.1.14-t3fga5je.mjs +0 -2
- package/dist/chunks/cli-0.1.14-ydm3fwx1.mjs +0 -2
- package/dist/chunks/client-0.1.14-3t6sfwha.mjs +0 -1
- package/dist/chunks/color-0.1.14-65rf0ap9.mjs +0 -1
- package/dist/chunks/config-0.1.14-1v5v86ax.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.14-24qfm7b9.mjs +0 -1
- package/dist/chunks/conversation-0.1.14-mkc1cd5a.mjs +0 -1
- package/dist/chunks/cost-0.1.14-3d4g5gqm.mjs +0 -1
- package/dist/chunks/createSession-0.1.14-8599rbgg.mjs +0 -1
- package/dist/chunks/desktop-0.1.14-bx4eky6b.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.14-8yam7kv4.mjs +0 -1
- package/dist/chunks/detection-0.1.14-vz5bqsc0.mjs +0 -1
- package/dist/chunks/diff-0.1.14-e4pm39ee.mjs +0 -1
- package/dist/chunks/doctor-0.1.14-22fc2q8y.mjs +0 -1
- package/dist/chunks/environmentSelection-0.1.14-fn5p85z5.mjs +0 -1
- package/dist/chunks/environments-0.1.14-7napbg6g.mjs +0 -1
- package/dist/chunks/exit-0.1.14-v8j7rsfw.mjs +0 -1
- package/dist/chunks/extra-usage-0.1.14-tmwgn4dh.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.14-b2pdph8q.mjs +0 -1
- package/dist/chunks/fast-0.1.14-q1tyk3k8.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.14-r30t00rx.mjs +0 -1
- package/dist/chunks/hooks-0.1.14-ybdbkdfh.mjs +0 -1
- package/dist/chunks/index-0.1.14-3m7vrt91.mjs +0 -1
- package/dist/chunks/index-0.1.14-h8gc6ph5.mjs +0 -1
- package/dist/chunks/index-0.1.14-qvap58wt.mjs +0 -1
- package/dist/chunks/index-0.1.14-vygpnv88.mjs +0 -1
- package/dist/chunks/index-0.1.14-wjc5jkvz.mjs +0 -1
- package/dist/chunks/index-0.1.14-yjw9017n.mjs +0 -1
- package/dist/chunks/index-0.1.14-zgwbnfqh.mjs +0 -1
- package/dist/chunks/install-slack-app-0.1.14-64534gsm.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.1.14-ca4bp7gy.mjs +0 -1
- package/dist/chunks/keybindings-0.1.14-zk3nyh0h.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.14-md40mt17.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.14-d998c7wf.mjs +0 -1
- package/dist/chunks/main-0.1.14-94wst05h.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.14-tvr9zhbp.mjs +0 -1
- package/dist/chunks/mcpServer-0.1.14-0mvs3bcw.mjs +0 -1
- package/dist/chunks/package-WSP46L7M-0.1.14-xy3ej2c4.mjs +0 -1
- package/dist/chunks/parser-0.1.14-jr4b3as9.mjs +0 -1
- package/dist/chunks/plan-0.1.14-kxb7xax2.mjs +0 -1
- package/dist/chunks/pluginStartupCheck-0.1.14-zjwy126p.mjs +0 -1
- package/dist/chunks/privacy-settings-0.1.14-2gv7gdy1.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.14-d3xsyk5f.mjs +0 -1
- package/dist/chunks/prompt-0.1.14-30e7kfkx.mjs +0 -1
- package/dist/chunks/prompt-0.1.14-brtd9j19.mjs +0 -1
- package/dist/chunks/prompts-0.1.14-bv9qxc0a.mjs +0 -1
- package/dist/chunks/providerProfiles-0.1.14-068kvwwx.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.14-2ftxh15k.mjs +0 -1
- package/dist/chunks/registry-0.1.14-ad3na7g6.mjs +0 -1
- package/dist/chunks/release-notes-0.1.14-b7e554an.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.14-3w9v6nw6.mjs +0 -2
- package/dist/chunks/remoteSession-0.1.14-ppejxt7n.mjs +0 -1
- package/dist/chunks/rename-0.1.14-tx9dpgk1.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.14-gsqgzdev.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.1.14-k97fyzcg.mjs +0 -1
- package/dist/chunks/session-0.1.14-5qsfxmey.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.14-mgx78eqm.mjs +0 -1
- package/dist/chunks/sinks-0.1.14-bkyqa9eq.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.14-sabjns03.mjs +0 -1
- package/dist/chunks/status-0.1.14-d4fcn5sn.mjs +0 -1
- package/dist/chunks/stickers-0.1.14-s9x2bdhp.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.14-spqyrvd7.mjs +0 -1
- package/dist/chunks/tasks-0.1.14-yje1cmy8.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.14-natmxyx5.mjs +0 -1
- package/dist/chunks/teleport-0.1.14-np0wrxrm.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.14-dzsstmk7.mjs +0 -1
- package/dist/chunks/theme-0.1.14-202es8wd.mjs +0 -1
- package/dist/chunks/thinkback-0.1.14-k4krnzrn.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.14-nn1v84ja.mjs +0 -1
- package/dist/chunks/toolPool-0.1.14-4etecef4.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.14-q506jg4k.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.14-qq8dmccd.mjs +0 -1
- package/dist/chunks/upgrade-0.1.14-4nr1rdba.mjs +0 -1
- package/dist/chunks/usage-0.1.14-sbaqxx8h.mjs +0 -1
- package/dist/chunks/util-0.1.14-vfg50acy.mjs +0 -1
- package/dist/chunks/utils-0.1.14-heqqycdx.mjs +0 -1
- package/dist/chunks/vim-0.1.14-z71303w7.mjs +0 -1
- package/dist/chunks/watcher-0.1.14-h1wk07kt.mjs +0 -1
- package/dist/chunks/worktree-0.1.14-5486fw5t.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.14-xn1mf8hc.mjs +0 -1
- /package/dist/chunks/{cli-0.1.14-nbvvdkk2.mjs → cli-0.1.15-618hqv9f.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-tsth8deg.mjs → cli-0.1.15-7mfwj2xs.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-et8yewbf.mjs → cli-0.1.15-7ve9h395.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-qn4ftczz.mjs → cli-0.1.15-mhbfhhf6.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-cahvg3jq.mjs → cli-0.1.15-p6bypqrv.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Afa as iu,Nfa as zi}from"./cli-0.1.
|
|
1
|
+
import{Afa as iu,Nfa as zi}from"./cli-0.1.15-9pe3dbgs.mjs";import{ama as s,bma as j,cma as tu}from"./cli-0.1.15-mhbfhhf6.mjs";import{execFile as _i}from"child_process";import{promisify as li}from"util";async function Si(r){try{let{stdout:o}=await ji("git",["worktree","list","--porcelain"],{cwd:r,timeout:5000});if(!o)return[];return o.split(`
|
|
2
2
|
`).filter((v)=>v.startsWith("worktree ")).map((v)=>v.slice(9).normalize("NFC"))}catch{return[]}}var ji;var vu=j(()=>{ji=li(_i)});function $u(r){let o=0;for(let v=0;v<r.length;v++)o=(o<<5)-o+r.charCodeAt(v)|0;return o}function h6(r){if(typeof Bun<"u")return Bun.hash(r).toString();return tu("crypto").createHash("sha256").update(r).digest("hex")}function B6(r,o){if(typeof Bun<"u")return Bun.hash(o,Bun.hash(r)).toString();return tu("crypto").createHash("sha256").update(r).update("\x00").update(o).digest("hex")}var uu=()=>{};import{open as Iu,readdir as T6,realpath as R6,stat as C6}from"fs/promises";import{join as Di}from"path";function p6(r){if(typeof r!=="string")return null;return ki.test(r)?r:null}function mu(r){if(!r.includes("\\"))return r;try{return JSON.parse(`"${r}"`)}catch{return r}}function a6(r,o){let v=[`"${o}":"`,`"${o}": "`];for(let t of v){let n=r.indexOf(t);if(n<0)continue;let c=n+t.length,$=c;while($<r.length){if(r[$]==="\\"){$+=2;continue}if(r[$]==='"')return mu(r.slice(c,$));$++}}return}function s6(r,o){let v=[`"${o}":"`,`"${o}": "`],t;for(let n of v){let c=0;while(!0){let $=r.indexOf(n,c);if($<0)break;let g=$+n.length,I=g;while(I<r.length){if(r[I]==="\\"){I+=2;continue}if(r[I]==='"'){t=mu(r.slice(g,I));break}I++}c=I+1}}return t}async function rm(r,o,v){try{let t=await Iu(r,"r");try{let n=await t.read(v,0,No,0);if(n.bytesRead===0)return{head:"",tail:""};let c=v.toString("utf8",0,n.bytesRead),$=Math.max(0,o-No),g=c;if($>0){let I=await t.read(v,0,No,$);g=v.toString("utf8",0,I.bytesRead)}return{head:c,tail:g}}finally{await t.close()}}catch{return{head:"",tail:""}}}function Pi(r){return Math.abs($u(r)).toString(36)}function nm(r){let o=r.replace(/[^a-zA-Z0-9]/g,"-");if(o.length<=gu)return o;let v=typeof Bun<"u"?Bun.hash(r).toString(36):Pi(r);return`${o.slice(0,gu)}-${v}`}function om(){return Di(iu(),"projects")}function Ai(){return Ji??=Buffer.from('"compact_boundary"')}function bu(r){try{let o=JSON.parse(r);if(o.type!=="system"||o.subtype!=="compact_boundary")return null;return{hasPreservedSegment:Boolean(o.compactMetadata?.preservedSegment)}}catch{return null}}function a(r,o,v,t){let n=t-v;if(n<=0)return;if(r.len+n>r.buf.length){let c=Buffer.allocUnsafe(Math.min(Math.max(r.buf.length*2,r.len+n),r.cap));r.buf.copy(c,0,0,r.len),r.buf=c}o.copy(r.buf,r.len,v,t),r.len+=n}function un(r,o,v,t){return t-v>=o.length&&r.compare(o,0,o.length,v,v+o.length)===0}function Vi(r,o,v){if(r.straddleSnapCarryLen=0,r.straddleSnapTailEnd=0,r.carryLen===0)return 0;let t=r.carryBuf,n=o.indexOf(Sr);if(n===-1||n>=v)return 0;let c=n+1;if(un(t,gn,0,r.carryLen))r.straddleSnapCarryLen=r.carryLen,r.straddleSnapTailEnd=c,r.lastSnapSrc=null;else if(r.carryLen<gn.length)return 0;else{if(un(t,Li,0,r.carryLen)){let $=bu(t.toString("utf-8",0,r.carryLen)+o.toString("utf-8",0,n));if($?.hasPreservedSegment)r.hasPreservedSegment=!0;else if($)r.out.len=0,r.boundaryStartOffset=r.bufFileOff,r.hasPreservedSegment=!1,r.lastSnapSrc=null}a(r.out,t,0,r.carryLen),a(r.out,o,0,c)}return r.bufFileOff+=r.carryLen+c,r.carryLen=0,c}function Ki(r,o,v){let t=o.indexOf(v),n=0,c=0,$=-1,g=-1,I=o.indexOf(Sr);while(I!==-1){let m=I+1;if(t!==-1&&t<c)t=o.indexOf(v,c);if(un(o,gn,c,m))a(r.out,o,n,c),$=c,g=m,n=m;else if(t>=c&&t<Math.min(c+Wi,m)){let U=bu(o.toString("utf-8",c,I));if(U?.hasPreservedSegment)r.hasPreservedSegment=!0;else if(U)r.out.len=0,r.boundaryStartOffset=r.bufFileOff+c,r.hasPreservedSegment=!1,r.lastSnapSrc=null,$=-1,r.straddleSnapCarryLen=0,n=c;t=o.indexOf(v,t+v.length)}c=m,I=o.indexOf(Sr,c)}return a(r.out,o,n,c),{lastSnapStart:$,lastSnapEnd:g,trailStart:c}}function Xi(r,o,v,t,n){if(t!==-1){if(r.lastSnapLen=n-t,r.lastSnapBuf===void 0||r.lastSnapLen>r.lastSnapBuf.length)r.lastSnapBuf=Buffer.allocUnsafe(r.lastSnapLen);o.copy(r.lastSnapBuf,0,t,n),r.lastSnapSrc=r.lastSnapBuf}else if(r.straddleSnapCarryLen>0){if(r.lastSnapLen=r.straddleSnapCarryLen+r.straddleSnapTailEnd,r.lastSnapBuf===void 0||r.lastSnapLen>r.lastSnapBuf.length)r.lastSnapBuf=Buffer.allocUnsafe(r.lastSnapLen);r.carryBuf.copy(r.lastSnapBuf,0,0,r.straddleSnapCarryLen),v.copy(r.lastSnapBuf,r.straddleSnapCarryLen,0,r.straddleSnapTailEnd),r.lastSnapSrc=r.lastSnapBuf}}function Yi(r,o,v){if(r.carryLen=o.length-v,r.carryLen>0){if(r.carryBuf===void 0||r.carryLen>r.carryBuf.length)r.carryBuf=Buffer.allocUnsafe(r.carryLen);o.copy(r.carryBuf,0,v,o.length)}}function qi(r){if(r.carryLen>0){let o=r.carryBuf;if(un(o,gn,0,r.carryLen))r.lastSnapSrc=o,r.lastSnapLen=r.carryLen;else a(r.out,o,0,r.carryLen)}if(r.lastSnapSrc){if(r.out.len>0&&r.out.buf[r.out.len-1]!==Sr)a(r.out,Gi,0,1);a(r.out,r.lastSnapSrc,0,r.lastSnapLen)}}async function vm(r,o){let v=Ai(),t=xi,n={out:{buf:Buffer.allocUnsafe(Math.min(o,8388608)),len:0,cap:o+1},boundaryStartOffset:0,hasPreservedSegment:!1,lastSnapSrc:null,lastSnapLen:0,lastSnapBuf:void 0,bufFileOff:0,carryLen:0,carryBuf:void 0,straddleSnapCarryLen:0,straddleSnapTailEnd:0},c=Buffer.allocUnsafe(t),$=await Iu(r,"r");try{let g=0;while(g<o){let{bytesRead:I}=await $.read(c,0,Math.min(t,o-g),g);if(I===0)break;g+=I;let m=Vi(n,c,I),U;if(n.carryLen>0){let l=n.carryLen+(I-m);U=Buffer.allocUnsafe(l),n.carryBuf.copy(U,0,0,n.carryLen),c.copy(U,n.carryLen,m,I)}else U=c.subarray(m,I);let _=Ki(n,U,v);Xi(n,U,c,_.lastSnapStart,_.lastSnapEnd),Yi(n,U,_.trailStart),n.bufFileOff+=_.trailStart}qi(n)}finally{await $.close()}return{boundaryStartOffset:n.boundaryStartOffset,postBoundaryBuf:n.out.buf.subarray(0,n.out.len),hasPreservedSegment:n.hasPreservedSegment}}var No=65536,ki,gu=200,xi=1048576,cm=5242880,Ji,gn,Li,Sr=10,Gi,Wi=256;var Qi=j(()=>{zi();vu();uu();ki=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;gn=Buffer.from('{"type":"attribution-snapshot"'),Li=Buffer.from('{"type":"system"'),Gi=Buffer.from([Sr])});function u(r,o,v){function t(g,I){var m;Object.defineProperty(g,"_zod",{value:g._zod??{},enumerable:!1}),(m=g._zod).traits??(m.traits=new Set),g._zod.traits.add(r),o(g,I);for(let U in $.prototype)if(!(U in g))Object.defineProperty(g,U,{value:$.prototype[U].bind(g)});g._zod.constr=$,g._zod.def=I}let n=v?.Parent??Object;class c extends n{}Object.defineProperty(c,"name",{value:r});function $(g){var I;let m=v?.Parent?new c:this;t(m,g),(I=m._zod).deferred??(I.deferred=[]);for(let U of m._zod.deferred)U();return m}return Object.defineProperty($,"init",{value:t}),Object.defineProperty($,Symbol.hasInstance,{value:(g)=>{if(v?.Parent&&g instanceof v.Parent)return!0;return g?._zod?.traits?.has(r)}}),Object.defineProperty($,"name",{value:r}),$}function X(r){if(r)Object.assign(zr,r);return zr}var eo,Oo,F,zr;var gr=j(()=>{eo=Object.freeze({status:"aborted"});Oo=Symbol("zod_brand");F=class F extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};zr={}});var O={};s(O,{unwrapMessage:()=>Dr,stringifyPrimitive:()=>e,required:()=>rI,randomString:()=>Ri,propertyKeyTypes:()=>Jr,promiseAllObject:()=>Ti,primitiveTypes:()=>Do,prefixIssues:()=>q,pick:()=>yi,partial:()=>si,optionalKeys:()=>ko,omit:()=>di,numKeys:()=>Ci,nullish:()=>d,normalizeParams:()=>w,merge:()=>ai,jsonStringifyReplacer:()=>lo,joinValues:()=>b,issue:()=>Jo,isPlainObject:()=>Ir,isObject:()=>ir,getSizableOrigin:()=>Ar,getParsedType:()=>Zi,getLengthableOrigin:()=>Lr,getEnumValues:()=>kr,getElementAtPath:()=>Fi,floatSafeRemainder:()=>jo,finalizeIssue:()=>H,extend:()=>pi,escapeRegex:()=>T,esc:()=>rr,defineLazy:()=>L,createTransparentProxy:()=>fi,clone:()=>E,cleanRegex:()=>xr,cleanEnum:()=>nI,captureStackTrace:()=>In,cached:()=>Pr,assignProp:()=>So,assertNotEqual:()=>Hi,assertNever:()=>Bi,assertIs:()=>hi,assertEqual:()=>Ei,assert:()=>Mi,allowsEval:()=>zo,aborted:()=>nr,NUMBER_FORMAT_RANGES:()=>Po,Class:()=>Uu,BIGINT_FORMAT_RANGES:()=>xo});function Ei(r){return r}function Hi(r){return r}function hi(r){}function Bi(r){throw Error()}function Mi(r){}function kr(r){let o=Object.values(r).filter((t)=>typeof t==="number");return Object.entries(r).filter(([t,n])=>o.indexOf(+t)===-1).map(([t,n])=>n)}function b(r,o="|"){return r.map((v)=>e(v)).join(o)}function lo(r,o){if(typeof o==="bigint")return o.toString();return o}function Pr(r){return{get value(){{let v=r();return Object.defineProperty(this,"value",{value:v}),v}throw Error("cached value already set")}}}function d(r){return r===null||r===void 0}function xr(r){let o=r.startsWith("^")?1:0,v=r.endsWith("$")?r.length-1:r.length;return r.slice(o,v)}function jo(r,o){let v=(r.toString().split(".")[1]||"").length,t=(o.toString().split(".")[1]||"").length,n=v>t?v:t,c=Number.parseInt(r.toFixed(n).replace(".","")),$=Number.parseInt(o.toFixed(n).replace(".",""));return c%$/10**n}function L(r,o,v){Object.defineProperty(r,o,{get(){{let n=v();return r[o]=n,n}throw Error("cached value already set")},set(n){Object.defineProperty(r,o,{value:n})},configurable:!0})}function So(r,o,v){Object.defineProperty(r,o,{value:v,writable:!0,enumerable:!0,configurable:!0})}function Fi(r,o){if(!o)return r;return o.reduce((v,t)=>v?.[t],r)}function Ti(r){let o=Object.keys(r),v=o.map((t)=>r[t]);return Promise.all(v).then((t)=>{let n={};for(let c=0;c<o.length;c++)n[o[c]]=t[c];return n})}function Ri(r=10){let v="";for(let t=0;t<r;t++)v+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return v}function rr(r){return JSON.stringify(r)}function ir(r){return typeof r==="object"&&r!==null&&!Array.isArray(r)}function Ir(r){if(ir(r)===!1)return!1;let o=r.constructor;if(o===void 0)return!0;let v=o.prototype;if(ir(v)===!1)return!1;if(Object.prototype.hasOwnProperty.call(v,"isPrototypeOf")===!1)return!1;return!0}function Ci(r){let o=0;for(let v in r)if(Object.prototype.hasOwnProperty.call(r,v))o++;return o}function T(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(r,o,v){let t=new r._zod.constr(o??r._zod.def);if(!o||v?.parent)t._zod.parent=r;return t}function w(r){let o=r;if(!o)return{};if(typeof o==="string")return{error:()=>o};if(o?.message!==void 0){if(o?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");o.error=o.message}if(delete o.message,typeof o.error==="string")return{...o,error:()=>o.error};return o}function fi(r){let o;return new Proxy({},{get(v,t,n){return o??(o=r()),Reflect.get(o,t,n)},set(v,t,n,c){return o??(o=r()),Reflect.set(o,t,n,c)},has(v,t){return o??(o=r()),Reflect.has(o,t)},deleteProperty(v,t){return o??(o=r()),Reflect.deleteProperty(o,t)},ownKeys(v){return o??(o=r()),Reflect.ownKeys(o)},getOwnPropertyDescriptor(v,t){return o??(o=r()),Reflect.getOwnPropertyDescriptor(o,t)},defineProperty(v,t,n){return o??(o=r()),Reflect.defineProperty(o,t,n)}})}function e(r){if(typeof r==="bigint")return r.toString()+"n";if(typeof r==="string")return`"${r}"`;return`${r}`}function ko(r){return Object.keys(r).filter((o)=>{return r[o]._zod.optin==="optional"&&r[o]._zod.optout==="optional"})}function yi(r,o){let v={},t=r._zod.def;for(let n in o){if(!(n in t.shape))throw Error(`Unrecognized key: "${n}"`);if(!o[n])continue;v[n]=t.shape[n]}return E(r,{...r._zod.def,shape:v,checks:[]})}function di(r,o){let v={...r._zod.def.shape},t=r._zod.def;for(let n in o){if(!(n in t.shape))throw Error(`Unrecognized key: "${n}"`);if(!o[n])continue;delete v[n]}return E(r,{...r._zod.def,shape:v,checks:[]})}function pi(r,o){if(!Ir(o))throw Error("Invalid input to extend: expected a plain object");let v={...r._zod.def,get shape(){let t={...r._zod.def.shape,...o};return So(this,"shape",t),t},checks:[]};return E(r,v)}function ai(r,o){return E(r,{...r._zod.def,get shape(){let v={...r._zod.def.shape,...o._zod.def.shape};return So(this,"shape",v),v},catchall:o._zod.def.catchall,checks:[]})}function si(r,o,v){let t=o._zod.def.shape,n={...t};if(v)for(let c in v){if(!(c in t))throw Error(`Unrecognized key: "${c}"`);if(!v[c])continue;n[c]=r?new r({type:"optional",innerType:t[c]}):t[c]}else for(let c in t)n[c]=r?new r({type:"optional",innerType:t[c]}):t[c];return E(o,{...o._zod.def,shape:n,checks:[]})}function rI(r,o,v){let t=o._zod.def.shape,n={...t};if(v)for(let c in v){if(!(c in n))throw Error(`Unrecognized key: "${c}"`);if(!v[c])continue;n[c]=new r({type:"nonoptional",innerType:t[c]})}else for(let c in t)n[c]=new r({type:"nonoptional",innerType:t[c]});return E(o,{...o._zod.def,shape:n,checks:[]})}function nr(r,o=0){for(let v=o;v<r.issues.length;v++)if(r.issues[v]?.continue!==!0)return!0;return!1}function q(r,o){return o.map((v)=>{var t;return(t=v).path??(t.path=[]),v.path.unshift(r),v})}function Dr(r){return typeof r==="string"?r:r?.message}function H(r,o,v){let t={...r,path:r.path??[]};if(!r.message){let n=Dr(r.inst?._zod.def?.error?.(r))??Dr(o?.error?.(r))??Dr(v.customError?.(r))??Dr(v.localeError?.(r))??"Invalid input";t.message=n}if(delete t.inst,delete t.continue,!o?.reportInput)delete t.input;return t}function Ar(r){if(r instanceof Set)return"set";if(r instanceof Map)return"map";if(r instanceof File)return"file";return"unknown"}function Lr(r){if(Array.isArray(r))return"array";if(typeof r==="string")return"string";return"unknown"}function Jo(...r){let[o,v,t]=r;if(typeof o==="string")return{message:o,code:"custom",input:v,inst:t};return{...o}}function nI(r){return Object.entries(r).filter(([o,v])=>{return Number.isNaN(Number.parseInt(o,10))}).map((o)=>o[1])}class Uu{constructor(...r){}}var In,zo,Zi=(r)=>{let o=typeof r;switch(o){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(r)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(r))return"array";if(r===null)return"null";if(r.then&&typeof r.then==="function"&&r.catch&&typeof r.catch==="function")return"promise";if(typeof Map<"u"&&r instanceof Map)return"map";if(typeof Set<"u"&&r instanceof Set)return"set";if(typeof Date<"u"&&r instanceof Date)return"date";if(typeof File<"u"&&r instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${o}`)}},Jr,Do,Po,xo;var z=j(()=>{In=Error.captureStackTrace?Error.captureStackTrace:(...r)=>{};zo=Pr(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(r){return!1}});Jr=new Set(["string","number","symbol"]),Do=new Set(["string","number","bigint","boolean","symbol","undefined"]);Po={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},xo={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]}});function Wr(r,o=(v)=>v.message){let v={},t=[];for(let n of r.issues)if(n.path.length>0)v[n.path[0]]=v[n.path[0]]||[],v[n.path[0]].push(o(n));else t.push(o(n));return{formErrors:t,fieldErrors:v}}function Vr(r,o){let v=o||function(c){return c.message},t={_errors:[]},n=(c)=>{for(let $ of c.issues)if($.code==="invalid_union"&&$.errors.length)$.errors.map((g)=>n({issues:g}));else if($.code==="invalid_key")n({issues:$.issues});else if($.code==="invalid_element")n({issues:$.issues});else if($.path.length===0)t._errors.push(v($));else{let g=t,I=0;while(I<$.path.length){let m=$.path[I];if(I!==$.path.length-1)g[m]=g[m]||{_errors:[]};else g[m]=g[m]||{_errors:[]},g[m]._errors.push(v($));g=g[m],I++}}};return n(r),t}function Ao(r,o){let v=o||function(c){return c.message},t={errors:[]},n=(c,$=[])=>{var g,I;for(let m of c.issues)if(m.code==="invalid_union"&&m.errors.length)m.errors.map((U)=>n({issues:U},m.path));else if(m.code==="invalid_key")n({issues:m.issues},m.path);else if(m.code==="invalid_element")n({issues:m.issues},m.path);else{let U=[...$,...m.path];if(U.length===0){t.errors.push(v(m));continue}let _=t,l=0;while(l<U.length){let i=U[l],N=l===U.length-1;if(typeof i==="string")_.properties??(_.properties={}),(g=_.properties)[i]??(g[i]={errors:[]}),_=_.properties[i];else _.items??(_.items=[]),(I=_.items)[i]??(I[i]={errors:[]}),_=_.items[i];if(N)_.errors.push(v(m));l++}}};return n(r),t}function Nu(r){let o=[];for(let v of r)if(typeof v==="number")o.push(`[${v}]`);else if(typeof v==="symbol")o.push(`[${JSON.stringify(String(v))}]`);else if(/[^\w$]/.test(v))o.push(`[${JSON.stringify(v)}]`);else{if(o.length)o.push(".");o.push(v)}return o.join("")}function Lo(r){let o=[],v=[...r.issues].sort((t,n)=>t.path.length-n.path.length);for(let t of v)if(o.push(`✖ ${t.message}`),t.path?.length)o.push(` → at ${Nu(t.path)}`);return o.join(`
|
|
3
3
|
`)}var wu=(r,o)=>{r.name="$ZodError",Object.defineProperty(r,"_zod",{value:r._zod,enumerable:!1}),Object.defineProperty(r,"issues",{value:o,enumerable:!1}),Object.defineProperty(r,"message",{get(){return JSON.stringify(o,lo,2)},enumerable:!0}),Object.defineProperty(r,"toString",{value:()=>r.message,enumerable:!1})},Gr,mr;var Go=j(()=>{gr();z();Gr=u("$ZodError",wu),mr=u("$ZodError",wu,{Parent:Error})});var mn=(r)=>(o,v,t,n)=>{let c=t?Object.assign(t,{async:!1}):{async:!1},$=o._zod.run({value:v,issues:[]},c);if($ instanceof Promise)throw new F;if($.issues.length){let g=new(n?.Err??r)($.issues.map((I)=>H(I,c,X())));throw In(g,n?.callee),g}return $.value},bn,Un=(r)=>async(o,v,t,n)=>{let c=t?Object.assign(t,{async:!0}):{async:!0},$=o._zod.run({value:v,issues:[]},c);if($ instanceof Promise)$=await $;if($.issues.length){let g=new(n?.Err??r)($.issues.map((I)=>H(I,c,X())));throw In(g,n?.callee),g}return $.value},wn,Nn=(r)=>(o,v,t)=>{let n=t?{...t,async:!1}:{async:!1},c=o._zod.run({value:v,issues:[]},n);if(c instanceof Promise)throw new F;return c.issues.length?{success:!1,error:new(r??Gr)(c.issues.map(($)=>H($,n,X())))}:{success:!0,data:c.value}},Wo,en=(r)=>async(o,v,t)=>{let n=t?Object.assign(t,{async:!0}):{async:!0},c=o._zod.run({value:v,issues:[]},n);if(c instanceof Promise)c=await c;return c.issues.length?{success:!1,error:new r(c.issues.map(($)=>H($,n,X())))}:{success:!0,data:c.value}},Vo;var On=j(()=>{gr();Go();z();bn=mn(mr),wn=Un(mr),Wo=Nn(mr),Vo=en(mr)});var cr={};s(cr,{xid:()=>qo,uuid7:()=>$I,uuid6:()=>tI,uuid4:()=>vI,uuid:()=>or,uppercase:()=>gc,unicodeEmail:()=>iI,undefined:()=>$c,ulid:()=>Yo,time:()=>ao,string:()=>rc,rfc5322Email:()=>gI,number:()=>cc,null:()=>tc,nanoid:()=>Eo,lowercase:()=>uc,ksuid:()=>Qo,ipv6:()=>To,ipv4:()=>Fo,integer:()=>oc,html5Email:()=>uI,hostname:()=>fo,guid:()=>ho,extendedDuration:()=>cI,emoji:()=>Mo,email:()=>Bo,e164:()=>yo,duration:()=>Ho,domain:()=>bI,datetime:()=>so,date:()=>po,cuid2:()=>Xo,cuid:()=>Ko,cidrv6:()=>Co,cidrv4:()=>Ro,browserEmail:()=>II,boolean:()=>vc,bigint:()=>nc,base64url:()=>_n,base64:()=>Zo,_emoji:()=>mI});function Mo(){return new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}function Ou(r){return typeof r.precision==="number"?r.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":r.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${r.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function ao(r){return new RegExp(`^${Ou(r)}$`)}function so(r){let o=Ou({precision:r.precision}),v=["Z"];if(r.local)v.push("");if(r.offset)v.push("([+-]\\d{2}:\\d{2})");let t=`${o}(?:${v.join("|")})`;return new RegExp(`^${eu}T(?:${t})$`)}var Ko,Xo,Yo,qo,Qo,Eo,Ho,cI,ho,or=(r)=>{if(!r)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${r}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},vI,tI,$I,Bo,uI,gI,iI,II,mI="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Fo,To,Ro,Co,Zo,_n,fo,bI,yo,eu="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",po,rc=(r)=>{let o=r?`[\\s\\S]{${r?.minimum??0},${r?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${o}$`)},nc,oc,cc,vc,tc,$c,uc,gc;var ln=j(()=>{Ko=/^[cC][^\s-]{8,}$/,Xo=/^[0-9a-z]+$/,Yo=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,qo=/^[0-9a-vA-V]{20}$/,Qo=/^[A-Za-z0-9]{27}$/,Eo=/^[a-zA-Z0-9_-]{21}$/,Ho=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,cI=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,ho=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,vI=or(4),tI=or(6),$I=or(7),Bo=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,uI=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,gI=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,iI=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,II=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;Fo=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,To=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,Ro=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Co=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Zo=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,_n=/^[A-Za-z0-9_-]*$/,fo=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,bI=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,yo=/^\+(?:[0-9]){6,14}[0-9]$/,po=new RegExp(`^${eu}$`);nc=/^\d+n?$/,oc=/^\d+$/,cc=/^-?\d+(?:\.\d+)?/i,vc=/true|false/i,tc=/null/i,$c=/undefined/i,uc=/^[^A-Z]*$/,gc=/^[^a-z]*$/});function _u(r,o,v){if(r.issues.length)o.issues.push(...q(v,r.issues))}var V,lu,jn,Sn,ic,Ic,mc,bc,Uc,wc,Nc,ec,Oc,br,_c,lc,jc,Sc,zc,Dc,kc,Pc,xc;var zn=j(()=>{gr();ln();z();V=u("$ZodCheck",(r,o)=>{var v;r._zod??(r._zod={}),r._zod.def=o,(v=r._zod).onattach??(v.onattach=[])}),lu={number:"number",bigint:"bigint",object:"date"},jn=u("$ZodCheckLessThan",(r,o)=>{V.init(r,o);let v=lu[typeof o.value];r._zod.onattach.push((t)=>{let n=t._zod.bag,c=(o.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(o.value<c)if(o.inclusive)n.maximum=o.value;else n.exclusiveMaximum=o.value}),r._zod.check=(t)=>{if(o.inclusive?t.value<=o.value:t.value<o.value)return;t.issues.push({origin:v,code:"too_big",maximum:o.value,input:t.value,inclusive:o.inclusive,inst:r,continue:!o.abort})}}),Sn=u("$ZodCheckGreaterThan",(r,o)=>{V.init(r,o);let v=lu[typeof o.value];r._zod.onattach.push((t)=>{let n=t._zod.bag,c=(o.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(o.value>c)if(o.inclusive)n.minimum=o.value;else n.exclusiveMinimum=o.value}),r._zod.check=(t)=>{if(o.inclusive?t.value>=o.value:t.value>o.value)return;t.issues.push({origin:v,code:"too_small",minimum:o.value,input:t.value,inclusive:o.inclusive,inst:r,continue:!o.abort})}}),ic=u("$ZodCheckMultipleOf",(r,o)=>{V.init(r,o),r._zod.onattach.push((v)=>{var t;(t=v._zod.bag).multipleOf??(t.multipleOf=o.value)}),r._zod.check=(v)=>{if(typeof v.value!==typeof o.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof v.value==="bigint"?v.value%o.value===BigInt(0):jo(v.value,o.value)===0)return;v.issues.push({origin:typeof v.value,code:"not_multiple_of",divisor:o.value,input:v.value,inst:r,continue:!o.abort})}}),Ic=u("$ZodCheckNumberFormat",(r,o)=>{V.init(r,o),o.format=o.format||"float64";let v=o.format?.includes("int"),t=v?"int":"number",[n,c]=Po[o.format];r._zod.onattach.push(($)=>{let g=$._zod.bag;if(g.format=o.format,g.minimum=n,g.maximum=c,v)g.pattern=oc}),r._zod.check=($)=>{let g=$.value;if(v){if(!Number.isInteger(g)){$.issues.push({expected:t,format:o.format,code:"invalid_type",input:g,inst:r});return}if(!Number.isSafeInteger(g)){if(g>0)$.issues.push({input:g,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:r,origin:t,continue:!o.abort});else $.issues.push({input:g,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:r,origin:t,continue:!o.abort});return}}if(g<n)$.issues.push({origin:"number",input:g,code:"too_small",minimum:n,inclusive:!0,inst:r,continue:!o.abort});if(g>c)$.issues.push({origin:"number",input:g,code:"too_big",maximum:c,inst:r})}}),mc=u("$ZodCheckBigIntFormat",(r,o)=>{V.init(r,o);let[v,t]=xo[o.format];r._zod.onattach.push((n)=>{let c=n._zod.bag;c.format=o.format,c.minimum=v,c.maximum=t}),r._zod.check=(n)=>{let c=n.value;if(c<v)n.issues.push({origin:"bigint",input:c,code:"too_small",minimum:v,inclusive:!0,inst:r,continue:!o.abort});if(c>t)n.issues.push({origin:"bigint",input:c,code:"too_big",maximum:t,inst:r})}}),bc=u("$ZodCheckMaxSize",(r,o)=>{var v;V.init(r,o),(v=r._zod.def).when??(v.when=(t)=>{let n=t.value;return!d(n)&&n.size!==void 0}),r._zod.onattach.push((t)=>{let n=t._zod.bag.maximum??Number.POSITIVE_INFINITY;if(o.maximum<n)t._zod.bag.maximum=o.maximum}),r._zod.check=(t)=>{let n=t.value;if(n.size<=o.maximum)return;t.issues.push({origin:Ar(n),code:"too_big",maximum:o.maximum,input:n,inst:r,continue:!o.abort})}}),Uc=u("$ZodCheckMinSize",(r,o)=>{var v;V.init(r,o),(v=r._zod.def).when??(v.when=(t)=>{let n=t.value;return!d(n)&&n.size!==void 0}),r._zod.onattach.push((t)=>{let n=t._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(o.minimum>n)t._zod.bag.minimum=o.minimum}),r._zod.check=(t)=>{let n=t.value;if(n.size>=o.minimum)return;t.issues.push({origin:Ar(n),code:"too_small",minimum:o.minimum,input:n,inst:r,continue:!o.abort})}}),wc=u("$ZodCheckSizeEquals",(r,o)=>{var v;V.init(r,o),(v=r._zod.def).when??(v.when=(t)=>{let n=t.value;return!d(n)&&n.size!==void 0}),r._zod.onattach.push((t)=>{let n=t._zod.bag;n.minimum=o.size,n.maximum=o.size,n.size=o.size}),r._zod.check=(t)=>{let n=t.value,c=n.size;if(c===o.size)return;let $=c>o.size;t.issues.push({origin:Ar(n),...$?{code:"too_big",maximum:o.size}:{code:"too_small",minimum:o.size},inclusive:!0,exact:!0,input:t.value,inst:r,continue:!o.abort})}}),Nc=u("$ZodCheckMaxLength",(r,o)=>{var v;V.init(r,o),(v=r._zod.def).when??(v.when=(t)=>{let n=t.value;return!d(n)&&n.length!==void 0}),r._zod.onattach.push((t)=>{let n=t._zod.bag.maximum??Number.POSITIVE_INFINITY;if(o.maximum<n)t._zod.bag.maximum=o.maximum}),r._zod.check=(t)=>{let n=t.value;if(n.length<=o.maximum)return;let $=Lr(n);t.issues.push({origin:$,code:"too_big",maximum:o.maximum,inclusive:!0,input:n,inst:r,continue:!o.abort})}}),ec=u("$ZodCheckMinLength",(r,o)=>{var v;V.init(r,o),(v=r._zod.def).when??(v.when=(t)=>{let n=t.value;return!d(n)&&n.length!==void 0}),r._zod.onattach.push((t)=>{let n=t._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(o.minimum>n)t._zod.bag.minimum=o.minimum}),r._zod.check=(t)=>{let n=t.value;if(n.length>=o.minimum)return;let $=Lr(n);t.issues.push({origin:$,code:"too_small",minimum:o.minimum,inclusive:!0,input:n,inst:r,continue:!o.abort})}}),Oc=u("$ZodCheckLengthEquals",(r,o)=>{var v;V.init(r,o),(v=r._zod.def).when??(v.when=(t)=>{let n=t.value;return!d(n)&&n.length!==void 0}),r._zod.onattach.push((t)=>{let n=t._zod.bag;n.minimum=o.length,n.maximum=o.length,n.length=o.length}),r._zod.check=(t)=>{let n=t.value,c=n.length;if(c===o.length)return;let $=Lr(n),g=c>o.length;t.issues.push({origin:$,...g?{code:"too_big",maximum:o.length}:{code:"too_small",minimum:o.length},inclusive:!0,exact:!0,input:t.value,inst:r,continue:!o.abort})}}),br=u("$ZodCheckStringFormat",(r,o)=>{var v,t;if(V.init(r,o),r._zod.onattach.push((n)=>{let c=n._zod.bag;if(c.format=o.format,o.pattern)c.patterns??(c.patterns=new Set),c.patterns.add(o.pattern)}),o.pattern)(v=r._zod).check??(v.check=(n)=>{if(o.pattern.lastIndex=0,o.pattern.test(n.value))return;n.issues.push({origin:"string",code:"invalid_format",format:o.format,input:n.value,...o.pattern?{pattern:o.pattern.toString()}:{},inst:r,continue:!o.abort})});else(t=r._zod).check??(t.check=()=>{})}),_c=u("$ZodCheckRegex",(r,o)=>{br.init(r,o),r._zod.check=(v)=>{if(o.pattern.lastIndex=0,o.pattern.test(v.value))return;v.issues.push({origin:"string",code:"invalid_format",format:"regex",input:v.value,pattern:o.pattern.toString(),inst:r,continue:!o.abort})}}),lc=u("$ZodCheckLowerCase",(r,o)=>{o.pattern??(o.pattern=uc),br.init(r,o)}),jc=u("$ZodCheckUpperCase",(r,o)=>{o.pattern??(o.pattern=gc),br.init(r,o)}),Sc=u("$ZodCheckIncludes",(r,o)=>{V.init(r,o);let v=T(o.includes),t=new RegExp(typeof o.position==="number"?`^.{${o.position}}${v}`:v);o.pattern=t,r._zod.onattach.push((n)=>{let c=n._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(t)}),r._zod.check=(n)=>{if(n.value.includes(o.includes,o.position))return;n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:o.includes,input:n.value,inst:r,continue:!o.abort})}}),zc=u("$ZodCheckStartsWith",(r,o)=>{V.init(r,o);let v=new RegExp(`^${T(o.prefix)}.*`);o.pattern??(o.pattern=v),r._zod.onattach.push((t)=>{let n=t._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(v)}),r._zod.check=(t)=>{if(t.value.startsWith(o.prefix))return;t.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:o.prefix,input:t.value,inst:r,continue:!o.abort})}}),Dc=u("$ZodCheckEndsWith",(r,o)=>{V.init(r,o);let v=new RegExp(`.*${T(o.suffix)}$`);o.pattern??(o.pattern=v),r._zod.onattach.push((t)=>{let n=t._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(v)}),r._zod.check=(t)=>{if(t.value.endsWith(o.suffix))return;t.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:o.suffix,input:t.value,inst:r,continue:!o.abort})}});kc=u("$ZodCheckProperty",(r,o)=>{V.init(r,o),r._zod.check=(v)=>{let t=o.schema._zod.run({value:v.value[o.property],issues:[]},{});if(t instanceof Promise)return t.then((n)=>_u(n,v,o.property));_u(t,v,o.property);return}}),Pc=u("$ZodCheckMimeType",(r,o)=>{V.init(r,o);let v=new Set(o.mime);r._zod.onattach.push((t)=>{t._zod.bag.mime=o.mime}),r._zod.check=(t)=>{if(v.has(t.value.type))return;t.issues.push({code:"invalid_value",values:o.mime,input:t.value.type,inst:r})}}),xc=u("$ZodCheckOverwrite",(r,o)=>{V.init(r,o),r._zod.check=(v)=>{v.value=o.tx(v.value)}})});class Dn{constructor(r=[]){if(this.content=[],this.indent=0,this)this.args=r}indented(r){this.indent+=1,r(this),this.indent-=1}write(r){if(typeof r==="function"){r(this,{execution:"sync"}),r(this,{execution:"async"});return}let v=r.split(`
|
|
4
4
|
`).filter((c)=>c),t=Math.min(...v.map((c)=>c.length-c.trimStart().length)),n=v.map((c)=>c.slice(t)).map((c)=>" ".repeat(this.indent*2)+c);for(let c of n)this.content.push(c)}compile(){let r=Function,o=this?.args,t=[...(this?.content??[""]).map((n)=>` ${n}`)];return new r(...o,t.join(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{AT as Y,BT as p,gU as v,hU as Z,iU as D,wT as T,xT as X,yT as I}from"./cli-0.1.
|
|
1
|
+
import{AT as Y,BT as p,gU as v,hU as Z,iU as D,wT as T,xT as X,yT as I}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as P,GV as V}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as H}from"./cli-0.1.15-tp614m5f.mjs";import{Bia as W,mla as F}from"./cli-0.1.15-12azgmva.mjs";import{Zla as A,bma as C}from"./cli-0.1.15-mhbfhhf6.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
|
|
2
2
|
export{u as wg,M as xg};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{bma as H}from"./cli-0.1.
|
|
1
|
+
import{bma as H}from"./cli-0.1.15-mhbfhhf6.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
2
|
export{F as rea,K as sea,M as tea,N as uea,O as vea,P as wea,J as xea};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Vg as M,Wg as W,sJ as O,tJ as P,uJ as Q,vJ as U,yJ as X}from"./cli-0.1.
|
|
1
|
+
import{Vg as M,Wg as W,sJ as O,tJ as P,uJ as Q,vJ as U,yJ as X}from"./cli-0.1.15-26hkdean.mjs";import{bma as V}from"./cli-0.1.15-mhbfhhf6.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
2
|
export{F as Oe,$ as Pe};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ib as K,Jb as Y}from"./cli-0.1.
|
|
1
|
+
import{Ib as K,Jb as Y}from"./cli-0.1.15-ghvjjc4g.mjs";import{Fq as J,Nq as X,kq as H,lq as U,pq as V,qq as W,ym as G,zm as B}from"./cli-0.1.15-26hkdean.mjs";import{_la as q,bma as v}from"./cli-0.1.15-mhbfhhf6.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>H.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(G([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();B();U();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(W(),q(V))});
|
|
2
2
|
export{P as Eb,C as Fb,A as Gb,D as Hb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{LV as K,NV as Z}from"./cli-0.1.15-f8abjagh.mjs";import{OV as J,QV as Y}from"./cli-0.1.15-asts8hm3.mjs";import{_2 as D,d0 as B,d3 as F,e3 as G,i0 as W,y3 as X}from"./cli-0.1.15-q35rzjnz.mjs";import{$4 as V,K4 as z}from"./cli-0.1.15-x69hfzmj.mjs";import{hda as y,ida as Q}from"./cli-0.1.15-6mad0r56.mjs";import{bma as N}from"./cli-0.1.15-mhbfhhf6.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
|
|
2
|
+
export{P as Lg,_ as Mg};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{bma as l}from"./cli-0.1.
|
|
1
|
+
import{bma as l}from"./cli-0.1.15-mhbfhhf6.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
|
|
2
2
|
export{u as DV,E as EV,a as FV,c as GV};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{zea as Y}from"./cli-0.1.
|
|
1
|
+
import{zea as Y}from"./cli-0.1.15-b7f6hacc.mjs";import{zfa as V}from"./cli-0.1.15-nk50qhet.mjs";import{bma as X}from"./cli-0.1.15-mhbfhhf6.mjs";var _,O;var F=X(()=>{_=Promise.resolve(),O=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});async function D(){}async function C(z){if(!z||z.length>G)return null;return null}async function u(z){if(!z||z.length>G)return null;return null}function b(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&U.has(J.text)?[J.text]:[]}let Z=[],$=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!$&&J.type==="word"){$=!0,Z.push(J.text);continue}if(q.has(J.type))Z.push(H(J.text));else if(Q.has(J.type))break}return Z}function H(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var G=1e4,U,q,Q,y;var M=X(()=>{Y();V();F();U=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),q=new Set(["word","string","raw_string","number"]),Q=new Set(["command_substitution","process_substitution"]);y=Symbol("parse-aborted")});
|
|
2
2
|
export{O as gY,F as hY,D as iY,C as jY,y as kY,u as lY,b as mY,M as nY};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{bma as F}from"./cli-0.1.
|
|
1
|
+
import{bma as F}from"./cli-0.1.15-mhbfhhf6.mjs";function V(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function A(q,z){let B=q;for(let J of z){if(B==null||typeof B!=="object")return;B=B[J]}return B}function L(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let K=q.toLowerCase();return K.includes("localhost")||K.includes("127.0.0.1")||K.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let J=B.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/);if(J){let K=Number(J[1]),Q=Number(J[2]);if(K===10)return!0;if(K===172&&Q>=16&&Q<=31)return!0;if(K===192&&Q===168)return!0;if(K===127)return!0;if(K===169&&Q===254)return!0;if(K===100&&Q>=64&&Q<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||/^fc[0-9a-f]{0,2}:/.test(B)||/^fd[0-9a-f]{0,2}:/.test(B))return!0;return!1}function O(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(L(B))return"self-hosted";let J=B.toLowerCase();if(J.includes(":11434"))return"ollama";if(J.includes("moonshot")||J.includes("kimi"))return"kimi";if(J.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function f(q){if(!q||typeof q!=="object")return 0;let z=q,B=V(z.cache_read_input_tokens);if(B>0)return B;let J=V(A(q,["input_tokens_details","cached_tokens"]))||V(A(q,["prompt_tokens_details","cached_tokens"]));if(J>0)return J;let K=V(z.cached_tokens);if(K>0)return K;let Q=V(z.prompt_cache_hit_tokens);if(Q>0)return Q;let W=V(z.cached_content_token_count);if(W>0)return W;return 0}function Y(q){let z=f(q),B=q??{},J=V(B.input_tokens)||V(B.prompt_tokens),K=J>=z?J-z:J,Q=V(B.output_tokens)||V(B.completion_tokens);return{input_tokens:K,output_tokens:Q,cache_creation_input_tokens:0,cache_read_input_tokens:z}}function k(q,z){if(!q||typeof q!=="object")return $;let B=q,J=V(B.cache_read_input_tokens),K=V(B.cache_creation_input_tokens),Q=V(B.input_tokens);if(z==="copilot"||z==="ollama")return $;if(z==="self-hosted"&&J===0&&K===0)return $;let W=J+K+Q;return{read:J,created:K,total:W,hitRate:W>0?Math.min(1,J/W):null,supported:!0}}function _(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${j(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${j(q.read)}`,`created=${j(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function j(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(/\.0$/,"")}k`;return`${(q/1e6).toFixed(1).replace(/\.0$/,"")}m`}function X(q,z){if(!q.supported&&!z.supported)return $;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,J=q.created+z.created,K=q.total+z.total;return{read:B,created:J,total:K,hitRate:K>0?B/K:null,supported:!0}}var $;var H=F(()=>{$={read:0,created:0,total:0,hitRate:null,supported:!1}});function D(q){return{currentTurn:Z,session:Z,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function S(q,z){G.currentTurn=X(G.currentTurn,q),G.session=X(G.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(G.history[G.historyWriteIdx]=B,G.historyWriteIdx=(G.historyWriteIdx+1)%G.historyMax,G.historySize<G.historyMax)G.historySize++}function M(){G.currentTurn=Z}function E(){G.currentTurn=Z,G.session=Z,G.history=Array(G.historyMax),G.historyWriteIdx=0,G.historySize=0}function w(){return G.currentTurn}function P(){return G.session}function T(){if(G.historySize<G.historyMax)return G.history.slice(0,G.historySize);let q=G.history.slice(G.historyWriteIdx),z=G.history.slice(0,G.historyWriteIdx);return q.concat(z)}var y=500,Z,G;var x=F(()=>{H();Z={read:0,created:0,total:0,hitRate:null,supported:!1};G=D(y)});
|
|
2
2
|
export{O as dS,Y as eS,k as fS,_ as gS,I as hS,H as iS,S as jS,M as kS,E as lS,w as mS,P as nS,T as oS,x as pS};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{XJ as C,_J as X}from"./cli-0.1.15-26hkdean.mjs";import{HV as W}from"./cli-0.1.15-tp614m5f.mjs";import{H1 as J,N1 as V,v1 as I}from"./cli-0.1.15-q35rzjnz.mjs";import{Ida as T,nda as H}from"./cli-0.1.15-wfn10357.mjs";import{Zla as P,bma as Q}from"./cli-0.1.15-mhbfhhf6.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
+
export{v as Kb,Y as Lb};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Jh as U,Lh as h,Zg as $,_H as u,ah as m,jH as F,kF as A,lF as p,lH as L,xu as k,yu as I}from"./cli-0.1.
|
|
1
|
+
import{Jh as U,Lh as h,Zg as $,_H as u,ah as m,jH as F,kF as A,lF as p,lH as L,xu as k,yu as I}from"./cli-0.1.15-26hkdean.mjs";import{uZ as O,vZ as f}from"./cli-0.1.15-q35rzjnz.mjs";import{afa as b,cfa as T,mfa as S,qfa as E}from"./cli-0.1.15-nk50qhet.mjs";import{Afa as y,Nfa as C}from"./cli-0.1.15-9pe3dbgs.mjs";import{bma as N}from"./cli-0.1.15-mhbfhhf6.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
|
|
2
2
|
|
|
3
3
|
Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Hr as r,Ir as Xq,Ru as x,Su as s,Tu as C,Vu as n,Wu as $,Yu as Zq,iv as o,kv as Mq,rt as d,st as Yq,wj as E,xj as Uq}from"./cli-0.1.
|
|
1
|
+
import{Hr as r,Ir as Xq,Ru as x,Su as s,Tu as C,Vu as n,Wu as $,Yu as Zq,iv as o,kv as Mq,rt as d,st as Yq,wj as E,xj as Uq}from"./cli-0.1.15-26hkdean.mjs";import{AU as N,CU as U,GU as V,QS as Jq,WU as a,fV as Qq}from"./cli-0.1.15-68f0jtkh.mjs";import{DV as u,EV as J,FV as X,GV as g}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as zq}from"./cli-0.1.15-tp614m5f.mjs";import{yea as w,zea as qq}from"./cli-0.1.15-b7f6hacc.mjs";import{Zla as i,bma as t}from"./cli-0.1.15-mhbfhhf6.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
|
|
2
2
|
| \\ \\
|
|
3
3
|
| NEW TERMS \\__\\
|
|
4
4
|
| |
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{l6 as z,n6 as G}from"./cli-0.1.
|
|
1
|
+
import{l6 as z,n6 as G}from"./cli-0.1.15-4892kydg.mjs";import{bma as D}from"./cli-0.1.15-mhbfhhf6.mjs";function H(k){let g;try{g=new URL(k)}catch(A){throw Error(`Invalid URL format: ${k}`)}if(g.protocol!=="http:"&&g.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${g.protocol}`)}async function K(k){try{let g=process.platform;if(g==="win32"){let{code:C}=await z("explorer",[k]);return C===0}let A=g==="darwin"?"open":"xdg-open",{code:B}=await z(A,[k]);return B===0}catch(g){return!1}}async function L(k){try{H(k);let g=process.env.BROWSER,A=process.platform;if(A==="win32"){if(g){let{code:C}=await z(g,[`"${k}"`]);return C===0}let{code:B}=await z("rundll32",["url,OpenURL",k],{});return B===0}else{let B=g||(A==="darwin"?"open":"xdg-open"),{code:C}=await z(B,[k]);return C===0}}catch(g){return!1}}var I=D(()=>{G()});
|
|
2
2
|
export{K as bW,L as cW,I as dW};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{AU as F,CU as V,QS as t,ZS as p,fV as o,yU as j,zU as s}from"./cli-0.1.
|
|
1
|
+
import{AU as F,CU as V,QS as t,ZS as p,fV as o,yU as j,zU as s}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as w,FV as g,GV as y}from"./cli-0.1.15-gxgy4enj.mjs";import{e6 as $,f6 as a,l5 as _,m5 as n}from"./cli-0.1.15-4892kydg.mjs";import{Zla as i,bma as v}from"./cli-0.1.15-mhbfhhf6.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
|
|
2
2
|
`)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
|
|
3
3
|
export{Hq as Ie,Mq as Je};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Mh as l,Nh as Rq,Oh as i,Ph as Aq,bk as E,ck as m,dk as Xq,sk as S,xk as Zq}from"./cli-0.1.14-j5sbzwhy.mjs";import{$4 as Qq,K4 as p}from"./cli-0.1.14-stv1d0q3.mjs";import{M9 as u,O9 as g,R9 as h,S9 as n,X9 as vq,_5 as D,d6 as qq}from"./cli-0.1.14-2f7s5xbd.mjs";import{oca as d,qca as Uq}from"./cli-0.1.14-kmsvd61a.mjs";import{Yea as W,Zea as O,_ea as C,cfa as _,efa as P,ffa as v,ifa as f,mfa as M,qfa as y,wfa as V,zfa as e}from"./cli-0.1.14-2mzb5ath.mjs";import{bma as N}from"./cli-0.1.14-qn4ftczz.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{Qq();e();_();y();qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
1
|
+
import{Mh as l,Nh as Rq,Oh as i,Ph as Aq,bk as E,ck as m,dk as Xq,sk as S,xk as Zq}from"./cli-0.1.15-26hkdean.mjs";import{$4 as Qq,K4 as p}from"./cli-0.1.15-x69hfzmj.mjs";import{M9 as u,O9 as g,R9 as h,S9 as n,X9 as vq,_5 as D,d6 as qq}from"./cli-0.1.15-4892kydg.mjs";import{oca as d,qca as Uq}from"./cli-0.1.15-gmdv5ny8.mjs";import{Yea as W,Zea as O,_ea as C,cfa as _,efa as P,ffa as v,ifa as f,mfa as M,qfa as y,wfa as V,zfa as e}from"./cli-0.1.15-nk50qhet.mjs";import{bma as N}from"./cli-0.1.15-mhbfhhf6.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{Qq();e();_();y();qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
|
|
2
2
|
export{Fq as Mb,r as Nb,nq as Ob,lq as Pb,Oq as Qb,QQ as Rb,XQ as Sb,Dq as Tb};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{sk as Z,xk as G}from"./cli-0.1.
|
|
1
|
+
import{sk as Z,xk as G}from"./cli-0.1.15-26hkdean.mjs";import{_5 as X,d6 as R}from"./cli-0.1.15-4892kydg.mjs";import{efa as v,ffa as B,ifa as A,mfa as C,qfa as M,wfa as U,zfa as O}from"./cli-0.1.15-nk50qhet.mjs";import{bma as b}from"./cli-0.1.15-mhbfhhf6.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
|
|
2
2
|
export{o as Ub,c as Vb,p as Wb,d as Xb,g as Yb,w as Zb};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{E as f}from"./cli-0.1.
|
|
2
|
-
`,t=1000,l=1000,D=30000,n=600000,r=1e4,o=300000,A=D*2,a=new Set([1002,4001,4003]);class L{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new F(t)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:U(this.url.href),tls:W()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.1.
|
|
1
|
+
import{E as f}from"./cli-0.1.15-77346q11.mjs";import{aA as F,bA as i}from"./cli-0.1.15-26hkdean.mjs";import{$O as z,WO as T,ZO as e,_O as k,eP as d}from"./cli-0.1.15-69kq5chw.mjs";import{E3 as W,H3 as m,M3 as y,N3 as U,S3 as c}from"./cli-0.1.15-5denzf1p.mjs";import{$4 as s,K4 as S}from"./cli-0.1.15-x69hfzmj.mjs";import{J5 as Z,L5 as R}from"./cli-0.1.15-4892kydg.mjs";import{oca as V,qca as I,rca as N,sca as v}from"./cli-0.1.15-gmdv5ny8.mjs";import{Ida as b,xda as E}from"./cli-0.1.15-wfn10357.mjs";import{yea as q,zea as p}from"./cli-0.1.15-b7f6hacc.mjs";import{efa as O,ifa as w,wfa as Y,zfa as _}from"./cli-0.1.15-nk50qhet.mjs";import{Dfa as H,Nfa as h}from"./cli-0.1.15-9pe3dbgs.mjs";import{cma as u}from"./cli-0.1.15-mhbfhhf6.mjs";I();b();v();var j={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var x={message:"must be 0 (disabled) or ≥100ms"},C=N(()=>V.object({poll_interval_ms_not_at_capacity:V.number().int().min(100),poll_interval_ms_at_capacity:V.number().int().refine((J)=>J===0||J>=100,x),non_exclusive_heartbeat_interval_ms:V.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:V.number().int().min(100).default(j.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:V.number().int().min(100).default(j.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:V.number().int().refine((J)=>J===0||J>=100,x).default(j.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:V.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:V.number().int().min(0).default(120000)}).refine((J)=>J.non_exclusive_heartbeat_interval_ms>0||J.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((J)=>J.non_exclusive_heartbeat_interval_ms>0||J.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function BJ(){let J=E("tengu_bridge_poll_interval_config",j,300000),K=C().safeParse(J);return K.success?K.data:j}s();_();R();e();p();i();_();R();h();m();c();d();w();var g=`{"type":"keep_alive"}
|
|
2
|
+
`,t=1000,l=1000,D=30000,n=600000,r=1e4,o=300000,A=D*2,a=new Set([1002,4001,4003]);class L{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new F(t)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:U(this.url.href),tls:W()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.1.15-dw3awx2b.mjs"),Q=new K(this.url.href,{headers:J,agent:y(this.url.href),...W()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)q("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),k(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),z(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)q("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&a.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>A)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<n){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let B=this.refreshHeaders();Object.assign(this.headers,B),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(l*Math.pow(2,this.reconnectAttempts-1),D),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)q("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),z(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=O($)+`
|
|
3
3
|
`;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=O(J)+`
|
|
4
4
|
`;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>A){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},r)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),H(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(g),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},o)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var JJ=100,KJ=15000,QJ=3000;class XJ extends L{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:B}=$??{};this.postUrl=YJ(J),this.uploader=new f({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(M,P)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:M,failures:P}),B?.(M,P)},send:(M)=>this.postOnce(M)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),JJ);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,QJ)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=T();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await S.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:KJ})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function YJ(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
|
|
5
5
|
export{j as q,BJ as r,L as s,XJ as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Pla as p,Qla as a}from"./cli-0.1.
|
|
1
|
+
import{Pla as p,Qla as a}from"./cli-0.1.15-6r630k68.mjs";import{$la as i}from"./cli-0.1.15-mhbfhhf6.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
|
|
2
2
|
export{u as X3};
|