@opencode/core 0.0.0-dev-20120 → 0.0.0-dev-20123
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-yvvvp4gn.js → job-00x4qneg.js} +8 -8
- package/dist/chunks/{bus-x4w3r6cj.js → job-01x2k9yj.js} +9 -9
- package/dist/chunks/{bus-p26h8rmj.js → job-02xcpd00.js} +17 -17
- package/dist/chunks/{bus-ntvje2wv.js → job-06m1xh7w.js} +3 -3
- package/dist/chunks/{bus-46443g93.js → job-0at1sqv3.js} +31 -31
- package/dist/chunks/{bus-cg1zn3em.js → job-0d4sc7pe.js} +26 -26
- package/dist/chunks/{bus-jh5fsdvg.js → job-0ghjbmdt.js} +63 -63
- package/dist/chunks/{bus-ygm7vbzh.js → job-0nh3zynp.js} +12 -12
- package/dist/chunks/{bus-6g6czt8k.js → job-0nwdympg.js} +18 -18
- package/dist/chunks/{bus-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-dr9114b3.js → job-0pv1g9nx.js} +15 -15
- package/dist/chunks/{bus-r5zp2xvk.js → job-0pvat8hm.js} +4 -4
- package/dist/chunks/{bus-t6qketva.js → job-0tmgye68.js} +9 -9
- package/dist/chunks/{bus-wn1pdx1c.js → job-0xjzj7vr.js} +4 -4
- package/dist/chunks/{bus-6869j5x3.js → job-0z0qaz2z.js} +24 -24
- package/dist/chunks/{bus-ag9dg5tv.js → job-1awp3qpv.js} +6 -6
- package/dist/chunks/{bus-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-d63sn1es.js → job-1h9njfqv.js} +20 -20
- package/dist/chunks/{bus-htr6fmqq.js → job-1hwsz3wr.js} +14 -14
- package/dist/chunks/{bus-w92k2e0p.js → job-1p07q0wb.js} +6 -6
- package/dist/chunks/{bus-w7k6j2a3.js → job-212zgvfw.js} +47 -47
- package/dist/chunks/{bus-cnwavjs9.js → job-21cd0s03.js} +12 -12
- package/dist/chunks/{bus-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{bus-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/{bus-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-ajvebkcv.js → job-2b6sywcb.js} +11 -11
- package/dist/chunks/{bus-4zt7vk3e.js → job-2cq5zkt6.js} +8 -8
- package/dist/chunks/{bus-69fyavwc.js → job-2f3eaja9.js} +16 -16
- package/dist/chunks/{bus-e1hrzsan.js → job-2gbsvbx5.js} +12 -12
- package/dist/chunks/{bus-7n4snhe6.js → job-2hafbkzw.js} +26 -26
- package/dist/chunks/{bus-289e86vh.js → job-2mhtd2h6.js} +11 -11
- package/dist/chunks/{bus-yt4p079e.js → job-2p4yn6dm.js} +22 -22
- package/dist/chunks/{bus-558q8f18.js → job-2w4mr9ah.js} +4 -4
- package/dist/chunks/{bus-bpa4sr12.js → job-2z5agv92.js} +11 -11
- package/dist/chunks/{bus-pfvrqk7c.js → job-33a3dssb.js} +5 -5
- package/dist/chunks/{bus-hk3ctm5n.js → job-34ah5aas.js} +8 -8
- package/dist/chunks/{bus-qysagv28.js → job-357452v1.js} +10 -10
- package/dist/chunks/{bus-v9cj5dav.js → job-35hkzk16.js} +7 -7
- package/dist/chunks/{bus-p2ghveb7.js → job-362gjx7k.js} +8 -8
- package/dist/chunks/{bus-svwvgw0p.js → job-39m4cdzz.js} +5 -5
- package/dist/chunks/{bus-37s12vcn.js → job-3cfzdc8e.js} +5 -5
- package/dist/chunks/{bus-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-164s88qm.js → job-3fhxmx4v.js} +3 -3
- package/dist/chunks/{bus-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-en855e9q.js → job-3t1tf7ab.js} +20 -20
- package/dist/chunks/{bus-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-9wzzv3d4.js → job-3vcfbxd4.js} +12 -12
- package/dist/chunks/{bus-wpkwc4jm.js → job-3zqgca9t.js} +3 -3
- package/dist/chunks/{bus-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-4473wfhr.js → job-431mjdkk.js} +15 -15
- package/dist/chunks/{bus-xfkng03w.js → job-44yjcw9g.js} +9 -9
- package/dist/chunks/{bus-wad8yrrs.js → job-47qsm60k.js} +14 -14
- package/dist/chunks/{bus-d27fb3rp.js → job-483vprpr.js} +17 -17
- package/dist/chunks/{bus-h6r3nrb9.js → job-4dgbcxzg.js} +4 -4
- package/dist/chunks/{bus-mhm4sgj3.js → job-4ezq13de.js} +36 -36
- package/dist/chunks/{bus-6v5a3sjt.js → job-4paxgmv5.js} +29 -29
- package/dist/chunks/{bus-2z8310yg.js → job-4x78564e.js} +21 -21
- package/dist/chunks/{bus-dvjwc1jd.js → job-4z0bk2th.js} +22 -22
- package/dist/chunks/{bus-57b9ws8p.js → job-57b9ws8p.js} +1 -1
- package/dist/chunks/{bus-57ez7d0k.js → job-57ez7d0k.js} +2 -2
- package/dist/chunks/{bus-7w99qc9d.js → job-5cmxdwv8.js} +3 -3
- package/dist/chunks/{bus-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-g2vg20pk.js → job-5dzyf9wn.js} +13 -13
- package/dist/chunks/{bus-1aff68qb.js → job-5ge6znve.js} +21 -21
- package/dist/chunks/{bus-b1k96n1k.js → job-5q9mj0fe.js} +11 -11
- package/dist/chunks/{bus-7hxcrbpt.js → job-5s4ek4xp.js} +12 -12
- package/dist/chunks/{bus-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-qkzt4n85.js → job-616jhwvt.js} +25 -25
- package/dist/chunks/{bus-c0tew9h0.js → job-621thra8.js} +80 -80
- package/dist/chunks/{bus-6790c4gc.js → job-64d0e0bv.js} +18 -18
- package/dist/chunks/{bus-98hraz26.js → job-64nhe9mm.js} +23 -23
- package/dist/chunks/{bus-532wn72m.js → job-659nyytr.js} +20 -20
- package/dist/chunks/{bus-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{bus-rn4807fq.js → job-6ea1e4p1.js} +8 -8
- package/dist/chunks/{bus-mxd8xx25.js → job-6k70vexz.js} +6 -6
- package/dist/chunks/{bus-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-3kg98aef.js → job-6rrxrnwx.js} +27 -27
- package/dist/chunks/{bus-x17jm467.js → job-6w37h07j.js} +84 -84
- package/dist/chunks/{bus-bn9g0ay3.js → job-713hsy6v.js} +11 -11
- package/dist/chunks/{bus-5y16yxhf.js → job-727asdka.js} +38 -38
- package/dist/chunks/{bus-mhkvc446.js → job-73tb2d7t.js} +3 -3
- package/dist/chunks/{bus-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-dce2hbks.js → job-7c0qk9f5.js} +17 -17
- package/dist/chunks/{bus-k9p607fy.js → job-84npvg7a.js} +10 -10
- package/dist/chunks/{bus-zr2g05xs.js → job-84qf2sz4.js} +8 -8
- package/dist/chunks/{bus-4a6jpjer.js → job-84zcxbc9.js} +5 -5
- package/dist/chunks/{bus-bx8k04fv.js → job-88xd4vzg.js} +29 -29
- package/dist/chunks/{bus-2p8k3371.js → job-8d0p2m37.js} +3 -3
- package/dist/chunks/{bus-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-q4rrewpj.js → job-8hrbqkq9.js} +11 -11
- package/dist/chunks/{bus-kb3wdknj.js → job-8wm8yswe.js} +6 -6
- package/dist/chunks/{bus-4y5r2s8b.js → job-8ydx4ng5.js} +45 -45
- package/dist/chunks/{bus-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{bus-w4j00t45.js → job-95f1p06x.js} +22 -22
- package/dist/chunks/{bus-gbnpsc00.js → job-98jem7f5.js} +20 -20
- package/dist/chunks/{bus-64s65d1n.js → job-9eq5kwq7.js} +8 -8
- package/dist/chunks/{bus-wgxdx5hm.js → job-a1v5q0gw.js} +13 -13
- package/dist/chunks/{bus-4k0xqdp1.js → job-a68v6zx7.js} +8 -8
- package/dist/chunks/{bus-80scg3y3.js → job-a89e0tac.js} +4 -4
- package/dist/chunks/{bus-3mvfcwmn.js → job-a8wsvhrn.js} +14 -14
- package/dist/chunks/{bus-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-zt8acy92.js → job-aqbnk3w5.js} +10 -10
- package/dist/chunks/{bus-23p96v1r.js → job-avkar8cd.js} +5 -5
- package/dist/chunks/{bus-x88sd9vg.js → job-b4t7m2jz.js} +8 -8
- package/dist/chunks/{bus-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-2rs5yfkz.js → job-bh3mwb6a.js} +14 -14
- package/dist/chunks/{bus-tkxy3zey.js → job-bj655381.js} +3 -3
- package/dist/chunks/{bus-x2qdxhwm.js → job-brsymgq7.js} +8 -8
- package/dist/chunks/{bus-d1ywvx9d.js → job-bt4xnmzv.js} +20 -20
- package/dist/chunks/{bus-8ntpctcn.js → job-c12k1v8e.js} +3 -3
- package/dist/chunks/{bus-wswstrrw.js → job-c480xm2k.js} +28 -28
- package/dist/chunks/{bus-sq03nw7q.js → job-chhc8b2c.js} +2 -2
- package/dist/chunks/{bus-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{bus-bcc00dfx.js → job-cvtc1xje.js} +23 -23
- package/dist/chunks/{bus-dv1qgsyq.js → job-czfptnv9.js} +8 -8
- package/dist/chunks/{bus-5mhk3hnh.js → job-db5sanfd.js} +10 -10
- package/dist/chunks/{bus-ej2v6pb4.js → job-dbtzv3n3.js} +16 -16
- package/dist/chunks/{bus-qejegbf7.js → job-dc7fh6fg.js} +9 -9
- package/dist/chunks/{bus-0v53mg2y.js → job-dfe8djrf.js} +4 -4
- package/dist/chunks/{bus-qp0qcvc3.js → job-dmtxy77h.js} +4 -4
- package/dist/chunks/{bus-vy4zg7qh.js → job-dq0v80fr.js} +5 -5
- package/dist/chunks/{bus-7qyhf897.js → job-dv5r59xd.js} +49 -49
- package/dist/chunks/{bus-jnnfack4.js → job-dvmh4ts6.js} +23 -23
- package/dist/chunks/{bus-qjmyffbz.js → job-dwy550y4.js} +20 -20
- package/dist/chunks/{bus-ssxxqz2z.js → job-e7rvw2f8.js} +48 -48
- package/dist/chunks/{bus-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{bus-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-frttmpwd.js → job-ex7en11g.js} +11 -11
- package/dist/chunks/{bus-b5pmzzwt.js → job-f0np6nee.js} +16 -16
- package/dist/chunks/{bus-t9nxfj60.js → job-f9w72p70.js} +15 -15
- package/dist/chunks/{bus-2k8khapm.js → job-fcrkznn8.js} +5 -5
- package/dist/chunks/{bus-x5yxy9ce.js → job-fnsgkk5v.js} +22 -22
- package/dist/chunks/{bus-zw0kpawm.js → job-fyta9203.js} +15 -15
- package/dist/chunks/{bus-s4y91pv1.js → job-g2azqtd1.js} +1 -1
- package/dist/chunks/{bus-g8yrnpej.js → job-g3hm4f7e.js} +26 -26
- package/dist/chunks/{bus-wrtwksw2.js → job-g46ydm0k.js} +24 -24
- package/dist/chunks/{bus-en6pdrmj.js → job-gcvn1bpc.js} +23 -23
- package/dist/chunks/{bus-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-gxqmhm25.js → job-gd8pphrc.js} +1 -1
- package/dist/chunks/{bus-9tsa03a7.js → job-gjwavh5k.js} +27 -27
- package/dist/chunks/{bus-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-z2ydsh5b.js → job-gwpxvm0z.js} +15 -15
- package/dist/chunks/{bus-2hf4ykx9.js → job-gxdg2v33.js} +5 -5
- package/dist/chunks/{bus-mestvbzy.js → job-h0fn4gkn.js} +27 -27
- package/dist/chunks/job-h1p1szhb.js +252 -0
- package/dist/chunks/{bus-eh6v2xt8.js → job-h2e8h9aw.js} +5 -5
- package/dist/chunks/{bus-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-ybcjevba.js → job-hgd8zhtt.js} +15 -15
- package/dist/chunks/{bus-p4h2ee3k.js → job-hh7harx8.js} +38 -38
- package/dist/chunks/{bus-y9wajj3h.js → job-hjcn9g5q.js} +11 -11
- package/dist/chunks/{bus-zfbsw1e6.js → job-hk6cjtaz.js} +3 -3
- package/dist/chunks/job-ht5y0zrb.js +18 -0
- package/dist/chunks/{bus-0aphxhy3.js → job-htjw9qza.js} +8 -8
- package/dist/chunks/{bus-yytqf23a.js → job-htvf7dte.js} +22 -22
- package/dist/chunks/{bus-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-6nj7wcw4.js → job-j8ex01wf.js} +11 -11
- package/dist/chunks/{bus-j4mkemyr.js → job-jb8dnvam.js} +30 -30
- package/dist/chunks/{bus-2vxnta51.js → job-jj9905b1.js} +25 -25
- package/dist/chunks/{bus-4dwjvpsb.js → job-jrz5953c.js} +20 -20
- package/dist/chunks/{bus-g3zs80zy.js → job-jw8x7wz2.js} +11 -11
- package/dist/chunks/{bus-a7q78ykb.js → job-jwne8s3x.js} +23 -23
- package/dist/chunks/{bus-pmnz6x88.js → job-jxbrjg0q.js} +31 -31
- package/dist/chunks/{bus-s2r1nmf5.js → job-jxy1my5z.js} +16 -16
- package/dist/chunks/{bus-jh76kevn.js → job-jy3q8cv1.js} +11 -11
- package/dist/chunks/{bus-an2m8jxp.js → job-jzxep27z.js} +7 -7
- package/dist/chunks/{bus-dm5wnt06.js → job-k7rmk0mz.js} +11 -11
- package/dist/chunks/{bus-5e23jtee.js → job-kgchvb5g.js} +4 -4
- package/dist/chunks/{bus-jh3gssky.js → job-kmyvrf53.js} +8 -8
- package/dist/chunks/{bus-82rhge12.js → job-kp8q1t60.js} +5 -5
- package/dist/chunks/{bus-b3mnbz4x.js → job-kv0b7v98.js} +42 -42
- package/dist/chunks/{bus-6ersrjne.js → job-kxpygcw9.js} +5 -5
- package/dist/chunks/{bus-pxnn0hzj.js → job-kxymwdrp.js} +5 -5
- package/dist/chunks/{bus-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-8jgdc00b.js → job-m5n772d3.js} +43 -42
- package/dist/chunks/{bus-3dynr17n.js → job-m604p9h9.js} +3 -3
- package/dist/chunks/{bus-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-9ra3hjx5.js → job-mc3hkess.js} +16 -16
- package/dist/chunks/{bus-8x3489c6.js → job-me0qtf3p.js} +10 -10
- package/dist/chunks/{bus-33w4ejhs.js → job-mfqp6xfm.js} +9 -9
- package/dist/chunks/{bus-mz78b8aw.js → job-mg480h77.js} +36 -36
- package/dist/chunks/{bus-9a9tb9b7.js → job-mjtzhttr.js} +168 -168
- package/dist/chunks/{bus-5hsmzm6x.js → job-mvg86y0x.js} +24 -24
- package/dist/chunks/{bus-5xpznt2d.js → job-mvksx64m.js} +4 -4
- package/dist/chunks/{bus-kq7cxy5p.js → job-mw3vj00v.js} +20 -20
- package/dist/chunks/{bus-x1fhfwhd.js → job-my8d63dw.js} +3 -3
- package/dist/chunks/{bus-jhdkfdqd.js → job-n156yfz5.js} +14 -14
- package/dist/chunks/{bus-my28n560.js → job-n3cs609t.js} +13 -13
- package/dist/chunks/{bus-yr3b1252.js → job-n9vxckn6.js} +9 -9
- package/dist/chunks/{bus-5hw9wg1w.js → job-nn5t8h7a.js} +15 -15
- package/dist/chunks/{bus-qg0jgkcp.js → job-nq7qbqzc.js} +9 -9
- package/dist/chunks/{bus-sc0dy51e.js → job-nqgqh1d8.js} +24 -24
- package/dist/chunks/{bus-50mzsvk4.js → job-nrdmrqsx.js} +4 -4
- package/dist/chunks/{bus-2hg7qvzt.js → job-nrk5vjbf.js} +5 -5
- package/dist/chunks/{bus-nzks3jc8.js → job-nzks3jc8.js} +3 -3
- package/dist/chunks/{bus-hkfg6fzm.js → job-p44d8wdy.js} +5 -5
- package/dist/chunks/{bus-javke9pj.js → job-p44n200t.js} +17 -17
- package/dist/chunks/{bus-xr3vnqvw.js → job-pan3z8cp.js} +3 -3
- package/dist/chunks/{bus-k3yea1v9.js → job-pc4b88sv.js} +4 -4
- package/dist/chunks/{bus-btbmdjwj.js → job-pgp1nwjn.js} +4 -4
- package/dist/chunks/{bus-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{bus-2e96adxv.js → job-q1zmm1c6.js} +6 -6
- package/dist/chunks/{bus-xsq35xtq.js → job-q535224r.js} +16 -16
- package/dist/chunks/{bus-qd7njmhj.js → job-qs8jhs2n.js} +16 -16
- package/dist/chunks/{bus-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-w3qytxyt.js → job-qv8cnvvv.js} +16 -16
- package/dist/chunks/{bus-s5met55r.js → job-qwjmgwmn.js} +8 -8
- package/dist/chunks/{bus-0tk2ys0w.js → job-qzy0htd5.js} +2 -2
- package/dist/chunks/{bus-bjkbzs1n.js → job-r148w95a.js} +7 -7
- package/dist/chunks/{bus-wam6zj6d.js → job-r3bqvamy.js} +19 -19
- package/dist/chunks/{bus-er6eqcq4.js → job-r4mm9wfe.js} +13 -13
- package/dist/chunks/{bus-1acjjqhc.js → job-r8xr0va3.js} +4 -4
- package/dist/chunks/{bus-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-cwa6csj7.js → job-rey5gbxv.js} +9 -9
- package/dist/chunks/{bus-kgnf550j.js → job-rgyp5fs8.js} +21 -21
- package/dist/chunks/{bus-s8d7rejh.js → job-rhjbct0v.js} +4 -4
- package/dist/chunks/{bus-68t91stz.js → job-s3prev92.js} +12 -12
- package/dist/chunks/{bus-d0dpxhdy.js → job-sfsm5mp8.js} +13 -13
- package/dist/chunks/{bus-7667x3dh.js → job-shpdfzmb.js} +4 -4
- package/dist/chunks/{bus-ffyxsvc8.js → job-snq6cjh1.js} +30 -30
- package/dist/chunks/{bus-k3fvns7c.js → job-sq6azjgz.js} +322 -322
- package/dist/chunks/{bus-dg2cj1yd.js → job-ssdqnhy0.js} +4 -4
- package/dist/chunks/{bus-3ykcbj89.js → job-sszsbszq.js} +16 -16
- package/dist/chunks/{bus-591hfs6w.js → job-t21rg5tv.js} +12 -12
- package/dist/chunks/{bus-6e7ra9xr.js → job-t41xfd23.js} +33 -33
- package/dist/chunks/{bus-yyvycyd9.js → job-t9nbwmk6.js} +11 -11
- package/dist/chunks/{bus-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-zd4x75bk.js → job-tdrvmst7.js} +32 -32
- package/dist/chunks/{bus-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{bus-nz226qv2.js → job-tg6988vm.js} +38 -38
- package/dist/chunks/{bus-q0kn3svj.js → job-tjdqkw86.js} +11 -11
- package/dist/chunks/{bus-1g7epwpd.js → job-tkmwgdpd.js} +4 -4
- package/dist/chunks/{bus-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-9a0tea98.js → job-tz7n5q2n.js} +13 -13
- package/dist/chunks/{bus-k53npxr2.js → job-v3sgzvyr.js} +1 -1
- package/dist/chunks/{bus-xcd0eash.js → job-v6gb7zv2.js} +6 -6
- package/dist/chunks/{bus-mj2a8ndt.js → job-v7ztqyra.js} +10 -10
- package/dist/chunks/{bus-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-set96w9c.js → job-vm6ftwaz.js} +18 -18
- package/dist/chunks/{bus-nng2ktcm.js → job-vmgq4x8b.js} +2 -2
- package/dist/chunks/{bus-j6cs17n6.js → job-vmk01m7y.js} +33 -33
- package/dist/chunks/{bus-0pwtbm8d.js → job-vrmkz4m4.js} +42 -39
- package/dist/chunks/{bus-v9ttbc11.js → job-vw85y51h.js} +9 -9
- package/dist/chunks/{bus-c2d6efkk.js → job-vxrbzjcb.js} +15 -15
- package/dist/chunks/{bus-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-5ekn9679.js → job-vzs5sf6e.js} +5 -1
- package/dist/chunks/{bus-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-6vjn8bs4.js → job-w4cz4w8n.js} +2 -2
- package/dist/chunks/job-w4n84c3x.js +26 -0
- package/dist/chunks/{bus-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{bus-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{bus-kwg24pm2.js → job-wdsk4apj.js} +23 -23
- package/dist/chunks/{bus-d1ybfbkk.js → job-wfadzjts.js} +11 -11
- package/dist/chunks/{bus-jmc0v9mm.js → job-wqev6sb9.js} +9 -9
- package/dist/chunks/{bus-6kf7h7pm.js → job-wtwhrn5z.js} +2 -2
- package/dist/chunks/{bus-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-82f2n6pz.js → job-x9t27xs5.js} +18 -18
- package/dist/chunks/{bus-j09v5y8k.js → job-xcv1e8fb.js} +14 -14
- package/dist/chunks/{bus-2eh44jhm.js → job-xegpwyaf.js} +26 -26
- package/dist/chunks/{bus-gepv4h39.js → job-xgdhjfbb.js} +13 -13
- package/dist/chunks/{bus-xkntkrq7.js → job-xkntkrq7.js} +2 -2
- package/dist/chunks/{bus-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-tmw8r5ax.js → job-y31rbjnw.js} +20 -20
- package/dist/chunks/{bus-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{bus-y7zpcszc.js → job-yg8z43z0.js} +8 -8
- package/dist/chunks/{bus-510m7gjw.js → job-yjptyezs.js} +5 -5
- package/dist/chunks/{bus-10jtetaj.js → job-yq2cczkq.js} +9 -9
- package/dist/chunks/{bus-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{bus-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z84vp5bs.js → job-z2txmjmh.js} +4 -4
- package/dist/chunks/{bus-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-f7srz8vp.js → job-zdm716ts.js} +30 -30
- package/dist/chunks/{bus-baaqp4zd.js → job-zee1rnkq.js} +4 -4
- package/dist/chunks/{bus-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-9e4j78a5.js → job-zfa7ynd8.js} +5 -5
- package/dist/chunks/{bus-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-a4w2tty6.js → job-zw0e5nj2.js} +16 -16
- package/dist/chunks/{bus-53he4jtf.js → job-zwjnk1y1.js} +13 -13
- package/dist/chunks/{bus-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +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 +90 -90
- 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 +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 +126 -126
- 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 +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- 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 +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +99 -99
- 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 +84 -84
- 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 +102 -102
- package/dist/mcp/instructions.js +126 -126
- 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 +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +100 -100
- 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 +94 -94
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- 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 +92 -92
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +87 -87
- 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 +128 -128
- 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 +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +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 +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- 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 +15 -15
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +108 -108
- 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 +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- 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 +14 -14
- 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 +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +80 -80
- 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 +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/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 → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6kdq0pjd.js → job-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-2b6sywcb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-0pvat8hm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-98jem7f5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-64nhe9mm.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID12
|
|
20
|
+
} from "./job-jwne8s3x.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-1awp3qpv.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID12.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID12.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
164
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID12.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID12.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID12.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID12.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-0pvat8hm.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-qzy0htd5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service24,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node27
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service24 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service24.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service24, node27, exports_rpc, define2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service54
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-431mjdkk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-jw8x7wz2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service56
|
|
11
|
+
} from "./job-a8wsvhrn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service67
|
|
14
|
+
} from "./job-212zgvfw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./job-gwpxvm0z.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-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: () => Input4,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin40,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name4,
|
|
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 name4 = "write";
|
|
39
|
+
var Input4 = 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 Plugin40 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
55
|
+
const access = yield* Service22;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
57
|
const environment = yield* Service54;
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
58
|
+
const formatter = yield* Service56;
|
|
59
|
+
const permission = yield* Service67;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
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: Input4,
|
|
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 { name4, Input4, Output4, toModelContent3, Plugin40, exports_write };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-qzy0htd5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service22
|
|
9
|
+
} from "./job-gwpxvm0z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./job-zw0e5nj2.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service11
|
|
27
|
+
} from "./job-tz7n5q2n.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin41,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin41 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service11;
|
|
62
|
+
const access = yield* Service22;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin5 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent4 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name5, Input5, Plugin41, toModelContent4, exports_read };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-0pvat8hm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-qzy0htd5.js";
|
|
9
9
|
import {
|
|
10
10
|
ID4
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service50,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node54
|
|
16
|
+
} from "./job-95f1p06x.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
@@ -27,12 +27,12 @@ __export(exports_pty, {
|
|
|
27
27
|
CreateInput: () => CreateInput3,
|
|
28
28
|
Event: () => Event7,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info4,
|
|
31
31
|
NotFoundError: () => NotFoundError4,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service23,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node26
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -41,7 +41,7 @@ import { Event as Event7 } from "@opencode/schema/pty";
|
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info4 = Pty.Info;
|
|
45
45
|
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service23 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service50;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service23.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node26 = makeLocationNode({
|
|
274
|
+
service: Service23,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87, node84,
|
|
276
|
+
deps: [node87, node84, node54]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info4, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service23, node26, exports_pty, Event7 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service54,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node58
|
|
7
|
+
} from "./job-431mjdkk.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,7 +34,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
38
|
const environment = yield* Service54;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node58] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|