@opencode/core 0.0.0-dev-20384 → 0.0.0-dev-20388
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cache-jmdz0xnc.js → git-02v793tm.js} +10 -10
- package/dist/chunks/{repository-cache-mvgvez97.js → git-09tmqmb5.js} +20 -20
- package/dist/chunks/{repository-cache-cmbk0xqe.js → git-0c0695j7.js} +21 -21
- package/dist/chunks/{repository-cache-be0emam3.js → git-0dzy3033.js} +30 -30
- package/dist/chunks/{repository-cache-efv4s0g0.js → git-0ft9cg2j.js} +4 -4
- package/dist/chunks/{repository-cache-6163btsh.js → git-0hbfp3rh.js} +30 -30
- package/dist/chunks/{repository-cache-tyk6hpg1.js → git-0kv8bc90.js} +23 -23
- package/dist/chunks/{repository-cache-5jz776c3.js → git-0kznb05v.js} +21 -21
- package/dist/chunks/{repository-cache-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-mx04v3d0.js → git-0sz4mzf8.js} +23 -23
- package/dist/chunks/{repository-cache-e1wpnkfg.js → git-10r550b7.js} +36 -36
- package/dist/chunks/{repository-cache-sjwzrrye.js → git-154cngd0.js} +11 -11
- package/dist/chunks/{repository-cache-m0ecvezt.js → git-16nrxpzh.js} +15 -15
- package/dist/chunks/{repository-cache-f2n192rq.js → git-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-cache-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/git-1pbwcgwx.js +507 -0
- package/dist/chunks/{repository-cache-dngwpm44.js → git-1vbhmq04.js} +10 -10
- package/dist/chunks/{repository-cache-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-3ym1w18d.js → git-27nk4x6p.js} +7 -7
- package/dist/chunks/{repository-cache-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-t1262myw.js → git-2ekc3v9w.js} +10 -10
- package/dist/chunks/{repository-cache-wmvwkbff.js → git-2fzws0g4.js} +5 -5
- package/dist/chunks/{repository-cache-jv2beyhx.js → git-2j9rgn65.js} +9 -9
- package/dist/chunks/{repository-cache-qgn6gcr1.js → git-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-cache-a46jvrgv.js → git-2tv7gqmx.js} +11 -11
- package/dist/chunks/{repository-cache-v20d2acs.js → git-2wrdwt9m.js} +16 -16
- package/dist/chunks/{repository-cache-pavnatfc.js → git-2wrfgpms.js} +6 -6
- package/dist/chunks/{repository-cache-f9qv40sy.js → git-2x16c9ep.js} +42 -42
- package/dist/chunks/{repository-cache-e6m5dm35.js → git-39c3xmeq.js} +11 -11
- package/dist/chunks/{repository-cache-vd179j24.js → git-3ern9qn7.js} +1 -1
- package/dist/chunks/{repository-cache-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-cy1erk79.js → git-3g22mkwe.js} +20 -20
- package/dist/chunks/{repository-cache-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-78phanfd.js → git-3j60ppqf.js} +13 -13
- package/dist/chunks/{repository-cache-kfk5w719.js → git-3n913fej.js} +31 -31
- package/dist/chunks/{repository-cache-zyr433b0.js → git-3pbjq009.js} +7 -7
- package/dist/chunks/{repository-cache-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-19hqn2h9.js → git-3z8t007d.js} +27 -27
- package/dist/chunks/{repository-cache-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-q1prep5a.js → git-45y17pkn.js} +2 -2
- package/dist/chunks/{repository-cache-s13yc4gs.js → git-4792e2b2.js} +41 -41
- package/dist/chunks/{repository-cache-yfxk6ps6.js → git-48tzy520.js} +10 -10
- package/dist/chunks/{repository-cache-mpk0rfs5.js → git-4ch7j1sz.js} +4 -4
- package/dist/chunks/{repository-cache-bpf208j3.js → git-4ev7smc3.js} +11 -11
- package/dist/chunks/{repository-cache-0rts7qdn.js → git-4v7yaj9r.js} +55 -55
- package/dist/chunks/{repository-cache-37ea9c2d.js → git-4w5f3qm5.js} +8 -8
- package/dist/chunks/{repository-cache-qg78ryn2.js → git-4xyzmsba.js} +9 -9
- package/dist/chunks/{repository-cache-httqwp5x.js → git-4y1xccvm.js} +13 -13
- package/dist/chunks/{repository-cache-mjd5dqnw.js → git-52d0p3cg.js} +1 -1
- package/dist/chunks/{repository-cache-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-b8kqzbny.js → git-5bdh3vp3.js} +20 -20
- package/dist/chunks/{repository-cache-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-e3qxr5gk.js → git-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-cache-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-n1ka8r9d.js → git-5xpznt2d.js} +4 -4
- package/dist/chunks/{repository-cache-tnhf2k51.js → git-640hrwp9.js} +28 -28
- package/dist/chunks/{repository-cache-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-yx9af1wb.js → git-675a9rqf.js} +33 -33
- package/dist/chunks/{repository-cache-g9xsh2b9.js → git-6b56byp1.js} +23 -23
- package/dist/chunks/{repository-cache-7jkksj7z.js → git-6etexda4.js} +15 -15
- package/dist/chunks/{repository-cache-q53c2jgr.js → git-6j9qywme.js} +11 -11
- package/dist/chunks/{repository-cache-s47h6278.js → git-6m45rye6.js} +11 -11
- package/dist/chunks/{repository-cache-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-vzqaq3ze.js → git-6rhp9f1h.js} +22 -22
- package/dist/chunks/{repository-cache-afed7ext.js → git-6t298p2h.js} +12 -12
- package/dist/chunks/{repository-cache-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/git-7fj5dwt0.js +18 -0
- package/dist/chunks/{repository-cache-0wpsqe1j.js → git-7jxfk54w.js} +17 -17
- package/dist/chunks/{repository-cache-xvp1j2dc.js → git-7pr2hkwv.js} +5 -5
- package/dist/chunks/{repository-cache-0ee6f9jy.js → git-7tw9ghjr.js} +11 -11
- package/dist/chunks/{repository-cache-p2y3dfrn.js → git-7ty99mn5.js} +3 -3
- package/dist/chunks/{repository-cache-76ymgwed.js → git-7v81x33d.js} +9 -9
- package/dist/chunks/{repository-cache-73tb2d7t.js → git-7yh4e7ss.js} +3 -3
- package/dist/chunks/git-804fgeth.js +26 -0
- package/dist/chunks/{repository-cache-w1eejvng.js → git-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-ksbnj448.js → git-879n19st.js} +174 -174
- package/dist/chunks/{repository-cache-3xqhjr40.js → git-87wwy8za.js} +10 -10
- package/dist/chunks/{repository-cache-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/git-8k2g2mjs.js +252 -0
- package/dist/chunks/{repository-cache-cxp51yks.js → git-8kmdq9aq.js} +42 -42
- package/dist/chunks/{repository-cache-rft60nn9.js → git-8m0ba7zt.js} +9 -9
- package/dist/chunks/{repository-cache-stcaqmwb.js → git-8mn6a01z.js} +2 -2
- package/dist/chunks/{repository-cache-1kzhj9ac.js → git-8rgxcejn.js} +15 -15
- package/dist/chunks/{repository-cache-rkprpv83.js → git-8sze2n9a.js} +6 -6
- package/dist/chunks/{repository-cache-5xtgfte3.js → git-8v6pyhej.js} +8 -8
- package/dist/chunks/{repository-cache-94ek1h2f.js → git-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-cache-jgrnma6d.js → git-97w4v05c.js} +3 -3
- package/dist/chunks/{repository-cache-msa4er6y.js → git-9gm387jw.js} +9 -9
- package/dist/chunks/{repository-cache-e7z5m3qb.js → git-9mv39jdx.js} +4 -4
- package/dist/chunks/{repository-cache-a6b6yrq3.js → git-9qq5qbrb.js} +24 -24
- package/dist/chunks/{repository-cache-5888xk6a.js → git-9snwjxvr.js} +48 -48
- package/dist/chunks/{repository-cache-qgn1c80m.js → git-9xkcece5.js} +11 -11
- package/dist/chunks/{repository-cache-85y232q2.js → git-9yta650y.js} +10 -10
- package/dist/chunks/{repository-cache-q6e2qxqk.js → git-a149k0pw.js} +27 -27
- package/dist/chunks/{repository-cache-kbegyq1c.js → git-a3r4dcrj.js} +2 -2
- package/dist/chunks/{repository-cache-1krrpkdr.js → git-a5ttg10t.js} +12 -12
- package/dist/chunks/{repository-cache-5yrmw3zp.js → git-a8htrd82.js} +6 -6
- package/dist/chunks/{repository-cache-p08dfpvf.js → git-aab22j0c.js} +22 -22
- package/dist/chunks/{repository-cache-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-1n8qs01n.js → git-ad37gnpt.js} +4 -4
- package/dist/chunks/{repository-cache-85mhr6td.js → git-adzwmyxf.js} +16 -16
- package/dist/chunks/{repository-cache-sq2td1wp.js → git-apyybb6c.js} +24 -24
- package/dist/chunks/{repository-cache-jbjr1a4g.js → git-awaee7qt.js} +4 -4
- package/dist/chunks/{repository-cache-t74f4gsm.js → git-awpnsnap.js} +89 -89
- package/dist/chunks/{repository-cache-w3bkza1g.js → git-b04b8x2j.js} +8 -8
- package/dist/chunks/{repository-cache-kzhakyvk.js → git-b2gx3txk.js} +2 -2
- package/dist/chunks/{repository-cache-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-qq11w61w.js → git-bct739vz.js} +4 -4
- package/dist/chunks/{repository-cache-v954s5ta.js → git-bdp9qg1w.js} +11 -11
- package/dist/chunks/{repository-cache-eb1y8z6f.js → git-bj6x105w.js} +13 -13
- package/dist/chunks/{repository-cache-3vetqjk1.js → git-bk9c1rhb.js} +30 -30
- package/dist/chunks/{repository-cache-h6310vsd.js → git-btbmdjwj.js} +4 -4
- package/dist/chunks/{repository-cache-hftftmrk.js → git-btd0ftk7.js} +42 -42
- package/dist/chunks/{repository-cache-t5sbgpcp.js → git-c1ezrmqj.js} +20 -20
- package/dist/chunks/{repository-cache-66qv7stq.js → git-cc3z3mm8.js} +16 -16
- package/dist/chunks/{repository-cache-hz7s10xd.js → git-cee3pda0.js} +4 -4
- package/dist/chunks/{repository-cache-ckecvw8r.js → git-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cache-1cr71hfs.js → git-cv9jj7zm.js} +10 -10
- package/dist/chunks/{repository-cache-s6tfkdwg.js → git-d10sr3ce.js} +10 -10
- package/dist/chunks/{repository-cache-3b5480dd.js → git-d15sf6mv.js} +18 -18
- package/dist/chunks/{repository-cache-kcz65p5n.js → git-d2fqyxj9.js} +20 -20
- package/dist/chunks/{repository-cache-3zm2v763.js → git-d9s1mk97.js} +11 -11
- package/dist/chunks/{repository-cache-y31vjpwk.js → git-dagryq3b.js} +18 -18
- package/dist/chunks/{repository-cache-qnpxmzp3.js → git-dbpe2207.js} +22 -22
- package/dist/chunks/{repository-cache-ysypycvb.js → git-dbzhd3wq.js} +1 -1
- package/dist/chunks/{repository-cache-hjhp6xxc.js → git-dcvjtemh.js} +16 -16
- package/dist/chunks/{repository-cache-ca7w653e.js → git-dhmh7aw6.js} +4 -4
- package/dist/chunks/{repository-cache-aja34zf0.js → git-dk17fbv1.js} +25 -25
- package/dist/chunks/{repository-cache-d5c7pv19.js → git-e7fged3g.js} +301 -299
- package/dist/chunks/{repository-cache-ad4vgpbm.js → git-ebt03znt.js} +34 -34
- package/dist/chunks/{repository-cache-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-3ezfeh6y.js → git-eg3dg4pc.js} +8 -8
- package/dist/chunks/{repository-cache-ss0epz44.js → git-eh8a8tjn.js} +14 -14
- package/dist/chunks/{repository-cache-5q7t082n.js → git-em054f3j.js} +24 -24
- package/dist/chunks/{repository-cache-h0h78a5e.js → git-eqvftjbn.js} +17 -17
- package/dist/chunks/{repository-cache-1nz9djp5.js → git-esp7reb4.js} +20 -20
- package/dist/chunks/{repository-cache-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-3cfzdc8e.js → git-evbgk2k8.js} +5 -5
- package/dist/chunks/{repository-cache-rvyqxt9n.js → git-f37yrtqa.js} +4 -3
- package/dist/chunks/{repository-cache-2pnhn36q.js → git-f3ngv102.js} +19 -19
- package/dist/chunks/{repository-cache-xrt7n2v3.js → git-ffk3tnaf.js} +17 -17
- package/dist/chunks/{repository-cache-qg0jgkcp.js → git-fhs97t90.js} +9 -9
- package/dist/chunks/{repository-cache-e3ac5n3c.js → git-ftq5wxdn.js} +8 -8
- package/dist/chunks/{repository-cache-w4rh11p9.js → git-g04a706a.js} +9 -9
- package/dist/chunks/{repository-cache-rtb06bvf.js → git-g1bwmzbp.js} +3 -3
- package/dist/chunks/{repository-cache-2evjqgve.js → git-g2xmb77m.js} +69 -69
- package/dist/chunks/{repository-cache-c765mh8b.js → git-g6q9qykm.js} +9 -9
- package/dist/chunks/{repository-cache-rh8c8h0e.js → git-g7jkrskj.js} +15 -15
- package/dist/chunks/{repository-cache-vbzc55dd.js → git-gbhc6ywe.js} +13 -13
- package/dist/chunks/{repository-cache-kb6vbnxp.js → git-gc4fb455.js} +4 -4
- package/dist/chunks/{repository-cache-6bn6zw9m.js → git-gcvc8aqa.js} +3 -3
- package/dist/chunks/{repository-cache-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-c2capq82.js → git-gh46k75h.js} +22 -22
- package/dist/chunks/{repository-cache-63f8h98j.js → git-gss037cc.js} +32 -32
- package/dist/chunks/{repository-cache-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-4z58m4b4.js → git-gw7cjrad.js} +4 -4
- package/dist/chunks/{repository-cache-aeexf8fc.js → git-gxz3as52.js} +13 -13
- package/dist/chunks/{repository-cache-x0vh4z3y.js → git-gzjdj5j0.js} +26 -26
- package/dist/chunks/{repository-cache-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-8n5abwtw.js → git-ha607pgt.js} +6 -6
- package/dist/chunks/{repository-cache-zf6k16wx.js → git-hg9h6169.js} +6 -6
- package/dist/chunks/{repository-cache-bqjmek8f.js → git-hgkqfzfv.js} +8 -8
- package/dist/chunks/{repository-cache-bsxd6m7c.js → git-hncv6x49.js} +7 -7
- package/dist/chunks/{repository-cache-8aaqm6qj.js → git-hpfvhvya.js} +8 -8
- package/dist/chunks/{repository-cache-etqwhcmh.js → git-hrtjndpd.js} +11 -11
- package/dist/chunks/{repository-cache-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-n7d88tpn.js → git-jexxy024.js} +3 -3
- package/dist/chunks/{repository-cache-4pmjbv1q.js → git-jgb2hz60.js} +28 -28
- package/dist/chunks/{repository-cache-j5w2yx54.js → git-jkp0d30b.js} +6 -6
- package/dist/chunks/{repository-cache-5pm33tn0.js → git-jy3rwz12.js} +22 -22
- package/dist/chunks/{repository-cache-ydgy0jv4.js → git-k0nnq3t9.js} +6 -6
- package/dist/chunks/{repository-cache-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-t098exxm.js → git-k6k470b6.js} +33 -33
- package/dist/chunks/{repository-cache-cb680df9.js → git-k9gchh7r.js} +9 -9
- package/dist/chunks/{repository-cache-4cxwmwzv.js → git-kavy5er9.js} +8 -8
- package/dist/chunks/{repository-cache-2nsj23ry.js → git-kfn1shxw.js} +15 -15
- package/dist/chunks/{repository-cache-d858xzj7.js → git-m0r31qfn.js} +4 -4
- package/dist/chunks/{repository-cache-8451t691.js → git-m0s4j0vx.js} +28 -28
- package/dist/chunks/{repository-cache-ckgjktd6.js → git-m11dv875.js} +29 -29
- package/dist/chunks/{repository-cache-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-m58kmhef.js → git-m58kmhef.js} +2 -2
- package/dist/chunks/{repository-cache-5m5yrm4y.js → git-m6f3t844.js} +8 -8
- package/dist/chunks/{repository-cache-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-da443km9.js → git-mbfyshdn.js} +91 -91
- package/dist/chunks/{repository-cache-1ygqh575.js → git-mfqp6xfm.js} +6 -6
- package/dist/chunks/{repository-cache-233fp5d4.js → git-mqpkp4kz.js} +24 -24
- package/dist/chunks/{repository-cache-46zxvhk8.js → git-n8d4mbxn.js} +13 -13
- package/dist/chunks/{repository-cache-h9mky73t.js → git-nap39a15.js} +11 -11
- package/dist/chunks/{repository-cache-0w8x28sf.js → git-ncqa4rgx.js} +39 -39
- package/dist/chunks/{repository-cache-8evgpfva.js → git-ngcyazz8.js} +11 -11
- package/dist/chunks/{repository-cache-r9q3mv0t.js → git-nr9pd330.js} +42 -42
- package/dist/chunks/{repository-cache-dzydyd9h.js → git-pfk2n936.js} +48 -48
- package/dist/chunks/{repository-cache-974w5737.js → git-phesrcgj.js} +16 -16
- package/dist/chunks/{repository-cache-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-n2ev6tjf.js → git-pk48rez6.js} +17 -17
- package/dist/chunks/{repository-cache-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-y0wxh08b.js → git-pq3e229m.js} +18 -18
- package/dist/chunks/{repository-cache-3w0edgpr.js → git-pztav6qe.js} +12 -12
- package/dist/chunks/{repository-cache-395chjsb.js → git-q8gb9q10.js} +32 -32
- package/dist/chunks/{repository-cache-54gykf4q.js → git-qc5tbdym.js} +7 -7
- package/dist/chunks/{repository-cache-f453btn2.js → git-qcekwvdg.js} +10 -10
- package/dist/chunks/{repository-cache-xct5fsjt.js → git-qfgc2m2j.js} +22 -22
- package/dist/chunks/{repository-cache-vxhhv58t.js → git-qfm24y6p.js} +24 -24
- package/dist/chunks/{repository-cache-57kcybrc.js → git-qjfqjtp6.js} +5 -5
- package/dist/chunks/{repository-cache-1kr9zwgv.js → git-qmwqscpd.js} +20 -20
- package/dist/chunks/{repository-cache-1f653fp7.js → git-qq2m58t1.js} +24 -24
- package/dist/chunks/{repository-cache-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-qsr9synt.js → git-qvreyy9g.js} +5 -5
- package/dist/chunks/{repository-cache-2mfzxht7.js → git-qyj0qkkq.js} +5 -5
- package/dist/chunks/{repository-cache-mp2sm6hx.js → git-r2mgmrrq.js} +35 -35
- package/dist/chunks/{repository-cache-0qb7pa1n.js → git-ra0ft92r.js} +5 -5
- package/dist/chunks/{repository-cache-h26wjtqz.js → git-rantnw5e.js} +11 -11
- package/dist/chunks/{repository-cache-768tacq1.js → git-rd9ts5sq.js} +56 -56
- package/dist/chunks/{repository-cache-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-btec747f.js → git-rf80fxgj.js} +5 -5
- package/dist/chunks/{repository-cache-jpeemenq.js → git-rnnxe44a.js} +4 -4
- package/dist/chunks/{repository-cache-2y1vgr31.js → git-rsdkdfjj.js} +17 -17
- package/dist/chunks/{repository-cache-rnqxsqdw.js → git-s3dmvxak.js} +34 -34
- package/dist/chunks/{repository-cache-nt0m1awr.js → git-s3j81f4a.js} +18 -18
- package/dist/chunks/{repository-cache-vb911m41.js → git-s5fmfqw4.js} +20 -20
- package/dist/chunks/{repository-cache-srk5s9w6.js → git-s7xn4jw7.js} +20 -20
- package/dist/chunks/{repository-cache-t550f9t1.js → git-s8d7rejh.js} +4 -4
- package/dist/chunks/{repository-cache-ead3g9p8.js → git-s8zy8myc.js} +5 -5
- package/dist/chunks/{repository-cache-5etd2cz8.js → git-sbpew2a6.js} +13 -13
- package/dist/chunks/{repository-cache-hh9dckdz.js → git-t18acs6r.js} +15 -15
- package/dist/chunks/{repository-cache-wmsa3mqy.js → git-t1t9n6y4.js} +24 -24
- package/dist/chunks/{repository-cache-k1hwpwtt.js → git-t32n9cga.js} +15 -15
- package/dist/chunks/{repository-cache-194h8ws8.js → git-t5qhm49b.js} +1 -1
- package/dist/chunks/{repository-cache-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-806j49yq.js → git-tkmwgdpd.js} +7 -7
- package/dist/chunks/{repository-cache-cwapn2kk.js → git-tm9mtfcm.js} +18 -18
- package/dist/chunks/{repository-cache-wabdchgd.js → git-tpmcqqx3.js} +1 -1
- package/dist/chunks/{repository-cache-ffmrpess.js → git-ts95b2w6.js} +8 -8
- package/dist/chunks/{repository-cache-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-mspkneqr.js → git-v5fh98v6.js} +11 -11
- package/dist/chunks/{repository-cache-7xkvsncw.js → git-vavepvbb.js} +9 -9
- package/dist/chunks/{repository-cache-e9266ee7.js → git-ve3qrhhk.js} +22 -22
- package/dist/chunks/{repository-cache-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-22f357wt.js → git-vjjxy6yb.js} +9 -9
- package/dist/chunks/{repository-cache-rvb1ky6f.js → git-vkf44a78.js} +3 -3
- package/dist/chunks/{repository-cache-gm597rkn.js → git-vptfm5hv.js} +9 -9
- package/dist/chunks/{repository-cache-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-qte5z7bc.js → git-wbkyxrgf.js} +5 -5
- package/dist/chunks/{repository-cache-wd3x2cqz.js → git-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-cache-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-wk5z6jzv.js → git-wk5z6jzv.js} +2 -2
- package/dist/chunks/{repository-cache-bxntr1t7.js → git-wt2stqwd.js} +35 -35
- package/dist/chunks/{repository-cache-ray2z7pb.js → git-wvjdx0nk.js} +18 -18
- package/dist/chunks/{repository-cache-3556dn8t.js → git-wxyynt4w.js} +1 -1
- package/dist/chunks/{repository-cache-5xmatmkw.js → git-wzyvzam6.js} +21 -21
- package/dist/chunks/{repository-cache-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-dh57vbnz.js → git-x8sg340m.js} +37 -37
- package/dist/chunks/{repository-cache-0mgqdngq.js → git-xa1geypd.js} +34 -34
- package/dist/chunks/{repository-cache-drwq78ky.js → git-xfkkasph.js} +4 -4
- package/dist/chunks/{repository-cache-1cn3ven4.js → git-xjqdvhz2.js} +4 -4
- package/dist/chunks/{repository-cache-xkntkrq7.js → git-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-cache-qc1x1f66.js → git-xnd5ej3q.js} +5 -5
- package/dist/chunks/{repository-cache-jq8b4me5.js → git-xqq4j1ks.js} +12 -12
- package/dist/chunks/{repository-cache-57ez7d0k.js → git-xxhb4jr7.js} +9 -9
- package/dist/chunks/{repository-cache-1mv2y61c.js → git-xzcsrrr7.js} +10 -10
- package/dist/chunks/{repository-cache-cy6ws55e.js → git-y0k7ncdy.js} +18 -18
- package/dist/chunks/{repository-cache-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-w957gz27.js → git-y6se903k.js} +11 -11
- package/dist/chunks/{repository-cache-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{repository-cache-m3zza4qd.js → git-yg6nt6v4.js} +8 -8
- package/dist/chunks/{repository-cache-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-s4enseaf.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-cache-6x1xjyfa.js → git-ysypevm1.js} +10 -10
- package/dist/chunks/{repository-cache-rf6qq5pr.js → git-yxf2kahc.js} +9 -9
- package/dist/chunks/{repository-cache-wwf55qdz.js → git-yztfb3pz.js} +28 -28
- package/dist/chunks/{repository-cache-z07pqspn.js → git-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-cache-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-29x78va6.js → git-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-cache-dgg5hry3.js → git-z6p0ftv1.js} +16 -16
- package/dist/chunks/{repository-cache-b2nsx1md.js → git-z7agxk7e.js} +24 -24
- package/dist/chunks/{repository-cache-h9rbv32p.js → git-z8bsjf0y.js} +3 -3
- package/dist/chunks/{repository-cache-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-k0dvd39k.js → git-zfx54h0g.js} +9 -9
- package/dist/chunks/{repository-cache-m3txq9h1.js → git-zmdb4gxh.js} +5 -5
- package/dist/chunks/{repository-cache-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-6bkwpg0x.js → git-zw63bdmn.js} +12 -12
- package/dist/chunks/{repository-cache-zxq2ej10.js → git-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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +92 -92
- package/dist/v1/config/permission.js +5 -5
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-cache-4pfd6v8k.js +0 -507
- package/dist/chunks/repository-cache-eygf1jp4.js +0 -252
- package/dist/chunks/repository-cache-pdhzdjhf.js +0 -26
- package/dist/chunks/repository-cache-v1faaxn9.js +0 -18
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./git-6t298p2h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service73,
|
|
16
|
+
node77
|
|
17
|
+
} from "./git-d10sr3ce.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service52,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node55,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service52 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service73;
|
|
110
|
+
return Service52.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node55 = makeGlobalNode({
|
|
171
|
+
service: Service52,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node77]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service52, isError2, validateBranch2, node55, exports_repository_cache };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-4v7yaj9r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node43
|
|
13
|
+
} from "./git-9snwjxvr.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-dk17fbv1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service35,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node39
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service35 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service35, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service40;
|
|
68
|
+
return Service35.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make21({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node39 = makeLocationNode({ service: Service35, layer: layer11, deps: [node43] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service35, layer11, node39, exports_instructions4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./git-eqvftjbn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service19
|
|
9
|
+
} from "./git-s3j81f4a.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-a5ttg10t.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-4xyzmsba.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input4,
|
|
36
|
+
Plugin: () => Plugin39,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name4,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name4 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input4 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin39 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service12;
|
|
62
|
-
const access = yield*
|
|
62
|
+
const access = yield* Service19;
|
|
63
63
|
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name4,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input4,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin48 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent3 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name4, Input4, Plugin39, toModelContent3, exports_read };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-gcvc8aqa.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9mv39jdx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node53
|
|
12
|
+
} from "./git-ffk3tnaf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node51
|
|
16
|
+
} from "./git-jkp0d30b.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./git-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service46
|
|
26
|
+
} from "./git-dhmh7aw6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node75
|
|
30
|
+
} from "./git-z6p0ftv1.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-xnd5ej3q.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./git-c1ezrmqj.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./git-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service45,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer18,
|
|
47
|
+
node: () => node49,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service45 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service71;
|
|
64
|
+
const instances = yield* Service48;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service50;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make17({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node49 = makeGlobalNode({
|
|
127
|
+
service: Service45,
|
|
128
|
+
layer: layer18,
|
|
129
|
+
deps: [node75, node51, node87, node88, node53]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service32, Service32.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service45, terminal2, layer18, node49, noopLayer2, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-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: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
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 Service37 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(Service37, 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(Service26, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service37.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = 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 node41 = makeGlobalNode({ service: Service37, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service37, makeLayer2, layer13, node41, exports_model_transport };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service59,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured10,
|
|
@@ -21,9 +21,9 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node62,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service59 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service59.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured10(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service59, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node62 = configured10();
|
|
213
213
|
|
|
214
|
-
export { Options10,
|
|
214
|
+
export { Options10, Service59, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node62, exports_select };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make17
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make17 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make17, exports_run_coordinator };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|