@opencode/core 0.0.0-dev-19879 → 0.0.0-dev-19882
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{model-resolver-6c0f2qr4.js → file-retention-0465j91r.js} +13 -13
- package/dist/chunks/{model-resolver-88sz8qcd.js → file-retention-06dxphr1.js} +4 -4
- package/dist/chunks/{model-resolver-g997j2fw.js → file-retention-081pkz04.js} +6 -6
- package/dist/chunks/{model-resolver-1289akr8.js → file-retention-0a2z30tt.js} +23 -23
- package/dist/chunks/{model-resolver-4sfv4160.js → file-retention-0ejh5z8n.js} +9 -9
- package/dist/chunks/{model-resolver-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-1zrjt9bj.js → file-retention-0xhrvaxm.js} +25 -25
- package/dist/chunks/{model-resolver-tx769sbk.js → file-retention-0xwbjxfr.js} +24 -24
- package/dist/chunks/{model-resolver-pnc00jwe.js → file-retention-161zx9cz.js} +11 -11
- package/dist/chunks/{model-resolver-417sk53s.js → file-retention-167dw5de.js} +30 -30
- package/dist/chunks/{model-resolver-sbwttkaf.js → file-retention-1dan17xy.js} +11 -11
- package/dist/chunks/{model-resolver-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-g1gqch2e.js → file-retention-1jetprvn.js} +4 -4
- package/dist/chunks/{model-resolver-3vm6db06.js → file-retention-1s6npp0x.js} +9 -9
- package/dist/chunks/{model-resolver-b9swv1kn.js → file-retention-1tr2x808.js} +24 -24
- package/dist/chunks/{model-resolver-m06q4kjh.js → file-retention-1w78bxtf.js} +9 -9
- package/dist/chunks/{model-resolver-1anfc26p.js → file-retention-1xy1s23z.js} +13 -13
- package/dist/chunks/{model-resolver-jcxvn8gn.js → file-retention-215n7470.js} +11 -11
- package/dist/chunks/{model-resolver-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-2szjhpjf.js → file-retention-2avmftzw.js} +8 -8
- package/dist/chunks/{model-resolver-4xbskmpe.js → file-retention-2f0bjgcj.js} +5 -5
- package/dist/chunks/{model-resolver-fmrmvz2k.js → file-retention-2f81yahh.js} +30 -30
- package/dist/chunks/{model-resolver-pgxpsng8.js → file-retention-2kvyq317.js} +11 -11
- package/dist/chunks/{model-resolver-bhfhzr1m.js → file-retention-37b5a4wm.js} +25 -25
- package/dist/chunks/{model-resolver-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-1sejg8v7.js → file-retention-3fy2htfg.js} +25 -25
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-jbfg7gfk.js → file-retention-3tpxjgq6.js} +43 -43
- package/dist/chunks/{model-resolver-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-b4y5hkjs.js → file-retention-3tvxnvmk.js} +32 -32
- package/dist/chunks/{model-resolver-c06y4pyh.js → file-retention-3y98hz0x.js} +91 -91
- package/dist/chunks/{model-resolver-hw2mbygq.js → file-retention-4an14yhs.js} +8 -8
- package/dist/chunks/{model-resolver-xynw923x.js → file-retention-4cf05jz0.js} +18 -18
- package/dist/chunks/{model-resolver-ydkhd2vj.js → file-retention-4cp2jqb2.js} +17 -17
- package/dist/chunks/{model-resolver-4v4bfvma.js → file-retention-4drgpw32.js} +5 -5
- package/dist/chunks/{model-resolver-6rhwg9p1.js → file-retention-4f92x3nk.js} +11 -11
- package/dist/chunks/{model-resolver-2mjhcg4p.js → file-retention-4fbyhaeh.js} +4 -4
- package/dist/chunks/{model-resolver-vnccmz7g.js → file-retention-4n8q391k.js} +18 -18
- package/dist/chunks/{model-resolver-sjx8sgwr.js → file-retention-4vc8sr10.js} +30 -30
- package/dist/chunks/{model-resolver-pw0s52c9.js → file-retention-4ygb4b7g.js} +2 -2
- package/dist/chunks/{model-resolver-9x2zw2dr.js → file-retention-50fcby8k.js} +11 -11
- package/dist/chunks/{model-resolver-pc8r89n2.js → file-retention-523mvypz.js} +29 -29
- package/dist/chunks/{model-resolver-r43n0tkv.js → file-retention-53tprqe9.js} +24 -24
- package/dist/chunks/{model-resolver-0vbwh1ma.js → file-retention-564f0z0w.js} +20 -20
- package/dist/chunks/{model-resolver-1ygqh575.js → file-retention-56gdpj1q.js} +9 -9
- package/dist/chunks/{model-resolver-awbdwcvp.js → file-retention-57ez7d0k.js} +7 -7
- package/dist/chunks/{model-resolver-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-wq2qj646.js → file-retention-5rddp1d9.js} +1 -1
- package/dist/chunks/{model-resolver-yc1a4vnp.js → file-retention-5s5jpmcb.js} +21 -21
- package/dist/chunks/{model-resolver-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/file-retention-619r8v3y.js +18 -0
- package/dist/chunks/{model-resolver-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-zzn9gyf4.js → file-retention-66yb9ghn.js} +41 -41
- package/dist/chunks/{model-resolver-939csnrg.js → file-retention-673ngpmn.js} +5 -5
- package/dist/chunks/{model-resolver-mxq6csbx.js → file-retention-6bbyae08.js} +24 -24
- package/dist/chunks/{model-resolver-rnvw3hvm.js → file-retention-6dxv2793.js} +47 -47
- package/dist/chunks/{model-resolver-25m4ah6t.js → file-retention-6hh8tjw2.js} +7 -7
- package/dist/chunks/{model-resolver-e3att9pz.js → file-retention-6jr39b9q.js} +10 -10
- package/dist/chunks/{model-resolver-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-k8qkjtdv.js → file-retention-6tg303q8.js} +3 -3
- package/dist/chunks/{model-resolver-8wj3mj4g.js → file-retention-6tkqkfbf.js} +43 -43
- package/dist/chunks/{model-resolver-z3kzza17.js → file-retention-6v2v7y0g.js} +34 -34
- package/dist/chunks/{model-resolver-rp1g7e9y.js → file-retention-6xwcf1a8.js} +4 -4
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → file-retention-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-csdaj16z.js → file-retention-7w99qc9d.js} +3 -3
- package/dist/chunks/{model-resolver-c8f5h7fp.js → file-retention-8b167y8a.js} +20 -20
- package/dist/chunks/{model-resolver-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-84rk7f3f.js → file-retention-8fxnv50h.js} +40 -40
- package/dist/chunks/{model-resolver-764y3xsx.js → file-retention-8m0xfxha.js} +18 -18
- package/dist/chunks/{model-resolver-bf9gty6t.js → file-retention-8mgkexa6.js} +8 -8
- package/dist/chunks/{model-resolver-h65ecam0.js → file-retention-8mh6qs45.js} +3 -3
- package/dist/chunks/{model-resolver-dj2t23y0.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-fre4m1z6.js → file-retention-8s3n9c7m.js} +24 -24
- package/dist/chunks/{model-resolver-mrv6ghce.js → file-retention-8y74cv5j.js} +16 -16
- package/dist/chunks/{model-resolver-dagg7nba.js → file-retention-8zqwde36.js} +1 -1
- package/dist/chunks/{model-resolver-pd5kn0n4.js → file-retention-954vm9zf.js} +6 -6
- package/dist/chunks/{model-resolver-5hkrv0vj.js → file-retention-984gzsd7.js} +30 -30
- package/dist/chunks/{model-resolver-8pp8jf47.js → file-retention-9hj87zcn.js} +2 -2
- package/dist/chunks/{model-resolver-nv7590vc.js → file-retention-9j9rrcym.js} +4 -4
- package/dist/chunks/{model-resolver-2c4qhs1k.js → file-retention-9x2j21m7.js} +32 -32
- package/dist/chunks/{model-resolver-5c4hm403.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-p1tppetm.js → file-retention-a25dsj3m.js} +47 -47
- package/dist/chunks/{model-resolver-y1vhqzk3.js → file-retention-a9z38t8t.js} +25 -25
- package/dist/chunks/{model-resolver-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-mdqxewsd.js → file-retention-aaxh33wy.js} +8 -8
- package/dist/chunks/{model-resolver-v24739yc.js → file-retention-ab8cnxkj.js} +5 -5
- package/dist/chunks/{model-resolver-vdzspbnc.js → file-retention-af04s6ss.js} +2 -2
- package/dist/chunks/{model-resolver-6zwjjspm.js → file-retention-aj2jtzg2.js} +9 -9
- package/dist/chunks/{model-resolver-kfd1t4rr.js → file-retention-as6js5h3.js} +8 -8
- package/dist/chunks/{model-resolver-v73a4c74.js → file-retention-axe08f99.js} +21 -21
- package/dist/chunks/{model-resolver-9xk8zs32.js → file-retention-ayrh20bw.js} +7 -7
- package/dist/chunks/{model-resolver-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-v1h9wh0s.js → file-retention-b6q9rwn2.js} +25 -25
- package/dist/chunks/{model-resolver-m06x1evk.js → file-retention-bm43m6wm.js} +9 -9
- package/dist/chunks/{model-resolver-apn8f15b.js → file-retention-bscb95cy.js} +9 -9
- package/dist/chunks/{model-resolver-scq4khx8.js → file-retention-bz85s9hh.js} +1 -1
- package/dist/chunks/{model-resolver-cwa6csj7.js → file-retention-c765mh8b.js} +9 -9
- package/dist/chunks/{model-resolver-zwgxd679.js → file-retention-c86z6gw9.js} +10 -10
- package/dist/chunks/{model-resolver-cb5kpe73.js → file-retention-c8z6r1re.js} +12 -12
- package/dist/chunks/{model-resolver-nh07yg89.js → file-retention-c9dd285s.js} +55 -55
- package/dist/chunks/{model-resolver-616ym9rn.js → file-retention-c9fwgwbn.js} +18 -18
- package/dist/chunks/{model-resolver-h9xbmez1.js → file-retention-cf78hqg4.js} +17 -17
- package/dist/chunks/{model-resolver-m0jqrx5p.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-cz18w411.js → file-retention-cfpt4yrn.js} +28 -28
- package/dist/chunks/{model-resolver-m0t6dn9n.js → file-retention-cgx608pj.js} +11 -11
- package/dist/chunks/{model-resolver-fzgxakwn.js → file-retention-cjwramev.js} +6 -6
- package/dist/chunks/{model-resolver-h7f8s8kx.js → file-retention-ckzj2a1x.js} +11 -11
- package/dist/chunks/{model-resolver-sdbkfcvv.js → file-retention-cq37gk0t.js} +4 -4
- package/dist/chunks/{model-resolver-7v4f4tb8.js → file-retention-d64bv18p.js} +18 -18
- package/dist/chunks/{model-resolver-5apets8e.js → file-retention-dd7met55.js} +6 -6
- package/dist/chunks/{model-resolver-r98e92ep.js → file-retention-dfe8djrf.js} +4 -4
- package/dist/chunks/{model-resolver-rq9gd7cy.js → file-retention-dkrr66w3.js} +13 -13
- package/dist/chunks/{model-resolver-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-xfkkasph.js → file-retention-drwq78ky.js} +4 -4
- package/dist/chunks/{model-resolver-th0g359r.js → file-retention-ds33edxf.js} +21 -21
- package/dist/chunks/{model-resolver-st9rbhtf.js → file-retention-dy7xfy74.js} +13 -13
- package/dist/chunks/{model-resolver-2fs90zrh.js → file-retention-e0v2rycq.js} +16 -16
- package/dist/chunks/{model-resolver-xztn33cf.js → file-retention-e3t6na1y.js} +1 -1
- package/dist/chunks/{model-resolver-4xj7jy5m.js → file-retention-eaew7zx1.js} +13 -13
- package/dist/chunks/{model-resolver-jn0tk1mz.js → file-retention-eeaf82dq.js} +8 -8
- package/dist/chunks/{model-resolver-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-7f0d2bbc.js → file-retention-eg6dj9bv.js} +33 -33
- package/dist/chunks/{model-resolver-2vs2nh1n.js → file-retention-embw8kgh.js} +4 -4
- package/dist/chunks/{model-resolver-erw5rpbs.js → file-retention-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-c574q531.js → file-retention-f5yqwc0y.js} +8 -8
- package/dist/chunks/{model-resolver-7hrt1dkg.js → file-retention-f6e7w7qa.js} +4 -4
- package/dist/chunks/{model-resolver-hdnk95c8.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-bz4xne2a.js → file-retention-fja4vk1j.js} +9 -9
- package/dist/chunks/{model-resolver-a0qc5mea.js → file-retention-fk5jcdb3.js} +7 -7
- package/dist/chunks/{model-resolver-44ke2mar.js → file-retention-fkjmw100.js} +6 -6
- package/dist/chunks/{model-resolver-tat11k01.js → file-retention-fmcqyzhx.js} +9 -9
- package/dist/chunks/{model-resolver-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-yvqgzgm9.js → file-retention-g3d2w7hy.js} +10 -10
- package/dist/chunks/{model-resolver-m3cv1qmd.js → file-retention-g3y0met1.js} +42 -42
- package/dist/chunks/{model-resolver-xes5nzqf.js → file-retention-g92vxn4r.js} +136 -136
- package/dist/chunks/{model-resolver-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-19rvyxk9.js → file-retention-gj3qr6k7.js} +45 -45
- package/dist/chunks/{model-resolver-1v112ay2.js → file-retention-grfryzp0.js} +8 -8
- package/dist/chunks/file-retention-gsnhtkd6.js +252 -0
- package/dist/chunks/file-retention-gtjgk2yx.js +26 -0
- package/dist/chunks/{model-resolver-yyb7tjpc.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-hbyhqfhs.js → file-retention-h4z1mxff.js} +5 -5
- package/dist/chunks/{model-resolver-5mtzsd3b.js → file-retention-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-nwb51fbw.js → file-retention-hd72gfym.js} +15 -15
- package/dist/chunks/{model-resolver-hhd0x5h8.js → file-retention-hen7z686.js} +28 -28
- package/dist/chunks/{model-resolver-2ekq1fhc.js → file-retention-hhahvva9.js} +2 -2
- package/dist/chunks/{model-resolver-rg6yn4zr.js → file-retention-hjqn29cc.js} +1 -1
- package/dist/chunks/{model-resolver-zc83q679.js → file-retention-hm8nq6aa.js} +3 -3
- package/dist/chunks/{model-resolver-s4gd82ff.js → file-retention-hpxktczp.js} +28 -28
- package/dist/chunks/{model-resolver-xwmqbvw4.js → file-retention-htdsj6r1.js} +18 -18
- package/dist/chunks/{model-resolver-qkprbssz.js → file-retention-j50syq5q.js} +15 -15
- package/dist/chunks/{model-resolver-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-0996nyz8.js → file-retention-j58c5xyq.js} +9 -9
- package/dist/chunks/{model-resolver-g74mfj6n.js → file-retention-jjs74g98.js} +9 -9
- package/dist/chunks/{model-resolver-ybq1nttj.js → file-retention-k0vw0a2j.js} +19 -19
- package/dist/chunks/{model-resolver-k3c624dm.js → file-retention-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-cdpzwh9k.js → file-retention-k4pgmrqs.js} +13 -13
- package/dist/chunks/{model-resolver-a83wf666.js → file-retention-k5q0tfv3.js} +40 -40
- package/dist/chunks/{model-resolver-4tb4y58c.js → file-retention-k779xt46.js} +27 -27
- package/dist/chunks/{model-resolver-7xhhf2aw.js → file-retention-k9avtbwf.js} +9 -9
- package/dist/chunks/{model-resolver-w0ddfprx.js → file-retention-kd4bpffd.js} +14 -14
- package/dist/chunks/{model-resolver-06s4385t.js → file-retention-kd60309v.js} +17 -17
- package/dist/chunks/{model-resolver-eahhehpg.js → file-retention-kkp8zx71.js} +4 -4
- package/dist/chunks/{model-resolver-qc9vtygz.js → file-retention-krmnc5cg.js} +11 -11
- package/dist/chunks/{model-resolver-qcwj7nge.js → file-retention-kz3hpxab.js} +3 -3
- package/dist/chunks/{model-resolver-af80h3am.js → file-retention-m06kr8rz.js} +19 -19
- package/dist/chunks/{model-resolver-z97es7vj.js → file-retention-m22wyk78.js} +25 -25
- package/dist/chunks/{model-resolver-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-a0b5drbd.js → file-retention-m474z1kw.js} +22 -22
- package/dist/chunks/{model-resolver-tzfx967f.js → file-retention-m6b0tvc0.js} +3 -3
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-xdk9p2qn.js → file-retention-magykp64.js} +21 -21
- package/dist/chunks/{model-resolver-adywxnqa.js → file-retention-mejjs3gq.js} +11 -11
- package/dist/chunks/{model-resolver-d4rwqpz6.js → file-retention-mpc2mza6.js} +9 -9
- package/dist/chunks/{model-resolver-73tb2d7t.js → file-retention-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-resolver-k87n3mnb.js → file-retention-n3822xjh.js} +27 -27
- package/dist/chunks/{model-resolver-kq3kmm4s.js → file-retention-n7kj0nfb.js} +26 -26
- package/dist/chunks/{model-resolver-1nksd46f.js → file-retention-nfmjes2s.js} +6 -6
- package/dist/chunks/{model-resolver-tyqkzprt.js → file-retention-nng2ktcm.js} +2 -2
- package/dist/chunks/{model-resolver-pqtm16cx.js → file-retention-ns0rd2gc.js} +11 -11
- package/dist/chunks/{model-resolver-3tax330k.js → file-retention-nxz2ctde.js} +17 -17
- package/dist/chunks/{model-resolver-2d57kztd.js → file-retention-p0b4ytnr.js} +6 -6
- package/dist/chunks/{model-resolver-yw8xy3m8.js → file-retention-p3sjsf4c.js} +9 -9
- package/dist/chunks/{model-resolver-r5829pqs.js → file-retention-p7322rh5.js} +13 -13
- package/dist/chunks/{model-resolver-bw03vhcb.js → file-retention-p7nsp59h.js} +4 -4
- package/dist/chunks/{model-resolver-yn096dga.js → file-retention-p8z5rwmr.js} +16 -16
- package/dist/chunks/{model-resolver-x03qqaj0.js → file-retention-pb1eahw5.js} +11 -11
- package/dist/chunks/{model-resolver-0dnt9ggj.js → file-retention-pepar0ja.js} +80 -80
- package/dist/chunks/{model-resolver-b70qncxb.js → file-retention-phgk4j5x.js} +14 -14
- package/dist/chunks/{model-resolver-cmwkp3r5.js → file-retention-phstrbs2.js} +8 -8
- package/dist/chunks/{model-resolver-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-a1fb49zt.js → file-retention-pkav3n9h.js} +19 -19
- package/dist/chunks/{model-resolver-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-zvm8zp5s.js → file-retention-pnbe07hy.js} +5 -5
- package/dist/chunks/{model-resolver-wc674h98.js → file-retention-ppvrv3b5.js} +1 -1
- package/dist/chunks/{model-resolver-78mtxkg6.js → file-retention-pr2185cp.js} +1 -1
- package/dist/chunks/{model-resolver-m0rjhax7.js → file-retention-q116m3wp.js} +7 -7
- package/dist/chunks/{model-resolver-88tsvha8.js → file-retention-q126tr5h.js} +15 -15
- package/dist/chunks/{model-resolver-y6f4m1ja.js → file-retention-q67fkkta.js} +11 -11
- package/dist/chunks/{model-resolver-dyxd458n.js → file-retention-q7qrw62a.js} +11 -11
- package/dist/chunks/{model-resolver-c27esgm9.js → file-retention-qby9dwvd.js} +8 -8
- package/dist/chunks/{model-resolver-m5csp7t6.js → file-retention-qdme6shq.js} +18 -18
- package/dist/chunks/{model-resolver-zvpx4q1j.js → file-retention-qek8dtx8.js} +9 -9
- package/dist/chunks/file-retention-qez3s13j.js +492 -0
- package/dist/chunks/{model-resolver-14yjf0x4.js → file-retention-qn4ba14w.js} +5 -5
- package/dist/chunks/{model-resolver-3vf55zzj.js → file-retention-qnjwxcy5.js} +6 -6
- package/dist/chunks/{model-resolver-eb50jbx7.js → file-retention-qns4nxe6.js} +25 -25
- package/dist/chunks/{model-resolver-5kn4885k.js → file-retention-qqrhapfm.js} +21 -21
- package/dist/chunks/{model-resolver-ax8pt9gw.js → file-retention-qrsctp9r.js} +15 -15
- package/dist/chunks/{model-resolver-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-q3tbzv75.js → file-retention-qsxes4qb.js} +24 -24
- package/dist/chunks/{model-resolver-x660ftyb.js → file-retention-raq0bhdx.js} +16 -16
- package/dist/chunks/{model-resolver-dpxqvzet.js → file-retention-rd456c9t.js} +24 -24
- package/dist/chunks/{model-resolver-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-t550f9t1.js → file-retention-rhjbct0v.js} +4 -4
- package/dist/chunks/{model-resolver-dbz8g9vz.js → file-retention-rw8zzf0g.js} +5 -5
- package/dist/chunks/{model-resolver-t6bnr8x5.js → file-retention-s18791rc.js} +4 -4
- package/dist/chunks/{model-resolver-zhrmp06p.js → file-retention-s3xynfkg.js} +18 -18
- package/dist/chunks/{model-resolver-79cfd5na.js → file-retention-sb19sksh.js} +8 -8
- package/dist/chunks/{model-resolver-159hjbtj.js → file-retention-swsjrdwb.js} +10 -10
- package/dist/chunks/{model-resolver-f4nqg1rk.js → file-retention-t6kv9btv.js} +37 -37
- package/dist/chunks/{model-resolver-8hszhpj7.js → file-retention-t7d66bkg.js} +42 -42
- package/dist/chunks/{model-resolver-wwvdgax5.js → file-retention-t8g68kxt.js} +27 -27
- package/dist/chunks/{model-resolver-garff814.js → file-retention-t9taxymt.js} +3 -3
- package/dist/chunks/{model-resolver-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-qfavfwf5.js → file-retention-tb4jd28d.js} +6 -6
- package/dist/chunks/{model-resolver-hkpdzfw9.js → file-retention-tb78nqd6.js} +8 -8
- package/dist/chunks/{model-resolver-tbz0fdvh.js → file-retention-tbz0fdvh.js} +2 -2
- package/dist/chunks/{model-resolver-v43qsjh8.js → file-retention-tc5he9wg.js} +41 -41
- package/dist/chunks/{model-resolver-sxzvkvgj.js → file-retention-tcay1cqt.js} +6 -6
- package/dist/chunks/{model-resolver-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-b52ryf5f.js → file-retention-tjqchgqk.js} +14 -14
- package/dist/chunks/{model-resolver-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-mvda01ge.js → file-retention-v7ffx8ea.js} +20 -20
- package/dist/chunks/{model-resolver-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-2bryg182.js → file-retention-vwhz9c2y.js} +24 -24
- package/dist/chunks/{model-resolver-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-ha0p6w6v.js → file-retention-w2pkbhw2.js} +25 -25
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-je6b98an.js → file-retention-w44rhn25.js} +28 -28
- package/dist/chunks/{model-resolver-cr9558d1.js → file-retention-w7dexayp.js} +27 -27
- package/dist/chunks/{model-resolver-8ha6ga5e.js → file-retention-was7srj9.js} +8 -8
- package/dist/chunks/{model-resolver-hr4hckmy.js → file-retention-wb2tsxva.js} +13 -13
- package/dist/chunks/{model-resolver-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-4kb9w903.js → file-retention-wda1wpd5.js} +13 -13
- package/dist/chunks/{model-resolver-pfbep0b9.js → file-retention-wjv2nsv8.js} +6 -6
- package/dist/chunks/{model-resolver-9qw467yc.js → file-retention-wkd68h98.js} +23 -23
- package/dist/chunks/{model-resolver-aagbmaqd.js → file-retention-wkx5y8be.js} +6 -6
- package/dist/chunks/{model-resolver-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-nnar0fsb.js → file-retention-xcc8tqnx.js} +10 -10
- package/dist/chunks/{model-resolver-m27169sy.js → file-retention-xh89e2hh.js} +26 -26
- package/dist/chunks/{model-resolver-7hxcqsga.js → file-retention-xmn7azz3.js} +14 -14
- package/dist/chunks/{model-resolver-sy3rdx9f.js → file-retention-xnr80fb6.js} +3 -3
- package/dist/chunks/{model-resolver-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-brav8yb8.js → file-retention-yc9v5tg1.js} +9 -9
- package/dist/chunks/{model-resolver-kxq74w2a.js → file-retention-yedm1x7m.js} +22 -22
- package/dist/chunks/{model-resolver-v8878m3p.js → file-retention-yj9gc6e9.js} +16 -16
- package/dist/chunks/{model-resolver-abkgffbm.js → file-retention-ykxsfcqd.js} +15 -15
- package/dist/chunks/{model-resolver-q9y4mng6.js → file-retention-ymjb4ggy.js} +17 -17
- package/dist/chunks/{model-resolver-6xbvwgke.js → file-retention-yn99y8fk.js} +7 -7
- package/dist/chunks/{model-resolver-1acjjqhc.js → file-retention-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-m2wxmj5v.js → file-retention-ypezmy3j.js} +5 -5
- package/dist/chunks/{model-resolver-36n4n3t4.js → file-retention-yq8wzs83.js} +75 -75
- package/dist/chunks/{model-resolver-3ye25fqg.js → file-retention-yrdrmcw9.js} +14 -14
- package/dist/chunks/{model-resolver-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-29x78va6.js → file-retention-z63w68vq.js} +6 -6
- package/dist/chunks/{model-resolver-rq775frq.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-49gs54c4.js → file-retention-zmh7j08z.js} +25 -25
- package/dist/chunks/{model-resolver-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-gh3w682p.js → file-retention-zs7xhsyr.js} +17 -17
- package/dist/chunks/{model-resolver-v4chc4dc.js → file-retention-zvcs2h3f.js} +12 -12
- package/dist/chunks/{model-resolver-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/model-resolver-bffktq59.js +0 -26
- package/dist/chunks/model-resolver-cyydfs3c.js +0 -252
- package/dist/chunks/model-resolver-dxj72tfx.js +0 -18
- package/dist/chunks/model-resolver-eyk6r27j.js +0 -492
- /package/dist/chunks/{model-resolver-0mesazry.js → file-retention-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-n7kj0nfb.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info26
|
|
11
|
+
} from "./file-retention-0xhrvaxm.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -118,8 +118,8 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info26.make({
|
|
122
|
+
...Info26.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
124
|
modelID: ID12.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-retention-yj9gc6e9.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service38,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node41
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service38 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service38.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node41 = makeLocationNode({
|
|
75
|
+
service: Service38,
|
|
76
|
+
layer: layer17,
|
|
77
|
+
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError6, ExecutionError2, Service38, layer17, node41, exports_command4, Event9 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service53
|
|
4
|
+
} from "./file-retention-66yb9ghn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./file-retention-c9fwgwbn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service53;
|
|
27
|
+
const shell = yield* Service42;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin40 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin18, exports_shell2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node74,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node74 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node74, exports_driver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service53
|
|
4
|
+
} from "./file-retention-66yb9ghn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./file-retention-c8z6r1re.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin17 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service53;
|
|
27
|
+
const output = yield* Service41;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin45 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin17, exports_tool_output };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service78,
|
|
8
8
|
node82
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-673ngpmn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service18,
|
|
12
|
+
node20
|
|
13
|
+
} from "./file-retention-3fy2htfg.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
|
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service17,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node19
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event4 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service17 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service78;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service18;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service17.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
109
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node19 = makeLocationNode({
|
|
144
|
+
service: Service17,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node82,
|
|
146
|
+
deps: [FSUtil.node, node82, node20]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-ab8cnxkj.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make15
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make15 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service80;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, exports_git2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_skills };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./file-retention-66yb9ghn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./file-retention-k5q0tfv3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin21,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin21 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service53;
|
|
28
|
+
const mcp = yield* Service31;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin21, register2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|