@opencode/core 0.0.0-dev-235 → 0.0.0-dev-241
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 +90 -90
- package/dist/aisdk-native.js +100 -100
- package/dist/aisdk.js +106 -106
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -78
- package/dist/chunks/{model-resolver-aj7mw0zk.js → form-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-np47h428.js → form-06b0dpwc.js} +4 -4
- package/dist/chunks/form-08h3dm3g.js +257 -0
- package/dist/chunks/{model-resolver-r44vdp06.js → form-0a7n7kwt.js} +3 -3
- package/dist/chunks/{model-resolver-x6pyv2yz.js → form-0dfv01xh.js} +5 -5
- package/dist/chunks/{model-resolver-gj0tv93d.js → form-0geg3vaz.js} +10 -10
- package/dist/chunks/{model-resolver-w3d76d98.js → form-0kfnnbj0.js} +13 -13
- package/dist/chunks/{model-resolver-nttn14j9.js → form-0m9q59s6.js} +4 -4
- package/dist/chunks/{model-resolver-qf7wdzx4.js → form-0z8aj9nb.js} +78 -78
- package/dist/chunks/{model-resolver-2vxh8fhb.js → form-0zracm40.js} +43 -43
- package/dist/chunks/{model-resolver-4cb8ky4x.js → form-12ce349e.js} +11 -11
- package/dist/chunks/{model-resolver-657gm9p4.js → form-164bbpt7.js} +21 -21
- package/dist/chunks/{model-resolver-j8bdajc7.js → form-16twya52.js} +2 -2
- package/dist/chunks/{model-resolver-7x1geb87.js → form-17nembyj.js} +24 -24
- package/dist/chunks/{model-resolver-sew631bv.js → form-1ehhk9f8.js} +24 -24
- package/dist/chunks/{model-resolver-27w5k9zf.js → form-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-cw59ztwq.js → form-1fy8p9jc.js} +14 -14
- package/dist/chunks/{model-resolver-9pk8dvwz.js → form-1hc4tfsd.js} +3 -3
- package/dist/chunks/form-1kh93h0h.js +26 -0
- package/dist/chunks/{model-resolver-1kn6jdkn.js → form-1kn6jdkn.js} +1 -1
- package/dist/chunks/{model-resolver-w6v5sxdw.js → form-1kyyf73t.js} +9 -9
- package/dist/chunks/{model-resolver-qr5k2are.js → form-1q3qkd77.js} +10 -10
- package/dist/chunks/{model-resolver-4p7w50sn.js → form-1rp9wec1.js} +4 -4
- package/dist/chunks/{model-resolver-kk4m6xpk.js → form-1vseb64s.js} +7 -7
- package/dist/chunks/{model-resolver-1x2knyw4.js → form-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-1yq9hg58.js → form-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-resolver-204s3925.js → form-204s3925.js} +1 -1
- package/dist/chunks/{model-resolver-a8x35daw.js → form-21aep2yn.js} +5 -5
- package/dist/chunks/{model-resolver-zbs0ay32.js → form-225yscb7.js} +19 -19
- package/dist/chunks/{model-resolver-25h84942.js → form-25h84942.js} +1 -1
- package/dist/chunks/{model-resolver-zg0jbn27.js → form-26x8chrq.js} +6 -6
- package/dist/chunks/{model-resolver-w2y2s0n1.js → form-2bgp64vn.js} +14 -14
- package/dist/chunks/{model-resolver-dgy090gd.js → form-2hz06pja.js} +5 -5
- package/dist/chunks/{model-resolver-1vhabajd.js → form-2t5drfwv.js} +11 -11
- package/dist/chunks/{model-resolver-jb1qvvx4.js → form-2zxqqy9n.js} +3 -3
- package/dist/chunks/{model-resolver-jvpt39xs.js → form-30ae49hf.js} +9 -9
- package/dist/chunks/{model-resolver-6kq6serr.js → form-344ymb5t.js} +42 -42
- package/dist/chunks/{model-resolver-e19czkbx.js → form-34czpf76.js} +34 -34
- package/dist/chunks/{model-resolver-terez3x2.js → form-3e3pzb31.js} +9 -9
- package/dist/chunks/{model-resolver-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-tmc7xdjs.js → form-3nnrz6f6.js} +4 -4
- package/dist/chunks/{model-resolver-pjtyxbjq.js → form-3ve3e0bk.js} +17 -17
- package/dist/chunks/{model-resolver-p1mde3sk.js → form-3yz3az2p.js} +153 -153
- package/dist/chunks/{model-resolver-tjvxx29a.js → form-44bj7geh.js} +13 -13
- package/dist/chunks/{model-resolver-pyw9tktf.js → form-47xk0geh.js} +17 -17
- package/dist/chunks/{model-resolver-b7x6vb0f.js → form-4e78z1nw.js} +12 -12
- package/dist/chunks/{model-resolver-4pyp9zr9.js → form-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-resolver-4v008n1t.js → form-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-cqjy0jsh.js → form-4wc1e944.js} +32 -32
- package/dist/chunks/{model-resolver-c5m2a8vb.js → form-56xpzs9c.js} +8 -8
- package/dist/chunks/{model-resolver-35xw48cm.js → form-5a6cq72k.js} +36 -36
- package/dist/chunks/{model-resolver-5enarcya.js → form-5enarcya.js} +2 -2
- package/dist/chunks/{model-resolver-8jwdfq57.js → form-5gahmjy1.js} +9 -9
- package/dist/chunks/{model-resolver-8tcsqa0t.js → form-5gse0r5n.js} +6 -6
- package/dist/chunks/{model-resolver-07ws46e7.js → form-5m24a4sd.js} +22 -22
- package/dist/chunks/{model-resolver-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-b6vsg801.js → form-5nnwax6m.js} +5 -5
- package/dist/chunks/{model-resolver-8rsr0xkw.js → form-5qjz8kxn.js} +14 -14
- package/dist/chunks/{model-resolver-5pmynce3.js → form-5w6nd1s8.js} +1 -1
- package/dist/chunks/{model-resolver-g7e31nf0.js → form-69vbzxa1.js} +35 -35
- package/dist/chunks/{model-resolver-6esdw8yj.js → form-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-2q3gj68p.js → form-6wmf2q20.js} +14 -14
- package/dist/chunks/{model-resolver-9s06frge.js → form-6xqtcmxs.js} +5 -5
- package/dist/chunks/form-6zjm2phc.js +18 -0
- package/dist/chunks/{model-resolver-w8qtt4th.js → form-76cb1hcw.js} +4 -4
- package/dist/chunks/{model-resolver-w7d7mz6q.js → form-7bcs6f94.js} +9 -9
- package/dist/chunks/{model-resolver-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-kkq9589k.js → form-7e0vrbjb.js} +57 -57
- package/dist/chunks/{model-resolver-yeyfr6zk.js → form-7fy0h8rf.js} +11 -11
- package/dist/chunks/{model-resolver-6c3vfjz9.js → form-7r72dc1g.js} +14 -14
- package/dist/chunks/{model-resolver-7w2ypzdf.js → form-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-ebw1bbd1.js → form-80d2zcb4.js} +83 -83
- package/dist/chunks/{model-resolver-pp0pn87f.js → form-885474ts.js} +11 -11
- package/dist/chunks/form-8azpkpgk.js +535 -0
- package/dist/chunks/{model-resolver-mkw2jwqb.js → form-8cbkaxar.js} +1 -1
- package/dist/chunks/{model-resolver-8jztxfpf.js → form-8jztxfpf.js} +1 -1
- package/dist/chunks/{model-resolver-sfh5xs5y.js → form-8pyh3h24.js} +27 -27
- package/dist/chunks/{model-resolver-5n0y2fx9.js → form-8q7qvvvm.js} +16 -16
- package/dist/chunks/{model-resolver-8wtp7s3z.js → form-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-tkbmyhb4.js → form-8xqhc33s.js} +9 -9
- package/dist/chunks/{model-resolver-90zstvax.js → form-90zstvax.js} +1 -1
- package/dist/chunks/{model-resolver-cfcqqf1a.js → form-9aqddysx.js} +4 -4
- package/dist/chunks/{model-resolver-92c52cwg.js → form-9f6y0syf.js} +5 -5
- package/dist/chunks/{model-resolver-xeg3jkwn.js → form-9mesydma.js} +15 -15
- package/dist/chunks/{model-resolver-k17w2jj8.js → form-9x2ynd3b.js} +15 -15
- package/dist/chunks/{model-resolver-5m5zgeb0.js → form-a2yfqhnm.js} +25 -25
- package/dist/chunks/{model-resolver-3smabe4s.js → form-a44gt5xs.js} +6 -6
- package/dist/chunks/{model-resolver-p2hg2bey.js → form-a5qbrk1x.js} +12 -12
- package/dist/chunks/{model-resolver-5qp8d7cx.js → form-a97jh5ay.js} +9 -9
- package/dist/chunks/{model-resolver-7sdtxe0n.js → form-agqd6nxz.js} +4 -4
- package/dist/chunks/{model-resolver-3vb79mvp.js → form-apsqrt3t.js} +41 -41
- package/dist/chunks/{model-resolver-3cbjf1nt.js → form-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-ssfehs1z.js → form-b1pn0vxn.js} +4 -4
- package/dist/chunks/{model-resolver-fb0ffggm.js → form-bd58n5m3.js} +18 -18
- package/dist/chunks/{model-resolver-0m6n6j4y.js → form-bmp8ftgp.js} +11 -11
- package/dist/chunks/{model-resolver-0vfcpktn.js → form-bn194m36.js} +11 -11
- package/dist/chunks/{model-resolver-4s29f17y.js → form-bnrmard3.js} +13 -13
- package/dist/chunks/{model-resolver-sy8vd0m2.js → form-bpmnncyw.js} +8 -8
- package/dist/chunks/{model-resolver-bstexjd6.js → form-bstexjd6.js} +1 -1
- package/dist/chunks/{model-resolver-wd1xcya7.js → form-bxsgj37y.js} +15 -15
- package/dist/chunks/{model-resolver-0ydkeekf.js → form-bzgcjp3p.js} +5 -5
- package/dist/chunks/{model-resolver-6p643g3y.js → form-c2t3ry2c.js} +16 -16
- package/dist/chunks/{model-resolver-br0kkpnn.js → form-c6x7d2ts.js} +7 -7
- package/dist/chunks/{model-resolver-pvp6fg14.js → form-c7b37yvv.js} +12 -12
- package/dist/chunks/{model-resolver-bx2chj7s.js → form-c8w8hrxy.js} +20 -20
- package/dist/chunks/{model-resolver-fvz2a291.js → form-c9cgbm0j.js} +9 -9
- package/dist/chunks/{model-resolver-32ss13k6.js → form-caxfsg60.js} +17 -17
- package/dist/chunks/{model-resolver-ve4251vb.js → form-cecnk0g5.js} +21 -21
- package/dist/chunks/{model-resolver-bkccqnab.js → form-cegg4nag.js} +24 -24
- package/dist/chunks/{model-resolver-1fmezaeg.js → form-cj0rt5w2.js} +9 -9
- package/dist/chunks/{model-resolver-jcf07173.js → form-ckrm4vaz.js} +19 -19
- package/dist/chunks/{model-resolver-9k0vd1xz.js → form-cnac7q8x.js} +20 -20
- package/dist/chunks/{model-resolver-r4h5gr85.js → form-cq4y0zvs.js} +17 -17
- package/dist/chunks/{model-resolver-cwrgdav8.js → form-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-resolver-2g0sbjxs.js → form-d0nww1bx.js} +3 -3
- package/dist/chunks/{model-resolver-gn8tkhbf.js → form-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-kmjd8e1b.js → form-d4z67fwt.js} +14 -14
- package/dist/chunks/{model-resolver-whz0tbn3.js → form-d877pmrn.js} +16 -16
- package/dist/chunks/{model-resolver-mwz57098.js → form-dbn5ca56.js} +4 -4
- package/dist/chunks/{model-resolver-qjd35q55.js → form-dmb95mhx.js} +12 -12
- package/dist/chunks/{model-resolver-y6scp2pe.js → form-dpb98s6z.js} +43 -43
- package/dist/chunks/{model-resolver-g0287tj7.js → form-dpd69dnd.js} +4 -4
- package/dist/chunks/{model-resolver-dt77769w.js → form-dt77769w.js} +1 -1
- package/dist/chunks/{model-resolver-gf94v7ds.js → form-dtg3e95z.js} +12 -12
- package/dist/chunks/{model-resolver-e834z07m.js → form-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-r3n6xbzs.js → form-e865fpdn.js} +8 -8
- package/dist/chunks/{model-resolver-zh7bbm8x.js → form-e8jekyry.js} +9 -9
- package/dist/chunks/{model-resolver-77zj4qhz.js → form-e9fqtmvn.js} +6 -6
- package/dist/chunks/{model-resolver-m0qw3cnp.js → form-ebc2yafe.js} +5 -5
- package/dist/chunks/{model-resolver-7xgdsbra.js → form-eeejwcqn.js} +12 -12
- package/dist/chunks/{model-resolver-7atzhzg1.js → form-emk1tmq0.js} +8 -8
- package/dist/chunks/{model-resolver-zpxk6q5d.js → form-epbdechd.js} +21 -21
- package/dist/chunks/{model-resolver-tjbktcma.js → form-eq53d4e8.js} +22 -22
- package/dist/chunks/{model-resolver-dq8p8g98.js → form-ertcz5s1.js} +11 -11
- package/dist/chunks/{model-resolver-8fbg0anr.js → form-ex68cs9x.js} +33 -33
- package/dist/chunks/{model-resolver-srpyah9m.js → form-eydhdpnx.js} +45 -45
- package/dist/chunks/{model-resolver-v54nvb2h.js → form-f01y088k.js} +5 -5
- package/dist/chunks/{model-resolver-xzj8w313.js → form-f0q877ce.js} +16 -16
- package/dist/chunks/{model-resolver-fffv3p7h.js → form-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-fg9p65nk.js → form-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-resolver-0v7r2g4g.js → form-fn32zha6.js} +13 -13
- package/dist/chunks/{model-resolver-mehbn690.js → form-fq8z76yw.js} +3 -3
- package/dist/chunks/{model-resolver-np3f7rt0.js → form-fypmhnps.js} +2 -2
- package/dist/chunks/{model-resolver-515dar09.js → form-g1hcq0g8.js} +9 -9
- package/dist/chunks/{model-resolver-bzneqfrw.js → form-g450zyfk.js} +30 -30
- package/dist/chunks/{model-resolver-2eaj99b9.js → form-g85b9q37.js} +10 -10
- package/dist/chunks/{model-resolver-v7h6andt.js → form-g8a7cptb.js} +21 -21
- package/dist/chunks/{model-resolver-j97kzcev.js → form-gbh3tqmh.js} +10 -10
- package/dist/chunks/{model-resolver-b1b4s2tq.js → form-gd8sx287.js} +4 -4
- package/dist/chunks/{model-resolver-9kxateg7.js → form-gdn6yz18.js} +25 -25
- package/dist/chunks/{model-resolver-xgew9n4h.js → form-gx6q6d4a.js} +8 -8
- package/dist/chunks/{model-resolver-1becz5h9.js → form-h9mc95dv.js} +33 -33
- package/dist/chunks/{model-resolver-pp05edzg.js → form-hcawp3ym.js} +4 -4
- package/dist/chunks/{model-resolver-bb1pme7h.js → form-hef4msp3.js} +20 -20
- package/dist/chunks/{model-resolver-ngbjhm7w.js → form-hh288azd.js} +25 -25
- package/dist/chunks/{model-resolver-hh7kjqtw.js → form-hh7kjqtw.js} +1 -1
- package/dist/chunks/{model-resolver-wnb85yzk.js → form-hh8z0h5r.js} +11 -11
- package/dist/chunks/{model-resolver-haawhqgr.js → form-hjhf5s4p.js} +25 -25
- package/dist/chunks/{model-resolver-vja3zs8n.js → form-hnb1qy4e.js} +7 -7
- package/dist/chunks/{model-resolver-hpg1pkwy.js → form-hpg1pkwy.js} +1 -1
- package/dist/chunks/{model-resolver-2zp5a6yg.js → form-hqxkkta1.js} +3 -3
- package/dist/chunks/{model-resolver-68qqfsms.js → form-hsdtatpb.js} +2 -2
- package/dist/chunks/{model-resolver-mqtbfpst.js → form-j0ft87f1.js} +18 -18
- package/dist/chunks/{model-resolver-hckvh4sv.js → form-j3ahjss5.js} +33 -33
- package/dist/chunks/{model-resolver-jfaecv01.js → form-jfaecv01.js} +1 -1
- package/dist/chunks/{model-resolver-eyejk55r.js → form-jhc11j6v.js} +5 -5
- package/dist/chunks/{model-resolver-nma643tt.js → form-jheynnxb.js} +9 -9
- package/dist/chunks/{model-resolver-4695y15q.js → form-jnndjjbg.js} +32 -32
- package/dist/chunks/{model-resolver-jtnps1zs.js → form-jtnps1zs.js} +2 -2
- package/dist/chunks/{model-resolver-rx6q88jc.js → form-jvks6kr5.js} +19 -19
- package/dist/chunks/{model-resolver-3smfssvs.js → form-k5h0kew3.js} +37 -37
- package/dist/chunks/{model-resolver-n516hxxc.js → form-k67dv3fj.js} +36 -36
- package/dist/chunks/{model-resolver-k814nvkf.js → form-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-1k5rjxjy.js → form-k950nrad.js} +14 -14
- package/dist/chunks/{model-resolver-k9zkdd2y.js → form-k9zkdd2y.js} +1 -1
- package/dist/chunks/{model-resolver-p580ev26.js → form-ka01146j.js} +6 -6
- package/dist/chunks/{model-resolver-khm9g9rn.js → form-kjt9j6hq.js} +33 -33
- package/dist/chunks/{model-resolver-5tmges1f.js → form-kpgx0vyx.js} +5 -5
- package/dist/chunks/{model-resolver-yrgtjhcx.js → form-kqxn4pnr.js} +8 -8
- package/dist/chunks/{model-resolver-kt3bjfbg.js → form-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-resolver-m1714858.js → form-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-mekmjhn9.js → form-m34q2a8m.js} +22 -22
- package/dist/chunks/{model-resolver-xnh55p1t.js → form-m37sd98t.js} +5 -5
- package/dist/chunks/{model-resolver-8dfptpqb.js → form-m528r48h.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-313g21r6.js → form-maemcbqj.js} +18 -18
- package/dist/chunks/{model-resolver-8z6m94af.js → form-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-resolver-dgwg4nab.js → form-mdmwbg8j.js} +18 -18
- package/dist/chunks/{model-resolver-ds2f0rmb.js → form-mdz0js77.js} +3 -3
- package/dist/chunks/{model-resolver-mg356nz4.js → form-mg356nz4.js} +3 -3
- package/dist/chunks/{model-resolver-e5vm4r2z.js → form-mkcsvzvr.js} +3 -3
- package/dist/chunks/{model-resolver-ywp21z45.js → form-mp850hqc.js} +1 -1
- package/dist/chunks/{model-resolver-rae286de.js → form-n37g9rz2.js} +4 -4
- package/dist/chunks/{model-resolver-7ykpe2ae.js → form-n5jdsvnn.js} +32 -32
- package/dist/chunks/{model-resolver-rzex016b.js → form-n97mvkbq.js} +6 -6
- package/dist/chunks/{model-resolver-nah043kf.js → form-nah043kf.js} +1 -1
- package/dist/chunks/{model-resolver-qc0dffe1.js → form-nfkjwrxk.js} +16 -16
- package/dist/chunks/{model-resolver-s3gmcb39.js → form-ng3j8dj2.js} +7 -7
- package/dist/chunks/{model-resolver-mxynyzfm.js → form-nxbfjhca.js} +12 -12
- package/dist/chunks/{model-resolver-r3jnkjvn.js → form-nxpp7t5x.js} +47 -47
- package/dist/chunks/{model-resolver-69zkvrr3.js → form-nzbx2r18.js} +9 -9
- package/dist/chunks/{model-resolver-p015t6z3.js → form-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-pz4bxmc0.js → form-p2d6jc5h.js} +2 -2
- package/dist/chunks/{model-resolver-a8ts2hq9.js → form-p32m2zja.js} +29 -29
- package/dist/chunks/{model-resolver-78c837sc.js → form-pez63j8g.js} +17 -17
- package/dist/chunks/{model-resolver-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-tv7z3yt9.js → form-pq2gn7y4.js} +7 -7
- package/dist/chunks/{model-resolver-spbwh0fp.js → form-q1dg5ken.js} +21 -21
- package/dist/chunks/{model-resolver-h4ydfc35.js → form-qd0p20n5.js} +12 -12
- package/dist/chunks/{model-resolver-ghsy9na1.js → form-qekva0d7.js} +28 -28
- package/dist/chunks/{model-resolver-e3p762jb.js → form-qg4wfayj.js} +18 -18
- package/dist/chunks/{model-resolver-hjbr58an.js → form-qhwx0fdf.js} +20 -20
- package/dist/chunks/{model-resolver-w9w8mt4n.js → form-qkc3z5ds.js} +4 -4
- package/dist/chunks/{model-resolver-n3ms51k8.js → form-qnf47mt5.js} +4 -4
- package/dist/chunks/{model-resolver-qp7r0hxv.js → form-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-resolver-qqvy8y24.js → form-qqvy8y24.js} +1 -1
- package/dist/chunks/{model-resolver-31wms35x.js → form-qz087kyw.js} +8 -8
- package/dist/chunks/{model-resolver-x09jv9p1.js → form-r1r2wh37.js} +3 -3
- package/dist/chunks/{model-resolver-brzye0d0.js → form-r2z4j37j.js} +2 -2
- package/dist/chunks/{model-resolver-r542h3bh.js → form-r542h3bh.js} +1 -1
- package/dist/chunks/{model-resolver-75k6z3we.js → form-r5gq5fkx.js} +64 -64
- package/dist/chunks/{model-resolver-z4qcr8nf.js → form-ra4wx1p6.js} +23 -23
- package/dist/chunks/{model-resolver-rb9dy4dg.js → form-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-gxn61zhy.js → form-rs8acqz3.js} +2 -2
- package/dist/chunks/{model-resolver-rt5dr6hb.js → form-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-64qhrwmr.js → form-rva7ahw2.js} +11 -11
- package/dist/chunks/{model-resolver-v1tvskx9.js → form-rw00jzn7.js} +17 -17
- package/dist/chunks/{model-resolver-7j1pv54n.js → form-rwpnrpr8.js} +4 -4
- package/dist/chunks/{model-resolver-1vk60n2f.js → form-s3bc4aa5.js} +15 -15
- package/dist/chunks/{model-resolver-x5qgebf8.js → form-s8ecjhm6.js} +23 -23
- package/dist/chunks/{model-resolver-sa3fpqfw.js → form-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-resolver-caqz8vzx.js → form-saap6htg.js} +17 -17
- package/dist/chunks/{model-resolver-sqjzf8x2.js → form-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-svcy3p9a.js → form-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-resolver-c2wdctvm.js → form-sxjfgefz.js} +46 -46
- package/dist/chunks/{model-resolver-xn46eh9z.js → form-sxramexz.js} +13 -13
- package/dist/chunks/{model-resolver-063c2dw3.js → form-syd5ygf3.js} +18 -18
- package/dist/chunks/{model-resolver-e42rb5nh.js → form-t4y2eqtb.js} +9 -9
- package/dist/chunks/{model-resolver-qqg00k1m.js → form-t925je5x.js} +6 -6
- package/dist/chunks/{model-resolver-tczq8hjw.js → form-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-twssxy5n.js → form-twssxy5n.js} +2 -2
- package/dist/chunks/{model-resolver-v2r1d0zg.js → form-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-6et83057.js → form-vjcm0c6v.js} +21 -21
- package/dist/chunks/{model-resolver-08rawchj.js → form-vpm8vpz0.js} +3 -3
- package/dist/chunks/{model-resolver-11emykvz.js → form-vr3x69az.js} +12 -12
- package/dist/chunks/{model-resolver-r4pwrx75.js → form-vrcsa8qx.js} +9 -9
- package/dist/chunks/{model-resolver-mkg7mbq5.js → form-vzvvagw1.js} +33 -33
- package/dist/chunks/{model-resolver-z00f7qmg.js → form-w2jxje39.js} +26 -26
- package/dist/chunks/{model-resolver-9q8g9sv8.js → form-w35wzz9x.js} +4 -4
- package/dist/chunks/{model-resolver-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-8anejt09.js → form-w5xp5sgq.js} +16 -16
- package/dist/chunks/{model-resolver-w687dnns.js → form-w687dnns.js} +1 -1
- package/dist/chunks/{model-resolver-wakvkjy4.js → form-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-hwtwmcxj.js → form-wawq6c5s.js} +17 -17
- package/dist/chunks/{model-resolver-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-4yq7vp74.js → form-wdeh72fh.js} +9 -9
- package/dist/chunks/{model-resolver-6ckjvz5e.js → form-wewy9wfm.js} +12 -12
- package/dist/chunks/{model-resolver-5mvx2mvy.js → form-wg881gmg.js} +4 -4
- package/dist/chunks/{model-resolver-wnhgecwx.js → form-wnhgecwx.js} +1 -1
- package/dist/chunks/{model-resolver-jv2xnyk0.js → form-wwgpyqzb.js} +9 -9
- package/dist/chunks/{model-resolver-g60d9pja.js → form-wxknf58s.js} +6 -6
- package/dist/chunks/{model-resolver-02dx1ydf.js → form-wy3fx33q.js} +23 -23
- package/dist/chunks/{model-resolver-11dc3axx.js → form-x1wbs47z.js} +17 -17
- package/dist/chunks/{model-resolver-95sp4hdf.js → form-xk2zn0cv.js} +4 -4
- package/dist/chunks/{model-resolver-tc5b1bny.js → form-xq6beh0s.js} +21 -21
- package/dist/chunks/{model-resolver-t3tgzswk.js → form-xwhcj832.js} +20 -20
- package/dist/chunks/{model-resolver-x32t5qxa.js → form-y02zb68m.js} +8 -8
- package/dist/chunks/{model-resolver-7azjgpqp.js → form-y984veh1.js} +9 -9
- package/dist/chunks/{model-resolver-pxtfkpje.js → form-yara3q77.js} +2 -2
- package/dist/chunks/{model-resolver-yb20nhc3.js → form-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-0gbb59p9.js → form-yc4xwjk4.js} +9 -9
- package/dist/chunks/{model-resolver-7vyv40s2.js → form-yckvrk0f.js} +6 -6
- package/dist/chunks/{model-resolver-9fttyw1y.js → form-yd39j0pc.js} +11 -11
- package/dist/chunks/{model-resolver-hy8c1z76.js → form-ydsespw1.js} +8 -8
- package/dist/chunks/{model-resolver-chyqkg4j.js → form-yewpp7ak.js} +11 -11
- package/dist/chunks/{model-resolver-1ffmcay5.js → form-yjhf0rgk.js} +40 -40
- package/dist/chunks/{model-resolver-hskmxh3h.js → form-yk6ggz05.js} +9 -9
- package/dist/chunks/{model-resolver-k07k3amx.js → form-ymtvagr8.js} +21 -21
- package/dist/chunks/{model-resolver-vf9vzdpy.js → form-ymvwqgy0.js} +36 -36
- package/dist/chunks/{model-resolver-ymz7p2c9.js → form-ymz7p2c9.js} +3 -3
- package/dist/chunks/{model-resolver-rnndk4m8.js → form-yn3pvg3g.js} +48 -48
- package/dist/chunks/{model-resolver-2ggryvv9.js → form-ynk496q3.js} +7 -7
- package/dist/chunks/{model-resolver-3g5sjqyx.js → form-yp23a5z4.js} +24 -24
- package/dist/chunks/{model-resolver-a7hpf3a9.js → form-yp7f7fzt.js} +8 -8
- package/dist/chunks/{model-resolver-0xgy9r8e.js → form-ypzz06n9.js} +8 -8
- package/dist/chunks/{model-resolver-5vtcv6tm.js → form-ywk1qbwj.js} +4 -4
- package/dist/chunks/{model-resolver-cxstdmn9.js → form-yykjbrqt.js} +17 -17
- package/dist/chunks/{model-resolver-em9d63hf.js → form-yzfcgkx8.js} +25 -25
- package/dist/chunks/{model-resolver-z38nccrw.js → form-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-8wcv8eb0.js → form-za8zk8x5.js} +18 -18
- package/dist/chunks/{model-resolver-1trhz39y.js → form-zf08ma9p.js} +45 -45
- package/dist/chunks/{model-resolver-b9npwed2.js → form-zrzd6936.js} +22 -22
- package/dist/chunks/{model-resolver-d6t4gzf8.js → form-zwt99n69.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -110
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +165 -165
- package/dist/config/plugin/compatibility.js +145 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -125
- package/dist/config/plugin/image.js +124 -124
- package/dist/config/plugin/instruction.js +124 -124
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +126 -126
- package/dist/config/plugin/provider.js +125 -125
- package/dist/config/plugin/reference.js +126 -126
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +141 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +124 -124
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +126 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/database.js +75 -75
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration.gen.js +58 -58
- package/dist/database/migration.js +60 -60
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +383 -383
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +104 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +79 -79
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +105 -105
- package/dist/file-retention.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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -237
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +106 -106
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +111 -111
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +98 -98
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +110 -110
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +379 -379
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +93 -93
- package/dist/location-services.js +376 -376
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +165 -165
- package/dist/mcp/oauth.js +87 -87
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +110 -110
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +101 -101
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -148
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -84
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +349 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -108
- package/dist/plugin/module.js +126 -126
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -102
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/configured.js +120 -120
- package/dist/plugin/provider/credential-settings.js +83 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -106
- package/dist/plugin/provider/gitlab.js +105 -105
- package/dist/plugin/provider/google-vertex.js +121 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -87
- package/dist/plugin/provider/lmstudio.js +133 -133
- package/dist/plugin/provider/local.js +130 -130
- package/dist/plugin/provider/modal.js +103 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -131
- package/dist/plugin/provider/openai-context-caps.js +101 -101
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +102 -102
- package/dist/plugin/provider/poe.js +88 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -123
- package/dist/plugin/provider/vllm.js +133 -133
- package/dist/plugin/provider/xai.js +102 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +365 -365
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +233 -233
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +97 -97
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +104 -104
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +230 -230
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -123
- package/dist/session/command.js +83 -83
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +99 -99
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +232 -232
- package/dist/session/execution.js +157 -157
- package/dist/session/generate.js +193 -193
- package/dist/session/history.js +130 -130
- package/dist/session/inbox.js +141 -141
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +135 -135
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +154 -154
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +137 -137
- package/dist/session/prompt.js +143 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -133
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +144 -144
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +157 -157
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +175 -175
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +144 -144
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +136 -136
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +222 -222
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -193
- package/dist/session/to-session-error.js +143 -143
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +226 -226
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +146 -146
- package/dist/skill.js +145 -145
- package/dist/snapshot.js +104 -104
- 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 +162 -162
- package/dist/tool/plugin/edit.js +159 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +163 -163
- package/dist/tool/plugin/grep.js +163 -163
- package/dist/tool/plugin/image-generate.js +230 -230
- package/dist/tool/plugin/mcp-resource.js +157 -157
- package/dist/tool/plugin/opencode.js +156 -156
- package/dist/tool/plugin/patch.js +161 -161
- package/dist/tool/plugin/question.js +139 -139
- package/dist/tool/plugin/read.js +164 -164
- package/dist/tool/plugin/schedule.js +222 -222
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +229 -229
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +150 -150
- package/dist/tool/plugin/websearch.js +146 -146
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +109 -109
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +92 -92
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +103 -103
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +102 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +95 -95
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -100
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/model-resolver-qs8a0pvz.js +0 -535
- package/dist/chunks/model-resolver-rb7the7a.js +0 -257
- package/dist/chunks/model-resolver-s9kkzxe3.js +0 -26
- package/dist/chunks/model-resolver-z7bdqmx5.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kah00gy.js → form-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5w3e23ze.js → form-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-7stb81gk.js → form-7stb81gk.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → form-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-beh6qq61.js → form-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → form-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fkpq3x5p.js → form-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → form-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-ncqqe42p.js → form-ncqqe42p.js} +0 -0
- /package/dist/chunks/{model-resolver-nh4v3znn.js → form-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p71gwv9c.js → form-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qgfkghh1.js → form-qgfkghh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ty7weeps.js → form-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-2zxqqy9n.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info8,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info8 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var node35 = makeGlobalNode({ service:
|
|
113
|
+
var node35 = makeGlobalNode({ service: Service32, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info8, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node35, exports_instruction_entry };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-ywk1qbwj.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service80,
|
|
10
|
+
node84
|
|
11
|
+
} from "./form-47xk0geh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service52,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node56
|
|
16
|
+
} from "./form-44bj7geh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
25
|
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID3,
|
|
28
|
+
Info: () => Info5,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service15,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node17
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -39,27 +39,27 @@ import { Event as Event2 } from "@opencode/schema/pty";
|
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID3 = Pty.ID;
|
|
43
|
+
var Info5 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID3
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service86;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service52;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID3.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node17 = makeLocationNode({
|
|
273
|
+
service: Service15,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node90,
|
|
275
|
+
deps: [node90, node84, node56]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID3, Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service15, node17, exports_pty, Event2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service51,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node55
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service51 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service51, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service51.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node55 = makeGlobalNode({ service: Service51, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service51, node55, exports_environment };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-dtg3e95z.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service87,
|
|
12
12
|
node91
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-2zxqqy9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service86,
|
|
16
16
|
node90
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-ywk1qbwj.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID15,
|
|
26
|
+
NotFoundError12
|
|
27
|
+
} from "./form-yn3pvg3g.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./form-47xk0geh.js";
|
|
31
31
|
import {
|
|
32
32
|
Service62,
|
|
33
33
|
node65
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-hcawp3ym.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service47
|
|
41
|
+
} from "./form-g8a7cptb.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./form-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput4,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event10,
|
|
53
|
+
Info: () => Info12,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service46,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node50
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput4 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info12 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,11 +90,11 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event10 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service46 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service87;
|
|
100
100
|
const db = database.db;
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError12({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service47).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event10.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service46.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,8 +256,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node50 = Node.makeGlobalNode({
|
|
260
|
+
service: Service46,
|
|
261
261
|
layer,
|
|
262
262
|
deps: [FSUtil.node, node90, node91, AppProcess.node, node65]
|
|
263
263
|
});
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput4, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info12, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event10, Service46, node50, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-204s3925.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service45,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node49
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service45 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service45.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node49 = makeLocationNode({ service: Service45, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service45, node49, exports_image2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-yykjbrqt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-a97jh5ay.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin30,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,7 +27,7 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin30 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
33
|
const models = yield* Service78;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin30, exports_verbosity };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./form-zf08ma9p.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input10,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
24
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin46,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
|
-
description: () =>
|
|
29
|
+
description: () => description6,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name10
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
37
|
+
var name10 = "webfetch";
|
|
38
38
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
41
|
-
var
|
|
41
|
+
var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input10 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input6 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input10.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin46 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service66;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name10,
|
|
125
125
|
options: { codemode: false },
|
|
126
|
-
description:
|
|
127
|
-
input:
|
|
126
|
+
description: description6,
|
|
127
|
+
input: Input10,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin41 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name10,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin41 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name10,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input10, MAX_REDIRECTS2, Plugin46, extractTextFromHTML2, exports_webfetch };
|