@opencode/core 0.0.0-dev-20619 → 0.0.0-dev-20621
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-service-map-ha607pgt.js → tool-08ed4zmw.js} +6 -6
- package/dist/chunks/{location-service-map-0vbcp93d.js → tool-0emb60td.js} +2 -2
- package/dist/chunks/{location-service-map-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-nxahtb87.js → tool-0xccjjzw.js} +35 -35
- package/dist/chunks/{location-service-map-zb967tnj.js → tool-0y2egbcr.js} +5 -5
- package/dist/chunks/{location-service-map-k1pw1nmv.js → tool-125pv97z.js} +9 -9
- package/dist/chunks/{location-service-map-74z2pekp.js → tool-16pwk8my.js} +18 -18
- package/dist/chunks/{location-service-map-r8xr0va3.js → tool-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-service-map-0dscybm1.js → tool-1cz6w5aa.js} +5 -5
- package/dist/chunks/{location-service-map-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-454g5gmk.js → tool-1ewxhx38.js} +32 -32
- package/dist/chunks/{location-service-map-1gq323dy.js → tool-1x69mj4q.js} +12 -12
- package/dist/chunks/{location-service-map-1ygqh575.js → tool-1ygqh575.js} +2 -2
- package/dist/chunks/{location-service-map-cdt8bzej.js → tool-23mntapz.js} +11 -11
- package/dist/chunks/{location-service-map-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-vbfgae2j.js → tool-2k71kv7p.js} +4 -4
- package/dist/chunks/{location-service-map-6xvm70p2.js → tool-2n6fa56a.js} +1 -1
- package/dist/chunks/{location-service-map-2sejkfem.js → tool-2sejkfem.js} +2 -2
- package/dist/chunks/{location-service-map-6mpgrs7g.js → tool-2xcf8v2e.js} +12 -12
- package/dist/chunks/{location-service-map-3z5tz087.js → tool-2zv0bcyv.js} +8 -8
- package/dist/chunks/{location-service-map-gccvjmvx.js → tool-303t2pvh.js} +33 -33
- package/dist/chunks/{location-service-map-k5p5r8cn.js → tool-350pbqn9.js} +26 -26
- package/dist/chunks/{location-service-map-9w81ccxg.js → tool-3936tkf8.js} +15 -15
- package/dist/chunks/{location-service-map-8bw9sbtk.js → tool-393z7mah.js} +3 -3
- package/dist/chunks/tool-39v3zkdd.js +26 -0
- package/dist/chunks/{location-service-map-3cegwx68.js → tool-3cegwx68.js} +2 -2
- package/dist/chunks/{location-service-map-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3j9bgvtg.js → tool-3j9bgvtg.js} +2 -2
- package/dist/chunks/{location-service-map-78m5jnv1.js → tool-3sdb20zb.js} +11 -11
- package/dist/chunks/{location-service-map-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-gmmdfr2g.js → tool-3w57jhwt.js} +8 -8
- package/dist/chunks/{location-service-map-zbfz3xwr.js → tool-3x1fhjfk.js} +5 -5
- package/dist/chunks/{location-service-map-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-egwmgdj8.js → tool-40gsab6q.js} +8 -8
- package/dist/chunks/{location-service-map-h7k8q2pp.js → tool-42ayv7pm.js} +42 -42
- package/dist/chunks/{location-service-map-2py0agnv.js → tool-4c8s8kge.js} +5 -5
- package/dist/chunks/{location-service-map-c1p19z3d.js → tool-4jjk64j7.js} +17 -17
- package/dist/chunks/{location-service-map-r7pnpgef.js → tool-4mpv5s2v.js} +43 -43
- package/dist/chunks/{location-service-map-b3drqneq.js → tool-4set99t9.js} +3 -3
- package/dist/chunks/{location-service-map-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/tool-4xtwzbwp.js +507 -0
- package/dist/chunks/{location-service-map-km3npgs7.js → tool-51r1g0v9.js} +11 -11
- package/dist/chunks/{location-service-map-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-fzvcadtp.js → tool-56avvebe.js} +19 -19
- package/dist/chunks/{location-service-map-rmk2c50f.js → tool-5d17xbav.js} +5 -5
- package/dist/chunks/{location-service-map-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-krzfd9gj.js → tool-5jxm9yfz.js} +25 -25
- package/dist/chunks/{location-service-map-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-5yzzbxa7.js → tool-5yzzbxa7.js} +1 -1
- package/dist/chunks/{location-service-map-vey9hnfm.js → tool-61m1wdtq.js} +30 -30
- package/dist/chunks/{location-service-map-7d15eyz8.js → tool-66t34m9w.js} +33 -33
- package/dist/chunks/{location-service-map-pkykh1c4.js → tool-690bn0hf.js} +24 -24
- package/dist/chunks/{location-service-map-pp136rg2.js → tool-6az9vrde.js} +15 -15
- package/dist/chunks/{location-service-map-sds13m34.js → tool-6m1hjez2.js} +13 -13
- package/dist/chunks/{location-service-map-84hrpz0c.js → tool-6qzp8a5z.js} +24 -24
- package/dist/chunks/{location-service-map-qwmkc30s.js → tool-6w4tq3mb.js} +9 -9
- package/dist/chunks/{location-service-map-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-m6f3t844.js → tool-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-service-map-wn07hjne.js → tool-6zhvkmk5.js} +4 -4
- package/dist/chunks/{location-service-map-ktjka1hj.js → tool-75v4x8jp.js} +21 -21
- package/dist/chunks/{location-service-map-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-20jgfyrr.js → tool-7crx08a4.js} +8 -8
- package/dist/chunks/{location-service-map-9yfsze0z.js → tool-7q4nzkb9.js} +16 -16
- package/dist/chunks/{location-service-map-y1rxxbk0.js → tool-7rm45jzf.js} +4 -4
- package/dist/chunks/{location-service-map-5c68qayq.js → tool-7vp466hh.js} +26 -26
- package/dist/chunks/{location-service-map-xf2pa8zd.js → tool-81bpzke5.js} +11 -11
- package/dist/chunks/{location-service-map-84h8c373.js → tool-84h8c373.js} +2 -2
- package/dist/chunks/{location-service-map-w1eejvng.js → tool-84txncab.js} +5 -5
- package/dist/chunks/{location-service-map-6khy56qy.js → tool-853r27ye.js} +22 -22
- package/dist/chunks/{location-service-map-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-je2wj9bc.js → tool-8h9kzq6c.js} +15 -15
- package/dist/chunks/{location-service-map-ryr25ayn.js → tool-8rqycdgd.js} +7 -7
- package/dist/chunks/{location-service-map-xr6s0kj2.js → tool-8sq1nazw.js} +32 -32
- package/dist/chunks/{location-service-map-gsjfqrw2.js → tool-9f2nvjyq.js} +3 -3
- package/dist/chunks/{location-service-map-zaf7gkec.js → tool-9swdtjav.js} +11 -11
- package/dist/chunks/{location-service-map-eaj1djv9.js → tool-9t7a50xb.js} +8 -8
- package/dist/chunks/{location-service-map-1eyzcjgj.js → tool-9thxh3x6.js} +7 -7
- package/dist/chunks/{location-service-map-4nb8q36b.js → tool-9tqp4rjd.js} +36 -36
- package/dist/chunks/{location-service-map-vwfsyanb.js → tool-9xafsdbn.js} +20 -20
- package/dist/chunks/{location-service-map-127b9nq3.js → tool-9y9sk2j9.js} +2 -2
- package/dist/chunks/{location-service-map-73tb2d7t.js → tool-a1gpj94z.js} +3 -3
- package/dist/chunks/{location-service-map-2v0n029n.js → tool-a1jynv3g.js} +13 -13
- package/dist/chunks/{location-service-map-8azwypgr.js → tool-a2gqrh8v.js} +38 -38
- package/dist/chunks/{location-service-map-qdfmmfmw.js → tool-a2zv89qz.js} +13 -13
- package/dist/chunks/{location-service-map-h6310vsd.js → tool-a3c7ahw6.js} +4 -4
- package/dist/chunks/{location-service-map-zt2bzptc.js → tool-a65exzz3.js} +10 -10
- package/dist/chunks/{location-service-map-7yg6rx9g.js → tool-a7bsh1ec.js} +15 -15
- package/dist/chunks/{location-service-map-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-gqtdsdt7.js → tool-addxnjmp.js} +4 -4
- package/dist/chunks/{location-service-map-d0bzyg63.js → tool-adfa1w2n.js} +4 -4
- package/dist/chunks/{location-service-map-5wfscpdf.js → tool-apme4279.js} +24 -24
- package/dist/chunks/{location-service-map-ze75yzft.js → tool-at1kfnmk.js} +8 -8
- package/dist/chunks/{location-service-map-mtpeagzc.js → tool-axe3mf62.js} +3 -3
- package/dist/chunks/{location-service-map-c3k8tvkr.js → tool-b1axcb5r.js} +25 -25
- package/dist/chunks/{location-service-map-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-s6ekajw7.js → tool-b750x627.js} +4 -4
- package/dist/chunks/{location-service-map-vz4efdz7.js → tool-b8yxdv3q.js} +33 -33
- package/dist/chunks/{location-service-map-wgeww5nz.js → tool-bbpgpzrp.js} +4 -4
- package/dist/chunks/{location-service-map-j4g12xyk.js → tool-bcr0ksmf.js} +11 -11
- package/dist/chunks/{location-service-map-dmgm8hbn.js → tool-bvjdq5yq.js} +5 -5
- package/dist/chunks/{location-service-map-qgx3m4fk.js → tool-bx021530.js} +14 -14
- package/dist/chunks/{location-service-map-7gjj60kp.js → tool-c1ant5c1.js} +186 -186
- package/dist/chunks/{location-service-map-7q2mmdwt.js → tool-c3227a7e.js} +21 -21
- package/dist/chunks/{location-service-map-rztntraz.js → tool-c7f2cwkk.js} +3 -3
- package/dist/chunks/{location-service-map-8sze2n9a.js → tool-cfsekr6v.js} +6 -6
- package/dist/chunks/{location-service-map-e4d6vapj.js → tool-cjdpndr5.js} +7 -7
- package/dist/chunks/{location-service-map-m0z1mck7.js → tool-cjxvfp5z.js} +7 -7
- package/dist/chunks/{location-service-map-gsm55t7w.js → tool-ck2jvgzg.js} +25 -25
- package/dist/chunks/{location-service-map-8dyv2drs.js → tool-ckag18vk.js} +24 -24
- package/dist/chunks/{location-service-map-r2jrepys.js → tool-csdqyeex.js} +14 -14
- package/dist/chunks/{location-service-map-de3xt6b6.js → tool-ct5kn7sm.js} +23 -23
- package/dist/chunks/{location-service-map-wxfxn6b6.js → tool-cwxwnzw8.js} +9 -9
- package/dist/chunks/{location-service-map-83h15a4g.js → tool-cy8n646y.js} +26 -26
- package/dist/chunks/{location-service-map-7hs4xefr.js → tool-cz3qxt32.js} +37 -37
- package/dist/chunks/{location-service-map-hwqq4ms1.js → tool-czkrkmgx.js} +19 -19
- package/dist/chunks/{location-service-map-5h6z90ew.js → tool-d0m8bny5.js} +24 -24
- package/dist/chunks/{location-service-map-c7ecsckw.js → tool-dbqekdzp.js} +5 -5
- package/dist/chunks/{location-service-map-56n56y98.js → tool-dcgfqf6n.js} +6 -6
- package/dist/chunks/{location-service-map-xasyx0as.js → tool-dd40s8jk.js} +4 -4
- package/dist/chunks/{location-service-map-nxm207yx.js → tool-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-service-map-86andz90.js → tool-dwktjsma.js} +1 -1
- package/dist/chunks/{location-service-map-nrq6zt4y.js → tool-e4gfb4rf.js} +22 -22
- package/dist/chunks/{location-service-map-9j2j83bv.js → tool-e4q1gg2w.js} +22 -22
- package/dist/chunks/{location-service-map-jp0kz9fa.js → tool-eaxx2kzt.js} +4 -4
- package/dist/chunks/{location-service-map-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-fkvh3sbb.js → tool-egspt8cm.js} +71 -71
- package/dist/chunks/{location-service-map-r05dm99z.js → tool-entbm7rc.js} +23 -23
- package/dist/chunks/{location-service-map-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-mm6scpq0.js → tool-f4tfcf42.js} +9 -9
- package/dist/chunks/{location-service-map-f75zav2x.js → tool-f75zav2x.js} +2 -2
- package/dist/chunks/{location-service-map-39a087jp.js → tool-fe6bz30b.js} +21 -21
- package/dist/chunks/{location-service-map-zx2ydjtq.js → tool-fgvy1g99.js} +34 -34
- package/dist/chunks/{location-service-map-fmjcavrh.js → tool-fhm77ccb.js} +3 -3
- package/dist/chunks/{location-service-map-dnxbd4cz.js → tool-g0vvyb83.js} +13 -13
- package/dist/chunks/{location-service-map-4xpgt2w9.js → tool-g24rjnnt.js} +5 -5
- package/dist/chunks/{location-service-map-8z8t28dy.js → tool-g357tzjd.js} +27 -27
- package/dist/chunks/{location-service-map-k8aeqdhx.js → tool-g4ezwve1.js} +20 -20
- package/dist/chunks/{location-service-map-xfkkasph.js → tool-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-service-map-3gvjv2ch.js → tool-g6tpgah0.js} +94 -94
- package/dist/chunks/{location-service-map-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/tool-gdn38z0d.js +253 -0
- package/dist/chunks/{location-service-map-awqjr0f0.js → tool-gfygj460.js} +19 -19
- package/dist/chunks/{location-service-map-d5vprnsh.js → tool-gkwkvfez.js} +23 -23
- package/dist/chunks/{location-service-map-twt05vvt.js → tool-gx34rq0y.js} +6 -6
- package/dist/chunks/{location-service-map-exrvrd9z.js → tool-gxds6sjc.js} +25 -25
- package/dist/chunks/{location-service-map-rj7v2vbk.js → tool-h43cy6bd.js} +8 -8
- package/dist/chunks/{location-service-map-xn4rysh4.js → tool-h65drem0.js} +22 -22
- package/dist/chunks/{location-service-map-8x1h6qvw.js → tool-h6tdr0wz.js} +17 -17
- package/dist/chunks/{location-service-map-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-e7gdn37t.js → tool-h9pcb0g7.js} +8 -8
- package/dist/chunks/{location-service-map-w5axg3f4.js → tool-hmb6jn2z.js} +17 -17
- package/dist/chunks/{location-service-map-07th4jzr.js → tool-hqwyy3bj.js} +3 -3
- package/dist/chunks/{location-service-map-769zxr4g.js → tool-hv8s3tg2.js} +9 -9
- package/dist/chunks/{location-service-map-bvddx0k2.js → tool-j1ba0jw9.js} +32 -32
- package/dist/chunks/{location-service-map-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-8ngk0gag.js → tool-j6rvrjb2.js} +18 -18
- package/dist/chunks/{location-service-map-rnp1jeej.js → tool-jy0x8hkf.js} +36 -36
- package/dist/chunks/{location-service-map-eqrqh4gv.js → tool-k1pmzggn.js} +35 -35
- package/dist/chunks/{location-service-map-kb9j3d72.js → tool-kb9j3d72.js} +3 -3
- package/dist/chunks/{location-service-map-ag4dv9qd.js → tool-kc6hkr7d.js} +6 -6
- package/dist/chunks/{location-service-map-zpewkee0.js → tool-kfdtc9qy.js} +11 -11
- package/dist/chunks/{location-service-map-dhmh7aw6.js → tool-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-service-map-gw4e0q0x.js → tool-krzbbgtd.js} +9 -9
- package/dist/chunks/{location-service-map-magykp64.js → tool-kvvk39gs.js} +4 -4
- package/dist/chunks/{location-service-map-fr2bbqk1.js → tool-kzgmjn1f.js} +9 -9
- package/dist/chunks/{location-service-map-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-5s264ej7.js → tool-m8tjqkzb.js} +5 -5
- package/dist/chunks/{location-service-map-1e2txdvf.js → tool-m9kfb99s.js} +9 -9
- package/dist/chunks/{location-service-map-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-9szwjyee.js → tool-mdmbfqgq.js} +8 -8
- package/dist/chunks/{location-service-map-d3hqfx68.js → tool-mktzjf14.js} +48 -48
- package/dist/chunks/{location-service-map-szjs91dx.js → tool-mrtp8nr7.js} +10 -10
- package/dist/chunks/{location-service-map-9x77fmbz.js → tool-mwwxnxty.js} +4 -4
- package/dist/chunks/{location-service-map-tcay1cqt.js → tool-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-service-map-a6jacbea.js → tool-mzraw8ha.js} +7 -7
- package/dist/chunks/{location-service-map-prszkkra.js → tool-mzrc21xj.js} +51 -51
- package/dist/chunks/{location-service-map-yathvfgy.js → tool-n3kz9j5v.js} +5 -5
- package/dist/chunks/{location-service-map-pkp66tt9.js → tool-n7c1m45s.js} +17 -17
- package/dist/chunks/{location-service-map-yp9bn2b3.js → tool-na90p5sz.js} +32 -32
- package/dist/chunks/{location-service-map-rk1r2hx8.js → tool-ncnm8wen.js} +1 -1
- package/dist/chunks/{location-service-map-twek8x35.js → tool-nesyhtff.js} +12 -12
- package/dist/chunks/{location-service-map-dfmhxrz0.js → tool-ng6f7xag.js} +19 -19
- package/dist/chunks/{location-service-map-gfeskyg4.js → tool-nkxtzyv4.js} +26 -26
- package/dist/chunks/{location-service-map-9y7qykjj.js → tool-npt101jb.js} +26 -26
- package/dist/chunks/{location-service-map-g472fneb.js → tool-p10vm95c.js} +9 -9
- package/dist/chunks/{location-service-map-zfn91hgf.js → tool-p2y4rtdg.js} +40 -40
- package/dist/chunks/{location-service-map-tq5qgs2t.js → tool-p6hyfmfc.js} +3 -3
- package/dist/chunks/{location-service-map-szxrsjqx.js → tool-pdssdm3r.js} +42 -42
- package/dist/chunks/{location-service-map-xcgyncvr.js → tool-pjsqfx9m.js} +6 -6
- package/dist/chunks/{location-service-map-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-pvqh8ezh.js → tool-pnzjke2r.js} +28 -28
- package/dist/chunks/{location-service-map-kmr57zyr.js → tool-pvnmdee5.js} +12 -12
- package/dist/chunks/{location-service-map-1qcjtthm.js → tool-pz19f1h4.js} +16 -16
- package/dist/chunks/{location-service-map-0z6d4rmk.js → tool-pzcaekwn.js} +11 -11
- package/dist/chunks/{location-service-map-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/tool-q509s3k3.js +18 -0
- package/dist/chunks/{location-service-map-namy803z.js → tool-qbd5ma0n.js} +10 -10
- package/dist/chunks/{location-service-map-010seb99.js → tool-qc3y4bn0.js} +19 -19
- package/dist/chunks/{location-service-map-3sca11j3.js → tool-qdm0xvfe.js} +14 -14
- package/dist/chunks/{location-service-map-7dqw4kz8.js → tool-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-service-map-x1nrqjen.js → tool-qk33d3eb.js} +5 -5
- package/dist/chunks/{location-service-map-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-p1qb3drj.js → tool-qt17f4h7.js} +15 -15
- package/dist/chunks/{location-service-map-6c14dhht.js → tool-qtq3p0wt.js} +47 -47
- package/dist/chunks/{location-service-map-cgdwpeh2.js → tool-qx8vbekt.js} +11 -11
- package/dist/chunks/{location-service-map-7t7wryz1.js → tool-r1z1z81h.js} +9 -9
- package/dist/chunks/{location-service-map-m3zza4qd.js → tool-r9t00hsy.js} +8 -8
- package/dist/chunks/{location-service-map-6b2zjn2e.js → tool-r9w3djhf.js} +9 -9
- package/dist/chunks/{location-service-map-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-bsg68v4g.js → tool-rjep82nj.js} +24 -24
- package/dist/chunks/{location-service-map-aaerayjc.js → tool-rx871m47.js} +2 -2
- package/dist/chunks/{location-service-map-v54qpgr0.js → tool-rxn8twjw.js} +16 -16
- package/dist/chunks/{location-service-map-b674v2dg.js → tool-s7nv2rwz.js} +5 -5
- package/dist/chunks/{location-service-map-qygbw77c.js → tool-scgrse2b.js} +5 -5
- package/dist/chunks/{location-service-map-ppw5pgfr.js → tool-scqzf1nw.js} +19 -19
- package/dist/chunks/{location-service-map-xv3zg2q6.js → tool-see9wd13.js} +85 -85
- package/dist/chunks/{location-service-map-mkvtt44j.js → tool-semz41dm.js} +10 -10
- package/dist/chunks/{location-service-map-96g0xk8f.js → tool-sgd5yhbj.js} +9 -9
- package/dist/chunks/{location-service-map-3rtxz4nr.js → tool-sm965ndy.js} +8 -8
- package/dist/chunks/{location-service-map-t0aj6zfa.js → tool-swk0q7s9.js} +4 -4
- package/dist/chunks/{location-service-map-egepr5de.js → tool-sxt8reb7.js} +36 -36
- package/dist/chunks/{location-service-map-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-njjewnx6.js → tool-tcyk0gcq.js} +13 -13
- package/dist/chunks/{location-service-map-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-4e3rfxea.js → tool-tdtgstz8.js} +21 -21
- package/dist/chunks/{location-service-map-gxg80x33.js → tool-tnjsmpmj.js} +18 -18
- package/dist/chunks/{location-service-map-4zs71apm.js → tool-tpypbtav.js} +4 -4
- package/dist/chunks/{location-service-map-9j9t3aqc.js → tool-txw06jcg.js} +28 -28
- package/dist/chunks/{location-service-map-p4wg1ppv.js → tool-tytd2jm0.js} +57 -57
- package/dist/chunks/{location-service-map-pxe6kq0w.js → tool-vcccfxhw.js} +46 -46
- package/dist/chunks/{location-service-map-dmst3jkw.js → tool-vdg7jmx3.js} +15 -15
- package/dist/chunks/{location-service-map-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-s64dwba7.js → tool-vk9cvn9d.js} +35 -35
- package/dist/chunks/{location-service-map-n1czvmwq.js → tool-vpfpr37q.js} +11 -11
- package/dist/chunks/{location-service-map-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-he6yfzaa.js → tool-w0jh0ny2.js} +16 -16
- package/dist/chunks/{location-service-map-gh5z95q3.js → tool-w36j0bmk.js} +9 -9
- package/dist/chunks/{location-service-map-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-7ajdsyfz.js → tool-w7jnj522.js} +19 -19
- package/dist/chunks/{location-service-map-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-vgsk5xvr.js → tool-wdeky1ys.js} +25 -25
- package/dist/chunks/{location-service-map-d1nt0n2x.js → tool-wfdj1abq.js} +11 -11
- package/dist/chunks/{location-service-map-r0fjcrds.js → tool-wk2zpc1v.js} +11 -11
- package/dist/chunks/{location-service-map-vjwwgqcm.js → tool-wkqs3fc0.js} +28 -28
- package/dist/chunks/{location-service-map-9wh8y7ww.js → tool-wpgamtwv.js} +31 -31
- package/dist/chunks/{location-service-map-c1b3n5g6.js → tool-wyyj98bv.js} +5 -5
- package/dist/chunks/{location-service-map-g7f0ex2r.js → tool-x2jd95r3.js} +32 -32
- package/dist/chunks/{location-service-map-gn31e51v.js → tool-xcmk6yw7.js} +9 -9
- package/dist/chunks/{location-service-map-6g7e4dd5.js → tool-xecxzrdp.js} +7 -7
- package/dist/chunks/{location-service-map-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-service-map-qwrw8s1f.js → tool-xqq6j46d.js} +20 -20
- package/dist/chunks/{location-service-map-qxjc9qry.js → tool-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-service-map-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-xa80rzga.js → tool-y6wve3t3.js} +13 -13
- package/dist/chunks/{location-service-map-a04314x9.js → tool-ydty4xqc.js} +20 -20
- package/dist/chunks/{location-service-map-3xf8dyep.js → tool-ymj5q7t9.js} +9 -9
- package/dist/chunks/{location-service-map-d78c1g6f.js → tool-ynky3s72.js} +29 -29
- package/dist/chunks/{location-service-map-7bm3957h.js → tool-yptech69.js} +28 -28
- package/dist/chunks/{location-service-map-wn1yfdfn.js → tool-yxe8956e.js} +11 -11
- package/dist/chunks/{location-service-map-rxjhzbnj.js → tool-yxnaqxdh.js} +6 -6
- package/dist/chunks/{location-service-map-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-3e49pc6f.js → tool-z26t8xx0.js} +17 -17
- package/dist/chunks/{location-service-map-e7qee91r.js → tool-z5n58sqq.js} +6 -6
- package/dist/chunks/{location-service-map-xsgk3b13.js → tool-zab19jja.js} +9 -9
- package/dist/chunks/{location-service-map-5kga03r5.js → tool-zbt4vqdm.js} +27 -27
- package/dist/chunks/{location-service-map-0bp78v74.js → tool-zcdqtjtf.js} +58 -58
- package/dist/chunks/{location-service-map-w8naej9r.js → tool-zqrhdrkc.js} +46 -46
- package/dist/chunks/{location-service-map-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-5p51aa78.js → tool-zr70bgmb.js} +19 -19
- package/dist/chunks/{location-service-map-f29mbr7f.js → tool-zsr4wwhv.js} +4 -4
- package/dist/chunks/{location-service-map-zxq2ej10.js → tool-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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +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/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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +2 -2
- 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 +114 -114
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- 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 +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +114 -114
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-service-map-depzh27s.js +0 -26
- package/dist/chunks/location-service-map-jrwe4k30.js +0 -253
- package/dist/chunks/location-service-map-phz3h32g.js +0 -18
- package/dist/chunks/location-service-map-wgyje60p.js +0 -507
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./tool-690bn0hf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-y6wve3t3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./tool-a7bsh1ec.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./tool-zcdqtjtf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./tool-j6rvrjb2.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin20,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
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 name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin20 = {
|
|
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* Service16;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service50;
|
|
58
|
+
const formatter = yield* Service75;
|
|
59
|
+
const permission = yield* Service70;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output2, toModelContent2, Plugin20, exports_write };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-jy0x8hkf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./tool-rxn8twjw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service70,
|
|
13
|
+
node74
|
|
14
|
+
} from "./tool-zcdqtjtf.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
node: () => node18,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service70;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service16.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node84, node74] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service16, resolvePath2, node18, exports_file_access };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-p6hyfmfc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./tool-qdm0xvfe.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node86
|
|
15
|
+
} from "./tool-h9pcb0g7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-xecxzrdp.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-3cegwx68.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-84h8c373.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info28 = Info29;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
184
184
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./tool-rxn8twjw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./tool-690bn0hf.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service19
|
|
16
|
+
} from "./tool-csdqyeex.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-qc3y4bn0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service70
|
|
26
|
+
} from "./tool-zcdqtjtf.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./tool-j6rvrjb2.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin24,
|
|
41
|
+
name: () => name6,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin24 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service50;
|
|
90
|
+
const ripgrep = yield* Service19;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service70;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin21 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin21 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output4, toModelContent4, Plugin24, exports_grep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-3cegwx68.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./tool-vk9cvn9d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./tool-vcccfxhw.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service39);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./tool-vcccfxhw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./tool-zab19jja.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
|
+
const image = yield* Service67;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin42 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service43,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service43, exports_runner };
|