@opencode/core 2.0.14 → 2.0.15
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 -82
- package/dist/aisdk-native.js +89 -88
- package/dist/aisdk.js +94 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -72
- package/dist/chunks/{model-resolver-4b6qd0e2.js → location-04mw5jg5.js} +3 -3
- package/dist/chunks/{model-resolver-pmt63s4b.js → location-0810149y.js} +23 -23
- package/dist/chunks/{model-resolver-gnemeed9.js → location-0jgcnqr4.js} +40 -33
- package/dist/chunks/{model-resolver-atazjj4k.js → location-0k6bkn72.js} +3 -3
- package/dist/chunks/{model-resolver-zga4qn8p.js → location-0kxfmfxf.js} +13 -13
- package/dist/chunks/{model-resolver-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/location-0tmnpbjy.js +89 -0
- package/dist/chunks/{model-resolver-ytfssxsq.js → location-15y6myyc.js} +25 -25
- package/dist/chunks/{model-resolver-6a9wqxav.js → location-15ywfmbg.js} +27 -27
- package/dist/chunks/{model-resolver-w1k39n5e.js → location-18s9r5gn.js} +5 -8
- package/dist/chunks/{model-resolver-j028xdjb.js → location-1bbkgx8g.js} +3 -3
- package/dist/chunks/{model-resolver-4arb9zza.js → location-1dangqhw.js} +8 -8
- package/dist/chunks/{model-resolver-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-rweywjj1.js → location-1twdgbjf.js} +19 -19
- package/dist/chunks/{model-resolver-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-q3t37ft6.js → location-256nx13v.js} +3 -3
- package/dist/chunks/{model-resolver-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-3r3a85bw.js → location-2f7sk49n.js} +14 -14
- package/dist/chunks/{model-resolver-g0kbvjej.js → location-2n8vgttj.js} +24 -24
- package/dist/chunks/{model-resolver-7073r8ra.js → location-2p24pe68.js} +46 -46
- package/dist/chunks/{model-resolver-pk8w8bk6.js → location-2p5y98w0.js} +6 -6
- package/dist/chunks/{model-resolver-4wv1b6rs.js → location-2pnnswbv.js} +4 -4
- package/dist/chunks/{model-resolver-bwk58cjx.js → location-2prhyday.js} +23 -23
- package/dist/chunks/{model-resolver-tz2bjj40.js → location-2qp6y8xf.js} +5 -5
- package/dist/chunks/{model-resolver-mdm19ygt.js → location-2vvgwsdm.js} +20 -20
- package/dist/chunks/{model-resolver-fb5x04t9.js → location-2ys44scz.js} +12 -12
- package/dist/chunks/{model-resolver-4perdbh7.js → location-306693xq.js} +20 -20
- package/dist/chunks/{model-resolver-spf3as2g.js → location-3124xjv5.js} +8 -8
- package/dist/chunks/{model-resolver-yx9ma9ke.js → location-31723wk9.js} +17 -17
- package/dist/chunks/{model-resolver-76h15cea.js → location-3172pg9v.js} +15 -15
- package/dist/chunks/{model-resolver-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
- package/dist/chunks/{model-resolver-twg0f83k.js → location-34c7v6d4.js} +1 -0
- package/dist/chunks/{model-resolver-mty6m7w9.js → location-358yawqv.js} +26 -26
- package/dist/chunks/{model-resolver-m7t37vek.js → location-35r86gx7.js} +2 -2
- package/dist/chunks/{model-resolver-sfn11g7f.js → location-3a58h9a4.js} +69 -69
- package/dist/chunks/{model-resolver-54t47avc.js → location-3d2kdets.js} +9 -9
- package/dist/chunks/{model-resolver-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-fj98xnxf.js → location-3rbdcc49.js} +25 -25
- package/dist/chunks/{model-resolver-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-zgyv5f7t.js → location-3t63r8vy.js} +8 -8
- package/dist/chunks/{model-resolver-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-vtr3qy6y.js → location-3yfr3ttv.js} +9 -9
- package/dist/chunks/{model-resolver-0q0f95c6.js → location-3zsf4n22.js} +3 -1
- package/dist/chunks/{model-resolver-44h5tttr.js → location-4dgbcxzg.js} +4 -4
- package/dist/chunks/{model-resolver-0tc3z27w.js → location-4qjz8wfv.js} +27 -27
- package/dist/chunks/{model-resolver-2fgn2we9.js → location-4sn99hha.js} +5 -5
- package/dist/chunks/{model-resolver-xbtb5td3.js → location-4ywqwb3e.js} +10 -10
- package/dist/chunks/{model-resolver-4k3f784t.js → location-512dnrra.js} +9 -9
- package/dist/chunks/{model-resolver-z9mxambq.js → location-52mpv69t.js} +10 -10
- package/dist/chunks/{model-resolver-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-wwxnzhtj.js → location-5dyz4swx.js} +20 -20
- package/dist/chunks/{model-resolver-fxbjtjnd.js → location-5ekn9679.js} +7 -7
- package/dist/chunks/{model-resolver-ggdjqpaj.js → location-5em5jamf.js} +15 -15
- package/dist/chunks/{model-resolver-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-1s3p39g4.js → location-6anwy9fs.js} +6 -6
- package/dist/chunks/{model-resolver-hj6m6sww.js → location-6jbefxhr.js} +26 -26
- package/dist/chunks/{model-resolver-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-1vpcg86p.js → location-6sftkhr6.js} +15 -15
- package/dist/chunks/{model-resolver-6wjgjjys.js → location-6z9mwsmt.js} +24 -24
- package/dist/chunks/{model-resolver-bgpjdstn.js → location-78jgv2cz.js} +1 -1
- package/dist/chunks/{model-resolver-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-fcrkznn8.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-dm8zbqys.js → location-7pqgzsme.js} +16 -16
- package/dist/chunks/{model-resolver-begh0jjd.js → location-7tpcrxhs.js} +19 -19
- package/dist/chunks/{model-resolver-tk3x1716.js → location-7tvzmp5f.js} +15 -15
- package/dist/chunks/{model-resolver-pqfrnb1v.js → location-7w0t4dm2.js} +9 -9
- package/dist/chunks/{model-resolver-yr3ev74z.js → location-7yca83g1.js} +14 -14
- package/dist/chunks/{model-resolver-cdfabfzn.js → location-826nay5f.js} +41 -41
- package/dist/chunks/{model-resolver-hnkzxtsm.js → location-85skx0n5.js} +27 -27
- package/dist/chunks/{model-resolver-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-1k2f24wg.js → location-8ec97xvv.js} +9 -9
- package/dist/chunks/{model-resolver-aqe8m42w.js → location-8ffpk8ek.js} +26 -26
- package/dist/chunks/{model-resolver-z4068eyq.js → location-8fyqdzgp.js} +11 -11
- package/dist/chunks/{model-resolver-yp71q2zj.js → location-8kc8r484.js} +30 -30
- package/dist/chunks/{model-resolver-g83zqadm.js → location-8py9cb08.js} +1 -1
- package/dist/chunks/{model-resolver-cggswk6d.js → location-8s04dv6n.js} +14 -14
- package/dist/chunks/{model-resolver-nz2zjb46.js → location-8v97fgxy.js} +26 -26
- package/dist/chunks/location-8wj87zfr.js +14 -0
- package/dist/chunks/{model-resolver-p13zq1q5.js → location-92pk5wqe.js} +19 -19
- package/dist/chunks/{model-resolver-cfpkc3c9.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{model-resolver-q2g7hqn9.js → location-96dp4j9b.js} +91 -90
- package/dist/chunks/{model-resolver-xfv3pavf.js → location-9qc6n929.js} +27 -27
- package/dist/chunks/{model-resolver-cb3fxghj.js → location-a64frenn.js} +3 -3
- package/dist/chunks/{model-resolver-t3q6jrjx.js → location-a6zkqr4m.js} +15 -15
- package/dist/chunks/{model-resolver-zvwz45r0.js → location-a881zpfh.js} +9 -9
- package/dist/chunks/{model-resolver-23ve48d7.js → location-aa2h7fmm.js} +36 -36
- package/dist/chunks/{model-resolver-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-bk0hfdtk.js → location-ae4pezjx.js} +56 -56
- package/dist/chunks/{model-resolver-zz8q6pd3.js → location-agc1sn7c.js} +22 -21
- package/dist/chunks/{model-resolver-bzgcn0jp.js → location-ajdjch6h.js} +9 -9
- package/dist/chunks/{model-resolver-pmr4s4kc.js → location-an7cqtb7.js} +4 -4
- package/dist/chunks/{model-resolver-9a7hdk7d.js → location-apd0xxcy.js} +11 -11
- package/dist/chunks/{model-resolver-vvge8z52.js → location-b3bw2nfz.js} +5 -5
- package/dist/chunks/{model-resolver-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-jx9zk2j8.js → location-bdmzfegv.js} +29 -29
- package/dist/chunks/{model-resolver-vj84vw6v.js → location-bh4p5r3h.js} +14 -14
- package/dist/chunks/{model-resolver-sd9tm8pe.js → location-c395zvtw.js} +19 -19
- package/dist/chunks/{model-resolver-tbjske3a.js → location-c5nmmnam.js} +17 -17
- package/dist/chunks/{model-resolver-pnc3prtr.js → location-c6mn7xyg.js} +27 -27
- package/dist/chunks/{model-resolver-v1n7f3bv.js → location-c6rpq5f1.js} +43 -43
- package/dist/chunks/{model-resolver-fpq9acqp.js → location-c8bydgjz.js} +6 -6
- package/dist/chunks/{model-resolver-f2f4fq37.js → location-cdc8dbba.js} +12 -12
- package/dist/chunks/location-ce7bf4ce.js +252 -0
- package/dist/chunks/{model-resolver-0qj8bs54.js → location-cf8rhbja.js} +35 -35
- package/dist/chunks/{model-resolver-6z91g84v.js → location-cje11ec7.js} +55 -55
- package/dist/chunks/{model-resolver-f828m53h.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{model-resolver-zst1va42.js → location-cte9ap30.js} +8 -8
- package/dist/chunks/{model-resolver-ycjxgkmn.js → location-cxrw2h6h.js} +33 -33
- package/dist/chunks/{model-resolver-ez8b3w29.js → location-d2kfejna.js} +13 -13
- package/dist/chunks/{model-resolver-txjphrd9.js → location-d6ex932k.js} +11 -11
- package/dist/chunks/{model-resolver-4jc5c4h4.js → location-dagkn99r.js} +3 -3
- package/dist/chunks/{model-resolver-wa5fn18k.js → location-db8cpbv4.js} +11 -11
- package/dist/chunks/{model-resolver-6mc00j80.js → location-dgpq7z8n.js} +28 -28
- package/dist/chunks/{model-resolver-f73rjn58.js → location-dhmh7aw6.js} +4 -4
- package/dist/chunks/{model-resolver-bjgp5qsh.js → location-dkgr3p4r.js} +8 -8
- package/dist/chunks/{model-resolver-hz1azbq1.js → location-dpwed560.js} +4 -3
- package/dist/chunks/{model-resolver-c488s98d.js → location-e23w9d35.js} +12 -12
- package/dist/chunks/{model-resolver-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-6219dr34.js → location-e5sbd26s.js} +4 -4
- package/dist/chunks/{model-resolver-gqx1px1s.js → location-e6asg1wm.js} +50 -50
- package/dist/chunks/{model-resolver-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-my074bcz.js → location-ek44vwmj.js} +52 -48
- package/dist/chunks/{model-resolver-1jqe3dpm.js → location-eq2jtcfw.js} +4 -4
- package/dist/chunks/{model-resolver-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-4xhhjths.js → location-etzz3kcr.js} +8 -8
- package/dist/chunks/{model-resolver-3fm5zfbn.js → location-exkxrshv.js} +17 -17
- package/dist/chunks/{model-resolver-b7hq92ze.js → location-fb3n4k1c.js} +5 -5
- package/dist/chunks/{model-resolver-1mz6qk5q.js → location-fpvyk3ge.js} +29 -29
- package/dist/chunks/{model-resolver-79qaa2kf.js → location-ft3hqk2c.js} +9 -9
- package/dist/chunks/{model-resolver-174jbkxj.js → location-fwz8j036.js} +8 -8
- package/dist/chunks/{model-resolver-g0445xdp.js → location-g0445xdp.js} +1 -1
- package/dist/chunks/{model-resolver-tx9w5tca.js → location-g1sxm558.js} +8 -8
- package/dist/chunks/{model-resolver-gg914723.js → location-g98nad6a.js} +17 -17
- package/dist/chunks/{model-resolver-fbfs1p3d.js → location-gbece2fh.js} +32 -32
- package/dist/chunks/{model-resolver-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-s4waqpsd.js → location-ge3bpktt.js} +15 -15
- package/dist/chunks/{model-resolver-thj49w3f.js → location-geebtqnp.js} +7 -7
- package/dist/chunks/{model-resolver-2wkarfxb.js → location-gr2tmdz7.js} +15 -15
- package/dist/chunks/{model-resolver-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-a7k9f908.js → location-gy60rj0z.js} +17 -17
- package/dist/chunks/{model-resolver-ed6vg7gg.js → location-h5gt9chz.js} +23 -23
- package/dist/chunks/{model-resolver-8pccpkv9.js → location-h6awxmcx.js} +12 -12
- package/dist/chunks/{model-resolver-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-6trryszd.js → location-hafm9y5m.js} +27 -27
- package/dist/chunks/{model-resolver-qyb91t3f.js → location-hcg5gfqa.js} +6 -6
- package/dist/chunks/{model-resolver-vm3q9gwz.js → location-hd8qv2ty.js} +9 -9
- package/dist/chunks/{model-resolver-2k6pk5vr.js → location-hpfbmb0d.js} +4 -4
- package/dist/chunks/{model-resolver-t6794rbq.js → location-hvtd657f.js} +32 -32
- package/dist/chunks/{model-resolver-hw06r73w.js → location-hypat1yv.js} +3 -3
- package/dist/chunks/{model-resolver-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-4skav2s8.js → location-j8tshh3j.js} +42 -42
- package/dist/chunks/location-jbs0jehe.js +26 -0
- package/dist/chunks/{model-resolver-fdv30zvt.js → location-jfqtm2ew.js} +7 -7
- package/dist/chunks/{model-resolver-5t68c6r6.js → location-jftkgdp0.js} +18 -18
- package/dist/chunks/{model-resolver-dtqg9ce1.js → location-jgttmm4a.js} +5 -5
- package/dist/chunks/{model-resolver-yjptyezs.js → location-jv01nqvq.js} +5 -5
- package/dist/chunks/{model-resolver-t44e5ekz.js → location-jv4eadh7.js} +5 -5
- package/dist/chunks/{model-resolver-y71avatq.js → location-jwcy2c2z.js} +4 -4
- package/dist/chunks/{model-resolver-4j9e7cf8.js → location-jzje5vrp.js} +19 -19
- package/dist/chunks/{model-resolver-mdjvh782.js → location-k906dc9m.js} +11 -11
- package/dist/chunks/{model-resolver-g190xswt.js → location-kk00bynn.js} +21 -21
- package/dist/chunks/{model-resolver-9erfw3e9.js → location-kpf5aqxw.js} +7 -7
- package/dist/chunks/{model-resolver-0rwy62px.js → location-kwj5scwb.js} +16 -16
- package/dist/chunks/{model-resolver-g36s099n.js → location-kx0rdwde.js} +11 -11
- package/dist/chunks/{model-resolver-kckn9zrm.js → location-kxqn5q5s.js} +18 -18
- package/dist/chunks/{model-resolver-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-jca4demv.js → location-m7va1g8x.js} +2 -2
- package/dist/chunks/{model-resolver-x9mtwtp0.js → location-m9g140gf.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-44ke2mar.js → location-mmr7bq34.js} +8 -8
- package/dist/chunks/{model-resolver-gatkcwyt.js → location-mtg5e72x.js} +14 -14
- package/dist/chunks/{model-resolver-bha4atvq.js → location-mvksx64m.js} +4 -4
- package/dist/chunks/{model-resolver-9n0wq1sz.js → location-n793kqf0.js} +10 -10
- package/dist/chunks/{model-resolver-5qkxfyep.js → location-n8c291r7.js} +6 -6
- package/dist/chunks/location-n95b3jav.js +18 -0
- package/dist/chunks/{model-resolver-bktrs35w.js → location-n9awvp43.js} +38 -38
- package/dist/chunks/{model-resolver-zdewk29h.js → location-neb0pg0h.js} +5 -5
- package/dist/chunks/{model-resolver-4hndnerf.js → location-nf6tfn93.js} +3 -3
- package/dist/chunks/{model-resolver-bp7re7fs.js → location-nmc8s8ga.js} +19 -19
- package/dist/chunks/{model-resolver-c9fwgwbn.js → location-np8489tv.js} +14 -14
- package/dist/chunks/{model-resolver-whxapjwv.js → location-npk9ncrr.js} +9 -9
- package/dist/chunks/{model-resolver-nqpj164e.js → location-ny0mz096.js} +20 -20
- package/dist/chunks/{model-resolver-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{model-resolver-fyrmx6v5.js → location-p9n0sz6q.js} +19 -19
- package/dist/chunks/{model-resolver-vqpavwsp.js → location-pdgv857h.js} +10 -10
- package/dist/chunks/{model-resolver-7kpff7kp.js → location-pghvqat4.js} +12 -12
- package/dist/chunks/{model-resolver-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-gf10bg2q.js → location-pmh8g6yq.js} +11 -11
- package/dist/chunks/{model-resolver-k0t2epba.js → location-pvat10bb.js} +11 -11
- package/dist/chunks/{model-resolver-z2pn9625.js → location-pxs69nmc.js} +6 -6
- package/dist/chunks/{model-resolver-kstfjgce.js → location-qdm92ydp.js} +16 -16
- package/dist/chunks/{model-resolver-hk8smxzn.js → location-qfe26hq3.js} +87 -87
- package/dist/chunks/{model-resolver-24dd53tp.js → location-qg0jgkcp.js} +9 -9
- package/dist/chunks/{model-resolver-yghd6nht.js → location-qmr67b2d.js} +13 -13
- package/dist/chunks/{model-resolver-03tc8n66.js → location-qnqm58w1.js} +13 -13
- package/dist/chunks/{model-resolver-0x74s4t4.js → location-qpk3e0rf.js} +30 -30
- package/dist/chunks/{model-resolver-xfkkasph.js → location-qqeeq2t9.js} +7 -7
- package/dist/chunks/{model-resolver-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-a6gv4brf.js → location-qyagpvrp.js} +27 -27
- package/dist/chunks/{model-resolver-qyyztgt2.js → location-r1kjg1tc.js} +5 -5
- package/dist/chunks/{model-resolver-nz1y9rs9.js → location-r1vfcwav.js} +26 -26
- package/dist/chunks/{model-resolver-ppvh1dqe.js → location-r2cbgwrp.js} +14 -14
- package/dist/chunks/{model-resolver-ckd8zaaf.js → location-r99pq75w.js} +24 -24
- package/dist/chunks/{model-resolver-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-ycwdbjxs.js → location-rfbkd05a.js} +5 -5
- package/dist/chunks/{model-resolver-cynj0k86.js → location-rgtjpwpw.js} +3 -3
- package/dist/chunks/{model-resolver-eaj1djv9.js → location-rhjbct0v.js} +8 -8
- package/dist/chunks/{model-resolver-mv0cq2z8.js → location-rhjkpe6e.js} +8 -8
- package/dist/chunks/{model-resolver-cb5jyev7.js → location-rk8yrdje.js} +22 -22
- package/dist/chunks/{model-resolver-d14vprx8.js → location-rnghhd3g.js} +10 -10
- package/dist/chunks/{model-resolver-7bn4xdzk.js → location-rvhvw5j9.js} +181 -181
- package/dist/chunks/{model-resolver-s0hza5ac.js → location-s0esgemt.js} +4 -4
- package/dist/chunks/{model-resolver-vdz29p4n.js → location-s2y6cwc9.js} +35 -35
- package/dist/chunks/{model-resolver-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-hhh4a54a.js → location-s92vr3t8.js} +35 -35
- package/dist/chunks/{model-resolver-5a56x6pe.js → location-s9r6cqpa.js} +3 -3
- package/dist/chunks/{model-resolver-x9hfrad7.js → location-saawvakp.js} +13 -13
- package/dist/chunks/{model-resolver-h8h70yyk.js → location-sj7g5k2t.js} +5 -5
- package/dist/chunks/{model-resolver-4fbyhaeh.js → location-svhm0fyq.js} +4 -4
- package/dist/chunks/{model-resolver-pdwdsh5k.js → location-t0b0bsey.js} +11 -11
- package/dist/chunks/{model-resolver-eg6f78tx.js → location-t5ewrtsm.js} +9 -9
- package/dist/chunks/{model-resolver-4z2468ba.js → location-t5z4ehj3.js} +11 -11
- package/dist/chunks/{model-resolver-g0jvtwam.js → location-t880hhr6.js} +33 -33
- package/dist/chunks/{model-resolver-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-gxa9nk0m.js → location-tb273c1p.js} +29 -29
- package/dist/chunks/{model-resolver-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-pqvm91z0.js → location-tdkr4fjp.js} +41 -41
- package/dist/chunks/{model-resolver-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-dngkxtp1.js → location-tqzp8tzb.js} +3 -3
- package/dist/chunks/{model-resolver-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-500tb9th.js → location-vbz4mrgg.js} +44 -38
- package/dist/chunks/{model-resolver-9mxycm4n.js → location-vdwcy635.js} +15 -15
- package/dist/chunks/{model-resolver-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/location-vg9ntks0.js +503 -0
- package/dist/chunks/{model-resolver-tg3zms68.js → location-vh4x57nh.js} +32 -32
- package/dist/chunks/{model-resolver-nx8b8w69.js → location-vhv9377y.js} +5 -5
- package/dist/chunks/{model-resolver-njgrmpnq.js → location-vjn4w5j0.js} +12 -12
- package/dist/chunks/{model-resolver-qh2rvgcy.js → location-vp932wpr.js} +26 -26
- package/dist/chunks/{model-resolver-0vhxqftd.js → location-vs030v48.js} +6 -4
- package/dist/chunks/{model-resolver-2ky1fxdg.js → location-vssdr3c7.js} +14 -14
- package/dist/chunks/{model-resolver-tbz0fdvh.js → location-vtxr0yy2.js} +6 -5
- package/dist/chunks/{model-resolver-k64bnwpa.js → location-vxyzwx8s.js} +8 -8
- package/dist/chunks/{model-resolver-818pfwc9.js → location-vyrd71eq.js} +11 -11
- package/dist/chunks/{model-resolver-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-gyxcggba.js → location-w3z8akkh.js} +44 -44
- package/dist/chunks/{model-resolver-e4s55qb8.js → location-w63jt7y5.js} +12 -12
- package/dist/chunks/{model-resolver-feqg3r3v.js → location-w747ydy6.js} +28 -28
- package/dist/chunks/{model-resolver-qa42b0qm.js → location-w9gpp3gx.js} +28 -28
- package/dist/chunks/{model-resolver-8p4f9s12.js → location-wd3x2cqz.js} +3 -2
- package/dist/chunks/{model-resolver-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-zz841dsp.js → location-wk3hxpq4.js} +17 -17
- package/dist/chunks/{model-resolver-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-9f502qc3.js → location-x2z8ar3h.js} +23 -23
- package/dist/chunks/{model-resolver-cz7kh7dr.js → location-xcrt1tny.js} +33 -33
- package/dist/chunks/{model-resolver-6jd6xyvr.js → location-xfjpae9m.js} +27 -27
- package/dist/chunks/{model-resolver-tpagyfdb.js → location-xhk8n0yf.js} +56 -37
- package/dist/chunks/{model-resolver-h01nhy7h.js → location-xhyq1prs.js} +4 -4
- package/dist/chunks/{model-resolver-58jf3t5q.js → location-xq3yw8dy.js} +51 -51
- package/dist/chunks/{model-resolver-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-7edpsxsq.js → location-y6zcy5jv.js} +22 -22
- package/dist/chunks/{model-resolver-xct4z947.js → location-y7as1a2d.js} +37 -37
- package/dist/chunks/{model-resolver-gmjjhz4f.js → location-ygg1f209.js} +7 -7
- package/dist/chunks/{model-resolver-r8xr0va3.js → location-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-84zcxbc9.js → location-yq14pbr7.js} +5 -5
- package/dist/chunks/{model-resolver-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yt0fqk68.js → location-yt0fqk68.js} +2 -2
- package/dist/chunks/{model-resolver-qvb3nf84.js → location-yvvvp4gn.js} +8 -8
- package/dist/chunks/{model-resolver-7entrr9d.js → location-yz4rntjy.js} +33 -33
- package/dist/chunks/{model-resolver-a1bz86dw.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{model-resolver-h90v2x9d.js → location-z0aj456m.js} +4 -4
- package/dist/chunks/{model-resolver-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-38xyry6s.js → location-z1cdyrqr.js} +35 -35
- package/dist/chunks/{model-resolver-s96k9d5p.js → location-z5qed6cr.js} +43 -31
- package/dist/chunks/{model-resolver-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-d5fw341f.js → location-zfa7ynd8.js} +20 -20
- package/dist/chunks/{model-resolver-sk1h1qsj.js → location-zgw6fgh0.js} +5 -5
- package/dist/chunks/{model-resolver-9vn92ra1.js → location-zm32ajz2.js} +10 -10
- package/dist/chunks/{model-resolver-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -80
- package/dist/config/discovery.js +82 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -105
- package/dist/config/plugin/agent.js +125 -124
- package/dist/config/plugin/command.js +214 -213
- package/dist/config/plugin/compaction.js +162 -161
- package/dist/config/plugin/compatibility.js +141 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -123
- package/dist/config/plugin/image.js +123 -122
- package/dist/config/plugin/instruction.js +90 -89
- package/dist/config/plugin/location-watcher.js +125 -124
- package/dist/config/plugin/mcp.js +132 -131
- package/dist/config/plugin/policy.js +124 -123
- package/dist/config/plugin/provider.js +123 -122
- package/dist/config/plugin/reference.js +125 -124
- package/dist/config/plugin/shell.js +125 -124
- package/dist/config/plugin/skill-file.js +102 -101
- package/dist/config/plugin/skill.js +144 -143
- package/dist/config/plugin/snapshot.js +123 -122
- package/dist/config/plugin/source.js +126 -125
- package/dist/config/plugin/tool-output.js +125 -124
- package/dist/config/plugin/websearch.js +124 -123
- package/dist/config/plugin/worktree.js +125 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -84
- package/dist/database/database.js +66 -65
- 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 +6 -0
- package/dist/database/migration.gen.js +49 -48
- package/dist/database/migration.js +51 -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 +80 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -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 +93 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -73
- package/dist/file-access.js +104 -103
- package/dist/file-mutation.js +94 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -98
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -101
- package/dist/form.js +82 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -86
- package/dist/generate.js +101 -100
- 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 -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 +361 -360
- package/dist/instruction-discovery.js +85 -84
- package/dist/instructions/builtins.js +87 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -85
- package/dist/job.js +79 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -72
- package/dist/location-activity.js +135 -134
- package/dist/location-lifecycle.js +107 -105
- package/dist/location-mutation.js +104 -103
- package/dist/location-service-map.js +86 -85
- package/dist/location-services.js +358 -357
- package/dist/location.js +85 -84
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -90
- package/dist/mcp/index.js +106 -105
- package/dist/mcp/instructions.js +128 -127
- package/dist/mcp/oauth.js +78 -77
- package/dist/mcp/stdio.js +90 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -90
- package/dist/model-resolver.js +98 -97
- package/dist/model.js +100 -99
- package/dist/models-dev.js +107 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -74
- package/dist/plugin/agent.js +104 -103
- package/dist/plugin/command.js +101 -100
- package/dist/plugin/compaction.js +133 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +332 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -89
- package/dist/plugin/provider/azure.js +122 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -118
- package/dist/plugin/provider/digitalocean.js +93 -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 +93 -92
- package/dist/plugin/provider/gitlab.js +91 -90
- package/dist/plugin/provider/google-vertex.js +90 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -76
- package/dist/plugin/provider/lmstudio.js +120 -119
- package/dist/plugin/provider/modal.js +92 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -121
- package/dist/plugin/provider/openai.js +94 -93
- package/dist/plugin/provider/opencode.js +94 -93
- package/dist/plugin/provider/openrouter.js +91 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -77
- package/dist/plugin/provider/prompt-cache-key.js +90 -89
- package/dist/plugin/provider/sap-ai-core.js +91 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -89
- package/dist/plugin/provider/vllm.js +122 -121
- package/dist/plugin/provider/xai.js +91 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -159
- package/dist/plugin/sdk.js +72 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -85
- package/dist/plugin/vcs/hg.js +86 -85
- package/dist/plugin/warming.js +119 -118
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -85
- package/dist/provider.js +101 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -85
- package/dist/reference/instructions.js +87 -86
- package/dist/reference.js +89 -88
- package/dist/repository-cache.js +81 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -94
- package/dist/rpc.js +86 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -73
- package/dist/session/compaction.js +132 -131
- package/dist/session/context.js +152 -151
- package/dist/session/diff.js +88 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -223
- package/dist/session/execution.js +128 -127
- package/dist/session/generate.js +151 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -129
- package/dist/session/projector.js +86 -85
- package/dist/session/prompt.js +105 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -111
- package/dist/session/runner/step.js +124 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -171
- package/dist/session/shell.js +138 -137
- package/dist/session/skill.js +103 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -72
- package/dist/session/store.js +85 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -153
- package/dist/session/to-session-error.js +111 -110
- package/dist/session/transfer.js +220 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -215
- 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 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -104
- package/dist/skill.js +112 -111
- package/dist/snapshot.js +91 -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 +127 -126
- package/dist/tool/plugin/edit.js +120 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -123
- package/dist/tool/plugin/grep.js +124 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -121
- package/dist/tool/plugin/question.js +105 -104
- package/dist/tool/plugin/read.js +125 -124
- package/dist/tool/plugin/shell.js +217 -216
- package/dist/tool/plugin/skill.js +113 -112
- package/dist/tool/plugin/subagent.js +219 -218
- package/dist/tool/plugin/webfetch.js +112 -111
- package/dist/tool/plugin/websearch.js +114 -113
- package/dist/tool/plugin/write.js +120 -119
- package/dist/tool/read-filesystem.js +100 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/database/migration/20260923013825_project_time_active.d.ts +3 -0
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/project/schema.d.ts +5 -0
- package/dist/types/project/sql.d.ts +16 -0
- package/dist/types/project.d.ts +3 -0
- package/dist/types/session/provider-context.d.ts +2 -2
- package/dist/types/session/session.d.ts +3 -0
- package/dist/types/session.d.ts +4 -0
- package/dist/types/util/error-summary.d.ts +2 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -91
- package/dist/v1/config/permission.js +7 -7
- 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 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -88
- package/dist/websearch.js +84 -83
- package/dist/wellknown/plugin.js +76 -75
- package/dist/wellknown.js +79 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -88
- package/dist/worktree.js +94 -93
- package/package.json +9 -9
- package/dist/chunks/model-resolver-7q5q6wvp.js +0 -252
- package/dist/chunks/model-resolver-9bpdh39b.js +0 -65
- package/dist/chunks/model-resolver-9sh4wc5j.js +0 -18
- package/dist/chunks/model-resolver-qpq35ba3.js +0 -26
- package/dist/chunks/model-resolver-rz4nxkah.js +0 -503
- /package/dist/chunks/{model-resolver-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make18,
|
|
14
|
+
node: () => node61,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make18 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node61 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node61, exports_driver };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-2ys44scz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node75
|
|
7
|
+
} from "./location-6z9mwsmt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service6,
|
|
10
|
+
node7
|
|
11
|
+
} from "./location-c6mn7xyg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service39
|
|
14
|
+
} from "./location-n95b3jav.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node18,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-ny0mz096.js";
|
|
19
19
|
import {
|
|
20
20
|
Service5,
|
|
21
21
|
node6
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-g0445xdp.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-vg9ntks0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make3,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-3124xjv5.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
34
|
Service4,
|
|
35
35
|
node5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-7w0t4dm2.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service3,
|
|
39
|
+
node4
|
|
40
|
+
} from "./location-ajdjch6h.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
49
|
layer: () => layer3,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node2
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
128
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
-
const registry = yield*
|
|
129
|
+
const registry = yield* Service39;
|
|
130
130
|
const sdk = yield* Service4;
|
|
131
131
|
const instance = yield* Service5;
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
132
|
+
const sources = yield* Service6;
|
|
133
|
+
const modules = yield* make3();
|
|
134
|
+
const bus = yield* Service81;
|
|
135
|
+
const updates = yield* Service3;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
210
|
+
node18,
|
|
211
211
|
node5,
|
|
212
212
|
node6,
|
|
213
|
+
node7,
|
|
213
214
|
node4,
|
|
214
|
-
|
|
215
|
-
node87,
|
|
215
|
+
node85,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node75,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export { layer3,
|
|
227
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-8s04dv6n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./location-c6rpq5f1.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9qc6n929.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-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: () => Plugin31
|
|
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 Plugin31 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service70;
|
|
35
|
+
const location = yield* Service78;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -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 { Plugin31, exports_reference };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-256nx13v.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-ygg1f209.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mvksx64m.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-18s9r5gn.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isCheckpoint2,
|
|
3
3
|
decode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-18s9r5gn.js";
|
|
5
5
|
|
|
6
6
|
// src/session/runner/to-llm-message.ts
|
|
7
7
|
import {
|
|
8
|
+
Media,
|
|
8
9
|
Message,
|
|
9
10
|
ReasoningEfforts,
|
|
10
11
|
ToolCallPart,
|
|
@@ -15,8 +16,7 @@ import { fileURLToPath } from "url";
|
|
|
15
16
|
var imageMimes = new Set(["image/png", "image/jpeg", "image/gif", "image/webp"]);
|
|
16
17
|
var media = (file) => ({
|
|
17
18
|
type: "media",
|
|
18
|
-
|
|
19
|
-
data: file.data,
|
|
19
|
+
media: Media.base64(file.data, file.mime),
|
|
20
20
|
filename: file.name,
|
|
21
21
|
metadata: file.description === undefined ? undefined : { description: file.description }
|
|
22
22
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-apd0xxcy.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./location-t880hhr6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-gbece2fh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-z1cdyrqr.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service76;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-2ys44scz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-cje11ec7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info11,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service59,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node63,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info11 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service59 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service81;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service59.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node63 = makeLocationNode({
|
|
112
|
+
service: Service59,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node85]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info11, ID6, Name2, available2, toModelOutput3, prepare3, Service59, node63, exports_skill5, Event11 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service46, exports_runner };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./location-h5gt9chz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./location-c8bydgjz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-n95b3jav.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service49;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-vs030v48.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -41,6 +41,7 @@ function isRetryable2(error) {
|
|
|
41
41
|
case "InvalidRequest":
|
|
42
42
|
case "UnsupportedOperation":
|
|
43
43
|
case "NoRoute":
|
|
44
|
+
case "Timeout":
|
|
44
45
|
return false;
|
|
45
46
|
default: {
|
|
46
47
|
const exhaustive = error.reason;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service80,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service80 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service80.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|