@opencode/core 0.0.0-dev-20082 → 0.0.0-dev-20083
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/{mime-dfe8djrf.js → vcs-00z3vp5f.js} +4 -4
- package/dist/chunks/{mime-amgtyp96.js → vcs-0462xykd.js} +15 -15
- package/dist/chunks/vcs-06jg3mcb.js +26 -0
- package/dist/chunks/{mime-dtt66365.js → vcs-0ec8dtkw.js} +24 -24
- package/dist/chunks/{mime-emzh0g24.js → vcs-0ep74p5j.js} +25 -25
- package/dist/chunks/{mime-8wpn150k.js → vcs-0g4pshwm.js} +7 -7
- package/dist/chunks/{mime-sxzvkvgj.js → vcs-0jkw1j53.js} +6 -6
- package/dist/chunks/{mime-vw5a0rfv.js → vcs-0kh7mner.js} +2 -2
- package/dist/chunks/{mime-8cawjpeg.js → vcs-0ncwemsz.js} +84 -84
- package/dist/chunks/{mime-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0r7yqxbf.js → vcs-0r7yqxbf.js} +2 -2
- package/dist/chunks/{mime-q9s0hka4.js → vcs-11hhv0de.js} +4 -4
- package/dist/chunks/{mime-ec87kc5z.js → vcs-179189h4.js} +4 -4
- package/dist/chunks/{mime-1acjjqhc.js → vcs-1acjjqhc.js} +1 -1
- package/dist/chunks/{mime-eq1pz5kg.js → vcs-1bbkgx8g.js} +3 -3
- package/dist/chunks/{mime-bg87x2pg.js → vcs-1cwqwg0q.js} +13 -13
- package/dist/chunks/{mime-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-1rzq4h8b.js → vcs-1fjbjtrx.js} +4 -4
- package/dist/chunks/{mime-bshz36e2.js → vcs-1wvpkpe8.js} +36 -36
- package/dist/chunks/{mime-g2y161wv.js → vcs-1zqsf2j9.js} +8 -8
- package/dist/chunks/{mime-yk00c7b3.js → vcs-212c3bce.js} +11 -11
- package/dist/chunks/{mime-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2402vzrj.js → vcs-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-h877p9eh.js → vcs-28fp0q0g.js} +8 -8
- package/dist/chunks/{mime-t2cfyv1x.js → vcs-29cveazg.js} +11 -11
- package/dist/chunks/{mime-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-57ez7d0k.js → vcs-2fgn2we9.js} +9 -9
- package/dist/chunks/{mime-2xnfx9dh.js → vcs-2pas28zy.js} +20 -20
- package/dist/chunks/{mime-e8yv0hf3.js → vcs-2qgbqbzg.js} +9 -9
- package/dist/chunks/{mime-b95dy7zp.js → vcs-2v2a3t0h.js} +4 -4
- package/dist/chunks/{mime-5cmajn7h.js → vcs-2w88xg01.js} +6 -6
- package/dist/chunks/{mime-1ygqh575.js → vcs-33w4ejhs.js} +6 -6
- package/dist/chunks/{mime-82e83hjb.js → vcs-371gek70.js} +17 -17
- package/dist/chunks/{mime-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-bpcm8v83.js → vcs-3ktbe3hf.js} +9 -9
- package/dist/chunks/{mime-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-6rfetefd.js → vcs-48zrqm4j.js} +5 -5
- package/dist/chunks/{mime-ye8z0dg9.js → vcs-49qbn6ev.js} +11 -11
- package/dist/chunks/{mime-fp67s591.js → vcs-4a2h7ym7.js} +20 -20
- package/dist/chunks/{mime-evbat1kq.js → vcs-4gf9v735.js} +33 -33
- package/dist/chunks/{mime-1d35eqgr.js → vcs-51d8ehfy.js} +5 -5
- package/dist/chunks/{mime-ae0nwvy8.js → vcs-53fyba40.js} +4 -4
- package/dist/chunks/{mime-5s4prcyn.js → vcs-59sfag8d.js} +33 -33
- package/dist/chunks/{mime-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-5ekn9679.js → vcs-5ekn9679.js} +1 -1
- package/dist/chunks/{mime-209t9eg4.js → vcs-5h1bmfmz.js} +13 -13
- package/dist/chunks/{mime-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-kb6gw2zp.js → vcs-5qwkxp89.js} +4 -4
- package/dist/chunks/{mime-de35ch4m.js → vcs-5qyh9bdk.js} +11 -11
- package/dist/chunks/{mime-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-x5xe3x08.js → vcs-5x6205s3.js} +46 -46
- package/dist/chunks/{mime-skqqy3tc.js → vcs-63tqz9ht.js} +7 -7
- package/dist/chunks/{mime-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{mime-btb741xx.js → vcs-66pxgpaw.js} +4 -4
- package/dist/chunks/{mime-gqegm53c.js → vcs-68vyb3qc.js} +11 -11
- package/dist/chunks/{mime-00kjgt8x.js → vcs-6f31ra40.js} +30 -30
- package/dist/chunks/{mime-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-95demef3.js → vcs-6s2n83jy.js} +22 -22
- package/dist/chunks/{mime-2gw68b84.js → vcs-6vp0xhq8.js} +20 -20
- package/dist/chunks/{mime-170hdxs4.js → vcs-6wvz01fc.js} +4 -4
- package/dist/chunks/{mime-y5xqhydv.js → vcs-6xbspavk.js} +32 -32
- package/dist/chunks/{mime-ga3gdcep.js → vcs-6ysqs21a.js} +8 -8
- package/dist/chunks/{mime-fhz5gfgy.js → vcs-705e2ap1.js} +5 -5
- package/dist/chunks/{mime-z90jk03v.js → vcs-70e6w8tp.js} +24 -24
- package/dist/chunks/{mime-7p4zv7at.js → vcs-70y8djn2.js} +26 -26
- package/dist/chunks/{mime-afed7ext.js → vcs-74rrnwt7.js} +12 -12
- package/dist/chunks/{mime-rb662jkw.js → vcs-7bcdhp23.js} +12 -12
- package/dist/chunks/{mime-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-n1ka8r9d.js → vcs-7bp3xrzr.js} +4 -4
- package/dist/chunks/{mime-tgwh4g45.js → vcs-83w0ed2f.js} +3 -3
- package/dist/chunks/{mime-16q9e8vm.js → vcs-87h9va2t.js} +10 -10
- package/dist/chunks/{mime-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-v553wp33.js → vcs-8hwdgt3y.js} +48 -48
- package/dist/chunks/{mime-3t50tqxz.js → vcs-8nexc0bc.js} +15 -15
- package/dist/chunks/{mime-g51zwe1j.js → vcs-8pg7n18v.js} +30 -30
- package/dist/chunks/{mime-mdr8ar5f.js → vcs-8s1pmqcy.js} +12 -12
- package/dist/chunks/{mime-w92k2e0p.js → vcs-8sze2n9a.js} +4 -4
- package/dist/chunks/{mime-94ek1h2f.js → vcs-94ek1h2f.js} +2 -2
- package/dist/chunks/{mime-vtxr0yy2.js → vcs-9cyfspf3.js} +5 -5
- package/dist/chunks/{mime-dp1ryh00.js → vcs-9ed38v85.js} +18 -18
- package/dist/chunks/{mime-94qf5r5e.js → vcs-9hk1bndn.js} +11 -11
- package/dist/chunks/{mime-83m6sd17.js → vcs-a8ahxq4k.js} +4 -4
- package/dist/chunks/{mime-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-xmj1c5tj.js → vcs-ajnwywap.js} +25 -25
- package/dist/chunks/{mime-x5n162sr.js → vcs-ak2j0eh5.js} +13 -13
- package/dist/chunks/{mime-41km3kz5.js → vcs-ar5q60qm.js} +26 -26
- package/dist/chunks/{mime-7wny7pda.js → vcs-atp0am1p.js} +22 -22
- package/dist/chunks/{mime-wvjy0rkm.js → vcs-b3jbkr8y.js} +3 -3
- package/dist/chunks/{mime-ey8kmd5x.js → vcs-b5rdtc93.js} +18 -18
- package/dist/chunks/{mime-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-ekv8efyj.js → vcs-b7f8f75j.js} +11 -11
- package/dist/chunks/{mime-jpxt7vtw.js → vcs-bkx1af4z.js} +7 -7
- package/dist/chunks/{mime-4crc4jdm.js → vcs-bq4s4pe3.js} +5 -5
- package/dist/chunks/vcs-by5v678g.js +18 -0
- package/dist/chunks/{mime-vh73hc5m.js → vcs-c38rsp43.js} +31 -31
- package/dist/chunks/{mime-qms6mpje.js → vcs-c4r6rz4w.js} +20 -20
- package/dist/chunks/{mime-wskervgn.js → vcs-carqdbj5.js} +16 -16
- package/dist/chunks/{mime-xdk9p2qn.js → vcs-cavr175a.js} +21 -21
- package/dist/chunks/{mime-f2dxdeh3.js → vcs-ccy9qdqg.js} +20 -20
- package/dist/chunks/{mime-6r5c0w9g.js → vcs-ch08nsxs.js} +26 -26
- package/dist/chunks/{mime-ckecvw8r.js → vcs-ckecvw8r.js} +2 -2
- package/dist/chunks/{mime-d44j1b50.js → vcs-cvhqjk08.js} +15 -15
- package/dist/chunks/{mime-2vm2mn6r.js → vcs-d1wwhrg0.js} +26 -26
- package/dist/chunks/{mime-k8962brh.js → vcs-d216944b.js} +4 -4
- package/dist/chunks/{mime-zefpc43y.js → vcs-d43g2pfh.js} +19 -19
- package/dist/chunks/{mime-2bekqz3a.js → vcs-d5fw341f.js} +20 -20
- package/dist/chunks/{mime-7r6qf5r7.js → vcs-d5sgnwz6.js} +19 -19
- package/dist/chunks/{mime-r3q38ah7.js → vcs-dj6963t9.js} +12 -12
- package/dist/chunks/{mime-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{mime-2s2q4h4d.js → vcs-dtgdpacg.js} +3 -3
- package/dist/chunks/{mime-rf80fxgj.js → vcs-dtqg9ce1.js} +5 -5
- package/dist/chunks/{mime-ndz9h71m.js → vcs-e0mwe6e4.js} +6 -6
- package/dist/chunks/{mime-t550f9t1.js → vcs-eaj1djv9.js} +8 -8
- package/dist/chunks/{mime-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-1p7zzgff.js → vcs-emwnxg71.js} +32 -32
- package/dist/chunks/{mime-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{mime-d1r7fz6b.js → vcs-eswmeynf.js} +11 -11
- package/dist/chunks/{mime-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-ny1bawyf.js → vcs-f023s5x2.js} +15 -15
- package/dist/chunks/{mime-yew08yk0.js → vcs-f0wsx59q.js} +51 -51
- package/dist/chunks/{mime-ww3mp7jv.js → vcs-f2b6tz2e.js} +6 -6
- package/dist/chunks/{mime-3wrtxrr4.js → vcs-f6h44vt5.js} +6 -6
- package/dist/chunks/{mime-1fypxrxq.js → vcs-f8vk1c9x.js} +43 -43
- package/dist/chunks/{mime-1bpqmtaz.js → vcs-fhxa9dhj.js} +20 -20
- package/dist/chunks/{mime-1ef46ta4.js → vcs-fj1wtqbp.js} +13 -13
- package/dist/chunks/{mime-1nzs1dt7.js → vcs-fng9e0je.js} +6 -6
- package/dist/chunks/{mime-7tycp833.js → vcs-fpzpjdd6.js} +9 -9
- package/dist/chunks/{mime-h0cakgky.js → vcs-fv92jnq2.js} +7 -7
- package/dist/chunks/{mime-c8cch34d.js → vcs-fydev08n.js} +13 -13
- package/dist/chunks/{mime-k4q19yth.js → vcs-fzccyq97.js} +15 -15
- package/dist/chunks/{mime-5yzzbxa7.js → vcs-g0445xdp.js} +8 -8
- package/dist/chunks/{mime-dy59ndr5.js → vcs-g2m0x3mc.js} +60 -60
- package/dist/chunks/{mime-xw1kh6e4.js → vcs-g32kj6az.js} +26 -26
- package/dist/chunks/{mime-xswfpnnj.js → vcs-g3m22pds.js} +6 -6
- package/dist/chunks/{mime-qs001aqx.js → vcs-g8jasmdt.js} +11 -11
- package/dist/chunks/{mime-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-anq3081s.js → vcs-ggw2yz4k.js} +10 -10
- package/dist/chunks/{mime-77a7k1x9.js → vcs-gk2dbm5x.js} +32 -32
- package/dist/chunks/{mime-xjtpc5ew.js → vcs-gpds3780.js} +24 -24
- package/dist/chunks/{mime-dqm8k5gs.js → vcs-grng3ccv.js} +30 -30
- package/dist/chunks/{mime-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-35kmpahp.js → vcs-h01nhy7h.js} +4 -4
- package/dist/chunks/{mime-y6n4fsc2.js → vcs-h1j14yqf.js} +30 -30
- package/dist/chunks/{mime-a7hf18pz.js → vcs-h2s45jn8.js} +18 -18
- package/dist/chunks/{mime-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-4fvze959.js → vcs-hj6ewc9q.js} +41 -41
- package/dist/chunks/{mime-fcmgfk6f.js → vcs-hnsrqchr.js} +15 -15
- package/dist/chunks/{mime-m7x0jkmn.js → vcs-hszfjppb.js} +5 -5
- package/dist/chunks/{mime-mtxqaypk.js → vcs-hx2t9gj5.js} +88 -88
- package/dist/chunks/{mime-m9rvph0x.js → vcs-j29b5e8q.js} +10 -10
- package/dist/chunks/{mime-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-q970vn6j.js → vcs-jca4demv.js} +2 -2
- package/dist/chunks/{mime-qvzr2hby.js → vcs-jkp9xdnd.js} +47 -47
- package/dist/chunks/vcs-jrk41cqv.js +252 -0
- package/dist/chunks/{mime-hdzt82x2.js → vcs-jz5sxy2v.js} +6 -6
- package/dist/chunks/{mime-cjwramev.js → vcs-k0nnq3t9.js} +6 -6
- package/dist/chunks/{mime-k3c624dm.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{mime-2vs2nh1n.js → vcs-k76fn4kw.js} +4 -4
- package/dist/chunks/{mime-cf1secj6.js → vcs-kck3bqxg.js} +23 -23
- package/dist/chunks/{mime-j9j6vs9t.js → vcs-kgx5a6ff.js} +24 -24
- package/dist/chunks/{mime-qxatxkvx.js → vcs-kk0z3jeb.js} +9 -9
- package/dist/chunks/{mime-55b8r06m.js → vcs-kpa1ryd1.js} +67 -67
- package/dist/chunks/{mime-2s5q0hbn.js → vcs-ky2mdz05.js} +54 -54
- package/dist/chunks/{mime-9522f170.js → vcs-m0faxyms.js} +9 -9
- package/dist/chunks/{mime-2mfz3bef.js → vcs-m1na4e3g.js} +12 -12
- package/dist/chunks/{mime-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-p43tgfkg.js → vcs-m65w0hjp.js} +33 -33
- package/dist/chunks/{mime-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-6540dvt1.js → vcs-mdjrqw72.js} +7 -7
- package/dist/chunks/{mime-x6yn2080.js → vcs-me88mjxz.js} +22 -22
- package/dist/chunks/{mime-ydsngzkh.js → vcs-mhc8sq43.js} +3 -3
- package/dist/chunks/{mime-zsmwpmw6.js → vcs-mza9sdsq.js} +12 -12
- package/dist/chunks/{mime-86qzxe6p.js → vcs-n2srvep7.js} +4 -4
- package/dist/chunks/{mime-f0p6wgfs.js → vcs-n47f9j4d.js} +17 -17
- package/dist/chunks/{mime-x2hpphy2.js → vcs-nby89d84.js} +5 -5
- package/dist/chunks/{mime-bbjzvta2.js → vcs-nc17g1ks.js} +29 -29
- package/dist/chunks/{mime-39jcvt2n.js → vcs-nedh9485.js} +4 -4
- package/dist/chunks/{mime-b2vtx10y.js → vcs-ng4rtfaf.js} +32 -32
- package/dist/chunks/{mime-v6v677s0.js → vcs-nm2z9cct.js} +26 -26
- package/dist/chunks/{mime-ws8rf1n9.js → vcs-nsjjga1k.js} +19 -19
- package/dist/chunks/{mime-d2aac7k2.js → vcs-nxhqveyz.js} +5 -5
- package/dist/chunks/{mime-ajt4fata.js → vcs-nyvg2195.js} +5 -5
- package/dist/chunks/{mime-5bev5725.js → vcs-nz7rrxb0.js} +11 -11
- package/dist/chunks/{mime-2kdwgsh2.js → vcs-nzdcam8v.js} +16 -16
- package/dist/chunks/{mime-m6q70yxa.js → vcs-p0tapzan.js} +27 -27
- package/dist/chunks/{mime-m72tqvbf.js → vcs-pahxbg9p.js} +17 -17
- package/dist/chunks/{mime-m5mm7eg1.js → vcs-pbfpfpw9.js} +9 -9
- package/dist/chunks/{mime-p3vh2ta0.js → vcs-pjgby0gj.js} +12 -12
- package/dist/chunks/{mime-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-96hjzxkc.js → vcs-pkkm8try.js} +14 -14
- package/dist/chunks/{mime-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{mime-q2kneea3.js → vcs-pnvqzmvp.js} +15 -15
- package/dist/chunks/{mime-6hjx5zpb.js → vcs-prq7hedt.js} +9 -9
- package/dist/chunks/{mime-xy6tzccz.js → vcs-pv9maacy.js} +5 -5
- package/dist/chunks/{mime-gxvazm9p.js → vcs-q0szzxes.js} +11 -11
- package/dist/chunks/{mime-bc3t5yes.js → vcs-q1v1r1nw.js} +24 -24
- package/dist/chunks/{mime-44d35g97.js → vcs-q23rvkdr.js} +23 -23
- package/dist/chunks/{mime-fpnx24t4.js → vcs-q3t37ft6.js} +3 -3
- package/dist/chunks/{mime-ds0wtj4e.js → vcs-q7dd7m0y.js} +1 -1
- package/dist/chunks/{mime-xxc26qrd.js → vcs-qbazetqp.js} +18 -18
- package/dist/chunks/{mime-2k8khapm.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{mime-26nae1tf.js → vcs-qmy51sea.js} +15 -15
- package/dist/chunks/{mime-3w0fmcng.js → vcs-qr8csav2.js} +5 -5
- package/dist/chunks/{mime-1a12bnb5.js → vcs-qs56nzqh.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-xaqyyngn.js → vcs-qwqd8zme.js} +6 -6
- package/dist/chunks/{mime-qmqgtz8f.js → vcs-r2m716tb.js} +9 -9
- package/dist/chunks/{mime-ezyw3hyt.js → vcs-r3c4069c.js} +1 -1
- package/dist/chunks/{mime-h6r3nrb9.js → vcs-r55vasa2.js} +4 -4
- package/dist/chunks/{mime-k28tmd1k.js → vcs-r72p2pqe.js} +9 -9
- package/dist/chunks/{mime-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-qg0jgkcp.js → vcs-rhafb4aa.js} +9 -9
- package/dist/chunks/{mime-c1ckp43n.js → vcs-rhc0y5sn.js} +9 -9
- package/dist/chunks/{mime-hvjvz7ze.js → vcs-rkm1ygc2.js} +23 -23
- package/dist/chunks/{mime-eefhezaq.js → vcs-rsemhs2h.js} +179 -179
- package/dist/chunks/{mime-tggd67fe.js → vcs-rtg3pve1.js} +19 -19
- package/dist/chunks/{mime-z8c0yagb.js → vcs-rwpk0y3g.js} +29 -29
- package/dist/chunks/{mime-m9pdr671.js → vcs-ryfje2sk.js} +32 -32
- package/dist/chunks/{mime-k70wg4vh.js → vcs-rynhfk08.js} +3 -3
- package/dist/chunks/{mime-8ac1j38b.js → vcs-s3gwxvhs.js} +23 -23
- package/dist/chunks/{mime-xgnbgapz.js → vcs-s5xy3xb2.js} +3 -3
- package/dist/chunks/{mime-30vqxvem.js → vcs-srfk2ym8.js} +6 -6
- package/dist/chunks/{mime-mgmaefw5.js → vcs-svvemcs6.js} +5 -5
- package/dist/chunks/{mime-05ay0q20.js → vcs-sxetf54f.js} +36 -36
- package/dist/chunks/{mime-x9eqy100.js → vcs-t02k7490.js} +11 -11
- package/dist/chunks/{mime-fee1sgdn.js → vcs-t1ghz5t3.js} +30 -30
- package/dist/chunks/{mime-038cbjbn.js → vcs-t295fak2.js} +15 -15
- package/dist/chunks/{mime-4b4ywecx.js → vcs-t2r6r89t.js} +10 -10
- package/dist/chunks/{mime-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-89znhe33.js → vcs-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{mime-37mgqk6f.js → vcs-tjj1kmg0.js} +25 -25
- package/dist/chunks/{mime-5w36kk3z.js → vcs-trfjmmfn.js} +29 -29
- package/dist/chunks/{mime-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-zrq8kphx.js → vcs-tx9w5tca.js} +8 -8
- package/dist/chunks/{mime-f1q6nvme.js → vcs-v1m9cfjw.js} +1 -1
- package/dist/chunks/{mime-153c4z9z.js → vcs-v3bjpj8z.js} +20 -20
- package/dist/chunks/{mime-1q9kvn7y.js → vcs-v6ysps7g.js} +39 -39
- package/dist/chunks/{mime-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-wbtxmsag.js → vcs-vfjhaew2.js} +12 -12
- package/dist/chunks/{mime-twqbsrwr.js → vcs-vp8nspft.js} +17 -17
- package/dist/chunks/{mime-d866bxqg.js → vcs-vv97ra8n.js} +11 -11
- package/dist/chunks/{mime-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-fs57cj69.js → vcs-w9tkr4jp.js} +7 -7
- package/dist/chunks/{mime-ed1snsbs.js → vcs-wb0ej3re.js} +29 -29
- package/dist/chunks/{mime-wd3x2cqz.js → vcs-wd3x2cqz.js} +2 -2
- package/dist/chunks/{mime-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{mime-887dxsd3.js → vcs-wn8t9ac7.js} +44 -44
- package/dist/chunks/{mime-a1bdy4ck.js → vcs-ws2hpek1.js} +17 -17
- package/dist/chunks/{mime-182s9w42.js → vcs-wt50w2qg.js} +330 -330
- package/dist/chunks/{mime-ycy6en70.js → vcs-x13r1yah.js} +18 -18
- package/dist/chunks/{mime-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-vfwfag5t.js → vcs-x1rff75g.js} +22 -22
- package/dist/chunks/{mime-mbpz5yq0.js → vcs-x6vchg5p.js} +11 -11
- package/dist/chunks/{mime-jpf1a9kn.js → vcs-xacmvfyf.js} +46 -46
- package/dist/chunks/{mime-mb1qbq9t.js → vcs-xb6kadxm.js} +28 -28
- package/dist/chunks/{mime-6j8bnvkm.js → vcs-xc8t3em0.js} +5 -5
- package/dist/chunks/{mime-57b9ws8p.js → vcs-xfkkasph.js} +7 -7
- package/dist/chunks/{mime-e18zzkty.js → vcs-xpwqtyvz.js} +10 -10
- package/dist/chunks/{mime-5fb55ywp.js → vcs-xsgk3b13.js} +9 -9
- package/dist/chunks/{mime-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-qm1jf1xc.js → vcs-y5689hke.js} +25 -25
- package/dist/chunks/{mime-97sgz6yw.js → vcs-y881vcph.js} +22 -22
- package/dist/chunks/{mime-k1qrnqst.js → vcs-yf10kn3d.js} +8 -8
- package/dist/chunks/{mime-54g84kz9.js → vcs-yg1qn3cz.js} +11 -11
- package/dist/chunks/{mime-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-0tzy42a9.js → vcs-yvvvp4gn.js} +8 -8
- package/dist/chunks/{mime-nd3qgbwe.js → vcs-ywfj9cpt.js} +10 -10
- package/dist/chunks/{mime-ws8b7tts.js → vcs-yxabtm2w.js} +11 -11
- package/dist/chunks/{mime-646tc8py.js → vcs-yzf4zjhy.js} +11 -11
- package/dist/chunks/{mime-1dah21z9.js → vcs-yzztktw2.js} +37 -37
- package/dist/chunks/{mime-z07pqspn.js → vcs-z07pqspn.js} +3 -3
- package/dist/chunks/{mime-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-29x78va6.js → vcs-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-sk4fpzkz.js → vcs-ze71xwz7.js} +16 -16
- package/dist/chunks/{mime-e0ps24dg.js → vcs-ze9fxg61.js} +18 -18
- package/dist/chunks/{mime-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-j36xhj14.js → vcs-zj3mw4nr.js} +32 -32
- package/dist/chunks/{mime-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → vcs-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 +77 -77
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +130 -130
- 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 +125 -125
- 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 +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +371 -371
- 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 -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/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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- 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 +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- 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 +78 -78
- 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 +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- 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 +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- 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 +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 -127
- 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 +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +3 -3
- 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 +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +2 -2
- 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 +93 -93
- 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 +80 -80
- 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 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/mime-bdqechhr.js +0 -26
- package/dist/chunks/mime-v1faaxn9.js +0 -18
- package/dist/chunks/mime-xgn2qchc.js +0 -252
- /package/dist/chunks/{mime-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-hr9dp009.js → vcs-hr9dp009.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-b3jbkr8y.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-2v2a3t0h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./vcs-74rrnwt7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-2fgn2we9.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service81;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event20.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service80.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node84 = makeGlobalNode({
|
|
288
|
+
service: Service80,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-b3jbkr8y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./vcs-0jkw1j53.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-53fyba40.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-b7f8f75j.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-zj3mw4nr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./vcs-0ncwemsz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service53;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./vcs-q1v1r1nw.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./vcs-g8jasmdt.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-66pxgpaw.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./vcs-5x6205s3.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin44
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin44 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service44;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin33 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID18.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID18.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node36
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service33.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = 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 node36 = makeGlobalNode({ service: Service33, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service33, makeLayer2, layer14, node36, exports_model_transport };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service10
|
|
3
|
+
} from "./vcs-kgx5a6ff.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
9
|
var exports_compaction = {};
|
|
10
10
|
__export(exports_compaction, {
|
|
11
11
|
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin23
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin23 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service10;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin10 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin23, exports_compaction };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node60
|
|
5
|
+
} from "./vcs-5qyh9bdk.js";
|
|
6
6
|
import {
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-2v2a3t0h.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
aisdk2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-emwnxg71.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID5,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-8pg7n18v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
resolve2
|
|
22
|
+
} from "./vcs-f2b6tz2e.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service73,
|
|
25
|
+
node77
|
|
26
|
+
} from "./vcs-ggw2yz4k.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/models-dev.ts
|
|
32
32
|
var exports_models_dev = {};
|
|
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
|
|
|
35
35
|
Event: () => Event2,
|
|
36
36
|
ModelsDev: () => exports_models_dev,
|
|
37
37
|
Options: () => Options2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service12,
|
|
39
39
|
bodyDigest: () => bodyDigest2,
|
|
40
40
|
configured: () => configured2,
|
|
41
41
|
layer: () => layer8,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node14
|
|
43
43
|
});
|
|
44
44
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
45
45
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
|
|
|
63
63
|
function normalize(input) {
|
|
64
64
|
const providers = [];
|
|
65
65
|
for (const item of Object.values(input)) {
|
|
66
|
-
const providerID =
|
|
66
|
+
const providerID = ID7.make(item.id);
|
|
67
67
|
const packageName = nativePackage(item);
|
|
68
68
|
const info = {
|
|
69
69
|
id: providerID,
|
|
@@ -75,12 +75,12 @@ function normalize(input) {
|
|
|
75
75
|
const models = [];
|
|
76
76
|
for (const model of Object.values(item.models)) {
|
|
77
77
|
const baseCost = cost(model.cost);
|
|
78
|
-
const id =
|
|
78
|
+
const id = ID5.make(model.id);
|
|
79
79
|
const base = modelInfo(item, id, model, { cost: baseCost });
|
|
80
|
-
const variants =
|
|
80
|
+
const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
|
|
81
81
|
models.push({ ...base, variants });
|
|
82
82
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
83
|
-
const modeID =
|
|
83
|
+
const modeID = ID5.make(`${model.id}-${mode}`);
|
|
84
84
|
models.push(modelInfo(item, modeID, model, {
|
|
85
85
|
name: modeName(model, mode),
|
|
86
86
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -164,7 +164,7 @@ function supports(model) {
|
|
|
164
164
|
return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
|
|
165
165
|
}
|
|
166
166
|
function modelInfo(provider, id, model, input = {}) {
|
|
167
|
-
const providerID =
|
|
167
|
+
const providerID = ID7.make(provider.id);
|
|
168
168
|
const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
|
|
169
169
|
const settings = {
|
|
170
170
|
...model.provider?.api ? { baseURL: model.provider.api } : {},
|
|
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
172
172
|
};
|
|
173
173
|
return {
|
|
174
174
|
id,
|
|
175
|
-
modelID:
|
|
175
|
+
modelID: ID5.make(model.id),
|
|
176
176
|
providerID,
|
|
177
177
|
name: input.name ?? model.name,
|
|
178
178
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -205,7 +205,7 @@ var Options2 = Schema.Struct({
|
|
|
205
205
|
snapshot: Schema.optional(Schema.Boolean)
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
class
|
|
208
|
+
class Service12 extends Context.Service()("@opencode/ModelsDev") {
|
|
209
209
|
}
|
|
210
210
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
211
211
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -228,11 +228,11 @@ function cacheKey(source) {
|
|
|
228
228
|
function bodyDigest2(text) {
|
|
229
229
|
return Hash.sha256(text);
|
|
230
230
|
}
|
|
231
|
-
var layer8 = (options) => Layer.effect(
|
|
231
|
+
var layer8 = (options) => Layer.effect(Service12, Effect.gen(function* () {
|
|
232
232
|
const fs = yield* FSUtil.Service;
|
|
233
233
|
const bus = yield* Service83;
|
|
234
234
|
const app = yield* Metadata2;
|
|
235
|
-
const kv = yield*
|
|
235
|
+
const kv = yield* Service73;
|
|
236
236
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
237
237
|
retryOn: "errors-and-responses",
|
|
238
238
|
times: 2,
|
|
@@ -312,15 +312,15 @@ var layer8 = (options) => Layer.effect(Service14, Effect.gen(function* () {
|
|
|
312
312
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
313
313
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
314
314
|
}
|
|
315
|
-
return
|
|
315
|
+
return Service12.of({ get, refresh });
|
|
316
316
|
}));
|
|
317
317
|
function configured2(options) {
|
|
318
318
|
return makeGlobalNode({
|
|
319
|
-
service:
|
|
319
|
+
service: Service12,
|
|
320
320
|
layer: layer8(options),
|
|
321
|
-
deps: [FSUtil.node, node87,
|
|
321
|
+
deps: [FSUtil.node, node87, node60, node77, httpClient]
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
-
var
|
|
324
|
+
var node14 = configured2();
|
|
325
325
|
|
|
326
|
-
export { CatalogModelStatus2, Options2,
|
|
326
|
+
export { CatalogModelStatus2, Options2, Service12, bodyDigest2, layer8, configured2, node14, exports_models_dev, Event2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|