@opencode/core 0.0.0-dev-20119 → 0.0.0-dev-20120
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 +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{permission-wtz46evs.js → bus-0aphxhy3.js} +6 -6
- package/dist/chunks/{permission-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-vke85nbr.js → bus-0pwtbm8d.js} +42 -42
- package/dist/chunks/{permission-bckw6fxp.js → bus-0tk2ys0w.js} +14 -14
- package/dist/chunks/{permission-0v53mg2y.js → bus-0v53mg2y.js} +1 -1
- package/dist/chunks/{permission-2y34zzjz.js → bus-10jtetaj.js} +4 -4
- package/dist/chunks/{permission-n12p0aed.js → bus-164s88qm.js} +3 -3
- package/dist/chunks/{permission-f2n192rq.js → bus-1acjjqhc.js} +4 -4
- package/dist/chunks/{permission-bd8v2mxq.js → bus-1aff68qb.js} +22 -22
- package/dist/chunks/{permission-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-1g7epwpd.js → bus-1g7epwpd.js} +1 -1
- package/dist/chunks/{permission-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{permission-carp2623.js → bus-23p96v1r.js} +5 -5
- package/dist/chunks/{permission-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-p5q0qccq.js → bus-289e86vh.js} +7 -7
- package/dist/chunks/{permission-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-vmwh049b.js → bus-2e96adxv.js} +6 -6
- package/dist/chunks/{permission-vc7rc5cq.js → bus-2eh44jhm.js} +29 -29
- package/dist/chunks/{permission-rx2tnj8d.js → bus-2hf4ykx9.js} +5 -5
- package/dist/chunks/{permission-2cmv458r.js → bus-2hg7qvzt.js} +5 -5
- package/dist/chunks/{permission-qgn6gcr1.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{permission-ggfrbsvd.js → bus-2p8k3371.js} +8 -8
- package/dist/chunks/{permission-xtf11xng.js → bus-2rs5yfkz.js} +12 -12
- package/dist/chunks/{permission-b1gxpad1.js → bus-2vxnta51.js} +27 -27
- package/dist/chunks/{permission-2w3nn2sd.js → bus-2z8310yg.js} +23 -23
- package/dist/chunks/{permission-mfqp6xfm.js → bus-33w4ejhs.js} +9 -9
- package/dist/chunks/{permission-t0fxg8b9.js → bus-37s12vcn.js} +5 -5
- package/dist/chunks/{permission-7694dw28.js → bus-3dynr17n.js} +3 -3
- package/dist/chunks/{permission-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-c73zsg6z.js → bus-3kg98aef.js} +36 -36
- package/dist/chunks/{permission-5ne5kbwj.js → bus-3mvfcwmn.js} +15 -15
- package/dist/chunks/{permission-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-9mpknem2.js → bus-3ykcbj89.js} +17 -17
- package/dist/chunks/{permission-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-9xrq1hr0.js → bus-4473wfhr.js} +24 -24
- package/dist/chunks/{permission-hbyc8em0.js → bus-46443g93.js} +27 -27
- package/dist/chunks/{permission-2p623br6.js → bus-4a6jpjer.js} +5 -5
- package/dist/chunks/{permission-hczfswh2.js → bus-4dwjvpsb.js} +37 -37
- package/dist/chunks/{permission-7rrn560x.js → bus-4k0xqdp1.js} +6 -6
- package/dist/chunks/{permission-vxzatawb.js → bus-4y5r2s8b.js} +41 -41
- package/dist/chunks/{permission-3c4dqjmx.js → bus-4zt7vk3e.js} +8 -8
- package/dist/chunks/{permission-50mzsvk4.js → bus-50mzsvk4.js} +1 -1
- package/dist/chunks/{permission-bgxcxs0p.js → bus-510m7gjw.js} +5 -5
- package/dist/chunks/{permission-vpzcv88j.js → bus-532wn72m.js} +20 -20
- package/dist/chunks/{permission-j4sn1ecc.js → bus-53he4jtf.js} +16 -16
- package/dist/chunks/{permission-ve49xb5v.js → bus-558q8f18.js} +6 -6
- package/dist/chunks/{permission-qqeeq2t9.js → bus-57b9ws8p.js} +4 -4
- package/dist/chunks/{permission-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{permission-nagffze5.js → bus-591hfs6w.js} +12 -12
- package/dist/chunks/{permission-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-2pft9xwb.js → bus-5e23jtee.js} +4 -4
- package/dist/chunks/{permission-5ekn9679.js → bus-5ekn9679.js} +1 -1
- package/dist/chunks/{permission-zvjv1m78.js → bus-5hsmzm6x.js} +24 -24
- package/dist/chunks/{permission-9qc7wazq.js → bus-5hw9wg1w.js} +13 -13
- package/dist/chunks/{permission-04t4qrc0.js → bus-5mhk3hnh.js} +8 -8
- package/dist/chunks/{permission-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-wq4mmp7m.js → bus-5xpznt2d.js} +4 -4
- package/dist/chunks/{permission-113m8np5.js → bus-5y16yxhf.js} +38 -38
- package/dist/chunks/{permission-4xhhjths.js → bus-64s65d1n.js} +8 -8
- package/dist/chunks/{permission-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{permission-j0cm5373.js → bus-6790c4gc.js} +22 -22
- package/dist/chunks/{permission-g3xxm8dx.js → bus-6869j5x3.js} +24 -24
- package/dist/chunks/{permission-gg5r1fmx.js → bus-68t91stz.js} +26 -26
- package/dist/chunks/{permission-4x6a2nc2.js → bus-69fyavwc.js} +23 -23
- package/dist/chunks/{permission-t9qawdje.js → bus-6e7ra9xr.js} +43 -43
- package/dist/chunks/{permission-nnxdhk5c.js → bus-6ersrjne.js} +6 -6
- package/dist/chunks/{permission-3729hm93.js → bus-6g6czt8k.js} +28 -28
- package/dist/chunks/bus-6kdq0pjd.js +4 -0
- package/dist/chunks/{permission-b5ghb0em.js → bus-6kf7h7pm.js} +4 -4
- package/dist/chunks/{permission-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-q6354v6v.js → bus-6nj7wcw4.js} +18 -18
- package/dist/chunks/{permission-1wxdd9bp.js → bus-6v5a3sjt.js} +36 -36
- package/dist/chunks/{permission-g8qbx9yb.js → bus-6vjn8bs4.js} +2 -2
- package/dist/chunks/{permission-1g07kwny.js → bus-7667x3dh.js} +8 -8
- package/dist/chunks/{permission-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-fyjcya9r.js → bus-7hxcrbpt.js} +16 -16
- package/dist/chunks/{permission-9z7rvmdz.js → bus-7n4snhe6.js} +32 -32
- package/dist/chunks/{permission-w68gvhaz.js → bus-7qyhf897.js} +60 -60
- package/dist/chunks/{permission-5cmxdwv8.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{permission-n2srvep7.js → bus-80scg3y3.js} +4 -4
- package/dist/chunks/{permission-z1axspxz.js → bus-82f2n6pz.js} +30 -30
- package/dist/chunks/{permission-njhqdk9p.js → bus-82rhge12.js} +9 -9
- package/dist/chunks/{permission-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-ndwep2rn.js → bus-8jgdc00b.js} +42 -42
- package/dist/chunks/{permission-61arc71x.js → bus-8ntpctcn.js} +3 -3
- package/dist/chunks/{permission-63w0j7wf.js → bus-8x3489c6.js} +10 -10
- package/dist/chunks/{permission-94ek1h2f.js → bus-94ek1h2f.js} +2 -2
- package/dist/chunks/{permission-e2zbxa1f.js → bus-98hraz26.js} +32 -32
- package/dist/chunks/{permission-s1ees2yq.js → bus-9a0tea98.js} +15 -15
- package/dist/chunks/{permission-twhc8j6t.js → bus-9a9tb9b7.js} +175 -175
- package/dist/chunks/{permission-rndtc434.js → bus-9e4j78a5.js} +11 -11
- package/dist/chunks/{permission-aw0qan0x.js → bus-9ra3hjx5.js} +19 -19
- package/dist/chunks/{permission-9yf7r90v.js → bus-9tsa03a7.js} +18 -18
- package/dist/chunks/{permission-y3paj102.js → bus-9wzzv3d4.js} +10 -10
- package/dist/chunks/{permission-4et1xenj.js → bus-a4w2tty6.js} +22 -22
- package/dist/chunks/{permission-1dfcvs2e.js → bus-a7q78ykb.js} +35 -35
- package/dist/chunks/{permission-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-xn1qvbwd.js → bus-ag9dg5tv.js} +4 -4
- package/dist/chunks/{permission-2epmtwtd.js → bus-ajvebkcv.js} +7 -7
- package/dist/chunks/{permission-dzv299pc.js → bus-an2m8jxp.js} +5 -5
- package/dist/chunks/{permission-shy231ea.js → bus-b1k96n1k.js} +8 -8
- package/dist/chunks/{permission-b3x37y50.js → bus-b3mnbz4x.js} +42 -42
- package/dist/chunks/{permission-rxxsve6v.js → bus-b5pmzzwt.js} +16 -16
- package/dist/chunks/{permission-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-hn57h045.js → bus-baaqp4zd.js} +4 -4
- package/dist/chunks/bus-bb4pz6c3.js +252 -0
- package/dist/chunks/{permission-69fxs3yh.js → bus-bcc00dfx.js} +25 -25
- package/dist/chunks/{permission-swnc7zb1.js → bus-bjkbzs1n.js} +9 -9
- package/dist/chunks/{permission-7ca3fsrw.js → bus-bn9g0ay3.js} +9 -9
- package/dist/chunks/{permission-8pg06mrd.js → bus-bpa4sr12.js} +9 -9
- package/dist/chunks/{permission-zy43x3f1.js → bus-btbmdjwj.js} +4 -4
- package/dist/chunks/{permission-7xhxk32r.js → bus-bx8k04fv.js} +32 -32
- package/dist/chunks/{permission-bjmex0pb.js → bus-c0tew9h0.js} +90 -90
- package/dist/chunks/{permission-bn2x0fwm.js → bus-c2d6efkk.js} +18 -18
- package/dist/chunks/{permission-h4pt5600.js → bus-cg1zn3em.js} +24 -24
- package/dist/chunks/{permission-ckecvw8r.js → bus-ckecvw8r.js} +2 -2
- package/dist/chunks/{permission-ydq8kqe2.js → bus-cnwavjs9.js} +10 -10
- package/dist/chunks/{permission-2sejkfem.js → bus-cwa6csj7.js} +9 -9
- package/dist/chunks/{permission-v8d2538b.js → bus-d0dpxhdy.js} +13 -13
- package/dist/chunks/{permission-btw1fp9y.js → bus-d1ybfbkk.js} +11 -11
- package/dist/chunks/{permission-2xnc269x.js → bus-d1ywvx9d.js} +20 -20
- package/dist/chunks/{permission-t69a2jzb.js → bus-d27fb3rp.js} +15 -15
- package/dist/chunks/{permission-resa534e.js → bus-d63sn1es.js} +25 -25
- package/dist/chunks/{permission-15c6mc19.js → bus-dce2hbks.js} +14 -14
- package/dist/chunks/{permission-53fyba40.js → bus-dg2cj1yd.js} +4 -4
- package/dist/chunks/{permission-29eybrv2.js → bus-dm5wnt06.js} +11 -11
- package/dist/chunks/{permission-df8ehadt.js → bus-dr9114b3.js} +19 -19
- package/dist/chunks/{permission-9hn6k4tm.js → bus-dv1qgsyq.js} +4 -4
- package/dist/chunks/{permission-sq3wxzej.js → bus-dvjwc1jd.js} +26 -26
- package/dist/chunks/{permission-ff7vxqds.js → bus-e1hrzsan.js} +12 -12
- package/dist/chunks/{permission-ecfe7b91.js → bus-ecfe7b91.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-yy8mbgft.js → bus-eh6v2xt8.js} +5 -5
- package/dist/chunks/{permission-5sbkef6x.js → bus-ej2v6pb4.js} +26 -26
- package/dist/chunks/{permission-3g4qjr57.js → bus-en6pdrmj.js} +33 -33
- package/dist/chunks/{permission-yzjzvpx0.js → bus-en855e9q.js} +15 -15
- package/dist/chunks/{permission-66728888.js → bus-er6eqcq4.js} +17 -17
- package/dist/chunks/{permission-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-e9qrpmap.js → bus-f7srz8vp.js} +31 -31
- package/dist/chunks/{permission-308erpwc.js → bus-ffyxsvc8.js} +37 -37
- package/dist/chunks/{permission-smf8s82w.js → bus-frttmpwd.js} +14 -14
- package/dist/chunks/{permission-cjbktpgm.js → bus-g2vg20pk.js} +13 -13
- package/dist/chunks/{permission-hrjj7k7w.js → bus-g3zs80zy.js} +13 -13
- package/dist/chunks/{permission-xg6d6gb2.js → bus-g8yrnpej.js} +32 -32
- package/dist/chunks/{permission-8me9vsnm.js → bus-gbnpsc00.js} +35 -35
- package/dist/chunks/{permission-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-r91gwwk6.js → bus-gepv4h39.js} +13 -13
- package/dist/chunks/{permission-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{permission-daaj9csy.js → bus-gxqmhm25.js} +1 -1
- package/dist/chunks/{permission-nzyhnfxz.js → bus-h6r3nrb9.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-86c1psec.js → bus-hk3ctm5n.js} +23 -23
- package/dist/chunks/{permission-s8zy8myc.js → bus-hkfg6fzm.js} +5 -5
- package/dist/chunks/{permission-9kq1wtd8.js → bus-htr6fmqq.js} +21 -21
- package/dist/chunks/{permission-1zf14f37.js → bus-j09v5y8k.js} +17 -17
- package/dist/chunks/{permission-qcq07nqx.js → bus-j4mkemyr.js} +26 -26
- package/dist/chunks/{permission-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-s9pph64z.js → bus-j6cs17n6.js} +31 -31
- package/dist/chunks/{permission-c3xwdzde.js → bus-javke9pj.js} +24 -24
- package/dist/chunks/{permission-ch8wkw76.js → bus-jh3gssky.js} +6 -6
- package/dist/chunks/{permission-2xjg99vg.js → bus-jh5fsdvg.js} +75 -75
- package/dist/chunks/{permission-t73e6et9.js → bus-jh76kevn.js} +11 -11
- package/dist/chunks/{permission-dqc33aa7.js → bus-jhdkfdqd.js} +30 -30
- package/dist/chunks/{permission-vwqfcj84.js → bus-jmc0v9mm.js} +9 -9
- package/dist/chunks/{permission-3ryq3ta5.js → bus-jnnfack4.js} +23 -23
- package/dist/chunks/bus-jqh9b0xq.js +18 -0
- package/dist/chunks/bus-k3fvns7c.js +507 -0
- package/dist/chunks/{permission-gc4fb455.js → bus-k3yea1v9.js} +4 -4
- package/dist/chunks/{permission-r3c4069c.js → bus-k53npxr2.js} +1 -1
- package/dist/chunks/{permission-e1mq448c.js → bus-k9p607fy.js} +7 -7
- package/dist/chunks/{permission-rbygrj0c.js → bus-kb3wdknj.js} +6 -6
- package/dist/chunks/{permission-aneyr7g2.js → bus-kgnf550j.js} +24 -24
- package/dist/chunks/{permission-dk94y6ts.js → bus-kq7cxy5p.js} +18 -18
- package/dist/chunks/{permission-pxwjnjef.js → bus-kwg24pm2.js} +23 -23
- package/dist/chunks/{permission-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-wvhnf3q7.js → bus-mestvbzy.js} +30 -30
- package/dist/chunks/{permission-mhkvc446.js → bus-mhkvc446.js} +1 -1
- package/dist/chunks/{permission-2zk1jpk4.js → bus-mhm4sgj3.js} +41 -41
- package/dist/chunks/{permission-13f0rtqg.js → bus-mj2a8ndt.js} +5 -5
- package/dist/chunks/bus-mt8qwt01.js +26 -0
- package/dist/chunks/{permission-6597wevy.js → bus-mxd8xx25.js} +7 -7
- package/dist/chunks/{permission-kw0x4zv0.js → bus-my28n560.js} +11 -11
- package/dist/chunks/{permission-ncve3449.js → bus-mz78b8aw.js} +53 -53
- package/dist/chunks/{permission-vmgq4x8b.js → bus-nng2ktcm.js} +2 -2
- package/dist/chunks/{permission-93s3r6ze.js → bus-ntvje2wv.js} +10 -10
- package/dist/chunks/{permission-fnx7dc71.js → bus-nz226qv2.js} +42 -42
- package/dist/chunks/{permission-k3c624dm.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{permission-n1t5s24y.js → bus-p26h8rmj.js} +20 -20
- package/dist/chunks/{permission-wmvwqzxt.js → bus-p2ghveb7.js} +10 -10
- package/dist/chunks/{permission-bhtxa2ab.js → bus-p4h2ee3k.js} +37 -37
- package/dist/chunks/{permission-kqhbbeev.js → bus-pfvrqk7c.js} +5 -5
- package/dist/chunks/{permission-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{permission-hv6ry3a8.js → bus-pmnz6x88.js} +32 -32
- package/dist/chunks/{permission-vq40g84k.js → bus-pxnn0hzj.js} +5 -5
- package/dist/chunks/{permission-t52dvsat.js → bus-q0kn3svj.js} +11 -11
- package/dist/chunks/{permission-f9sk94pt.js → bus-q4rrewpj.js} +9 -9
- package/dist/chunks/{permission-f8rs397p.js → bus-qd7njmhj.js} +18 -18
- package/dist/chunks/{permission-5syk7be4.js → bus-qejegbf7.js} +9 -9
- package/dist/chunks/{permission-nq7qbqzc.js → bus-qg0jgkcp.js} +9 -9
- package/dist/chunks/{permission-am94z2sr.js → bus-qjmyffbz.js} +22 -22
- package/dist/chunks/{permission-jb5n3819.js → bus-qkzt4n85.js} +32 -32
- package/dist/chunks/{permission-ys6brrpt.js → bus-qp0qcvc3.js} +4 -4
- package/dist/chunks/{permission-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-765ny0k6.js → bus-qysagv28.js} +5 -5
- package/dist/chunks/{permission-x9pr068f.js → bus-r5zp2xvk.js} +16 -16
- package/dist/chunks/{permission-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-h4637n2w.js → bus-rn4807fq.js} +10 -10
- package/dist/chunks/{permission-1fg2v749.js → bus-s2r1nmf5.js} +22 -22
- package/dist/chunks/{permission-10essmcm.js → bus-s4y91pv1.js} +1 -1
- package/dist/chunks/{permission-bnmr3cva.js → bus-s5met55r.js} +8 -8
- package/dist/chunks/{permission-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
- package/dist/chunks/{permission-647mpkz7.js → bus-sc0dy51e.js} +28 -28
- package/dist/chunks/{permission-ymsfrre1.js → bus-set96w9c.js} +25 -25
- package/dist/chunks/{permission-km54khth.js → bus-sq03nw7q.js} +5 -5
- package/dist/chunks/{permission-trczvf7r.js → bus-ssxxqz2z.js} +48 -48
- package/dist/chunks/{permission-24cw7476.js → bus-svwvgw0p.js} +5 -5
- package/dist/chunks/{permission-w8djw5a7.js → bus-t6qketva.js} +9 -9
- package/dist/chunks/{permission-2q4t92h6.js → bus-t9nxfj60.js} +15 -15
- package/dist/chunks/{permission-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-89znhe33.js → bus-tcezcvh9.js} +4 -4
- package/dist/chunks/{permission-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{permission-f1hxsvn9.js → bus-tkxy3zey.js} +3 -3
- package/dist/chunks/{permission-mk8ce6h1.js → bus-tmw8r5ax.js} +18 -18
- package/dist/chunks/{permission-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-ckm4tpe3.js → bus-v9cj5dav.js} +7 -7
- package/dist/chunks/{permission-4e0rwsh6.js → bus-v9ttbc11.js} +9 -9
- package/dist/chunks/{permission-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-y5df08dr.js → bus-vy4zg7qh.js} +12 -12
- package/dist/chunks/{permission-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-3gd27br4.js → bus-w3qytxyt.js} +20 -20
- package/dist/chunks/{permission-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-jrbfgch9.js → bus-w4j00t45.js} +15 -15
- package/dist/chunks/{permission-wdf9qch3.js → bus-w7k6j2a3.js} +58 -58
- package/dist/chunks/{permission-jws6fkes.js → bus-w92k2e0p.js} +2 -2
- package/dist/chunks/{permission-tzqw0ecz.js → bus-wad8yrrs.js} +9 -9
- package/dist/chunks/{permission-gb1a8et5.js → bus-wam6zj6d.js} +32 -32
- package/dist/chunks/{permission-wd3x2cqz.js → bus-wd3x2cqz.js} +2 -2
- package/dist/chunks/{permission-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{permission-y0ed41ky.js → bus-wgxdx5hm.js} +13 -13
- package/dist/chunks/{permission-c8mwjc3e.js → bus-wn1pdx1c.js} +4 -4
- package/dist/chunks/{permission-j4jmf9mg.js → bus-wpkwc4jm.js} +3 -3
- package/dist/chunks/{permission-8qpk3zmp.js → bus-wrtwksw2.js} +23 -23
- package/dist/chunks/{permission-xvf478q1.js → bus-wswstrrw.js} +29 -29
- package/dist/chunks/{permission-nrs9j53j.js → bus-x17jm467.js} +95 -95
- package/dist/chunks/{permission-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-mfqk18t8.js → bus-x1fhfwhd.js} +3 -3
- package/dist/chunks/{permission-6ysrkrkr.js → bus-x2qdxhwm.js} +8 -8
- package/dist/chunks/{permission-fadt7qz2.js → bus-x4w3r6cj.js} +7 -7
- package/dist/chunks/{permission-d864sp7p.js → bus-x5yxy9ce.js} +14 -14
- package/dist/chunks/{permission-2mg2c90e.js → bus-x88sd9vg.js} +8 -8
- package/dist/chunks/{permission-3ppptnan.js → bus-xcd0eash.js} +6 -6
- package/dist/chunks/{permission-kak6mpy1.js → bus-xfkng03w.js} +9 -9
- package/dist/chunks/{permission-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{permission-t76bg29x.js → bus-xr3vnqvw.js} +11 -11
- package/dist/chunks/{permission-ebqtxa3d.js → bus-xsq35xtq.js} +14 -14
- package/dist/chunks/{permission-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{permission-fzh8x5rh.js → bus-y7zpcszc.js} +8 -8
- package/dist/chunks/{permission-wprevzch.js → bus-y9wajj3h.js} +9 -9
- package/dist/chunks/{permission-paksbeb0.js → bus-ybcjevba.js} +13 -13
- package/dist/chunks/{permission-h55f8ekh.js → bus-ygm7vbzh.js} +13 -13
- package/dist/chunks/{permission-bs9gq3kg.js → bus-yr3b1252.js} +9 -9
- package/dist/chunks/{permission-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-dfjjnqjz.js → bus-yt4p079e.js} +22 -22
- package/dist/chunks/{permission-8n69n882.js → bus-yvvvp4gn.js} +4 -4
- package/dist/chunks/{permission-6zcrwpkc.js → bus-yytqf23a.js} +25 -25
- package/dist/chunks/{permission-qrdkkm3g.js → bus-yyvycyd9.js} +11 -11
- package/dist/chunks/{permission-z07pqspn.js → bus-z07pqspn.js} +3 -3
- package/dist/chunks/{permission-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-5zpzs5d8.js → bus-z2ydsh5b.js} +18 -18
- package/dist/chunks/{permission-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-w3bvxqb3.js → bus-z84vp5bs.js} +4 -4
- package/dist/chunks/{permission-jcqyfzsp.js → bus-zd4x75bk.js} +36 -36
- package/dist/chunks/{permission-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-6ysjh389.js → bus-zfbsw1e6.js} +3 -3
- package/dist/chunks/{permission-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-ek20zwdz.js → bus-zr2g05xs.js} +8 -8
- package/dist/chunks/{permission-dvj3ypxf.js → bus-zt8acy92.js} +12 -12
- package/dist/chunks/{permission-24rqwmmy.js → bus-zw0kpawm.js} +20 -20
- package/dist/chunks/{permission-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +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 +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +135 -135
- 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 +85 -85
- 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 +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 +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +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 +3 -3
- 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 +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 +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +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 +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 +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 +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- 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 +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +79 -79
- 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 +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +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 +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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- 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 +105 -105
- 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 +108 -108
- package/dist/tool/plugin/write.js +118 -118
- 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/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 +1 -1
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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 +1 -1
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/permission-0mesazry.js +0 -4
- package/dist/chunks/permission-9s62myhf.js +0 -507
- package/dist/chunks/permission-c3bcdhax.js +0 -26
- package/dist/chunks/permission-jpgw2gw7.js +0 -252
- package/dist/chunks/permission-v1faaxn9.js +0 -18
- /package/dist/chunks/{permission-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./bus-r5zp2xvk.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info23,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service65,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info23 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service65 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info23.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service65.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node69 = makeLocationNode({ service: Service65, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info23, Service65, node69, exports_agent4, Event13 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./bus-kgnf550j.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./bus-4k0xqdp1.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-qp0qcvc3.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
15
|
Service45
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-5y16yxhf.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin34
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,11 +40,11 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin34 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
50
|
const config = yield* Service45;
|
|
@@ -76,13 +76,13 @@ var Plugin11 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin34, exports_agent2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./bus-w7k6j2a3.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin12 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service62;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin43 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin12, extractTextFromHTML2, exports_webfetch };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./bus-r5zp2xvk.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./permission-y5df08dr.js";
|
|
8
|
+
} from "./bus-vy4zg7qh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./bus-0tk2ys0w.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-jqh9b0xq.js";
|
|
16
16
|
import {
|
|
17
17
|
Service46,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node49
|
|
19
|
+
} from "./bus-x5yxy9ce.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node15
|
|
22
|
+
} from "./bus-w3qytxyt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./bus-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher2 = {};
|
|
33
33
|
__export(exports_location_watcher2, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service80;
|
|
47
47
|
const watcher = yield* Service46;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node49, FSUtil.node, node84, node86, node87, node15, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./bus-r5zp2xvk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node49
|
|
7
|
+
} from "./bus-x5yxy9ce.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./bus-wrtwksw2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service36
|
|
14
|
+
} from "./bus-jqh9b0xq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node15,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./bus-w3qytxyt.js";
|
|
19
19
|
import {
|
|
20
20
|
Service3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node5
|
|
22
|
+
} from "./bus-dv1qgsyq.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-k3fvns7c.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-jh3gssky.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
34
|
Service4,
|
|
35
|
-
node5
|
|
36
|
-
} from "./permission-2mg2c90e.js";
|
|
37
|
-
import {
|
|
38
|
-
Service5,
|
|
39
35
|
node6
|
|
40
|
-
} from "./
|
|
36
|
+
} from "./bus-x88sd9vg.js";
|
|
37
|
+
import {
|
|
38
|
+
Service7,
|
|
39
|
+
node9
|
|
40
|
+
} from "./bus-82rhge12.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer4,
|
|
50
|
+
node: () => node4
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID2.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
128
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service36;
|
|
130
130
|
const sdk = yield* Service4;
|
|
131
131
|
const instance = yield* Service3;
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
132
|
+
const sources = yield* Service9;
|
|
133
|
+
const modules = yield* make4();
|
|
134
|
+
const bus = yield* Service83;
|
|
135
|
+
const updates = yield* Service7;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
node5,
|
|
212
|
-
node4,
|
|
213
|
-
node3,
|
|
210
|
+
node15,
|
|
214
211
|
node6,
|
|
215
|
-
|
|
212
|
+
node5,
|
|
213
|
+
node11,
|
|
214
|
+
node9,
|
|
215
|
+
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node49,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer4, node4, exports_supervisor };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-en6pdrmj.js";
|
|
5
5
|
import {
|
|
6
6
|
Service45
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-5y16yxhf.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-ag9dg5tv.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin20
|
|
3
|
+
} from "./bus-64s65d1n.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin21
|
|
6
|
+
} from "./bus-jmc0v9mm.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin17
|
|
9
|
+
} from "./bus-xfkng03w.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin18
|
|
12
|
+
} from "./bus-4zt7vk3e.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin19
|
|
15
|
+
} from "./bus-qejegbf7.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin20,
|
|
20
|
+
Plugin21,
|
|
21
|
+
Plugin17,
|
|
22
|
+
Plugin18,
|
|
23
|
+
Plugin19
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-a7q78ykb.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-en6pdrmj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -349,7 +349,7 @@ var bedrockConverse = (model, support) => {
|
|
|
349
349
|
});
|
|
350
350
|
if (id.includes("openai.gpt-oss"))
|
|
351
351
|
return fields({ reasoning_effort: effort });
|
|
352
|
-
if (id.includes("openai."))
|
|
352
|
+
if (id.includes("openai.") || id.includes("xai."))
|
|
353
353
|
return fields({ reasoning: { effort } });
|
|
354
354
|
return fields({ reasoningConfig: { type: "enabled", maxReasoningEffort: effort } });
|
|
355
355
|
});
|
|
@@ -494,4 +494,4 @@ var PROTOCOLS = {
|
|
|
494
494
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
495
495
|
};
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { resolve2, exports_variant };
|