@opencode/core 0.0.0-dev-20684 → 0.0.0-dev-20686
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-lifecycle-pyjrn7r3.js → file-retention-03ewy0w1.js} +20 -20
- package/dist/chunks/{location-lifecycle-6kgskxtw.js → file-retention-03xyy9gs.js} +8 -8
- package/dist/chunks/{location-lifecycle-swntjeps.js → file-retention-04b42xsk.js} +45 -45
- package/dist/chunks/{location-lifecycle-8jkabng0.js → file-retention-094k6nq6.js} +16 -16
- package/dist/chunks/{location-lifecycle-kwsqnjcj.js → file-retention-09fyqd88.js} +9 -9
- package/dist/chunks/{location-lifecycle-9xdh3x8b.js → file-retention-09hj56x9.js} +32 -32
- package/dist/chunks/{location-lifecycle-5jvwydpq.js → file-retention-0aneshm7.js} +20 -20
- package/dist/chunks/{location-lifecycle-yme16cyz.js → file-retention-0eb38e45.js} +28 -28
- package/dist/chunks/{location-lifecycle-0yac1820.js → file-retention-0f5x9ggt.js} +4 -4
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-ezqzpjms.js → file-retention-0pgs73yf.js} +39 -39
- package/dist/chunks/{location-lifecycle-ze9cz0xh.js → file-retention-0q5g7n77.js} +22 -22
- package/dist/chunks/{location-lifecycle-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-lifecycle-xc20pkzj.js → file-retention-13e7bc6k.js} +11 -11
- package/dist/chunks/{location-lifecycle-c9n2nen5.js → file-retention-17sdckqj.js} +35 -35
- package/dist/chunks/{location-lifecycle-1ajx6rf5.js → file-retention-1ajx6rf5.js} +1 -1
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-1dvck2a7.js → file-retention-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-lifecycle-yrx1a3r0.js → file-retention-1f0b6d85.js} +20 -20
- package/dist/chunks/{location-lifecycle-06r90ppk.js → file-retention-1ffbm2jk.js} +9 -9
- package/dist/chunks/{location-lifecycle-wysxdp34.js → file-retention-1m3hxyx8.js} +51 -51
- package/dist/chunks/{location-lifecycle-337zht14.js → file-retention-1n632r5x.js} +3 -3
- package/dist/chunks/{location-lifecycle-y4a37d1e.js → file-retention-1ph8kh9q.js} +44 -44
- package/dist/chunks/{location-lifecycle-8g3g94ah.js → file-retention-205pr9zd.js} +48 -48
- package/dist/chunks/{location-lifecycle-bw3ab5h2.js → file-retention-23kkzav6.js} +15 -15
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-rt1b0z2g.js → file-retention-2c25w9p0.js} +4 -4
- package/dist/chunks/{location-lifecycle-z7rvg8nx.js → file-retention-2e6ycnq2.js} +4 -4
- package/dist/chunks/{location-lifecycle-3ex7axyr.js → file-retention-2ma8f05f.js} +18 -18
- package/dist/chunks/{location-lifecycle-qqqy3pvs.js → file-retention-2pbjjxkv.js} +10 -10
- package/dist/chunks/{location-lifecycle-35ec284s.js → file-retention-2x9pw9ke.js} +13 -13
- package/dist/chunks/{location-lifecycle-sza4v6bf.js → file-retention-2ymj8j9z.js} +8 -8
- package/dist/chunks/{location-lifecycle-gs3s1a1g.js → file-retention-30846h32.js} +8 -8
- package/dist/chunks/{location-lifecycle-by37hsaf.js → file-retention-33kqnb84.js} +17 -17
- package/dist/chunks/{location-lifecycle-mfqp6xfm.js → file-retention-33w4ejhs.js} +9 -9
- package/dist/chunks/{location-lifecycle-ex7zhkfb.js → file-retention-34x5nqhx.js} +7 -7
- package/dist/chunks/{location-lifecycle-8dqzgcf3.js → file-retention-37p191wt.js} +2 -2
- package/dist/chunks/{location-lifecycle-npwy0cf6.js → file-retention-3bc8czyk.js} +5 -5
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-075nkgpd.js → file-retention-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-v5m63bep.js → file-retention-3qhw393j.js} +26 -26
- package/dist/chunks/{location-lifecycle-6xcdvqxh.js → file-retention-3rndcht0.js} +89 -89
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-j0957gea.js → file-retention-3ss2yntf.js} +13 -13
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-n0yjf684.js → file-retention-3yef2cta.js} +8 -8
- package/dist/chunks/{location-lifecycle-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-lifecycle-v6vkzzt1.js → file-retention-46gkjvds.js} +56 -56
- package/dist/chunks/{location-lifecycle-djdtsz5x.js → file-retention-473qxj02.js} +15 -15
- package/dist/chunks/{location-lifecycle-mc094nv4.js → file-retention-4ffr5ypj.js} +28 -28
- package/dist/chunks/{location-lifecycle-y0c4c2h5.js → file-retention-4j03jpg8.js} +3 -3
- package/dist/chunks/{location-lifecycle-nm2f9wrr.js → file-retention-4jvpaqy4.js} +32 -32
- package/dist/chunks/{location-lifecycle-4ts7tf6z.js → file-retention-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-lifecycle-s08b3w1e.js → file-retention-4y79czg2.js} +13 -13
- package/dist/chunks/{location-lifecycle-226eh3y5.js → file-retention-50fv3yjs.js} +21 -21
- package/dist/chunks/{location-lifecycle-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
- package/dist/chunks/{location-lifecycle-1pxz8ven.js → file-retention-57myy5jh.js} +5 -5
- package/dist/chunks/{location-lifecycle-3p8ay4bf.js → file-retention-5a9zanfr.js} +38 -38
- package/dist/chunks/{location-lifecycle-w4zz6nd0.js → file-retention-5bvv5wt0.js} +12 -12
- package/dist/chunks/{location-lifecycle-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-mfgthqa8.js → file-retention-5dxg2j8v.js} +9 -9
- package/dist/chunks/{location-lifecycle-xs12am9p.js → file-retention-5kw0n2ma.js} +5 -5
- package/dist/chunks/{location-lifecycle-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-lifecycle-9r2jpf9t.js → file-retention-5ryzkr0h.js} +20 -20
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-9yb256cm.js → file-retention-5xrkpdm9.js} +27 -27
- package/dist/chunks/{location-lifecycle-hdr6pzp4.js → file-retention-64dv7wa4.js} +13 -13
- package/dist/chunks/{location-lifecycle-5qnej2js.js → file-retention-64yxt7jn.js} +13 -13
- package/dist/chunks/{location-lifecycle-7hdckppd.js → file-retention-6cj95z3h.js} +33 -33
- package/dist/chunks/{location-lifecycle-kdp23qt0.js → file-retention-6ny0zgt8.js} +15 -15
- package/dist/chunks/{location-lifecycle-eztpkhjq.js → file-retention-6r09hpxq.js} +23 -23
- package/dist/chunks/{location-lifecycle-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-lifecycle-fz63517n.js → file-retention-6ykcajx2.js} +30 -30
- package/dist/chunks/{location-lifecycle-1jnd0kpw.js → file-retention-70he5k1a.js} +18 -18
- package/dist/chunks/{location-lifecycle-71az546q.js → file-retention-71az546q.js} +2 -2
- package/dist/chunks/{location-lifecycle-ys0rdjsq.js → file-retention-750g53k3.js} +34 -34
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-1w4qtqrn.js → file-retention-7c5mdn1c.js} +9 -9
- package/dist/chunks/{location-lifecycle-2xmwdb14.js → file-retention-7jc2cdj1.js} +12 -12
- package/dist/chunks/{location-lifecycle-pf32sebb.js → file-retention-7qnnmmsd.js} +3 -3
- package/dist/chunks/{location-lifecycle-6y9gnpfg.js → file-retention-820kspmq.js} +20 -20
- package/dist/chunks/{location-lifecycle-10cxwvde.js → file-retention-83wsadg5.js} +16 -16
- package/dist/chunks/{location-lifecycle-89znhe33.js → file-retention-89znhe33.js} +1 -1
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-yv3x7tkh.js → file-retention-8h3wwz5z.js} +8 -8
- package/dist/chunks/{location-lifecycle-bspqpb0c.js → file-retention-8qyxgmca.js} +12 -12
- package/dist/chunks/{location-lifecycle-zfs8ae4p.js → file-retention-8rg5szvb.js} +4 -4
- package/dist/chunks/{location-lifecycle-mhd024zz.js → file-retention-8sy4spaq.js} +45 -45
- package/dist/chunks/{location-lifecycle-b4twkq7r.js → file-retention-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-lifecycle-hhqxc54w.js → file-retention-904an80t.js} +14 -14
- package/dist/chunks/{location-lifecycle-s19wcxkc.js → file-retention-938z0aze.js} +23 -23
- package/dist/chunks/{location-lifecycle-9e5bzkjp.js → file-retention-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-lifecycle-cbcehkva.js → file-retention-9fyy27dk.js} +26 -26
- package/dist/chunks/{location-lifecycle-8jsp840a.js → file-retention-9jwk2z16.js} +26 -26
- package/dist/chunks/{location-lifecycle-3f8vzngw.js → file-retention-9qrc8kph.js} +5 -5
- package/dist/chunks/{location-lifecycle-zfsa101a.js → file-retention-9ye852qw.js} +5 -5
- package/dist/chunks/{location-lifecycle-87af0jnx.js → file-retention-a1dq5efv.js} +7 -7
- package/dist/chunks/{location-lifecycle-sz15h4sp.js → file-retention-a1ekkk6g.js} +10 -10
- package/dist/chunks/{location-lifecycle-0zkygwfx.js → file-retention-a2x2qtap.js} +32 -32
- package/dist/chunks/{location-lifecycle-t95mj38p.js → file-retention-a8skskqr.js} +35 -35
- package/dist/chunks/{location-lifecycle-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-05gsqr97.js → file-retention-acw72k0x.js} +9 -9
- package/dist/chunks/{location-lifecycle-3egv5ypg.js → file-retention-ae3ekk0y.js} +21 -21
- package/dist/chunks/{location-lifecycle-dgma0v0g.js → file-retention-arz7hw7x.js} +3 -3
- package/dist/chunks/{location-lifecycle-s8b189qv.js → file-retention-at46jfrx.js} +19 -19
- package/dist/chunks/{location-lifecycle-wecqtg5s.js → file-retention-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-lifecycle-b674v2dg.js → file-retention-b674v2dg.js} +2 -2
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-26ye3vwj.js → file-retention-b929sp55.js} +8 -8
- package/dist/chunks/{location-lifecycle-20h11dtt.js → file-retention-bcb25nnb.js} +21 -21
- package/dist/chunks/{location-lifecycle-apzzd3ax.js → file-retention-be4ddzaj.js} +20 -20
- package/dist/chunks/{location-lifecycle-edm9s4jn.js → file-retention-bfzhmb2g.js} +23 -23
- package/dist/chunks/{location-lifecycle-9vbq82tv.js → file-retention-bgapsv9a.js} +73 -73
- package/dist/chunks/{location-lifecycle-5pjp1k1g.js → file-retention-cd4hwype.js} +50 -50
- package/dist/chunks/{location-lifecycle-2vbg8t8g.js → file-retention-cpqeyayh.js} +6 -6
- package/dist/chunks/{location-lifecycle-5bcb55yf.js → file-retention-crgh4fce.js} +6 -6
- package/dist/chunks/{location-lifecycle-hafepx0m.js → file-retention-cstv7mkv.js} +12 -12
- package/dist/chunks/{location-lifecycle-g6q9qykm.js → file-retention-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-lifecycle-hpp5kapg.js → file-retention-d1wgwwpz.js} +31 -31
- package/dist/chunks/{location-lifecycle-9ng1f03y.js → file-retention-d3r92nc5.js} +16 -16
- package/dist/chunks/{location-lifecycle-5hx7d1d6.js → file-retention-d9wzmzc3.js} +5 -5
- package/dist/chunks/{location-lifecycle-jmcmn6kx.js → file-retention-dagpcw60.js} +11 -11
- package/dist/chunks/{location-lifecycle-wxc0khkc.js → file-retention-dhxjrn4z.js} +9 -9
- package/dist/chunks/{location-lifecycle-3b8j6ss7.js → file-retention-dktpvhqt.js} +36 -36
- package/dist/chunks/{location-lifecycle-nxm207yx.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-lifecycle-wa0hznzt.js → file-retention-dpw5yek7.js} +5 -5
- package/dist/chunks/{location-lifecycle-nraamc83.js → file-retention-dzbjpkzp.js} +6 -6
- package/dist/chunks/{location-lifecycle-ytr85qwh.js → file-retention-edexehs9.js} +26 -26
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-lifecycle-4c5kx5jf.js → file-retention-ey888tbp.js} +15 -15
- package/dist/chunks/{location-lifecycle-mxbg3ygs.js → file-retention-ey8ksrh3.js} +38 -38
- package/dist/chunks/{location-lifecycle-8paq7gnc.js → file-retention-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-lifecycle-sfn58asn.js → file-retention-f76zd4y3.js} +25 -25
- package/dist/chunks/{location-lifecycle-spbjn7pa.js → file-retention-f9nevmwk.js} +11 -11
- package/dist/chunks/{location-lifecycle-s612q12g.js → file-retention-fa14k2vq.js} +4 -4
- package/dist/chunks/{location-lifecycle-kcbhgjfd.js → file-retention-fa9q739j.js} +14 -14
- package/dist/chunks/{location-lifecycle-txk44qj0.js → file-retention-fda9q8n1.js} +27 -27
- package/dist/chunks/{location-lifecycle-2hvzr5ar.js → file-retention-fqy13z6k.js} +7 -7
- package/dist/chunks/{location-lifecycle-tcth2cmk.js → file-retention-g0wmaxy9.js} +27 -27
- package/dist/chunks/{location-lifecycle-mmtzy2cx.js → file-retention-g2arkee0.js} +1 -1
- package/dist/chunks/{location-lifecycle-k7wh6m2v.js → file-retention-g7bg1e3j.js} +4 -4
- package/dist/chunks/{location-lifecycle-qgc4rrcj.js → file-retention-g8pw0xsb.js} +18 -18
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-6b1rhtd5.js → file-retention-gd9q1fb3.js} +11 -11
- package/dist/chunks/{location-lifecycle-vtkehqnv.js → file-retention-gdgxkkph.js} +16 -16
- package/dist/chunks/{location-lifecycle-gh5z95q3.js → file-retention-gh5z95q3.js} +2 -2
- package/dist/chunks/{location-lifecycle-b8agvgd6.js → file-retention-gj10t9en.js} +33 -33
- package/dist/chunks/{location-lifecycle-ztne98yc.js → file-retention-gq1kxapj.js} +22 -22
- package/dist/chunks/{location-lifecycle-h2b79v29.js → file-retention-h2b79v29.js} +2 -2
- package/dist/chunks/{location-lifecycle-q1h3h95e.js → file-retention-h41w6thw.js} +18 -18
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-yez4jscq.js → file-retention-he1kwnjy.js} +24 -24
- package/dist/chunks/{location-lifecycle-02khppbe.js → file-retention-hes1j7ga.js} +9 -9
- package/dist/chunks/{location-lifecycle-w98pcy5g.js → file-retention-hh66qvd1.js} +32 -32
- package/dist/chunks/{location-lifecycle-bvydwcnj.js → file-retention-hkw265ex.js} +83 -83
- package/dist/chunks/{location-lifecycle-51g1atb3.js → file-retention-hm31tfx1.js} +1 -1
- package/dist/chunks/{location-lifecycle-vjm1nyv7.js → file-retention-hwgkyev7.js} +10 -10
- package/dist/chunks/{location-lifecycle-063h6gxx.js → file-retention-hwm35mvz.js} +5 -5
- package/dist/chunks/{location-lifecycle-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-rykbmd5h.js → file-retention-j57qcdj3.js} +18 -18
- package/dist/chunks/{location-lifecycle-m1edx7vx.js → file-retention-j7ektg2c.js} +50 -50
- package/dist/chunks/{location-lifecycle-0vmmsz07.js → file-retention-j8d73t99.js} +47 -47
- package/dist/chunks/{location-lifecycle-hvvc8a2w.js → file-retention-jahc66mj.js} +12 -12
- package/dist/chunks/{location-lifecycle-mxw8m4vv.js → file-retention-jantjze8.js} +182 -182
- package/dist/chunks/{location-lifecycle-n7nkg0mk.js → file-retention-jbtmhr82.js} +11 -11
- package/dist/chunks/{location-lifecycle-2ahzvgw1.js → file-retention-jrpn6x2x.js} +12 -12
- package/dist/chunks/{location-lifecycle-ddt2bs9e.js → file-retention-jvf3yq6v.js} +4 -4
- package/dist/chunks/{location-lifecycle-qb5a6frm.js → file-retention-jvm6vmtm.js} +12 -12
- package/dist/chunks/{location-lifecycle-6bvm89f4.js → file-retention-k0v1pxzb.js} +24 -24
- package/dist/chunks/{location-lifecycle-e6cvegzg.js → file-retention-kd48n5vs.js} +9 -9
- package/dist/chunks/{location-lifecycle-sj78244k.js → file-retention-kjwsf0xt.js} +15 -15
- package/dist/chunks/{location-lifecycle-k9hdpf1d.js → file-retention-kqx66hb9.js} +27 -27
- package/dist/chunks/{location-lifecycle-rk51z9mh.js → file-retention-kr41r1s2.js} +46 -46
- package/dist/chunks/{location-lifecycle-8f67g1dm.js → file-retention-krp44vcd.js} +36 -36
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-d94vkxnx.js → file-retention-m7g7tjth.js} +20 -20
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-zmc286va.js → file-retention-mbf8d5kt.js} +12 -12
- package/dist/chunks/{location-lifecycle-0wpwzxxn.js → file-retention-mbt5cw93.js} +13 -13
- package/dist/chunks/{location-lifecycle-hjdfbhvj.js → file-retention-mdyte87w.js} +4 -4
- package/dist/chunks/{location-lifecycle-a1gpj94z.js → file-retention-mhkvc446.js} +3 -3
- package/dist/chunks/{location-lifecycle-50mzsvk4.js → file-retention-mjymc32g.js} +4 -4
- package/dist/chunks/{location-lifecycle-wa80y0bh.js → file-retention-mna3rst0.js} +11 -11
- package/dist/chunks/{location-lifecycle-531cyra5.js → file-retention-mv92nc0c.js} +27 -27
- package/dist/chunks/{location-lifecycle-zw2hpfmh.js → file-retention-mxvxcxwy.js} +4 -4
- package/dist/chunks/{location-lifecycle-jnzzg47p.js → file-retention-myekv2e1.js} +15 -15
- package/dist/chunks/{location-lifecycle-c35597j6.js → file-retention-n1n192bv.js} +4 -4
- package/dist/chunks/{location-lifecycle-a89e0tac.js → file-retention-n2srvep7.js} +4 -4
- package/dist/chunks/{location-lifecycle-ftjf86m5.js → file-retention-n37c4crj.js} +9 -9
- package/dist/chunks/{location-lifecycle-26a57194.js → file-retention-n7m69k8w.js} +9 -9
- package/dist/chunks/{location-lifecycle-32psh0q2.js → file-retention-na6tqg4t.js} +19 -19
- package/dist/chunks/{location-lifecycle-brk5xemp.js → file-retention-nqxj0yn4.js} +2 -2
- package/dist/chunks/{location-lifecycle-qyt1w9k6.js → file-retention-nxb06eb5.js} +11 -11
- package/dist/chunks/{location-lifecycle-ccaf0804.js → file-retention-pasrzgnm.js} +11 -11
- package/dist/chunks/{location-lifecycle-vfjhn2wd.js → file-retention-pgp1nwjn.js} +4 -4
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-y3c20489.js → file-retention-pmzay1jn.js} +39 -39
- package/dist/chunks/{location-lifecycle-sahbbq5s.js → file-retention-ptx056q3.js} +20 -20
- package/dist/chunks/{location-lifecycle-b0dt9z8w.js → file-retention-pvr6cp49.js} +4 -4
- package/dist/chunks/{location-lifecycle-2s7ybbgh.js → file-retention-q0n3fxgm.js} +3 -3
- package/dist/chunks/{location-lifecycle-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
- package/dist/chunks/file-retention-q4txbv8h.js +507 -0
- package/dist/chunks/file-retention-q509s3k3.js +18 -0
- package/dist/chunks/{location-lifecycle-0jwsre1p.js → file-retention-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-lifecycle-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-lifecycle-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/file-retention-qssvdjk7.js +26 -0
- package/dist/chunks/{location-lifecycle-pngk9xk6.js → file-retention-qykya8vg.js} +33 -33
- package/dist/chunks/file-retention-r199w3eq.js +253 -0
- package/dist/chunks/{location-lifecycle-hbp9e5gh.js → file-retention-r6pqrcmr.js} +31 -31
- package/dist/chunks/{location-lifecycle-hz5tq5t5.js → file-retention-r6qhg5cx.js} +16 -16
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-xcmk6yw7.js → file-retention-rf6cmkn1.js} +11 -11
- package/dist/chunks/{location-lifecycle-1acjjqhc.js → file-retention-rhraev7y.js} +4 -4
- package/dist/chunks/{location-lifecycle-78cd284a.js → file-retention-rjk8fnxb.js} +30 -30
- package/dist/chunks/{location-lifecycle-2rvp7s7b.js → file-retention-rzwhqm3a.js} +3 -3
- package/dist/chunks/{location-lifecycle-4ckeh75z.js → file-retention-s609sw4r.js} +13 -13
- package/dist/chunks/{location-lifecycle-mx2aqj59.js → file-retention-s6d08xqn.js} +8 -8
- package/dist/chunks/{location-lifecycle-s8d7rejh.js → file-retention-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-lifecycle-4qjpxqqa.js → file-retention-srm8s2qm.js} +11 -11
- package/dist/chunks/{location-lifecycle-41pxaskz.js → file-retention-srq67sk8.js} +5 -5
- package/dist/chunks/{location-lifecycle-d216944b.js → file-retention-sxz6gkc3.js} +4 -4
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-fpecnkgp.js → file-retention-tg7bkhef.js} +5 -5
- package/dist/chunks/{location-lifecycle-d9sgy5v4.js → file-retention-tx92n959.js} +4 -4
- package/dist/chunks/{location-lifecycle-aw1j1f4r.js → file-retention-v71jy9y0.js} +11 -11
- package/dist/chunks/{location-lifecycle-9y5b0gtx.js → file-retention-vbpjx0bg.js} +5 -5
- package/dist/chunks/{location-lifecycle-xj71rk50.js → file-retention-vczt2j2e.js} +3 -3
- package/dist/chunks/{location-lifecycle-d1mtykxg.js → file-retention-ve6nm2s5.js} +6 -6
- package/dist/chunks/{location-lifecycle-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-ws6ndszr.js → file-retention-vnn4j5gh.js} +9 -9
- package/dist/chunks/{location-lifecycle-48hq3w28.js → file-retention-vr81r1wp.js} +8 -8
- package/dist/chunks/{location-lifecycle-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-lifecycle-gtbprh07.js → file-retention-w14eggg5.js} +17 -17
- package/dist/chunks/{location-lifecycle-w1eejvng.js → file-retention-w1eejvng.js} +1 -1
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-bh0zzf2s.js → file-retention-w49382pb.js} +8 -8
- package/dist/chunks/{location-lifecycle-9xssfh81.js → file-retention-w9c6j00y.js} +27 -27
- package/dist/chunks/{location-lifecycle-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-4hkjffgj.js → file-retention-wknvrshc.js} +13 -13
- package/dist/chunks/{location-lifecycle-60jf5vcr.js → file-retention-wmns5nf0.js} +4 -4
- package/dist/chunks/{location-lifecycle-5ngaw42y.js → file-retention-wsb67xeh.js} +10 -10
- package/dist/chunks/{location-lifecycle-6svbk6pm.js → file-retention-wtdswasp.js} +7 -7
- package/dist/chunks/{location-lifecycle-6d8pmp5n.js → file-retention-wtqemd4y.js} +9 -9
- package/dist/chunks/{location-lifecycle-dnezdd38.js → file-retention-x0r517r6.js} +14 -14
- package/dist/chunks/{location-lifecycle-etyaes4m.js → file-retention-x9hm1kyg.js} +24 -24
- package/dist/chunks/{location-lifecycle-wye7nvcy.js → file-retention-x9qn77dj.js} +35 -35
- package/dist/chunks/{location-lifecycle-et3fks45.js → file-retention-xe9nhgdy.js} +32 -32
- package/dist/chunks/{location-lifecycle-g5w8qwbj.js → file-retention-xfkkasph.js} +4 -4
- package/dist/chunks/{location-lifecycle-dmqcgk4z.js → file-retention-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-lifecycle-2zk65mq5.js → file-retention-xnj07x5h.js} +19 -19
- package/dist/chunks/{location-lifecycle-0w1gqsy8.js → file-retention-xsgjgyxe.js} +4 -4
- package/dist/chunks/{location-lifecycle-qxjc9qry.js → file-retention-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-lifecycle-3a2m6res.js → file-retention-y072d9hw.js} +5 -5
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-3f1961x7.js → file-retention-y5chagx8.js} +27 -27
- package/dist/chunks/{location-lifecycle-2bfa9kaw.js → file-retention-y5nh7e22.js} +11 -11
- package/dist/chunks/{location-lifecycle-bm7qbsac.js → file-retention-yb1jef8c.js} +11 -11
- package/dist/chunks/{location-lifecycle-1tkxjym4.js → file-retention-ybqw3e3v.js} +3 -3
- package/dist/chunks/{location-lifecycle-gd6d6gzq.js → file-retention-ygrct2xs.js} +29 -29
- package/dist/chunks/{location-lifecycle-86a9aqm7.js → file-retention-yq3jnmtb.js} +5 -5
- package/dist/chunks/{location-lifecycle-9sgp6b5z.js → file-retention-ytkq3k3g.js} +6 -6
- package/dist/chunks/{location-lifecycle-4sa8jbrs.js → file-retention-yvgnd6da.js} +5 -5
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-tbmkjjbj.js → file-retention-zafm009k.js} +4 -4
- package/dist/chunks/{location-lifecycle-mz0r50hh.js → file-retention-zcs7pzqw.js} +21 -21
- package/dist/chunks/{location-lifecycle-nm0wvxtq.js → file-retention-zm4ck3vc.js} +15 -15
- package/dist/chunks/{location-lifecycle-zzk5q109.js → file-retention-znqtm8yx.js} +13 -13
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-t62pw5c1.js → file-retention-zwrdb9pw.js} +18 -18
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-lifecycle-dkbtsjnq.js → file-retention-zz29563v.js} +24 -24
- package/dist/chunks/{location-lifecycle-ej6h7vq7.js → file-retention-zzmbjfh5.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- 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 +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +91 -91
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +2 -2
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-55bz3zr2.js +0 -253
- package/dist/chunks/location-lifecycle-5fxk43wy.js +0 -507
- package/dist/chunks/location-lifecycle-9zdhvgqs.js +0 -18
- package/dist/chunks/location-lifecycle-js13ey7k.js +0 -26
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-a8skskqr.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-rjk8fnxb.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./file-retention-0pgs73yf.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-zzmbjfh5.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin47
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin47 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service55;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin47, exports_provider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./file-retention-rjk8fnxb.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./location-lifecycle-2xmwdb14.js";
|
|
5
|
-
import {
|
|
6
|
-
Key4,
|
|
7
2
|
Service82,
|
|
8
3
|
node86
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./file-retention-7jc2cdj1.js";
|
|
5
|
+
import {
|
|
6
|
+
Key4,
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./file-retention-r6pqrcmr.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-mxvxcxwy.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-2ma8f05f.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event16,
|
|
38
|
+
ID: () => ID13,
|
|
39
|
+
Info: () => Info21,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service69,
|
|
47
|
+
node: () => node72
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
70
|
+
var ID13 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info21 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID13,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service69 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service71;
|
|
114
|
+
const bus = yield* Service82;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info21.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service69.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node72 = makeLocationNode({
|
|
603
|
+
service: Service69,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node74, node86, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service69, node72, exports_integration, Event16 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-1n632r5x.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-cd4hwype.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-ygrct2xs.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-1ph8kh9q.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-znqtm8yx.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-a1ekkk6g.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin20 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin26 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint6,
|
|
96
|
+
export { endpoint6, Plugin20, exports_parallel };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-r6pqrcmr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-ygrct2xs.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./file-retention-a8skskqr.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-dzbjpkzp.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID12.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-vczt2j2e.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node81
|
|
12
|
+
} from "./file-retention-xsgjgyxe.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
25
|
Info: () => Info25,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service77,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
40
|
class Info25 extends Schema.Class("Workspace.Info")({
|
|
41
|
-
id:
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service77 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service77,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node81]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service77.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node80 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info25, NotFound3, CreateConflict2, Service77, configured11, node80, exports_workspace };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./file-retention-7jc2cdj1.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-mxvxcxwy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./file-retention-r6pqrcmr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./file-retention-ygrct2xs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service68
|
|
16
|
+
} from "./file-retention-a8skskqr.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-n7m69k8w.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service68;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node53
|
|
4
|
+
} from "./file-retention-1ph8kh9q.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-arz7hw7x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node48,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service45 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service50;
|
|
59
|
+
return Service45.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node48 = makeLocationNode({ service: Service45, layer, deps: [node53] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service45, resolved2, node48, exports_model };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-ey8ksrh3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./file-retention-fa9q739j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service63,
|
|
13
|
+
node66
|
|
14
|
+
} from "./file-retention-cd4hwype.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service13,
|
|
26
|
+
node: () => node15,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service13 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service78;
|
|
55
|
+
const permission = yield* Service63;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service13.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node82, node66] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service13, resolvePath2, node15, exports_file_access };
|