@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event7,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options6,
|
|
17
|
+
Service: () => Service40,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer17,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node43,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event7 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options6 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service40 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service40.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service40.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service40).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service40, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured6(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service40, layer: layer17(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node43 = configured6();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event7, hasNativeBinding2, Native3, Options6, Service40, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured6, node43, exports_watcher };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./tool-853r27ye.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service36
|
|
13
|
+
} from "./tool-61m1wdtq.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service80
|
|
16
|
+
} from "./tool-rxn8twjw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin46
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { sameDirectory } from "@opencode/util/path";
|
|
31
31
|
import { dirname, join } from "path";
|
|
32
32
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin46 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service36;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
|
-
const location = yield*
|
|
43
|
-
const watcher = yield*
|
|
42
|
+
const location = yield* Service80;
|
|
43
|
+
const watcher = yield* Service40;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
|
|
|
115
115
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin46, exports_instruction };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info7
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info7 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info7, exports_command4 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./tool-vcccfxhw.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service52
|
|
13
|
-
} from "./location-service-map-pkykh1c4.js";
|
|
10
|
+
} from "./tool-2a5m3afh.js";
|
|
14
11
|
import {
|
|
15
12
|
Service50
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./tool-690bn0hf.js";
|
|
14
|
+
import {
|
|
15
|
+
Service56
|
|
16
|
+
} from "./tool-pz19f1h4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service70
|
|
19
|
+
} from "./tool-zcdqtjtf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-j6rvrjb2.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service63,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-czkrkmgx.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service37
|
|
37
|
+
} from "./tool-zqrhdrkc.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service23
|
|
40
|
+
} from "./tool-g6tpgah0.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-swk0q7s9.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./tool-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
52
|
Input: () => Input2,
|
|
53
|
-
Plugin: () =>
|
|
53
|
+
Plugin: () => Plugin18,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
55
|
name: () => name2
|
|
56
56
|
});
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin18 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service23;
|
|
123
|
+
const jobs = yield* Service56;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service50;
|
|
126
|
+
const access = yield* Service16;
|
|
127
|
+
const shell = yield* Service37;
|
|
128
|
+
const shellSelect = yield* Service63;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service70;
|
|
131
|
+
const config = yield* Service39;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export { name2, DEFAULT_TIMEOUT_MS2, Input2,
|
|
268
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin18, exports_shell };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-mktzjf14.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer13, node37, exports_model_transport };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make22,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make22(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make22, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./tool-rxn8twjw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./tool-690bn0hf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./tool-a7bsh1ec.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service17,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-y6wve3t3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./tool-zcdqtjtf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service16,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-j6rvrjb2.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin22,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin22 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service50;
|
|
112
|
+
const access = yield* Service16;
|
|
113
|
+
const fileMutation = yield* Service17;
|
|
114
|
+
const formatter = yield* Service75;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin23 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name5, Input5, Applied2, Output3, toModelContent3, Plugin22, exports_patch };
|