@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
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./file-retention-66yb9ghn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./file-retention-fmcqyzhx.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
|
+
const image = yield* Service83;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin46 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin31, exports_image };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-673ngpmn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./file-retention-5s5jpmcb.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./file-retention-htdsj6r1.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-d64bv18p.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service62
|
|
26
|
+
} from "./file-retention-gj3qr6k7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./file-retention-j50syq5q.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin8,
|
|
41
|
+
name: () => name6,
|
|
42
42
|
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output5 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin8 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service69;
|
|
90
|
+
const ripgrep = yield* Service67;
|
|
91
91
|
const location = yield* Service78;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service62;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin27 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output5, toModelContent5, Plugin8, exports_grep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service33.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service33, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service33, makeLayer2, layer15, node37, exports_model_transport };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-k9avtbwf.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-gj3qr6k7.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-w2pkbhw2.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-wb2tsxva.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-215n7470.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin38 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin7 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin7 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin38, exports_firecrawl };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service83,
|
|
6
|
-
node87
|
|
7
|
-
} from "./model-resolver-6rhwg9p1.js";
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service82,
|
|
10
6
|
node86
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./file-retention-4f92x3nk.js";
|
|
8
|
+
import {
|
|
9
|
+
Service81,
|
|
10
|
+
node85
|
|
11
|
+
} from "./file-retention-yj9gc6e9.js";
|
|
12
12
|
import {
|
|
13
13
|
Service80,
|
|
14
14
|
node84
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ab8cnxkj.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID17,
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
40
|
+
Info: () => Info33,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
@@ -58,10 +58,10 @@ import { Hash } from "@opencode/util/hash";
|
|
|
58
58
|
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
65
|
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
@@ -97,8 +97,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
98
|
const git = yield* Service80;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
101
|
-
const db = (yield*
|
|
100
|
+
const bus = yield* Service81;
|
|
101
|
+
const db = (yield* Service82).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
104
104
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -166,9 +166,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event21.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
@@ -275,7 +275,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
275
275
|
var node83 = makeGlobalNode({
|
|
276
276
|
service: Service79,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { ID17, Vcs2, Current2,
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-673ngpmn.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service52,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node54,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service52 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service52, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node54 = LayerNode.unbound(Service52, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service52;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service52, node54, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-retention-4f92x3nk.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service57,
|
|
17
|
+
node: () => node60
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service57 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service82).db;
|
|
26
|
+
return Service57.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node86] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service57, node60, exports_kv };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node55,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node55 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer21, configured8, node55, exports_app };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-0xhrvaxm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./file-retention-66yb9ghn.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-wkx5y8be.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service53;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make9();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make9, LMStudioPlugin2 };
|