@opencode/core 0.0.0-dev-19305 → 0.0.0-dev-19306
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/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{kv-9nnkqgar.js → file-retention-085p4wzr.js} +23 -23
- package/dist/chunks/{kv-j438vazm.js → file-retention-089z8d2q.js} +4 -4
- package/dist/chunks/{kv-tmxsk5ay.js → file-retention-0b96kjwf.js} +11 -11
- package/dist/chunks/{kv-a91jrmzy.js → file-retention-0e552dan.js} +26 -26
- package/dist/chunks/{kv-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-vmq7ehpy.js → file-retention-0r7yqxbf.js} +5 -5
- package/dist/chunks/{kv-edhs40p9.js → file-retention-0rn2bysh.js} +12 -12
- package/dist/chunks/{kv-j41a475f.js → file-retention-0thxwbsq.js} +11 -11
- package/dist/chunks/{kv-2zc5egdh.js → file-retention-11fxjgwx.js} +25 -25
- package/dist/chunks/{kv-0yz71n10.js → file-retention-164jdkrd.js} +19 -19
- package/dist/chunks/{kv-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-1dfhrqqs.js → file-retention-1dfhrqqs.js} +2 -2
- package/dist/chunks/{kv-xeyrsf3e.js → file-retention-1h5gp861.js} +18 -18
- package/dist/chunks/{kv-paegk39x.js → file-retention-1hc11dc4.js} +4 -4
- package/dist/chunks/{kv-5fmfe22g.js → file-retention-1x4qabqm.js} +21 -21
- package/dist/chunks/{kv-7rr4f4n7.js → file-retention-1xwk6ww1.js} +6 -6
- package/dist/chunks/{kv-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{kv-d1z2e9b7.js → file-retention-228st694.js} +8 -8
- package/dist/chunks/{kv-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
- package/dist/chunks/{kv-xjmjzbm2.js → file-retention-26nm669z.js} +35 -35
- package/dist/chunks/{kv-jwa4fmm9.js → file-retention-27cjzptm.js} +42 -42
- package/dist/chunks/{kv-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-pq2fa145.js → file-retention-2f9mkkej.js} +15 -15
- package/dist/chunks/{kv-strj3zkw.js → file-retention-2xcd4pkq.js} +9 -9
- package/dist/chunks/{kv-z3t3b1t8.js → file-retention-3ad4b8jh.js} +18 -18
- package/dist/chunks/{kv-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-5zhnrkq5.js → file-retention-3fk22zg7.js} +20 -20
- package/dist/chunks/{kv-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-818pfwc9.js → file-retention-3pbjq009.js} +8 -8
- package/dist/chunks/{kv-w79zsp0s.js → file-retention-3q1jyqhd.js} +1 -1
- package/dist/chunks/{kv-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-hm622x1n.js → file-retention-401vwfxe.js} +8 -8
- package/dist/chunks/{kv-z0jk54k5.js → file-retention-43eky7fv.js} +91 -91
- package/dist/chunks/{kv-maaqrbhp.js → file-retention-4a8afqtg.js} +11 -11
- package/dist/chunks/{kv-23279rje.js → file-retention-4c8bw516.js} +8 -8
- package/dist/chunks/{kv-n3fvjmy7.js → file-retention-4e4kessa.js} +11 -11
- package/dist/chunks/{kv-xp20cf23.js → file-retention-4jxr6rzv.js} +7 -7
- package/dist/chunks/{kv-06zq0e3e.js → file-retention-4rcz7n1w.js} +13 -13
- package/dist/chunks/{kv-2z2smmkn.js → file-retention-4t92r5y5.js} +16 -16
- package/dist/chunks/{kv-f0gm38sp.js → file-retention-4xr7dxah.js} +26 -26
- package/dist/chunks/{kv-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-s6awdsy0.js → file-retention-5ejrhezz.js} +7 -7
- package/dist/chunks/{kv-0pa87wdg.js → file-retention-5h2ak588.js} +25 -25
- package/dist/chunks/{kv-zyj2twks.js → file-retention-5kmyd2yp.js} +18 -18
- package/dist/chunks/{kv-n91raeq2.js → file-retention-5n3vgq58.js} +2 -2
- package/dist/chunks/{kv-jkvd5y7z.js → file-retention-5qkbsren.js} +15 -15
- package/dist/chunks/{kv-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-dvvjdwja.js → file-retention-5w90zcr2.js} +43 -43
- package/dist/chunks/{kv-yyqejxk6.js → file-retention-5yf98bmk.js} +18 -18
- package/dist/chunks/{kv-205hyhp5.js → file-retention-638rxdhc.js} +24 -24
- package/dist/chunks/{kv-5h3nb936.js → file-retention-63h173xj.js} +40 -40
- package/dist/chunks/{kv-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{kv-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-45hb7f83.js → file-retention-6xyaxxp3.js} +27 -27
- package/dist/chunks/{kv-rmk2c50f.js → file-retention-70y17xeh.js} +5 -5
- package/dist/chunks/{kv-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{kv-tdsjmbek.js → file-retention-79v6krhr.js} +35 -35
- package/dist/chunks/{kv-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-rwtq93ad.js → file-retention-7hat9k3a.js} +4 -4
- package/dist/chunks/{kv-s30wkzvp.js → file-retention-7hhdtzm1.js} +10 -10
- package/dist/chunks/{kv-gqawmzqm.js → file-retention-7tpxex51.js} +8 -8
- package/dist/chunks/{kv-q26tgv94.js → file-retention-844ef7ks.js} +8 -8
- package/dist/chunks/{kv-0yjrx829.js → file-retention-84ajknms.js} +32 -32
- package/dist/chunks/{kv-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-x2xe7v1f.js → file-retention-8gjywk27.js} +28 -28
- package/dist/chunks/{kv-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-czntfx8t.js → file-retention-8rcbgw1c.js} +6 -6
- package/dist/chunks/{kv-s5k7vegs.js → file-retention-8rxc0pzs.js} +28 -28
- package/dist/chunks/{kv-1qtzcvag.js → file-retention-8t01676a.js} +15 -15
- package/dist/chunks/{kv-wzcjkfks.js → file-retention-8w2h3xst.js} +30 -30
- package/dist/chunks/{kv-t6yvnw0e.js → file-retention-8xgh37q2.js} +39 -39
- package/dist/chunks/{kv-4whayx0s.js → file-retention-96yt6zt0.js} +1 -1
- package/dist/chunks/{kv-temcajp8.js → file-retention-9c22vnh3.js} +26 -26
- package/dist/chunks/{kv-nbddwgy7.js → file-retention-9edcvf27.js} +3 -3
- package/dist/chunks/{kv-qta1thjb.js → file-retention-9fjt8dzc.js} +16 -16
- package/dist/chunks/{kv-ffr714k0.js → file-retention-9kze6ep1.js} +18 -18
- package/dist/chunks/{kv-j7wq2tw5.js → file-retention-9vs0xtad.js} +3 -3
- package/dist/chunks/{kv-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/file-retention-a5hbfrzd.js +247 -0
- package/dist/chunks/{kv-ve1enffa.js → file-retention-a6ycgxr6.js} +28 -28
- package/dist/chunks/{kv-x62ywaz6.js → file-retention-a8npxwp2.js} +11 -11
- package/dist/chunks/{kv-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-gst7axd9.js → file-retention-afdssyjb.js} +4 -4
- package/dist/chunks/{kv-j8vakhm6.js → file-retention-afqe321m.js} +25 -25
- package/dist/chunks/{kv-9j856hay.js → file-retention-aks9j4w4.js} +15 -15
- package/dist/chunks/{kv-7tr6s30h.js → file-retention-atnf5533.js} +16 -16
- package/dist/chunks/{kv-a2ew8a62.js → file-retention-b27vhd2z.js} +4 -4
- package/dist/chunks/{kv-q0me2p8d.js → file-retention-b4s1xj5x.js} +9 -9
- package/dist/chunks/{kv-1g7qrdvj.js → file-retention-b62r6jkh.js} +18 -18
- package/dist/chunks/{kv-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-xgr9hw2t.js → file-retention-b963bmgr.js} +13 -13
- package/dist/chunks/{kv-5mgj9z2s.js → file-retention-bcvm2kkr.js} +15 -15
- package/dist/chunks/{kv-ys4qthf1.js → file-retention-beqz24q2.js} +42 -42
- package/dist/chunks/{kv-6s9eyz9r.js → file-retention-bha4atvq.js} +4 -4
- package/dist/chunks/{kv-60mz5h67.js → file-retention-bvzpqjkv.js} +13 -13
- package/dist/chunks/{kv-386yacj4.js → file-retention-c5hwayjq.js} +4 -4
- package/dist/chunks/{kv-y1ebma8p.js → file-retention-c85sskq6.js} +11 -11
- package/dist/chunks/{kv-tph2fk4h.js → file-retention-cd428q19.js} +9 -9
- package/dist/chunks/{kv-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-vze96k0n.js → file-retention-cjsb4aez.js} +4 -4
- package/dist/chunks/{kv-mrn7qyex.js → file-retention-cmx0cyjn.js} +9 -9
- package/dist/chunks/{kv-f3xjqa4w.js → file-retention-cspft70r.js} +9 -9
- package/dist/chunks/{kv-wk5z6jzv.js → file-retention-d09006c3.js} +9 -9
- package/dist/chunks/{kv-pepqf6ga.js → file-retention-d2f1arkd.js} +20 -20
- package/dist/chunks/{kv-e7sgzf74.js → file-retention-d7y1ze3m.js} +18 -18
- package/dist/chunks/{kv-w12rp218.js → file-retention-dhgj89qr.js} +3 -3
- package/dist/chunks/{kv-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-h1qq3dsd.js → file-retention-dr20mx92.js} +27 -27
- package/dist/chunks/{kv-b7xbmwj9.js → file-retention-e042tyrs.js} +5 -5
- package/dist/chunks/{kv-zg1cw4cj.js → file-retention-e5rkeknp.js} +7 -7
- package/dist/chunks/{kv-qz49fwgp.js → file-retention-e6hd9jay.js} +6 -6
- package/dist/chunks/{kv-eaj1djv9.js → file-retention-eaj1djv9.js} +1 -1
- package/dist/chunks/{kv-kzd68pqg.js → file-retention-ebah8r6x.js} +6 -6
- package/dist/chunks/{kv-xebmnhc4.js → file-retention-eenpnbqj.js} +10 -10
- package/dist/chunks/{kv-fj3qsqhh.js → file-retention-eppr9y53.js} +6 -6
- package/dist/chunks/{kv-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-tn0aqsam.js → file-retention-evbgk2k8.js} +5 -5
- package/dist/chunks/{kv-9ft914dh.js → file-retention-f2fvptgs.js} +46 -46
- package/dist/chunks/file-retention-f37dn1ey.js +462 -0
- package/dist/chunks/{kv-g190xswt.js → file-retention-f3ngv102.js} +4 -4
- package/dist/chunks/{kv-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{kv-g9245y80.js → file-retention-f8q7mv7a.js} +1 -1
- package/dist/chunks/{kv-btdv9ryv.js → file-retention-ffprybq0.js} +20 -20
- package/dist/chunks/{kv-pmk1pqd6.js → file-retention-fg50ch7r.js} +4 -4
- package/dist/chunks/{kv-hx55d56e.js → file-retention-fgh0kbhd.js} +1 -1
- package/dist/chunks/{kv-nksescck.js → file-retention-fhjm97q2.js} +10 -10
- package/dist/chunks/{kv-bchv7rjf.js → file-retention-fhp7qqsj.js} +20 -20
- package/dist/chunks/{kv-pagkjc3y.js → file-retention-fp1hhbvz.js} +30 -30
- package/dist/chunks/{kv-erqeev50.js → file-retention-frhqnhmj.js} +15 -15
- package/dist/chunks/{kv-h11jv7vh.js → file-retention-fvt1yp66.js} +29 -29
- package/dist/chunks/{kv-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-47r3zz0x.js → file-retention-fygdb7h7.js} +3 -3
- package/dist/chunks/{kv-h6z8d5tn.js → file-retention-fyymr9xg.js} +4 -4
- package/dist/chunks/{kv-wvssgkrf.js → file-retention-g1xb33sa.js} +32 -32
- package/dist/chunks/{kv-qy03xt3s.js → file-retention-g8nf464k.js} +26 -26
- package/dist/chunks/{kv-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-nhvhf6q8.js → file-retention-gj9xpvv3.js} +6 -6
- package/dist/chunks/{kv-zvd5jbwb.js → file-retention-gtb749hc.js} +15 -15
- package/dist/chunks/{kv-th5km1p3.js → file-retention-gv6a8nnw.js} +5 -5
- package/dist/chunks/{kv-ej5hckht.js → file-retention-gvrrxk8n.js} +48 -48
- package/dist/chunks/{kv-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-m2d0j7c0.js → file-retention-h7ygw6q4.js} +9 -9
- package/dist/chunks/{kv-0nddvemt.js → file-retention-ha1ky52e.js} +25 -25
- package/dist/chunks/{kv-csw7rs6s.js → file-retention-hces5vk3.js} +8 -8
- package/dist/chunks/{kv-wrvngkj1.js → file-retention-hgtjkr46.js} +11 -11
- package/dist/chunks/file-retention-hxa7m5za.js +4 -0
- package/dist/chunks/{kv-83p1geyf.js → file-retention-j4jqbx4j.js} +14 -14
- package/dist/chunks/{kv-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-1a6p2twq.js → file-retention-j83byb14.js} +4 -4
- package/dist/chunks/{kv-pjedbq3k.js → file-retention-j8zzr2am.js} +6 -6
- package/dist/chunks/file-retention-jch0v1y2.js +22 -0
- package/dist/chunks/{kv-rentfk4q.js → file-retention-jf6dr2d9.js} +36 -36
- package/dist/chunks/{kv-qa0xdzs2.js → file-retention-jfmshy3a.js} +22 -22
- package/dist/chunks/{kv-t8bhz2vr.js → file-retention-jj63jgrn.js} +8 -8
- package/dist/chunks/{kv-hg4g3nha.js → file-retention-jn37jswd.js} +15 -15
- package/dist/chunks/{kv-x82mgsnk.js → file-retention-jnsa8b46.js} +1 -1
- package/dist/chunks/{kv-654ce46n.js → file-retention-jwws7wxw.js} +7 -7
- package/dist/chunks/{kv-g6ew7cqr.js → file-retention-k16ay38w.js} +1 -1
- package/dist/chunks/{kv-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-mp045f7j.js → file-retention-ksz0h0wp.js} +1 -1
- package/dist/chunks/{kv-yt2qvb82.js → file-retention-m27pyyd3.js} +8 -8
- package/dist/chunks/{kv-vk1ne14n.js → file-retention-m3800wpb.js} +24 -24
- package/dist/chunks/{kv-j235te6d.js → file-retention-m73qne7a.js} +3 -3
- package/dist/chunks/{kv-tgcgw25p.js → file-retention-m7hd4rhs.js} +22 -22
- package/dist/chunks/{kv-1r2zdtkd.js → file-retention-m7ty3jyf.js} +14 -14
- package/dist/chunks/{kv-y45g446j.js → file-retention-m821g7ez.js} +17 -17
- package/dist/chunks/{kv-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-1x79khn6.js → file-retention-mb5m7hjx.js} +6 -6
- package/dist/chunks/{kv-8kxdp5sm.js → file-retention-mb6jxekh.js} +32 -32
- package/dist/chunks/{kv-t9ke5tbg.js → file-retention-mbq90t60.js} +46 -46
- package/dist/chunks/{kv-g3tb9zt0.js → file-retention-mdgez6a3.js} +20 -20
- package/dist/chunks/{kv-fs7g862w.js → file-retention-me5vgs2m.js} +34 -34
- package/dist/chunks/{kv-33w4ejhs.js → file-retention-mfqp6xfm.js} +9 -9
- package/dist/chunks/{kv-kx3d0pr1.js → file-retention-mhd0t4xv.js} +29 -29
- package/dist/chunks/{kv-73tb2d7t.js → file-retention-mhkvc446.js} +3 -3
- package/dist/chunks/{kv-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{kv-swe4yj3v.js → file-retention-mkw2wvv0.js} +9 -9
- package/dist/chunks/{kv-c700j0vg.js → file-retention-mqgfyy2s.js} +20 -20
- package/dist/chunks/{kv-3ydrj0e1.js → file-retention-mwsztzac.js} +11 -11
- package/dist/chunks/{kv-hy7dp2k3.js → file-retention-mypwhdkk.js} +6 -6
- package/dist/chunks/{kv-gvp0w9xb.js → file-retention-n4pj3cng.js} +10 -10
- package/dist/chunks/{kv-njyck951.js → file-retention-n76fdqym.js} +5 -5
- package/dist/chunks/{kv-s3r3b7q0.js → file-retention-nfkc2kma.js} +9 -9
- package/dist/chunks/{kv-nhy5jxhy.js → file-retention-nhy5jxhy.js} +1 -1
- package/dist/chunks/{kv-hw39y2t2.js → file-retention-nk32hk52.js} +10 -10
- package/dist/chunks/{kv-631qzpxd.js → file-retention-nn8g4bnz.js} +14 -14
- package/dist/chunks/{kv-992nrvv2.js → file-retention-nwht2get.js} +15 -15
- package/dist/chunks/{kv-fx2zdwtr.js → file-retention-p06n4w0k.js} +14 -14
- package/dist/chunks/{kv-ff8r9ysp.js → file-retention-p0r3vkqq.js} +5 -5
- package/dist/chunks/{kv-xrw35cq0.js → file-retention-p1gkab00.js} +24 -24
- package/dist/chunks/{kv-t0x5rdq8.js → file-retention-p1wf2k30.js} +9 -9
- package/dist/chunks/{kv-1pgaj36c.js → file-retention-p3he229h.js} +9 -9
- package/dist/chunks/{kv-8d2c4t5g.js → file-retention-p5jcd3cr.js} +11 -11
- package/dist/chunks/{kv-ead3g9p8.js → file-retention-pecb0brz.js} +5 -5
- package/dist/chunks/{kv-54993ev7.js → file-retention-pgpxt5ny.js} +24 -24
- package/dist/chunks/{kv-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{kv-2m7h6g0w.js → file-retention-pkxxvzx1.js} +23 -23
- package/dist/chunks/{kv-1rwkxv71.js → file-retention-pp615gng.js} +22 -22
- package/dist/chunks/{kv-4zhbjfra.js → file-retention-pqrzdjtx.js} +22 -22
- package/dist/chunks/file-retention-q509s3k3.js +18 -0
- package/dist/chunks/{kv-cz7fd6ea.js → file-retention-q7s3pq4a.js} +9 -9
- package/dist/chunks/{kv-2v31gz2r.js → file-retention-q8k5va6t.js} +13 -13
- package/dist/chunks/{kv-7dqw4kz8.js → file-retention-qgn6gcr1.js} +5 -5
- package/dist/chunks/{kv-fts5bq5k.js → file-retention-qp4pmkb7.js} +16 -16
- package/dist/chunks/{kv-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-w2bv7fed.js → file-retention-qth1fxpg.js} +23 -23
- package/dist/chunks/{kv-6wswrqax.js → file-retention-r0yk3wys.js} +23 -23
- package/dist/chunks/{kv-1y13kvtj.js → file-retention-r1c48803.js} +71 -71
- package/dist/chunks/{kv-z1xgx1q6.js → file-retention-r4cndbqv.js} +26 -26
- package/dist/chunks/{kv-x636v8jx.js → file-retention-r4s8w3sh.js} +35 -35
- package/dist/chunks/{kv-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
- package/dist/chunks/{kv-ezn8zr4k.js → file-retention-r9babyk8.js} +1 -1
- package/dist/chunks/{kv-wzq4pq7r.js → file-retention-rc2324vf.js} +9 -9
- package/dist/chunks/{kv-9g1by0bf.js → file-retention-rc9898mc.js} +11 -11
- package/dist/chunks/{kv-979jzsrn.js → file-retention-rccdk6ga.js} +5 -5
- package/dist/chunks/{kv-385btzpz.js → file-retention-rkbztq4a.js} +24 -24
- package/dist/chunks/{kv-9pv0dm11.js → file-retention-rsym84ch.js} +5 -5
- package/dist/chunks/{kv-ekcx5as7.js → file-retention-s841er54.js} +35 -35
- package/dist/chunks/{kv-vt44rdpy.js → file-retention-sf0yp864.js} +8 -8
- package/dist/chunks/{kv-akzgzmy5.js → file-retention-t2y34ej4.js} +13 -13
- package/dist/chunks/{kv-bp5q4kjs.js → file-retention-t4w73mrs.js} +46 -46
- package/dist/chunks/{kv-nce8p23g.js → file-retention-t4y4c1va.js} +164 -164
- package/dist/chunks/{kv-vrx6ppv4.js → file-retention-t9yc267w.js} +24 -24
- package/dist/chunks/{kv-4dekfvbj.js → file-retention-ta89s5je.js} +33 -33
- package/dist/chunks/{kv-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{kv-rs0jkqyn.js → file-retention-th1rzrqw.js} +15 -15
- package/dist/chunks/{kv-vn5xh55y.js → file-retention-tmmaw7dm.js} +18 -18
- package/dist/chunks/{kv-esvgtq8n.js → file-retention-tmw9t85a.js} +13 -13
- package/dist/chunks/{kv-z7k2beek.js → file-retention-tqaee6jy.js} +11 -11
- package/dist/chunks/{kv-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-d9sn21bc.js → file-retention-tx1bbn1t.js} +2 -2
- package/dist/chunks/{kv-8ydwgjmc.js → file-retention-v0ak0tys.js} +19 -19
- package/dist/chunks/{kv-hghep4wy.js → file-retention-v4cx5xjq.js} +6 -6
- package/dist/chunks/{kv-12v07r08.js → file-retention-v51hrxtf.js} +12 -12
- package/dist/chunks/{kv-sz3a1ten.js → file-retention-v6jrwn5c.js} +26 -26
- package/dist/chunks/{kv-qeh09qy1.js → file-retention-v7k7pv50.js} +4 -4
- package/dist/chunks/{kv-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-vx7ccse2.js → file-retention-vf4s9505.js} +13 -13
- package/dist/chunks/{kv-2sswhhhj.js → file-retention-vr7f0f2w.js} +29 -29
- package/dist/chunks/{kv-2tavq0r4.js → file-retention-vrgc17vv.js} +4 -4
- package/dist/chunks/{kv-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-7jz404f1.js → file-retention-w899n6rm.js} +83 -83
- package/dist/chunks/{kv-sgdmzdqa.js → file-retention-w9tpqwqq.js} +23 -23
- package/dist/chunks/{kv-cm67pz5m.js → file-retention-wct24b0s.js} +51 -51
- package/dist/chunks/{kv-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{kv-4wz9d7kc.js → file-retention-wgvs8t5x.js} +20 -20
- package/dist/chunks/{kv-cbys0e10.js → file-retention-wndheb9r.js} +6 -6
- package/dist/chunks/{kv-xxwv7ftt.js → file-retention-wxqxce1x.js} +9 -9
- package/dist/chunks/{kv-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-g98bfr3c.js → file-retention-x35m90n0.js} +23 -23
- package/dist/chunks/{kv-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
- package/dist/chunks/{kv-fafk78t6.js → file-retention-xa4djcz0.js} +5 -5
- package/dist/chunks/{kv-y30c2c2s.js → file-retention-xdvgyr5e.js} +17 -17
- package/dist/chunks/{kv-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-e0j10c9k.js → file-retention-y3xzpef0.js} +15 -15
- package/dist/chunks/{kv-5jrfr8a0.js → file-retention-ykjy0bm0.js} +8 -8
- package/dist/chunks/{kv-fyfhjpam.js → file-retention-ymxag59m.js} +45 -45
- package/dist/chunks/{kv-7wdy64v3.js → file-retention-yn2w03ty.js} +4 -4
- package/dist/chunks/{kv-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-wb7ykpge.js → file-retention-yygg97b6.js} +30 -30
- package/dist/chunks/{kv-2fa0tcff.js → file-retention-yzn9e0gg.js} +11 -11
- package/dist/chunks/{kv-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-gey3b743.js → file-retention-z69s9t6b.js} +5 -5
- package/dist/chunks/{kv-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-pf07gewk.js → file-retention-zhxw6mnd.js} +2 -2
- package/dist/chunks/{kv-ygcyspqj.js → file-retention-znx0z9vv.js} +30 -30
- package/dist/chunks/{kv-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-0d8k8whk.js → file-retention-zwph3s3x.js} +15 -15
- package/dist/chunks/{kv-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-d0acbv0h.js → file-retention-zxrs8q2n.js} +53 -53
- package/dist/chunks/{kv-pytnpz35.js → file-retention-zznwmpd0.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +3 -3
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +80 -80
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +122 -122
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +112 -112
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/kv-0kwcw7fy.js +0 -4
- package/dist/chunks/kv-18nhnycp.js +0 -22
- package/dist/chunks/kv-5mv3qnn6.js +0 -247
- package/dist/chunks/kv-pf31ssb9.js +0 -18
- package/dist/chunks/kv-z99gdnr1.js +0 -462
- /package/dist/chunks/{kv-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-paphc93g.js → file-retention-paphc93g.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./file-retention-qp4pmkb7.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event5,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service32,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node36
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event5 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service32 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service78;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service32.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service32,
|
|
110
|
+
layer: layer15(options),
|
|
111
|
+
deps: [node83]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node36 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event5, Options5, Service32, layer15, configured5, node36, exports_instruction_discovery };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-dhgj89qr.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-ymxag59m.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-6xyaxxp3.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
UnsupportedPackageError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-bvzpqjkv.js";
|
|
20
20
|
|
|
21
21
|
// src/session/to-session-error.ts
|
|
22
22
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./file-retention-m7ty3jyf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service18,
|
|
19
|
+
node: () => node22
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service18 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service75;
|
|
29
|
+
return Service18.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node22 = makeLocationNode({ service: Service18, layer, deps: [Global.node, node80] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service18, node22, exports_builtins };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./file-retention-dr20mx92.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./file-retention-ymxag59m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service34
|
|
14
|
+
} from "./file-retention-0e552dan.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin36,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin36 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service70;
|
|
53
|
+
const forms = yield* Service68;
|
|
54
|
+
const websearch = yield* Service34;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name5, NO_RESULTS2, description3, Input5, Plugin36, exports_websearch2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-m27pyyd3.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-nk32hk52.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID14,
|
|
3
|
+
Info28,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-9vs0xtad.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
Service80,
|
|
11
|
-
node85
|
|
12
|
-
} from "./kv-z7k2beek.js";
|
|
13
|
-
import {
|
|
14
|
-
isSynced2,
|
|
15
10
|
Service79,
|
|
16
11
|
node84
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./file-retention-tqaee6jy.js";
|
|
13
|
+
import {
|
|
14
|
+
isSynced2,
|
|
15
|
+
Service78,
|
|
16
|
+
node83
|
|
17
|
+
} from "./file-retention-qp4pmkb7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node81
|
|
21
|
+
} from "./file-retention-afqe321m.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service61,
|
|
24
|
+
node66
|
|
25
|
+
} from "./file-retention-ebah8r6x.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node64
|
|
34
|
+
} from "./file-retention-fp1hhbvz.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-retention-bha4atvq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-retention-p06n4w0k.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-retention-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node24
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./file-retention-fhp7qqsj.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node56
|
|
51
|
+
} from "./file-retention-0thxwbsq.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./file-retention-dhgj89qr.js";
|
|
68
68
|
import {
|
|
69
69
|
ListInput4,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service71,
|
|
71
|
+
node76
|
|
72
|
+
} from "./file-retention-zwph3s3x.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service63,
|
|
75
|
+
node68
|
|
76
|
+
} from "./file-retention-xdvgyr5e.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service57,
|
|
79
|
+
node63
|
|
80
|
+
} from "./file-retention-beqz24q2.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./file-retention-5t3nmthw.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service22,
|
|
86
|
+
node27
|
|
87
|
+
} from "./file-retention-p5jcd3cr.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./file-retention-1h5gp861.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./file-retention-hces5vk3.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
98
|
Service19,
|
|
99
99
|
node23
|
|
100
|
-
} from "./
|
|
100
|
+
} from "./file-retention-gvrrxk8n.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service43,
|
|
103
|
+
node47
|
|
104
|
+
} from "./file-retention-4c8bw516.js";
|
|
105
105
|
import {
|
|
106
|
-
|
|
107
|
-
} from "./
|
|
106
|
+
make12
|
|
107
|
+
} from "./file-retention-26nm669z.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,11 +118,11 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID14,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info28,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
|
-
ListInput: () =>
|
|
125
|
+
ListInput: () => ListInput3,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
127
127
|
MessageIncompleteError: () => MessageIncompleteError2,
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
@@ -130,12 +130,12 @@ __export(exports_session, {
|
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
131
|
NotFoundError: () => NotFoundError9,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service16,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node20
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
148
|
-
var
|
|
149
|
-
class
|
|
148
|
+
var ListInput3 = ListInput4;
|
|
149
|
+
class Service16 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
|
-
const database = yield*
|
|
153
|
+
const database = yield* Service79;
|
|
154
154
|
const db = database.db;
|
|
155
|
-
const bus = yield*
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
155
|
+
const bus = yield* Service78;
|
|
156
|
+
const projects = yield* Service76;
|
|
157
|
+
const execution = yield* Service57;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
159
|
+
const transport = yield* Service22;
|
|
160
|
+
const store = yield* Service71;
|
|
161
|
+
const instances = yield* Service61;
|
|
162
162
|
const moves = yield* Service19;
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
165
|
-
const sessions = yield*
|
|
163
|
+
const jobs = yield* Service63;
|
|
164
|
+
const environments = yield* Service43;
|
|
165
|
+
const sessions = yield* make12();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service16.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service79, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service61, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node20 = Node.makeGlobalNode({
|
|
314
|
+
service: Service16,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
node85,
|
|
317
|
+
node68,
|
|
318
|
+
node47,
|
|
320
319
|
node84,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
320
|
+
node83,
|
|
321
|
+
node81,
|
|
322
|
+
node63,
|
|
323
|
+
node27,
|
|
324
324
|
llmClient2,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
325
|
+
node76,
|
|
326
|
+
node66,
|
|
327
|
+
node64,
|
|
328
328
|
node23,
|
|
329
329
|
node24,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node56
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2,
|
|
335
|
+
export { ListAnchor2, ListInput3, Service16, node20, exports_session };
|