@opencode/core 0.0.0-dev-20023 → 0.0.0-dev-20024
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 +68 -68
- package/dist/chunks/{bus-ve4pfa0n.js → location-mutation-00z3vp5f.js} +4 -4
- package/dist/chunks/{bus-rhjbct0v.js → location-mutation-02nrjc1r.js} +6 -6
- package/dist/chunks/{bus-km16yc9p.js → location-mutation-05j4n1ws.js} +18 -18
- package/dist/chunks/{bus-rv5xwt73.js → location-mutation-07ha980f.js} +12 -12
- package/dist/chunks/{bus-s17gp5yc.js → location-mutation-0e212dhy.js} +3 -3
- package/dist/chunks/{bus-zc4m99dd.js → location-mutation-0hmy5ypz.js} +13 -13
- package/dist/chunks/{bus-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-qeey90fn.js → location-mutation-0rcbddbz.js} +5 -5
- package/dist/chunks/{bus-pn1r49m7.js → location-mutation-0yd4bm3n.js} +8 -8
- package/dist/chunks/{bus-k9dr5fag.js → location-mutation-11aw4bp1.js} +29 -29
- package/dist/chunks/{bus-8d0p2m37.js → location-mutation-147kkz38.js} +6 -6
- package/dist/chunks/{bus-k4dqtr2a.js → location-mutation-18fjsgbr.js} +26 -26
- package/dist/chunks/{bus-yp2x3t23.js → location-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{bus-wjtcmmcc.js → location-mutation-1d112cb4.js} +20 -20
- package/dist/chunks/{bus-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-vavc4npn.js → location-mutation-1dcx1n9a.js} +35 -35
- package/dist/chunks/{bus-036p5t1s.js → location-mutation-1rmaqtrx.js} +4 -4
- package/dist/chunks/{bus-kjqwwhjn.js → location-mutation-1xykv8xw.js} +12 -12
- package/dist/chunks/{bus-mfqp6xfm.js → location-mutation-1ygqh575.js} +6 -6
- package/dist/chunks/{bus-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{bus-3agsheqw.js → location-mutation-287swpq4.js} +42 -42
- package/dist/chunks/{bus-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-kxpygcw9.js → location-mutation-2d57kztd.js} +4 -4
- package/dist/chunks/{bus-f13p3gpw.js → location-mutation-2gp9g042.js} +17 -17
- package/dist/chunks/{bus-2e9rpkgh.js → location-mutation-2h7nr2dq.js} +7 -7
- package/dist/chunks/{bus-yfbfw99s.js → location-mutation-2n6xcrtw.js} +15 -15
- package/dist/chunks/{bus-cqtsyhxp.js → location-mutation-2y3whdx8.js} +167 -167
- package/dist/chunks/{bus-5295gdn1.js → location-mutation-2znrjh5s.js} +31 -31
- package/dist/chunks/{bus-t0fxg8b9.js → location-mutation-37s12vcn.js} +5 -5
- package/dist/chunks/{bus-cq37gk0t.js → location-mutation-3c4e3q8d.js} +4 -4
- package/dist/chunks/{bus-asmhqfh7.js → location-mutation-3cawfvg9.js} +13 -13
- package/dist/chunks/{bus-ax6ydr4f.js → location-mutation-3emyecbb.js} +85 -85
- package/dist/chunks/{bus-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-1qyqr2yd.js → location-mutation-3k04zyzs.js} +11 -11
- package/dist/chunks/{bus-0c5h751b.js → location-mutation-3m46hkaz.js} +2 -2
- package/dist/chunks/{bus-955hz2z1.js → location-mutation-3mmzvcvq.js} +14 -14
- package/dist/chunks/{bus-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-3zsf4n22.js → location-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-9vqvxtq4.js → location-mutation-415g09m0.js} +7 -7
- package/dist/chunks/{bus-dmmh7n23.js → location-mutation-41rytcpr.js} +11 -11
- package/dist/chunks/{bus-f5rde0mf.js → location-mutation-43q23gcr.js} +9 -9
- package/dist/chunks/{bus-3ykzfd22.js → location-mutation-4541pte3.js} +9 -9
- package/dist/chunks/{bus-k8e10kf0.js → location-mutation-4a6h4wrp.js} +27 -27
- package/dist/chunks/{bus-s2avjtxg.js → location-mutation-4j809b3d.js} +13 -13
- package/dist/chunks/{bus-mnzpjgw7.js → location-mutation-4key4fq7.js} +4 -4
- package/dist/chunks/{bus-57ez7d0k.js → location-mutation-57ez7d0k.js} +2 -2
- package/dist/chunks/{bus-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{bus-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5ekn9679.js → location-mutation-5ekn9679.js} +1 -1
- package/dist/chunks/{bus-5ms58nc1.js → location-mutation-5jx0ywhf.js} +11 -11
- package/dist/chunks/{bus-txc1zf78.js → location-mutation-5ntswbj3.js} +8 -8
- package/dist/chunks/{bus-xbtr9dqn.js → location-mutation-5qgdv5h0.js} +37 -37
- package/dist/chunks/{bus-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-r4st4fg3.js → location-mutation-5vdq9pgq.js} +20 -20
- package/dist/chunks/{bus-kyjhmbv9.js → location-mutation-63x4799j.js} +19 -19
- package/dist/chunks/{bus-7hd0q4g8.js → location-mutation-65jmxcge.js} +11 -11
- package/dist/chunks/{bus-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{bus-2be9bx68.js → location-mutation-6a753ss8.js} +48 -48
- package/dist/chunks/{bus-6h73sxmp.js → location-mutation-6h73sxmp.js} +1 -1
- package/dist/chunks/{bus-nznwhm2a.js → location-mutation-6jm6bgjn.js} +15 -15
- package/dist/chunks/{bus-62qsqm8s.js → location-mutation-6m9azzzz.js} +35 -35
- package/dist/chunks/{bus-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-mhqk2p2z.js → location-mutation-6v9me7yx.js} +24 -24
- package/dist/chunks/{bus-qj733f4v.js → location-mutation-6zprjfx5.js} +42 -42
- package/dist/chunks/{bus-a1gpj94z.js → location-mutation-73tb2d7t.js} +3 -3
- package/dist/chunks/{bus-xkyz092v.js → location-mutation-760hvg9h.js} +3 -3
- package/dist/chunks/{bus-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-4qnbfv01.js → location-mutation-7e2ke00k.js} +25 -25
- package/dist/chunks/{bus-n8q5m16v.js → location-mutation-7errh0f2.js} +15 -15
- package/dist/chunks/{bus-k0gdq8ga.js → location-mutation-818pfwc9.js} +8 -8
- package/dist/chunks/{bus-ste6s18m.js → location-mutation-83dgf92e.js} +9 -9
- package/dist/chunks/{bus-2c2pthh1.js → location-mutation-86czshtb.js} +4 -4
- package/dist/chunks/{bus-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{bus-7s451enq.js → location-mutation-8ank75fn.js} +8 -8
- package/dist/chunks/{bus-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-58mhhvvc.js → location-mutation-8f5p4pwe.js} +34 -34
- package/dist/chunks/{bus-sgt19s1v.js → location-mutation-8fh4dspn.js} +24 -24
- package/dist/chunks/{bus-5qdsfvwm.js → location-mutation-8ga603cp.js} +12 -12
- package/dist/chunks/{bus-wj426n11.js → location-mutation-8pt1jyw7.js} +17 -17
- package/dist/chunks/{bus-nxx48bkr.js → location-mutation-8r1zxxnv.js} +5 -5
- package/dist/chunks/{bus-6ezpw46y.js → location-mutation-8sd99ncp.js} +3 -3
- package/dist/chunks/{bus-y78y3r0z.js → location-mutation-8sfmeb4x.js} +5 -5
- package/dist/chunks/{bus-d8tee39x.js → location-mutation-8w4b0w14.js} +25 -25
- package/dist/chunks/{bus-axjyegnf.js → location-mutation-965jek49.js} +7 -7
- package/dist/chunks/{bus-44bq749c.js → location-mutation-9m8se1t0.js} +13 -13
- package/dist/chunks/{bus-65wt44ph.js → location-mutation-9pajzaat.js} +13 -13
- package/dist/chunks/{bus-mxkyhxjm.js → location-mutation-9pp8k1fj.js} +11 -11
- package/dist/chunks/{bus-8afkf39b.js → location-mutation-9tc9jvay.js} +84 -84
- package/dist/chunks/{bus-nr669dq2.js → location-mutation-9v8wx44b.js} +8 -8
- package/dist/chunks/{bus-y4b15vep.js → location-mutation-a1r0sk56.js} +8 -8
- package/dist/chunks/{bus-vnpdrrhw.js → location-mutation-a3kw06th.js} +26 -26
- package/dist/chunks/{bus-nf8ztekt.js → location-mutation-a8v3d86t.js} +14 -14
- package/dist/chunks/{bus-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-2hegk72a.js → location-mutation-ar5042nv.js} +17 -17
- package/dist/chunks/{bus-hfysmbcm.js → location-mutation-asscy6pk.js} +24 -24
- package/dist/chunks/{bus-bpv1pw5j.js → location-mutation-avzvtmgr.js} +27 -27
- package/dist/chunks/{bus-2zcvrg1e.js → location-mutation-b5mcfzkp.js} +5 -5
- package/dist/chunks/{bus-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-4gpm7wt7.js → location-mutation-b7btgvj5.js} +4 -4
- package/dist/chunks/{bus-7g3h6q7t.js → location-mutation-b97j21th.js} +9 -9
- package/dist/chunks/{bus-7d2a7xbs.js → location-mutation-bgs9y14h.js} +5 -5
- package/dist/chunks/{bus-yag3facz.js → location-mutation-bj3p2s8f.js} +35 -35
- package/dist/chunks/{bus-p1nvkxcp.js → location-mutation-bt0ey53w.js} +12 -12
- package/dist/chunks/{bus-2rsdr3cn.js → location-mutation-c1df4dj7.js} +11 -11
- package/dist/chunks/{bus-3y3dqax9.js → location-mutation-c2h7be1y.js} +8 -8
- package/dist/chunks/{bus-r2m716tb.js → location-mutation-c765mh8b.js} +5 -5
- package/dist/chunks/{bus-mrq6z0ak.js → location-mutation-c9kahmjr.js} +19 -19
- package/dist/chunks/{bus-kdq6h4dx.js → location-mutation-cm78evcp.js} +4 -4
- package/dist/chunks/{bus-dp3wkqpm.js → location-mutation-cn3vn15h.js} +21 -21
- package/dist/chunks/{bus-h6r3nrb9.js → location-mutation-cpj0znwe.js} +4 -4
- package/dist/chunks/{bus-wtj175dr.js → location-mutation-cpmmh3r9.js} +11 -11
- package/dist/chunks/{bus-yd4vk3cp.js → location-mutation-crtwvk10.js} +11 -11
- package/dist/chunks/{bus-6q6ah1za.js → location-mutation-cxds2wxd.js} +18 -18
- package/dist/chunks/{bus-rh2sckgg.js → location-mutation-d4yhjfbe.js} +29 -29
- package/dist/chunks/{bus-06x8he3q.js → location-mutation-ddt2bs9e.js} +4 -4
- package/dist/chunks/{bus-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{bus-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-em8ywp9g.js → location-mutation-drrkymsn.js} +22 -22
- package/dist/chunks/{bus-hnr5yq9h.js → location-mutation-e6hmchc5.js} +5 -5
- package/dist/chunks/{bus-7j92jdde.js → location-mutation-ec87kc5z.js} +4 -4
- package/dist/chunks/{bus-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/location-mutation-emdvc7y7.js +503 -0
- package/dist/chunks/{bus-1bnc86tq.js → location-mutation-enrvee4b.js} +16 -16
- package/dist/chunks/{bus-wfwqsfnv.js → location-mutation-eqxdc8mp.js} +2 -2
- package/dist/chunks/{bus-erw5rpbs.js → location-mutation-erw5rpbs.js} +2 -2
- package/dist/chunks/{bus-rcan3sss.js → location-mutation-etdfdz9n.js} +20 -20
- package/dist/chunks/{bus-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-96vzaj3m.js → location-mutation-eztkbwah.js} +15 -15
- package/dist/chunks/{bus-4zdj9ayc.js → location-mutation-f0h3qbzs.js} +5 -5
- package/dist/chunks/{bus-z4gbawvg.js → location-mutation-f9pjpvtx.js} +64 -64
- package/dist/chunks/{bus-4dynb0b2.js → location-mutation-fn652s59.js} +13 -13
- package/dist/chunks/{bus-62knkx65.js → location-mutation-frptvanx.js} +19 -19
- package/dist/chunks/{bus-6mne9kvv.js → location-mutation-fxt475k0.js} +12 -12
- package/dist/chunks/{bus-jb3kqqtq.js → location-mutation-fy2r6802.js} +12 -12
- package/dist/chunks/{bus-qzaqzf4z.js → location-mutation-fzw6kvvp.js} +20 -20
- package/dist/chunks/{bus-qj8eh1ht.js → location-mutation-g190xswt.js} +4 -4
- package/dist/chunks/{bus-d07mke8v.js → location-mutation-g2z23txw.js} +26 -26
- package/dist/chunks/location-mutation-gbadjzag.js +4 -0
- package/dist/chunks/{bus-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-3pg5tcmy.js → location-mutation-gdpzykdj.js} +13 -13
- package/dist/chunks/{bus-zxcnjva9.js → location-mutation-gh02xaqr.js} +31 -31
- package/dist/chunks/{bus-ybhbtxjg.js → location-mutation-gmjjhz4f.js} +3 -3
- package/dist/chunks/{bus-pk6g247z.js → location-mutation-gseev5jd.js} +6 -6
- package/dist/chunks/{bus-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-e1j67ccp.js → location-mutation-gw3jpy4y.js} +16 -16
- package/dist/chunks/{bus-89bb6baa.js → location-mutation-h04cqsq0.js} +8 -8
- package/dist/chunks/{bus-rg9k3tks.js → location-mutation-h69yr78q.js} +16 -16
- package/dist/chunks/{bus-dvvx8exq.js → location-mutation-h6syajn5.js} +3 -3
- package/dist/chunks/{bus-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{bus-bqjst2ga.js → location-mutation-he6wdzpy.js} +9 -9
- package/dist/chunks/{bus-dhaja7z9.js → location-mutation-hgyg00rt.js} +20 -20
- package/dist/chunks/{bus-kt2mtnna.js → location-mutation-hnz1vd55.js} +8 -8
- package/dist/chunks/{bus-qmd4qmz6.js → location-mutation-hptm3x45.js} +48 -48
- package/dist/chunks/{bus-j66yn2fw.js → location-mutation-hsq7tvrb.js} +20 -20
- package/dist/chunks/{bus-8xted83r.js → location-mutation-j4g6bjqf.js} +6 -6
- package/dist/chunks/{bus-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-1nf4mfax.js → location-mutation-j7sdw5nk.js} +5 -5
- package/dist/chunks/{bus-a7gqq3g2.js → location-mutation-j8rzd9ap.js} +15 -15
- package/dist/chunks/{bus-c83tnrm1.js → location-mutation-ja93bcmn.js} +10 -10
- package/dist/chunks/{bus-a3r4dcrj.js → location-mutation-jca4demv.js} +2 -2
- package/dist/chunks/{bus-ek46zrte.js → location-mutation-jkkh0dgx.js} +8 -8
- package/dist/chunks/{bus-5dc1jw76.js → location-mutation-jp1d2c53.js} +8 -8
- package/dist/chunks/{bus-75d4r5r9.js → location-mutation-jqcqaqk1.js} +6 -6
- package/dist/chunks/{bus-32psr599.js → location-mutation-jqe8c22f.js} +43 -43
- package/dist/chunks/{bus-vxvdqqhg.js → location-mutation-jt89ckk3.js} +9 -9
- package/dist/chunks/{bus-1588s453.js → location-mutation-jvr0a44c.js} +11 -11
- package/dist/chunks/{bus-1gd24jtv.js → location-mutation-jvw73btf.js} +11 -11
- package/dist/chunks/{bus-dqvyvseb.js → location-mutation-jw9sfpm0.js} +6 -6
- package/dist/chunks/{bus-h282rwby.js → location-mutation-jxc4myrx.js} +43 -43
- package/dist/chunks/{bus-7t99ryxb.js → location-mutation-k6y504h4.js} +20 -20
- package/dist/chunks/{bus-ssdqnhy0.js → location-mutation-k9d40v1y.js} +4 -4
- package/dist/chunks/{bus-bhndscsn.js → location-mutation-kansrtmv.js} +21 -21
- package/dist/chunks/{bus-drdm7q8r.js → location-mutation-kp86r9b3.js} +30 -30
- package/dist/chunks/{bus-ehzvax51.js → location-mutation-krrzbazv.js} +6 -6
- package/dist/chunks/{bus-9fgnx2y2.js → location-mutation-krscvss0.js} +8 -8
- package/dist/chunks/{bus-ggn63ca0.js → location-mutation-ks0b5fhh.js} +10 -10
- package/dist/chunks/{bus-fxda7p1p.js → location-mutation-kwyenn5c.js} +12 -12
- package/dist/chunks/{bus-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{bus-m3fdjcah.js → location-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-55f96cqf.js → location-mutation-m8ar47ek.js} +13 -13
- package/dist/chunks/{bus-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-44ke2mar.js → location-mutation-mmr7bq34.js} +8 -8
- package/dist/chunks/{bus-x6j13p6x.js → location-mutation-mp1fmwr2.js} +5 -5
- package/dist/chunks/{bus-h5d0nsap.js → location-mutation-mwvyrfwc.js} +25 -25
- package/dist/chunks/{bus-zth7gqw3.js → location-mutation-mzeaa52x.js} +20 -20
- package/dist/chunks/{bus-smgbhx6z.js → location-mutation-n03y2nvv.js} +29 -29
- package/dist/chunks/{bus-183eyv49.js → location-mutation-n0tvqc4h.js} +11 -11
- package/dist/chunks/{bus-6zh0kd8a.js → location-mutation-nkf7ea5p.js} +46 -46
- package/dist/chunks/{bus-6xh1kcp9.js → location-mutation-nswc3ws5.js} +8 -8
- package/dist/chunks/{bus-k3c624dm.js → location-mutation-nzks3jc8.js} +3 -3
- package/dist/chunks/{bus-dq0v80fr.js → location-mutation-p1zpfjkz.js} +5 -5
- package/dist/chunks/location-mutation-p7p1ybb8.js +26 -0
- package/dist/chunks/{bus-v7v4jk8m.js → location-mutation-pa6qpeew.js} +10 -10
- package/dist/chunks/{bus-g0445xdp.js → location-mutation-pa8pe2x7.js} +8 -8
- package/dist/chunks/{bus-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{bus-qg0jgkcp.js → location-mutation-pnv527nz.js} +9 -9
- package/dist/chunks/{bus-yg6nt6v4.js → location-mutation-pw9v3g6d.js} +8 -8
- package/dist/chunks/{bus-tpatgnyt.js → location-mutation-pxq2x33y.js} +24 -24
- package/dist/chunks/{bus-jexxy024.js → location-mutation-q3t37ft6.js} +3 -3
- package/dist/chunks/{bus-1z0p4hs7.js → location-mutation-q7tj62n7.js} +30 -30
- package/dist/chunks/{bus-79pm3y1j.js → location-mutation-qaa2yvb1.js} +23 -23
- package/dist/chunks/{bus-qvreyy9g.js → location-mutation-qdbakdjh.js} +5 -5
- package/dist/chunks/{bus-7dqw4kz8.js → location-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{bus-e13bpq8t.js → location-mutation-qhq4a865.js} +9 -9
- package/dist/chunks/{bus-wc3p6akr.js → location-mutation-qhq71jc6.js} +29 -29
- package/dist/chunks/{bus-xfkkasph.js → location-mutation-qqeeq2t9.js} +7 -7
- package/dist/chunks/{bus-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-kscz57pn.js → location-mutation-qt5asz00.js} +18 -18
- package/dist/chunks/{bus-wrt06kej.js → location-mutation-qw39grzm.js} +4 -4
- package/dist/chunks/{bus-r2axq500.js → location-mutation-qxt041pa.js} +21 -21
- package/dist/chunks/{bus-p0t9pk22.js → location-mutation-r23z5d8f.js} +4 -4
- package/dist/chunks/{bus-79d8ddz7.js → location-mutation-r339gb8t.js} +5 -5
- package/dist/chunks/{bus-jcgqybrx.js → location-mutation-r46pqq1s.js} +7 -7
- package/dist/chunks/{bus-7s8ytp8a.js → location-mutation-r9vycjg2.js} +12 -12
- package/dist/chunks/{bus-befbg1h9.js → location-mutation-rc523c8n.js} +33 -33
- package/dist/chunks/{bus-rdw6cm16.js → location-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-g9rsppv7.js → location-mutation-rjxwg6my.js} +26 -26
- package/dist/chunks/{bus-6gs2bj3z.js → location-mutation-rkfnr0xp.js} +1 -1
- package/dist/chunks/{bus-qfzsj00a.js → location-mutation-rqt3ht1f.js} +3 -3
- package/dist/chunks/{bus-4mj681nk.js → location-mutation-rvsn1kwz.js} +27 -27
- package/dist/chunks/{bus-fgr0da6t.js → location-mutation-ryr2m08g.js} +4 -4
- package/dist/chunks/{bus-nxhqveyz.js → location-mutation-s8zy8myc.js} +5 -5
- package/dist/chunks/{bus-yg3nrnme.js → location-mutation-s9s562vb.js} +13 -13
- package/dist/chunks/{bus-djgdsjb0.js → location-mutation-sa96sbyt.js} +14 -14
- package/dist/chunks/{bus-nghttz5c.js → location-mutation-say5sfs8.js} +17 -17
- package/dist/chunks/{bus-mcgja72h.js → location-mutation-sd4hb3jk.js} +47 -47
- package/dist/chunks/{bus-m5kg83s1.js → location-mutation-sgtdr5xd.js} +5 -5
- package/dist/chunks/{bus-39jysb05.js → location-mutation-sj6hyns7.js} +43 -43
- package/dist/chunks/{bus-v3sgzvyr.js → location-mutation-sqy4ahhk.js} +1 -1
- package/dist/chunks/{bus-ct6yytk4.js → location-mutation-t1w7zdgx.js} +15 -15
- package/dist/chunks/{bus-aajya80x.js → location-mutation-t3zkw3za.js} +17 -17
- package/dist/chunks/{bus-h2apygcd.js → location-mutation-t7ph3h46.js} +11 -11
- package/dist/chunks/{bus-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{bus-fm2qvscf.js → location-mutation-tkmwgdpd.js} +7 -7
- package/dist/chunks/{bus-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-n2srvep7.js → location-mutation-vbfgae2j.js} +4 -4
- package/dist/chunks/{bus-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-vze1te8n.js → location-mutation-ver2men6.js} +10 -10
- package/dist/chunks/location-mutation-vnkjks7b.js +18 -0
- package/dist/chunks/{bus-fpk9swdv.js → location-mutation-vry9y5h5.js} +24 -24
- package/dist/chunks/{bus-vtxr0yy2.js → location-mutation-vtxr0yy2.js} +2 -2
- package/dist/chunks/{bus-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-etjvrvcv.js → location-mutation-w8qbsc09.js} +24 -24
- package/dist/chunks/{bus-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{bus-xbzz39h7.js → location-mutation-wgt0n93c.js} +32 -32
- package/dist/chunks/{bus-68zbwets.js → location-mutation-wz9pjx5y.js} +20 -20
- package/dist/chunks/{bus-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/location-mutation-xgef326k.js +252 -0
- package/dist/chunks/{bus-mnt867w7.js → location-mutation-xpk8r8b8.js} +25 -25
- package/dist/chunks/{bus-yv7qswmh.js → location-mutation-xpnq3dj5.js} +24 -24
- package/dist/chunks/{bus-cfsneazd.js → location-mutation-xsytrpqt.js} +6 -6
- package/dist/chunks/{bus-vtt0yr3x.js → location-mutation-xv8bhmcn.js} +13 -13
- package/dist/chunks/{bus-eh8n600s.js → location-mutation-xx9kgtw1.js} +24 -24
- package/dist/chunks/{bus-vh6g4kyg.js → location-mutation-xyqjfxv0.js} +18 -18
- package/dist/chunks/{bus-02khppbe.js → location-mutation-y16p1w2y.js} +9 -9
- package/dist/chunks/{bus-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-0jq9fyba.js → location-mutation-y56ehv6b.js} +9 -9
- package/dist/chunks/{bus-mzrbxmyd.js → location-mutation-y9vcbm1p.js} +11 -11
- package/dist/chunks/{bus-xkrbr206.js → location-mutation-ydgy0jv4.js} +8 -8
- package/dist/chunks/{bus-j1srxjvx.js → location-mutation-ye6tmwz4.js} +9 -9
- package/dist/chunks/{bus-ajkakq68.js → location-mutation-yefjccnd.js} +27 -27
- package/dist/chunks/{bus-sjfgsjz9.js → location-mutation-yf8gt2v7.js} +20 -20
- package/dist/chunks/{bus-ehk9kapw.js → location-mutation-ygx1qhaf.js} +1 -1
- package/dist/chunks/{bus-g56pgxge.js → location-mutation-ypxn8na5.js} +3 -3
- package/dist/chunks/{bus-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-ebvfnkrm.js → location-mutation-z06cc0jq.js} +37 -24
- package/dist/chunks/{bus-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-hvvsh4tm.js → location-mutation-z58mz0mp.js} +21 -21
- package/dist/chunks/{bus-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-gsz04hhj.js → location-mutation-zbb1t9ts.js} +8 -8
- package/dist/chunks/{bus-sxzvkvgj.js → location-mutation-zcqf6png.js} +6 -6
- package/dist/chunks/{bus-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-8jqfghx0.js → location-mutation-zja6ntk0.js} +11 -11
- package/dist/chunks/{bus-3zt4sf8n.js → location-mutation-zkfs0tv5.js} +37 -37
- package/dist/chunks/{bus-7py2syng.js → location-mutation-zq3deerb.js} +43 -43
- package/dist/chunks/{bus-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- 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 +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- 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 +84 -84
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +69 -69
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +90 -90
- 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 +360 -360
- 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 +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +87 -87
- 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 +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +71 -71
- 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 +350 -350
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- 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 +127 -127
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- 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 +111 -111
- package/dist/session/runner/step.js +125 -125
- 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 +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- 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 +107 -107
- package/dist/snapshot.js +90 -90
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- 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 +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +95 -95
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +93 -93
- package/package.json +8 -8
- package/dist/chunks/bus-9zdhvgqs.js +0 -18
- package/dist/chunks/bus-pkqtqxbs.js +0 -252
- package/dist/chunks/bus-qapv375x.js +0 -4
- package/dist/chunks/bus-sn7pzh75.js +0 -26
- package/dist/chunks/bus-zkkcedaa.js +0 -503
- /package/dist/chunks/{bus-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → location-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → location-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → location-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → location-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → location-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-d4yhjfbe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-4a6h4wrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info20.make({
|
|
98
|
+
...Info20.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-r23z5d8f.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-eqxdc8mp.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_vcs, {
|
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
29
|
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service31,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node35
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service31 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service83;
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service31.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node35 = makeLocationNode({
|
|
168
|
+
service: Service31,
|
|
169
169
|
layer,
|
|
170
170
|
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service31, node35, exports_vcs };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./location-mutation-qqeeq2t9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-ygx1qhaf.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-xsytrpqt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-r23z5d8f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service27,
|
|
7
|
+
node30
|
|
8
|
+
} from "./location-mutation-hptm3x45.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./location-mutation-nkf7ea5p.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service44,
|
|
15
|
+
node47
|
|
16
|
+
} from "./location-mutation-pxq2x33y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
|
+
layer: () => layer12,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service26 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service27;
|
|
42
|
+
const tools = yield* Service44;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service70;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node29 = makeLocationNode({
|
|
124
|
+
service: Service26,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node47, node30, node87, node73]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service26, layer12, node29, exports_mcp3 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-mutation-drrkymsn.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-eqxdc8mp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./location-mutation-sj6hyns7.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-wz9pjx5y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./location-mutation-pnv527nz.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-krrzbazv.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin29
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin29 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service51;
|
|
43
|
+
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service52;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin5 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin29, exports_skill2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-r23z5d8f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./location-mutation-q7tj62n7.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-a3kw06th.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service62,
|
|
44
|
+
node: () => node65
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
66
|
+
var ID9 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info23 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID9,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service62 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service64;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info23.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service62.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key3.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node65 = makeLocationNode({
|
|
584
|
+
service: Service62,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node67, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service62, node65, exports_integration, Event14 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-eqxdc8mp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./location-mutation-sj6hyns7.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-xpnq3dj5.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin32 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin32, exports_reference };
|