@opencode/core 0.0.0-dev-20420 → 0.0.0-dev-20423
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{image-bdw71yz3.js → file-access-054bnrcz.js} +12 -12
- package/dist/chunks/{image-mk3zm8w3.js → file-access-07esrmkr.js} +13 -13
- package/dist/chunks/{image-yc4m8b4c.js → file-access-07x4qw17.js} +48 -48
- package/dist/chunks/{image-8bzcbfjx.js → file-access-0e0js3rh.js} +19 -19
- package/dist/chunks/{image-kxpygcw9.js → file-access-0ft9cg2j.js} +4 -4
- package/dist/chunks/{image-kma0a23x.js → file-access-0k4n424v.js} +52 -52
- package/dist/chunks/{image-vgxhzj35.js → file-access-0maqqwr3.js} +11 -11
- package/dist/chunks/{image-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-gv6a8nnw.js → file-access-0vbcp93d.js} +2 -2
- package/dist/chunks/{image-g6em3hs7.js → file-access-0x34zjfk.js} +11 -11
- package/dist/chunks/{image-44nyv85r.js → file-access-10a0p2jb.js} +11 -11
- package/dist/chunks/{image-x5c3aeq5.js → file-access-15nepkqg.js} +8 -8
- package/dist/chunks/{image-jv14matq.js → file-access-16v1444e.js} +7 -7
- package/dist/chunks/{image-y6bxn8ge.js → file-access-1cjqvqy6.js} +25 -25
- package/dist/chunks/{image-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-2ptzyb5x.js → file-access-1dth1b1r.js} +14 -14
- package/dist/chunks/{image-gfvb90ym.js → file-access-1dvck2a7.js} +2 -2
- package/dist/chunks/{image-e1gx0x5b.js → file-access-1garg717.js} +8 -8
- package/dist/chunks/{image-8tr76t7q.js → file-access-1kxeax12.js} +4 -4
- package/dist/chunks/{image-2ffw9mnr.js → file-access-1m0tad6c.js} +11 -11
- package/dist/chunks/{image-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{image-pf9vtx43.js → file-access-22d7tj50.js} +12 -12
- package/dist/chunks/{image-bczcn6w4.js → file-access-288g8677.js} +4 -4
- package/dist/chunks/{image-44vdmdsx.js → file-access-29kk78yn.js} +5 -5
- package/dist/chunks/{image-bey9aa5n.js → file-access-29tbwe98.js} +21 -21
- package/dist/chunks/{image-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-fjzghbfh.js → file-access-2bh420nq.js} +23 -23
- package/dist/chunks/{image-6dcamqcs.js → file-access-2htbg7xg.js} +34 -34
- package/dist/chunks/{image-tbe0yh0n.js → file-access-2jyv8ggx.js} +20 -20
- package/dist/chunks/{image-fdv5t5g0.js → file-access-32wjb5vy.js} +25 -25
- package/dist/chunks/{image-rpg9mwd2.js → file-access-33fsjrfc.js} +23 -23
- package/dist/chunks/{image-nrbk2kv0.js → file-access-3c019r4e.js} +6 -6
- package/dist/chunks/{image-56b3zt1s.js → file-access-3emr59yt.js} +8 -8
- package/dist/chunks/{image-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-1sayd3qa.js → file-access-3jf042qv.js} +44 -44
- package/dist/chunks/{image-zqerc4cv.js → file-access-3rymjx9g.js} +20 -20
- package/dist/chunks/{image-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-57ez7d0k.js → file-access-3v5tjer0.js} +2 -2
- package/dist/chunks/{image-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-09vgy7d7.js → file-access-40x2t3h9.js} +26 -26
- package/dist/chunks/{image-w6s43q3f.js → file-access-43ka91pa.js} +11 -11
- package/dist/chunks/{image-z844dt8c.js → file-access-43qgvbm9.js} +22 -22
- package/dist/chunks/{image-98ya4gjh.js → file-access-4432mf64.js} +26 -26
- package/dist/chunks/{image-4xj83bvy.js → file-access-447efrsq.js} +10 -10
- package/dist/chunks/{image-ffpqsr69.js → file-access-46sp6zbs.js} +29 -29
- package/dist/chunks/{image-nr1s5933.js → file-access-47cwrk07.js} +19 -19
- package/dist/chunks/{image-0r7yqxbf.js → file-access-47jkzegy.js} +2 -2
- package/dist/chunks/{image-ygwcwb09.js → file-access-4hrvpbem.js} +4 -4
- package/dist/chunks/{image-yrznvahk.js → file-access-4ts7tf6z.js} +2 -2
- package/dist/chunks/{image-jfr8p1nc.js → file-access-4xp53jne.js} +6 -6
- package/dist/chunks/{image-eeyn7p3y.js → file-access-4xsrjhze.js} +5 -5
- package/dist/chunks/{image-a3r4dcrj.js → file-access-543tcfte.js} +2 -2
- package/dist/chunks/{image-r94pvvab.js → file-access-54ma36ye.js} +4 -4
- package/dist/chunks/{image-33w4ejhs.js → file-access-56gdpj1q.js} +6 -6
- package/dist/chunks/{image-e1vxf24z.js → file-access-587pgjr5.js} +20 -20
- package/dist/chunks/{image-98rjzhgf.js → file-access-59s176qy.js} +3 -3
- package/dist/chunks/{image-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{image-gq3rpds4.js → file-access-5f009fwt.js} +50 -50
- package/dist/chunks/{image-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-rk1r2hx8.js → file-access-5tat9ppm.js} +1 -1
- package/dist/chunks/{image-rr741bpx.js → file-access-5xzgptxk.js} +4 -4
- package/dist/chunks/{image-nkh7xb07.js → file-access-5yv40649.js} +13 -13
- package/dist/chunks/file-access-619r8v3y.js +18 -0
- package/dist/chunks/{image-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{image-s349tpfq.js → file-access-68yjs0jb.js} +21 -21
- package/dist/chunks/{image-syx3683f.js → file-access-69qt02rp.js} +1 -1
- package/dist/chunks/{image-zm1zrekh.js → file-access-6cgtmdw1.js} +11 -11
- package/dist/chunks/{image-1yce9yd2.js → file-access-6d6skgds.js} +16 -16
- package/dist/chunks/{image-nsfzc1qf.js → file-access-6dgwpzzh.js} +26 -26
- package/dist/chunks/{image-8c98pape.js → file-access-6dy6aana.js} +29 -29
- package/dist/chunks/{image-x7g19880.js → file-access-6jv65q7g.js} +11 -11
- package/dist/chunks/{image-m9b9fvvz.js → file-access-6sf57f13.js} +12 -12
- package/dist/chunks/{image-3fh5m38b.js → file-access-6ygnexhm.js} +5 -5
- package/dist/chunks/{image-v08hbz58.js → file-access-6z5zeb5k.js} +15 -15
- package/dist/chunks/{image-pxye9d3v.js → file-access-70kv65rg.js} +85 -85
- package/dist/chunks/{image-54tcyq79.js → file-access-71az546q.js} +2 -2
- package/dist/chunks/{image-j6x1e07f.js → file-access-78jsw4m4.js} +22 -22
- package/dist/chunks/{image-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-sez2zsv2.js → file-access-7zydptxx.js} +6 -6
- package/dist/chunks/{image-zd755v0h.js → file-access-81mx0dd4.js} +7 -7
- package/dist/chunks/{image-84txncab.js → file-access-84txncab.js} +1 -1
- package/dist/chunks/{image-asb7s1px.js → file-access-89rb888m.js} +15 -15
- package/dist/chunks/{image-4w5f3qm5.js → file-access-8ank75fn.js} +8 -8
- package/dist/chunks/{image-9352f8b0.js → file-access-8d4fr1yn.js} +9 -9
- package/dist/chunks/{image-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-ts4697w6.js → file-access-8jngx5jr.js} +33 -33
- package/dist/chunks/{image-51rzsxjq.js → file-access-8jx1rcbm.js} +34 -34
- package/dist/chunks/{image-cm4676z0.js → file-access-8kwjs46x.js} +17 -17
- package/dist/chunks/{image-63pd56y5.js → file-access-8mb668b9.js} +12 -12
- package/dist/chunks/{image-vrpbqt8c.js → file-access-8p7e9d70.js} +17 -17
- package/dist/chunks/{image-zrr907e3.js → file-access-8q7xev84.js} +8 -8
- package/dist/chunks/{image-vdjkcp1a.js → file-access-8q91hsbg.js} +10 -10
- package/dist/chunks/{image-h9bcwp57.js → file-access-91z5rg67.js} +6 -6
- package/dist/chunks/{image-prmgem5b.js → file-access-93ygb5af.js} +6 -6
- package/dist/chunks/{image-z8a1da1q.js → file-access-9bnev7a1.js} +20 -20
- package/dist/chunks/{image-bjtzbw4r.js → file-access-9e5bzkjp.js} +3 -3
- package/dist/chunks/{image-zxwpcx7f.js → file-access-9pas2tb1.js} +10 -10
- package/dist/chunks/{image-aj1p7gt3.js → file-access-9vmwh205.js} +6 -6
- package/dist/chunks/{image-g80d2raz.js → file-access-9y6p8gkk.js} +5 -5
- package/dist/chunks/{image-eq1pz5kg.js → file-access-a1gpj94z.js} +3 -3
- package/dist/chunks/{image-ma9b7dad.js → file-access-a6h4nhc6.js} +3 -3
- package/dist/chunks/{image-wkkjk60x.js → file-access-a9vcwp68.js} +39 -39
- package/dist/chunks/{image-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{image-dnxkq42g.js → file-access-addxnjmp.js} +4 -4
- package/dist/chunks/{image-wabfeqb8.js → file-access-ae464gx1.js} +8 -8
- package/dist/chunks/{image-xtf7vn19.js → file-access-aej0er4j.js} +15 -15
- package/dist/chunks/{image-1gn2b5rd.js → file-access-af6t3a03.js} +6 -6
- package/dist/chunks/{image-rwm5vee1.js → file-access-afdssyjb.js} +4 -4
- package/dist/chunks/{image-spr7x8vd.js → file-access-apk1tfew.js} +27 -27
- package/dist/chunks/{image-vq5ej43a.js → file-access-b3180kyy.js} +28 -28
- package/dist/chunks/{image-87yk6njf.js → file-access-b4mn66r8.js} +21 -21
- package/dist/chunks/{image-py3kkmfq.js → file-access-b4twkq7r.js} +6 -6
- package/dist/chunks/{image-92pqcnfv.js → file-access-b5nepgw1.js} +30 -30
- package/dist/chunks/{image-1h2tf2pz.js → file-access-b6eekeg6.js} +5 -5
- package/dist/chunks/{image-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-yfs06vqd.js → file-access-bbxmjh93.js} +3 -3
- package/dist/chunks/{image-t9zs3egg.js → file-access-bct739vz.js} +4 -4
- package/dist/chunks/{image-fz0jyhtj.js → file-access-bt85z86c.js} +24 -24
- package/dist/chunks/{image-jr6nesqj.js → file-access-c1sht665.js} +43 -43
- package/dist/chunks/{image-cpneeje0.js → file-access-c765mh8b.js} +8 -8
- package/dist/chunks/{image-7hdbg4yw.js → file-access-cbckqvqg.js} +13 -13
- package/dist/chunks/file-access-ccba3199.js +26 -0
- package/dist/chunks/{image-9pgc1ftw.js → file-access-cggxzdeq.js} +83 -83
- package/dist/chunks/{image-2gw8ssgq.js → file-access-d171acjh.js} +14 -14
- package/dist/chunks/{image-nn1s08mm.js → file-access-d8mzv3s6.js} +16 -16
- package/dist/chunks/{image-yzyn3x45.js → file-access-d9245fkk.js} +15 -15
- package/dist/chunks/{image-wrbnapbr.js → file-access-dbfpw9fe.js} +3 -3
- package/dist/chunks/{image-y4f6tqdt.js → file-access-dg8dy2wg.js} +27 -27
- package/dist/chunks/{image-1vsy90zb.js → file-access-djvcp36f.js} +22 -22
- package/dist/chunks/{image-e3ygdm6b.js → file-access-dkfn8ta6.js} +20 -20
- package/dist/chunks/{image-n6bdjd7t.js → file-access-dkn8r4r6.js} +8 -8
- package/dist/chunks/{image-nxm207yx.js → file-access-dpkg50ah.js} +4 -4
- package/dist/chunks/{image-qq8x5mwt.js → file-access-dwvzh0g2.js} +4 -4
- package/dist/chunks/{image-87sgw6dv.js → file-access-dxa0ydqz.js} +26 -26
- package/dist/chunks/{image-xzbn3rqq.js → file-access-e2mpdzhr.js} +6 -6
- package/dist/chunks/{image-w4y2qeev.js → file-access-eex14ffc.js} +35 -35
- package/dist/chunks/{image-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-v4ya61sm.js → file-access-ehtcgea1.js} +17 -17
- package/dist/chunks/{image-anz9cf4w.js → file-access-ennsf284.js} +18 -18
- package/dist/chunks/{image-dhzxrwkg.js → file-access-eph4bszk.js} +9 -9
- package/dist/chunks/{image-etzz3kcr.js → file-access-et0rkxxj.js} +8 -8
- package/dist/chunks/{image-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-4txpgtd5.js → file-access-ezk3vef6.js} +9 -9
- package/dist/chunks/{image-7j5e6wjq.js → file-access-f0mwhmn1.js} +8 -8
- package/dist/chunks/{image-2yv7jqsy.js → file-access-fa4m3wax.js} +2 -2
- package/dist/chunks/{image-qcv1wgnv.js → file-access-fdtxgpnc.js} +10 -10
- package/dist/chunks/{image-x1dwmb2w.js → file-access-ffmntvx6.js} +16 -16
- package/dist/chunks/{image-sc24egzq.js → file-access-fqcgpcra.js} +9 -9
- package/dist/chunks/{image-chn746cp.js → file-access-fyecwx5s.js} +15 -15
- package/dist/chunks/{image-xfkkasph.js → file-access-g5w8qwbj.js} +4 -4
- package/dist/chunks/{image-hkfg6fzm.js → file-access-g6yfr6ja.js} +5 -5
- package/dist/chunks/{image-edxf7q0v.js → file-access-g7ewk93y.js} +24 -24
- package/dist/chunks/{image-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-410wgjg3.js → file-access-gm258srw.js} +13 -13
- package/dist/chunks/{image-0vwyq9fa.js → file-access-gvzs7mpe.js} +13 -13
- package/dist/chunks/{image-psazpmmj.js → file-access-h2b79v29.js} +2 -2
- package/dist/chunks/{image-dz3gce22.js → file-access-h2qz4qj9.js} +13 -13
- package/dist/chunks/{image-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-yvq70187.js → file-access-h7f3g3sa.js} +16 -16
- package/dist/chunks/{image-44zg68ra.js → file-access-h8t7xzdm.js} +25 -25
- package/dist/chunks/{image-hehaxqkv.js → file-access-hnr8f6ws.js} +4 -4
- package/dist/chunks/{image-abq6qjef.js → file-access-hxr59w64.js} +24 -24
- package/dist/chunks/{image-a8vt68jm.js → file-access-j4rw0q04.js} +18 -18
- package/dist/chunks/{image-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{image-9fxxshwk.js → file-access-j5xd1zzt.js} +38 -38
- package/dist/chunks/{image-74s3n81d.js → file-access-j899q2e9.js} +26 -26
- package/dist/chunks/{image-4m5fa9e1.js → file-access-jafprmqk.js} +30 -30
- package/dist/chunks/{image-thwj5qp5.js → file-access-jeg27h1n.js} +10 -10
- package/dist/chunks/{image-a89e0tac.js → file-access-jewzahs7.js} +4 -4
- package/dist/chunks/{image-f2ra6ejh.js → file-access-jmmkndc6.js} +28 -28
- package/dist/chunks/{image-f3ngv102.js → file-access-jw80jp6b.js} +4 -4
- package/dist/chunks/{image-3w0fmcng.js → file-access-jzzgdak2.js} +5 -5
- package/dist/chunks/{image-3pemy4mj.js → file-access-k1byq2gr.js} +40 -40
- package/dist/chunks/{image-nzks3jc8.js → file-access-k3c624dm.js} +3 -3
- package/dist/chunks/{image-h7ygw6q4.js → file-access-k70p9jzb.js} +5 -5
- package/dist/chunks/{image-e8syvjy6.js → file-access-k93tk05c.js} +17 -17
- package/dist/chunks/{image-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-m58kmhef.js → file-access-m58kmhef.js} +2 -2
- package/dist/chunks/{image-08cc3crx.js → file-access-m6qrnzrr.js} +12 -12
- package/dist/chunks/{image-6mk64feq.js → file-access-m7b5ps2s.js} +8 -8
- package/dist/chunks/{image-qww8dk20.js → file-access-m8frsg49.js} +23 -23
- package/dist/chunks/{image-e72dvkew.js → file-access-m92djcax.js} +25 -25
- package/dist/chunks/{image-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-zeh9ct20.js → file-access-mazbtkaa.js} +2 -2
- package/dist/chunks/{image-zeffrx5b.js → file-access-mhsta9mw.js} +5 -5
- package/dist/chunks/{image-hfz95zw3.js → file-access-mycw3te0.js} +16 -16
- package/dist/chunks/{image-jj72jhew.js → file-access-n57qrn3a.js} +6 -6
- package/dist/chunks/{image-wxfthr7h.js → file-access-n66sb98d.js} +156 -156
- package/dist/chunks/{image-wp2da0y2.js → file-access-n7cst2s3.js} +70 -70
- package/dist/chunks/{image-jexxy024.js → file-access-ndmv45hp.js} +3 -3
- package/dist/chunks/{image-39wagmdt.js → file-access-nkbqs3g6.js} +3 -3
- package/dist/chunks/{image-pf2g5091.js → file-access-nks5f63d.js} +39 -39
- package/dist/chunks/{image-d8sh9q4a.js → file-access-p3vbarsn.js} +25 -25
- package/dist/chunks/{image-g0445xdp.js → file-access-p42hj8p8.js} +8 -8
- package/dist/chunks/{image-gbp3tmc2.js → file-access-p5wv9msv.js} +9 -9
- package/dist/chunks/{image-f29mbr7f.js → file-access-pd7gvt3w.js} +4 -4
- package/dist/chunks/{image-bkhvbshk.js → file-access-phxk36rp.js} +25 -25
- package/dist/chunks/{image-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{image-xdrba4jw.js → file-access-px76j0pk.js} +9 -9
- package/dist/chunks/file-access-q0xm7vwc.js +25 -0
- package/dist/chunks/file-access-q8av8z97.js +252 -0
- package/dist/chunks/{image-sadm9mde.js → file-access-q9gdr54j.js} +9 -9
- package/dist/chunks/{image-7npnsjne.js → file-access-qcxzt1z7.js} +14 -14
- package/dist/chunks/{image-7dqw4kz8.js → file-access-qgn6gcr1.js} +5 -5
- package/dist/chunks/{image-eh21xe1z.js → file-access-qjz9g255.js} +42 -42
- package/dist/chunks/{image-wzbyfwsn.js → file-access-qmjvrsyr.js} +3 -3
- package/dist/chunks/{image-6msgmcgs.js → file-access-qnc92qwc.js} +1 -1
- package/dist/chunks/{image-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{image-12htfbcb.js → file-access-r5mpbhf6.js} +11 -11
- package/dist/chunks/{image-257x5s3c.js → file-access-r651jaea.js} +41 -41
- package/dist/chunks/{image-rhraev7y.js → file-access-r8xr0va3.js} +4 -4
- package/dist/chunks/{image-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-ywxndyv1.js → file-access-rk7s9xkn.js} +4 -4
- package/dist/chunks/{image-m50qhwfm.js → file-access-rkhbev71.js} +11 -11
- package/dist/chunks/{image-v6ghzfeb.js → file-access-rmk2c50f.js} +5 -5
- package/dist/chunks/{image-v9463pt3.js → file-access-rwk1fma6.js} +20 -20
- package/dist/chunks/{image-3dsy9998.js → file-access-s06my820.js} +24 -24
- package/dist/chunks/{image-3pbjq009.js → file-access-s5a4scn6.js} +8 -8
- package/dist/chunks/{image-9t7a50xb.js → file-access-s8d7rejh.js} +4 -4
- package/dist/chunks/{image-jmhnkzbv.js → file-access-skhcq9z8.js} +1 -1
- package/dist/chunks/{image-zen14cpe.js → file-access-sn8z9k01.js} +13 -13
- package/dist/chunks/{image-ave9n0d8.js → file-access-svgvjres.js} +15 -15
- package/dist/chunks/{image-94be766r.js → file-access-sxsbdwhb.js} +9 -9
- package/dist/chunks/{image-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{image-s7vn0b15.js → file-access-tfzffy3q.js} +11 -11
- package/dist/chunks/{image-54pn5t4s.js → file-access-tj22pfav.js} +32 -32
- package/dist/chunks/{image-apxd6vqt.js → file-access-tjseg5r3.js} +13 -13
- package/dist/chunks/{image-n6gsfqsz.js → file-access-tjwy6fh9.js} +304 -304
- package/dist/chunks/{image-b27vhd2z.js → file-access-tkmwgdpd.js} +7 -7
- package/dist/chunks/{image-csx9mte4.js → file-access-tksfqv8e.js} +27 -27
- package/dist/chunks/{image-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{image-k0cjby8k.js → file-access-tzgjc6jt.js} +33 -33
- package/dist/chunks/{image-ngwfcb89.js → file-access-tzwh8jpw.js} +13 -13
- package/dist/chunks/{image-3yscd9tq.js → file-access-v211f8gj.js} +16 -16
- package/dist/chunks/{image-aphn2g51.js → file-access-v91tw74e.js} +11 -11
- package/dist/chunks/{image-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{image-8v60zwy0.js → file-access-vhd5ymgm.js} +11 -11
- package/dist/chunks/{image-qytp0p6t.js → file-access-vhw7yaa4.js} +3 -3
- package/dist/chunks/{image-g9698bze.js → file-access-vs96cb1a.js} +10 -10
- package/dist/chunks/{image-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-m6fsgx1c.js → file-access-w66xp1pe.js} +7 -7
- package/dist/chunks/{image-7w5kah94.js → file-access-w876dfzh.js} +37 -37
- package/dist/chunks/{image-5e9ex5tq.js → file-access-wasxgqrf.js} +11 -11
- package/dist/chunks/{image-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{image-qygbw77c.js → file-access-wecqtg5s.js} +5 -5
- package/dist/chunks/{image-rc92zmyt.js → file-access-whtwaam7.js} +17 -17
- package/dist/chunks/{image-h6n47w4x.js → file-access-wr5v5dbh.js} +7 -7
- package/dist/chunks/{image-1mr17jyd.js → file-access-x0v4zbf6.js} +5 -5
- package/dist/chunks/{image-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-4pdbz8wr.js → file-access-xh77m8eb.js} +4 -4
- package/dist/chunks/{image-xkntkrq7.js → file-access-xkntkrq7.js} +2 -2
- package/dist/chunks/{image-189xa6nw.js → file-access-xkqsw4zh.js} +8 -8
- package/dist/chunks/{image-pq8fxsmn.js → file-access-xp36mjrh.js} +34 -34
- package/dist/chunks/{image-ydz4e7k1.js → file-access-xs2bmay3.js} +11 -11
- package/dist/chunks/{image-xd3taepx.js → file-access-xxt1k2vd.js} +17 -17
- package/dist/chunks/{image-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-2smhrpmj.js → file-access-y1r30anr.js} +8 -8
- package/dist/chunks/{image-vev74ge2.js → file-access-y2j62e7h.js} +11 -11
- package/dist/chunks/{image-jr7yx8jc.js → file-access-y3mhqy61.js} +5 -5
- package/dist/chunks/{image-ra8smtek.js → file-access-y4z5w0q3.js} +20 -20
- package/dist/chunks/{image-vjjxy6yb.js → file-access-y6mjvh6p.js} +6 -6
- package/dist/chunks/{image-tpew0fxa.js → file-access-yertzaey.js} +11 -11
- package/dist/chunks/{image-dweptn8x.js → file-access-yk435ynq.js} +4 -4
- package/dist/chunks/{image-vq4s12sx.js → file-access-ym15945z.js} +25 -25
- package/dist/chunks/{image-awarry27.js → file-access-ymkdd6f8.js} +14 -14
- package/dist/chunks/{image-z8dtv2mk.js → file-access-ynx1p25z.js} +2 -2
- package/dist/chunks/{image-4a1xd2mc.js → file-access-ynzcn0sg.js} +33 -33
- package/dist/chunks/{image-5esmevc9.js → file-access-yraf8j13.js} +23 -23
- package/dist/chunks/{image-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-69hv900b.js → file-access-ys1n1pef.js} +11 -11
- package/dist/chunks/{image-xpb82v70.js → file-access-ytav440t.js} +20 -20
- package/dist/chunks/{image-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-922hggd3.js → file-access-z5v4ffb3.js} +1 -11
- package/dist/chunks/{image-q6hzchqe.js → file-access-z6t04ysw.js} +6 -6
- package/dist/chunks/{image-3p6vpnrg.js → file-access-zc5g640q.js} +5 -5
- package/dist/chunks/{image-3bc8czyk.js → file-access-zd30eb5w.js} +5 -5
- package/dist/chunks/{image-y1gke2m2.js → file-access-zfs8ae4p.js} +4 -4
- package/dist/chunks/{image-j9eqrz8s.js → file-access-zmj7yvkd.js} +15 -15
- package/dist/chunks/{image-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → file-access-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 +79 -79
- 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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +18 -20
- 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 +363 -363
- 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 +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- 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 +103 -103
- package/dist/mcp/instructions.js +129 -129
- 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 +103 -103
- 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 +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- 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/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +2 -4
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- 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 +220 -220
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +152 -152
- 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 +77 -77
- 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 +120 -120
- 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 +232 -232
- 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 +4 -4
- 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 +105 -105
- 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 +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +128 -128
- 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 +117 -117
- 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 +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +16 -16
- package/dist/types/github-copilot/copilot-provider.d.ts +0 -1
- package/dist/types/schema.d.ts +0 -21
- package/dist/types/v1/config/error.d.ts +48 -1433
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +3 -11
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- 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 +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +85 -85
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/image-2g0vd6zq.js +0 -26
- package/dist/chunks/image-qc068m1q.js +0 -18
- package/dist/chunks/image-y8w35d73.js +0 -252
- package/dist/chunks/image-z63w68vq.js +0 -46
- package/dist/types/v1/permission.d.ts +0 -27
- package/dist/v1/permission.js +0 -51
- /package/dist/chunks/{image-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-34c7v6d4.js → file-access-34c7v6d4.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-ynx1p25z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./file-access-6z5zeb5k.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./file-access-mycw3te0.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-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
|
+
Service5
|
|
27
|
+
} from "./file-access-ehtcgea1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-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: () => Input11,
|
|
36
|
+
Plugin: () => Plugin13,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
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 name11 = "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 Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin13 = {
|
|
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* Service5;
|
|
62
|
+
const access = yield* Service52;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
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: name11,
|
|
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: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin3 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent6 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name11, Input11, Plugin13, toModelContent6, exports_read };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin4 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin12 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin4, exports_opencode };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-yk435ynq.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-0k4n424v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service44 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service44.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node47 = makeLocationNode({
|
|
112
|
+
service: Service44,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service44, node47, exports_skill5, Event9 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-ae464gx1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-yk435ynq.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-587pgjr5.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-dxa0ydqz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service67
|
|
22
|
+
} from "./file-access-6dy6aana.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID7,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./file-access-tksfqv8e.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID8.gitlab;
|
|
39
|
+
var integrationID = ID9.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service67;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID7.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-yk435ynq.js";
|
|
5
5
|
import {
|
|
6
6
|
Event20,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./file-access-587pgjr5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node50
|
|
13
|
+
} from "./file-access-2jyv8ggx.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service80,
|
|
19
19
|
node84
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-access-ynx1p25z.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-access-b4mn66r8.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-vhw7yaa4.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service48,
|
|
36
|
+
Event11,
|
|
37
|
+
node51
|
|
38
|
+
} from "./file-access-9bnev7a1.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-access-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service46,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer17,
|
|
53
|
+
node: () => node49,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service46 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service80;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service47;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service75;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service48;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -222,7 +222,7 @@ var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service46.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service46,
|
|
268
|
+
layer: layer17(options),
|
|
269
|
+
deps: [node50, node87, FSUtil.node, Global.node, node84, node78, node51]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node49 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service46, Test2, testLayer2, layer17, configured6, node49, exports_config };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-access-29tbwe98.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service53,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-access-tjseg5r3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service21
|
|
11
|
+
} from "./file-access-vhd5ymgm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./file-access-0k4n424v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service52
|
|
17
|
+
} from "./file-access-6z5zeb5k.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-access-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
29
|
Output: () => Output4,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin6,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name4,
|
|
33
33
|
toModelContent: () => toModelContent4
|
|
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
|
}),
|
|
@@ -49,23 +49,23 @@ var Output4 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin6 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service52;
|
|
56
|
+
const fileMutation = yield* Service53;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service21;
|
|
59
|
+
const permission = yield* Service70;
|
|
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:
|
|
68
|
+
input: Input4,
|
|
69
69
|
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output4, toModelContent4, Plugin6, exports_write };
|