@opencode/core 0.0.0-dev-20120 → 0.0.0-dev-20122
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 +81 -81
- 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/{bus-7qyhf897.js → form-01t23f4b.js} +50 -50
- package/dist/chunks/{bus-7n4snhe6.js → form-0h1pcqkr.js} +24 -24
- package/dist/chunks/{bus-en855e9q.js → form-0m4fayrh.js} +22 -22
- package/dist/chunks/{bus-0paq2nw3.js → form-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-69fyavwc.js → form-0pk5wkp1.js} +16 -16
- package/dist/chunks/{bus-y7zpcszc.js → form-1a88t1cf.js} +8 -8
- package/dist/chunks/{bus-ag9dg5tv.js → form-1btp8ks2.js} +6 -6
- package/dist/chunks/{bus-1dazxqgg.js → form-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-bcc00dfx.js → form-1nbgbc1n.js} +22 -22
- package/dist/chunks/{bus-5e23jtee.js → form-1x3py7wd.js} +4 -4
- package/dist/chunks/{bus-a4w2tty6.js → form-1xjsffm6.js} +16 -16
- package/dist/chunks/{bus-21r38tys.js → form-21r38tys.js} +1 -1
- package/dist/chunks/{bus-s2r1nmf5.js → form-221hq43v.js} +16 -16
- package/dist/chunks/{bus-2402vzrj.js → form-2402vzrj.js} +1 -1
- package/dist/chunks/{bus-2a5m3afh.js → form-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-mz78b8aw.js → form-2czmnem8.js} +48 -48
- package/dist/chunks/{bus-8x3489c6.js → form-2e9ax0t8.js} +10 -10
- package/dist/chunks/{bus-j4mkemyr.js → form-2nm7czc6.js} +32 -32
- package/dist/chunks/{bus-svwvgw0p.js → form-2q8e2f41.js} +5 -5
- package/dist/chunks/{bus-98hraz26.js → form-2wtv2rb3.js} +29 -29
- package/dist/chunks/{bus-wad8yrrs.js → form-30k0bhdj.js} +14 -14
- package/dist/chunks/{bus-er6eqcq4.js → form-355m1cvc.js} +15 -15
- package/dist/chunks/{bus-37s12vcn.js → form-37s12vcn.js} +2 -2
- package/dist/chunks/{bus-kb3wdknj.js → form-3eavv4sq.js} +6 -6
- package/dist/chunks/{bus-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-en6pdrmj.js → form-3kaacc1j.js} +27 -27
- package/dist/chunks/{bus-y9wajj3h.js → form-3kbtp577.js} +11 -11
- package/dist/chunks/{bus-2e96adxv.js → form-3ktbe3hf.js} +6 -6
- package/dist/chunks/{bus-hk3ctm5n.js → form-3ndj74bm.js} +8 -8
- package/dist/chunks/{bus-xsq35xtq.js → form-3sbxp6tx.js} +12 -12
- package/dist/chunks/{bus-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-t9nxfj60.js → form-3tf6s7ys.js} +18 -18
- package/dist/chunks/{bus-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-v9cj5dav.js → form-4538h11c.js} +7 -7
- package/dist/chunks/{bus-bpa4sr12.js → form-4648wvm6.js} +11 -11
- package/dist/chunks/{bus-wswstrrw.js → form-4e3gxew0.js} +30 -30
- package/dist/chunks/{bus-6kf7h7pm.js → form-4mymzvyc.js} +4 -4
- package/dist/chunks/{bus-set96w9c.js → form-4qnavm6k.js} +25 -25
- package/dist/chunks/{bus-my28n560.js → form-4w5arkxr.js} +13 -13
- package/dist/chunks/{bus-cg1zn3em.js → form-4wjh6a8j.js} +26 -26
- package/dist/chunks/{bus-jnnfack4.js → form-4x440zej.js} +12 -12
- package/dist/chunks/{bus-yytqf23a.js → form-4yzhh2ma.js} +23 -23
- package/dist/chunks/{bus-0pwtbm8d.js → form-4zxd817m.js} +48 -45
- package/dist/chunks/{bus-yyvycyd9.js → form-51h9320s.js} +11 -11
- package/dist/chunks/{bus-33w4ejhs.js → form-56gdpj1q.js} +6 -6
- package/dist/chunks/{bus-ybcjevba.js → form-56t2kez4.js} +15 -15
- package/dist/chunks/{bus-57ez7d0k.js → form-57ez7d0k.js} +2 -2
- package/dist/chunks/{bus-gbnpsc00.js → form-588424d7.js} +30 -30
- package/dist/chunks/{bus-4zt7vk3e.js → form-5b9mpv4n.js} +8 -8
- package/dist/chunks/{bus-d1ybfbkk.js → form-5cwanv0v.js} +11 -11
- package/dist/chunks/{bus-5daktx2q.js → form-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-mxd8xx25.js → form-5es5e7v6.js} +6 -6
- package/dist/chunks/{bus-a7q78ykb.js → form-5nr010d7.js} +29 -29
- package/dist/chunks/{bus-5t3nmthw.js → form-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-5y16yxhf.js → form-5xa5ry74.js} +43 -43
- package/dist/chunks/{bus-vy4zg7qh.js → form-607q5haz.js} +5 -5
- package/dist/chunks/{bus-2k8khapm.js → form-607tc6va.js} +5 -5
- package/dist/chunks/{bus-669tq793.js → form-669tq793.js} +1 -1
- package/dist/chunks/{bus-46443g93.js → form-6ccf5npz.js} +35 -35
- package/dist/chunks/{bus-bn9g0ay3.js → form-6fb0y946.js} +11 -11
- package/dist/chunks/{bus-wn1pdx1c.js → form-6grzz0f0.js} +4 -4
- package/dist/chunks/{bus-2z8310yg.js → form-6j3ma1kd.js} +24 -24
- package/dist/chunks/{bus-zt8acy92.js → form-6m7d9qer.js} +10 -10
- package/dist/chunks/{bus-6msgmcgs.js → form-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-zfbsw1e6.js → form-6v4da530.js} +5 -5
- package/dist/chunks/{bus-qejegbf7.js → form-735zz4k9.js} +9 -9
- package/dist/chunks/{bus-5hsmzm6x.js → form-76gtnb8q.js} +25 -25
- package/dist/chunks/{bus-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-5xpznt2d.js → form-7bp3xrzr.js} +4 -4
- package/dist/chunks/{bus-ntvje2wv.js → form-7ekfrejk.js} +8 -8
- package/dist/chunks/{bus-gepv4h39.js → form-7kh9t2x9.js} +13 -13
- package/dist/chunks/{bus-d0dpxhdy.js → form-7yjz701f.js} +13 -13
- package/dist/chunks/form-879vjq03.js +252 -0
- package/dist/chunks/{bus-tcezcvh9.js → form-89znhe33.js} +4 -4
- package/dist/chunks/{bus-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-xfkng03w.js → form-8g3862tg.js} +9 -9
- package/dist/chunks/{bus-6v5a3sjt.js → form-8se06a21.js} +37 -37
- package/dist/chunks/{bus-w3qytxyt.js → form-8wd6m01p.js} +18 -18
- package/dist/chunks/{bus-94ek1h2f.js → form-94ek1h2f.js} +2 -2
- package/dist/chunks/{bus-3dynr17n.js → form-9dchs00j.js} +3 -3
- package/dist/chunks/{bus-cnwavjs9.js → form-9nchh937.js} +12 -12
- package/dist/chunks/{bus-javke9pj.js → form-9rv7m9ct.js} +22 -22
- package/dist/chunks/{bus-6g6czt8k.js → form-9s9y5h84.js} +25 -25
- package/dist/chunks/{bus-558q8f18.js → form-9ve3q3sw.js} +6 -6
- package/dist/chunks/{bus-jmc0v9mm.js → form-9xbr60h2.js} +9 -9
- package/dist/chunks/{bus-hkfg6fzm.js → form-a1a50ys5.js} +5 -5
- package/dist/chunks/{bus-d27fb3rp.js → form-a1f9yram.js} +17 -17
- package/dist/chunks/{bus-x5yxy9ce.js → form-a4gvvsd2.js} +22 -22
- package/dist/chunks/{bus-wrtwksw2.js → form-a672mv5g.js} +24 -24
- package/dist/chunks/{bus-aaet6srn.js → form-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-kq7cxy5p.js → form-aawwprjn.js} +20 -20
- package/dist/chunks/{bus-qkzt4n85.js → form-ac8vvvjp.js} +25 -25
- package/dist/chunks/{bus-xcd0eash.js → form-asn1qnte.js} +6 -6
- package/dist/chunks/{bus-6vjn8bs4.js → form-athnqdtn.js} +2 -2
- package/dist/chunks/{bus-b5pmzzwt.js → form-aw3daxpn.js} +16 -16
- package/dist/chunks/{bus-qd7njmhj.js → form-ax5enk7z.js} +18 -18
- package/dist/chunks/{bus-0aphxhy3.js → form-axp4ehpq.js} +8 -8
- package/dist/chunks/{bus-3kg98aef.js → form-azfvrb33.js} +27 -27
- package/dist/chunks/{bus-dvjwc1jd.js → form-azr7q1a0.js} +26 -26
- package/dist/chunks/{bus-b6gygkdw.js → form-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-g8yrnpej.js → form-b8r8eafh.js} +26 -26
- package/dist/chunks/{bus-jh5fsdvg.js → form-bdn25p9a.js} +68 -68
- package/dist/chunks/{bus-9e4j78a5.js → form-bn0s77k4.js} +8 -8
- package/dist/chunks/{bus-dv1qgsyq.js → form-br0tr5aq.js} +8 -8
- package/dist/chunks/{bus-ckecvw8r.js → form-ckecvw8r.js} +2 -2
- package/dist/chunks/{bus-h6r3nrb9.js → form-cpj0znwe.js} +4 -4
- package/dist/chunks/{bus-j09v5y8k.js → form-cpny6163.js} +12 -12
- package/dist/chunks/{bus-zw0kpawm.js → form-d1nhwr0v.js} +17 -17
- package/dist/chunks/{bus-kgnf550j.js → form-d973bnhm.js} +21 -21
- package/dist/chunks/{bus-frttmpwd.js → form-dbxp6268.js} +11 -11
- package/dist/chunks/form-dd1amwh8.js +26 -0
- package/dist/chunks/{bus-qysagv28.js → form-df9m9s24.js} +10 -10
- package/dist/chunks/{bus-6869j5x3.js → form-dh8e7anf.js} +20 -20
- package/dist/chunks/{bus-y71avatq.js → form-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-sq03nw7q.js → form-e1ge5bzw.js} +5 -5
- package/dist/chunks/{bus-e1hrzsan.js → form-e37h8kwf.js} +12 -12
- package/dist/chunks/{bus-s8d7rejh.js → form-eaj1djv9.js} +6 -6
- package/dist/chunks/{bus-ecfe7b91.js → form-ecfe7b91.js} +2 -2
- package/dist/chunks/{bus-yvvvp4gn.js → form-eeaf82dq.js} +8 -8
- package/dist/chunks/{bus-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-4y5r2s8b.js → form-ejzycjk2.js} +45 -45
- package/dist/chunks/{bus-6e7ra9xr.js → form-ep289ss5.js} +35 -35
- package/dist/chunks/{bus-4k0xqdp1.js → form-ep6z9mt6.js} +8 -8
- package/dist/chunks/{bus-510m7gjw.js → form-eq23s0y6.js} +5 -5
- package/dist/chunks/{bus-etq0c3wd.js → form-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-dce2hbks.js → form-ez2rjd67.js} +17 -17
- package/dist/chunks/{bus-ajvebkcv.js → form-ezy28dwm.js} +11 -11
- package/dist/chunks/{bus-x2qdxhwm.js → form-f5gy8qwh.js} +8 -8
- package/dist/chunks/{bus-pfvrqk7c.js → form-fwk5mrsc.js} +5 -5
- package/dist/chunks/{bus-k9p607fy.js → form-g11s8h7b.js} +10 -10
- package/dist/chunks/{bus-mj2a8ndt.js → form-g4qa31mr.js} +10 -10
- package/dist/chunks/{bus-289e86vh.js → form-g6aremgq.js} +11 -11
- package/dist/chunks/{bus-3ykcbj89.js → form-gb91ftzw.js} +15 -15
- package/dist/chunks/{bus-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-w4j00t45.js → form-gjfj64nw.js} +15 -15
- package/dist/chunks/{bus-gv6a8nnw.js → form-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-jh3gssky.js → form-gyvmabzh.js} +5 -5
- package/dist/chunks/{bus-z84vp5bs.js → form-h2n552qs.js} +4 -4
- package/dist/chunks/{bus-x4w3r6cj.js → form-h41e8hs0.js} +9 -9
- package/dist/chunks/{bus-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-x88sd9vg.js → form-hax32ey3.js} +10 -10
- package/dist/chunks/{bus-v9ttbc11.js → form-hm1j9vky.js} +9 -9
- package/dist/chunks/{bus-k3yea1v9.js → form-hnr8f6ws.js} +4 -4
- package/dist/chunks/{bus-8ntpctcn.js → form-hqp49fb7.js} +3 -3
- package/dist/chunks/{bus-53he4jtf.js → form-ht5pt6gr.js} +13 -13
- package/dist/chunks/form-hxa7m5za.js +4 -0
- package/dist/chunks/{bus-dm5wnt06.js → form-hzxtr8vy.js} +11 -11
- package/dist/chunks/{bus-5mhk3hnh.js → form-j22znp5c.js} +10 -10
- package/dist/chunks/{bus-d1ywvx9d.js → form-j3z4wjnn.js} +20 -20
- package/dist/chunks/{bus-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-3mvfcwmn.js → form-jc019x40.js} +11 -11
- package/dist/chunks/{bus-nng2ktcm.js → form-jca4demv.js} +2 -2
- package/dist/chunks/{bus-80scg3y3.js → form-jewzahs7.js} +4 -4
- package/dist/chunks/{bus-w92k2e0p.js → form-jws6fkes.js} +2 -2
- package/dist/chunks/{bus-2hf4ykx9.js → form-jxcp7hjz.js} +5 -5
- package/dist/chunks/{bus-c2d6efkk.js → form-k2d86hj7.js} +15 -15
- package/dist/chunks/{bus-q4rrewpj.js → form-k86c2mv3.js} +8 -8
- package/dist/chunks/{bus-dg2cj1yd.js → form-k9d40v1y.js} +4 -4
- package/dist/chunks/{bus-4a6jpjer.js → form-kbqjp078.js} +5 -5
- package/dist/chunks/{bus-ygm7vbzh.js → form-kbsq9ezz.js} +18 -18
- package/dist/chunks/{bus-w7k6j2a3.js → form-ksgwayv1.js} +52 -52
- package/dist/chunks/{bus-2eh44jhm.js → form-kthhpwze.js} +26 -26
- package/dist/chunks/{bus-7hxcrbpt.js → form-kxdmnbtc.js} +12 -12
- package/dist/chunks/{bus-6ersrjne.js → form-kxpygcw9.js} +5 -5
- package/dist/chunks/{bus-ffyxsvc8.js → form-kzrykkrg.js} +33 -33
- package/dist/chunks/{bus-ssxxqz2z.js → form-m04dk8y5.js} +48 -48
- package/dist/chunks/{bus-m3fdjcah.js → form-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-8jgdc00b.js → form-m77z4j91.js} +44 -43
- package/dist/chunks/{bus-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-50mzsvk4.js → form-magykp64.js} +4 -4
- package/dist/chunks/{bus-gxqmhm25.js → form-md5m8r63.js} +1 -1
- package/dist/chunks/{bus-591hfs6w.js → form-mn66ztkm.js} +14 -14
- package/dist/chunks/{bus-6nj7wcw4.js → form-mqkg4htg.js} +11 -11
- package/dist/chunks/{bus-2rs5yfkz.js → form-ms2t0q15.js} +11 -11
- package/dist/chunks/{bus-4473wfhr.js → form-n4cqhk9j.js} +21 -21
- package/dist/chunks/{bus-s4y91pv1.js → form-nc773sft.js} +1 -1
- package/dist/chunks/{bus-zd4x75bk.js → form-nf4ctf0a.js} +34 -34
- package/dist/chunks/{bus-wam6zj6d.js → form-nfq98v04.js} +27 -27
- package/dist/chunks/{bus-xr3vnqvw.js → form-nkrban15.js} +3 -3
- package/dist/chunks/{bus-eh6v2xt8.js → form-np8fhtmp.js} +5 -5
- package/dist/chunks/{bus-k3fvns7c.js → form-nv60c3se.js} +324 -324
- package/dist/chunks/{bus-g3zs80zy.js → form-nwmpqe59.js} +13 -13
- package/dist/chunks/{bus-z2ydsh5b.js → form-nww71kaf.js} +15 -15
- package/dist/chunks/{bus-nzks3jc8.js → form-nzks3jc8.js} +3 -3
- package/dist/chunks/{bus-9a0tea98.js → form-p6pqqm51.js} +17 -17
- package/dist/chunks/{bus-an2m8jxp.js → form-p81kvp9s.js} +7 -7
- package/dist/chunks/{bus-wgxdx5hm.js → form-pd955mpa.js} +10 -10
- package/dist/chunks/{bus-1aff68qb.js → form-pdrmbr6g.js} +22 -22
- package/dist/chunks/form-pf31ssb9.js +18 -0
- package/dist/chunks/{bus-6790c4gc.js → form-pgk9ksh3.js} +20 -20
- package/dist/chunks/{bus-mestvbzy.js → form-pj65myvz.js} +27 -27
- package/dist/chunks/{bus-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{bus-ej2v6pb4.js → form-ppvdsf14.js} +24 -24
- package/dist/chunks/{bus-82f2n6pz.js → form-psj6ade8.js} +29 -29
- package/dist/chunks/{bus-wpkwc4jm.js → form-pyzra7ce.js} +3 -3
- package/dist/chunks/{bus-7w99qc9d.js → form-q3t37ft6.js} +3 -3
- package/dist/chunks/{bus-64s65d1n.js → form-q46vkzna.js} +8 -8
- package/dist/chunks/{bus-pxnn0hzj.js → form-q4wawhcq.js} +5 -5
- package/dist/chunks/{bus-qg0jgkcp.js → form-qg0jgkcp.js} +2 -2
- package/dist/chunks/{bus-pmnz6x88.js → form-qksar9gz.js} +35 -35
- package/dist/chunks/{bus-cwa6csj7.js → form-qmqgtz8f.js} +9 -9
- package/dist/chunks/{bus-57b9ws8p.js → form-qqeeq2t9.js} +4 -4
- package/dist/chunks/{bus-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-10jtetaj.js → form-qsxf26yz.js} +5 -5
- package/dist/chunks/{bus-qjmyffbz.js → form-qx79v5w3.js} +17 -17
- package/dist/chunks/{bus-d63sn1es.js → form-qzbrf7bg.js} +20 -20
- package/dist/chunks/{bus-yt4p079e.js → form-r5vn3hc9.js} +11 -11
- package/dist/chunks/{bus-mhkvc446.js → form-r5x6zcsm.js} +3 -3
- package/dist/chunks/{bus-btbmdjwj.js → form-ra4n65wq.js} +4 -4
- package/dist/chunks/{bus-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-r5zp2xvk.js → form-rnnf6gaf.js} +4 -4
- package/dist/chunks/{bus-1g7epwpd.js → form-ryr25ayn.js} +7 -7
- package/dist/chunks/{bus-p4h2ee3k.js → form-rz2133kf.js} +37 -37
- package/dist/chunks/{bus-j6cs17n6.js → form-rzh66cxz.js} +31 -31
- package/dist/chunks/{bus-23p96v1r.js → form-s1veqp5v.js} +5 -5
- package/dist/chunks/{bus-5hw9wg1w.js → form-sc9sthng.js} +15 -15
- package/dist/chunks/{bus-p26h8rmj.js → form-sexe7gff.js} +15 -15
- package/dist/chunks/{bus-p2ghveb7.js → form-sj0vvp2d.js} +10 -10
- package/dist/chunks/{bus-f7srz8vp.js → form-sj9mxrb8.js} +32 -32
- package/dist/chunks/{bus-k53npxr2.js → form-sqy4ahhk.js} +1 -1
- package/dist/chunks/{bus-tmw8r5ax.js → form-t4eddnay.js} +23 -23
- package/dist/chunks/{bus-htr6fmqq.js → form-t821byxs.js} +16 -16
- package/dist/chunks/{bus-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{bus-tkxy3zey.js → form-te626b0r.js} +6 -6
- package/dist/chunks/{bus-9ra3hjx5.js → form-th8982s6.js} +13 -13
- package/dist/chunks/{bus-q0kn3svj.js → form-tjh223rc.js} +11 -11
- package/dist/chunks/{bus-2vxnta51.js → form-tq44v1fn.js} +25 -25
- package/dist/chunks/{bus-tvtrv512.js → form-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-s5met55r.js → form-tx9w5tca.js} +8 -8
- package/dist/chunks/{bus-baaqp4zd.js → form-tz4n1mmd.js} +4 -4
- package/dist/chunks/{bus-nz226qv2.js → form-v2pac2r5.js} +38 -38
- package/dist/chunks/{bus-rn4807fq.js → form-v657ew0y.js} +8 -8
- package/dist/chunks/{bus-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-t6qketva.js → form-vktwk5kv.js} +9 -9
- package/dist/chunks/{bus-0v53mg2y.js → form-vncycja5.js} +4 -4
- package/dist/chunks/{bus-4dwjvpsb.js → form-vtmhyb6r.js} +29 -29
- package/dist/chunks/{bus-g2vg20pk.js → form-vvvad8t8.js} +13 -13
- package/dist/chunks/{bus-vzcthcp8.js → form-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-5ekn9679.js → form-vzs5sf6e.js} +5 -1
- package/dist/chunks/{bus-7667x3dh.js → form-w3p83eb3.js} +6 -6
- package/dist/chunks/{bus-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-wd3x2cqz.js → form-wd3x2cqz.js} +2 -2
- package/dist/chunks/{bus-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{bus-164s88qm.js → form-wgzgkxwc.js} +3 -3
- package/dist/chunks/{bus-0tk2ys0w.js → form-whsef500.js} +2 -2
- package/dist/chunks/{bus-x17jm467.js → form-wn8n2sm9.js} +87 -87
- package/dist/chunks/{bus-yr3b1252.js → form-wn8w70ps.js} +9 -9
- package/dist/chunks/{bus-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-bx8k04fv.js → form-x828grpm.js} +26 -26
- package/dist/chunks/{bus-bjkbzs1n.js → form-xcg1dsv0.js} +7 -7
- package/dist/chunks/{bus-9wzzv3d4.js → form-xgysng5w.js} +12 -12
- package/dist/chunks/{bus-xkntkrq7.js → form-xkntkrq7.js} +2 -2
- package/dist/chunks/{bus-2p8k3371.js → form-xsxzmn3v.js} +6 -6
- package/dist/chunks/{bus-dr9114b3.js → form-xt8hymbd.js} +17 -17
- package/dist/chunks/{bus-9a9tb9b7.js → form-xwra8hym.js} +173 -173
- package/dist/chunks/{bus-9tsa03a7.js → form-xy96rd98.js} +26 -26
- package/dist/chunks/{bus-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-jh76kevn.js → form-y2nra5ch.js} +11 -11
- package/dist/chunks/{bus-jhdkfdqd.js → form-y4x532kp.js} +24 -24
- package/dist/chunks/{bus-82rhge12.js → form-y56ehv6b.js} +9 -9
- package/dist/chunks/{bus-zr2g05xs.js → form-y59c554b.js} +8 -8
- package/dist/chunks/{bus-c0tew9h0.js → form-y9mp5nec.js} +86 -86
- package/dist/chunks/{bus-1acjjqhc.js → form-yp2x3t23.js} +4 -4
- package/dist/chunks/{bus-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-68t91stz.js → form-yrmcn5j6.js} +27 -27
- package/dist/chunks/{bus-yrznvahk.js → form-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-qp0qcvc3.js → form-ywny6fh7.js} +4 -4
- package/dist/chunks/{bus-kwg24pm2.js → form-yxy54gdd.js} +20 -20
- package/dist/chunks/{bus-z07pqspn.js → form-z07pqspn.js} +3 -3
- package/dist/chunks/{bus-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-x1fhfwhd.js → form-z1thhf2m.js} +6 -6
- package/dist/chunks/{bus-z63w68vq.js → form-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-b1k96n1k.js → form-z70jygrh.js} +11 -11
- package/dist/chunks/{bus-sc0dy51e.js → form-z7ak3ykt.js} +24 -24
- package/dist/chunks/{bus-zeh9ct20.js → form-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-mhm4sgj3.js → form-zgc6s8pn.js} +35 -35
- package/dist/chunks/{bus-b3mnbz4x.js → form-zjm534cg.js} +44 -44
- package/dist/chunks/{bus-2hg7qvzt.js → form-zk8c4w5t.js} +5 -5
- package/dist/chunks/{bus-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-532wn72m.js → form-zwhv3kbh.js} +21 -21
- package/dist/chunks/{bus-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +88 -88
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +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 +93 -93
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- 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 +107 -107
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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-defaults.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 +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +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 +122 -122
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +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 +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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 +134 -134
- 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 +5 -5
- 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 +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- 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 +3 -3
- 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 +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/shell/result.d.ts +5 -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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/bus-6kdq0pjd.js +0 -4
- package/dist/chunks/bus-bb4pz6c3.js +0 -252
- package/dist/chunks/bus-jqh9b0xq.js +0 -18
- package/dist/chunks/bus-mt8qwt01.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → form-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → form-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → form-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → form-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → form-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → form-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./form-n4cqhk9j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service56,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-nwmpqe59.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./form-jc019x40.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./form-ksgwayv1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service62
|
|
17
|
+
} from "./form-nww71kaf.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin7,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin7 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service62;
|
|
56
|
+
const fileMutation = yield* Service56;
|
|
57
|
+
const environment = yield* Service66;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service75;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output4, toModelContent3, Plugin7, exports_write };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./form-5nr010d7.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-rnnf6gaf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service60,
|
|
8
|
+
node63
|
|
9
|
+
} from "./form-588424d7.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9s9y5h84.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event13,
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service59,
|
|
44
|
+
node: () => node62
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event13 } from "@opencode/schema/integration";
|
|
66
|
+
var ID8 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info23 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID8,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service59 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service60;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info23.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service59.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key3.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node62 = makeLocationNode({
|
|
584
|
+
service: Service59,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node63, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service59, node62, exports_integration, Event13 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./form-5xa5ry74.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./form-qmqgtz8f.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin24
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin24 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service42;
|
|
26
|
+
const policy = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin42 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin24, exports_location_watcher2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-ezy28dwm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-rnnf6gaf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./form-588424d7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-2wtv2rb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID7
|
|
17
|
+
} from "./form-5nr010d7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-3kaacc1j.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID7.make("digitalocean");
|
|
31
|
+
var integrationID = ID8.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID6.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-rnnf6gaf.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-whsef500.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service58,
|
|
20
|
+
node61,
|
|
21
|
+
Event12
|
|
22
|
+
} from "./form-5nr010d7.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./form-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID6,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service57,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node60,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event11 } from "@opencode/schema/model";
|
|
51
|
+
var ID6 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info20 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service57 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service58;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service57.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node60 = makeLocationNode({ service: Service57, layer, deps: [node61, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service57, node60, compatibility2, parse5, exports_model2, Event11 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./form-5xa5ry74.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./form-vktwk5kv.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin18
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service42;
|
|
26
|
+
const image = yield* Service33;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin47 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin18, exports_image };
|