@opencode/core 0.0.0-dev-20615 → 0.0.0-dev-20619
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 +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{tool-15brx7xh.js → location-service-map-010seb99.js} +26 -26
- package/dist/chunks/{tool-wchs5kcb.js → location-service-map-07th4jzr.js} +38 -4
- package/dist/chunks/{tool-dfjg1bp5.js → location-service-map-0bp78v74.js} +56 -56
- package/dist/chunks/{tool-a72skx39.js → location-service-map-0dscybm1.js} +5 -5
- package/dist/chunks/{tool-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-8m8eqb0p.js → location-service-map-0z6d4rmk.js} +11 -11
- package/dist/chunks/{tool-gccjnz6h.js → location-service-map-127b9nq3.js} +2 -2
- package/dist/chunks/{tool-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-jb98t3yg.js → location-service-map-1e2txdvf.js} +6 -6
- package/dist/chunks/{tool-nxn2kzp1.js → location-service-map-1eyzcjgj.js} +7 -7
- package/dist/chunks/{tool-faawnrv4.js → location-service-map-1gq323dy.js} +12 -12
- package/dist/chunks/{tool-psb6wvpf.js → location-service-map-1qcjtthm.js} +14 -14
- package/dist/chunks/{tool-33w4ejhs.js → location-service-map-1ygqh575.js} +6 -6
- package/dist/chunks/{tool-vq1q2ta7.js → location-service-map-20jgfyrr.js} +8 -8
- package/dist/chunks/{tool-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-w9wfhscg.js → location-service-map-2py0agnv.js} +5 -5
- package/dist/chunks/{tool-djszqvmq.js → location-service-map-2sejkfem.js} +9 -9
- package/dist/chunks/{tool-f2ynrejf.js → location-service-map-2v0n029n.js} +13 -13
- package/dist/chunks/{tool-htbz2s2q.js → location-service-map-39a087jp.js} +22 -22
- package/dist/chunks/{tool-h2b79v29.js → location-service-map-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-nd79nxgk.js → location-service-map-3e49pc6f.js} +17 -17
- package/dist/chunks/{tool-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-6gwk5m7m.js → location-service-map-3gvjv2ch.js} +95 -95
- package/dist/chunks/{tool-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-150yg2gd.js → location-service-map-3j9bgvtg.js} +5 -5
- package/dist/chunks/{tool-8aaqm6qj.js → location-service-map-3rtxz4nr.js} +8 -8
- package/dist/chunks/{tool-ycm51zrg.js → location-service-map-3sca11j3.js} +14 -14
- package/dist/chunks/{tool-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-4rsta4nx.js → location-service-map-3xf8dyep.js} +23 -23
- package/dist/chunks/{tool-642av4pa.js → location-service-map-3z5tz087.js} +8 -8
- package/dist/chunks/{tool-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-fkngwg2k.js → location-service-map-454g5gmk.js} +27 -27
- package/dist/chunks/{tool-sj09p6fx.js → location-service-map-4e3rfxea.js} +24 -24
- package/dist/chunks/{tool-3aqx67na.js → location-service-map-4nb8q36b.js} +34 -34
- package/dist/chunks/{tool-4ts7tf6z.js → location-service-map-4ts7tf6z.js} +2 -2
- package/dist/chunks/{tool-wh6zw745.js → location-service-map-4xpgt2w9.js} +5 -5
- package/dist/chunks/{tool-2stxsqvh.js → location-service-map-4zs71apm.js} +4 -4
- package/dist/chunks/{tool-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-9bwc8hw1.js → location-service-map-56n56y98.js} +4 -4
- package/dist/chunks/{tool-7d7rzqbv.js → location-service-map-5c68qayq.js} +32 -32
- package/dist/chunks/{tool-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-kt3hcyyz.js → location-service-map-5h6z90ew.js} +24 -24
- package/dist/chunks/{tool-5bx9xx12.js → location-service-map-5kga03r5.js} +27 -27
- package/dist/chunks/{tool-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-3k34870w.js → location-service-map-5p51aa78.js} +19 -19
- package/dist/chunks/{tool-ec3xbt7p.js → location-service-map-5s264ej7.js} +5 -5
- package/dist/chunks/{tool-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-3hqn980y.js → location-service-map-5wfscpdf.js} +24 -24
- package/dist/chunks/{tool-5yzzbxa7.js → location-service-map-5yzzbxa7.js} +1 -1
- package/dist/chunks/{tool-4nj4bn9q.js → location-service-map-6b2zjn2e.js} +9 -9
- package/dist/chunks/{tool-h412aj1p.js → location-service-map-6c14dhht.js} +47 -47
- package/dist/chunks/{tool-4434d9q2.js → location-service-map-6g7e4dd5.js} +9 -9
- package/dist/chunks/{tool-rh254cas.js → location-service-map-6khy56qy.js} +22 -22
- package/dist/chunks/{tool-wcwsz0n1.js → location-service-map-6mpgrs7g.js} +12 -12
- package/dist/chunks/{tool-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-gnje2431.js → location-service-map-6xvm70p2.js} +1 -1
- package/dist/chunks/{tool-73tb2d7t.js → location-service-map-73tb2d7t.js} +1 -1
- package/dist/chunks/{tool-bwp70caj.js → location-service-map-74z2pekp.js} +18 -18
- package/dist/chunks/{tool-3rwvqde1.js → location-service-map-769zxr4g.js} +22 -22
- package/dist/chunks/{tool-pfhas51f.js → location-service-map-78m5jnv1.js} +11 -11
- package/dist/chunks/{tool-k2rcv5mf.js → location-service-map-7ajdsyfz.js} +19 -19
- package/dist/chunks/{tool-2r4zy24c.js → location-service-map-7bm3957h.js} +36 -36
- package/dist/chunks/{tool-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-1spn70p8.js → location-service-map-7d15eyz8.js} +33 -33
- package/dist/chunks/{tool-0jwsre1p.js → location-service-map-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-jebbcwb7.js → location-service-map-7gjj60kp.js} +179 -179
- package/dist/chunks/{tool-7z8hv35c.js → location-service-map-7hs4xefr.js} +41 -41
- package/dist/chunks/{tool-qptn7k98.js → location-service-map-7q2mmdwt.js} +23 -23
- package/dist/chunks/{tool-8f6m8c4b.js → location-service-map-7t7wryz1.js} +11 -11
- package/dist/chunks/{tool-1e1wjnhp.js → location-service-map-7yg6rx9g.js} +7 -7
- package/dist/chunks/{tool-98tegs2y.js → location-service-map-83h15a4g.js} +26 -26
- package/dist/chunks/{tool-1dvck2a7.js → location-service-map-84h8c373.js} +2 -2
- package/dist/chunks/{tool-sp63qzw1.js → location-service-map-84hrpz0c.js} +26 -26
- package/dist/chunks/{tool-wvpq0bw3.js → location-service-map-86andz90.js} +1 -1
- package/dist/chunks/{tool-01txzqdp.js → location-service-map-8azwypgr.js} +38 -38
- package/dist/chunks/{tool-t5rxgedn.js → location-service-map-8bw9sbtk.js} +3 -3
- package/dist/chunks/{tool-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-tj5stkpz.js → location-service-map-8dyv2drs.js} +24 -24
- package/dist/chunks/{tool-q8dg0qrx.js → location-service-map-8ngk0gag.js} +18 -18
- package/dist/chunks/{tool-cfsekr6v.js → location-service-map-8sze2n9a.js} +6 -6
- package/dist/chunks/{tool-9m1qv4sr.js → location-service-map-8x1h6qvw.js} +17 -17
- package/dist/chunks/{tool-jghb6zsz.js → location-service-map-8z8t28dy.js} +25 -25
- package/dist/chunks/{tool-d761m3y3.js → location-service-map-96g0xk8f.js} +9 -9
- package/dist/chunks/{tool-y3cnjxb9.js → location-service-map-9j2j83bv.js} +25 -25
- package/dist/chunks/{tool-veq1ptvw.js → location-service-map-9j9t3aqc.js} +28 -28
- package/dist/chunks/{tool-h6nxw0pd.js → location-service-map-9szwjyee.js} +8 -8
- package/dist/chunks/{tool-rvzqsjbs.js → location-service-map-9w81ccxg.js} +15 -15
- package/dist/chunks/{tool-mh8avh3a.js → location-service-map-9wh8y7ww.js} +28 -28
- package/dist/chunks/{tool-5qwkxp89.js → location-service-map-9x77fmbz.js} +4 -4
- package/dist/chunks/{tool-d13qwqgh.js → location-service-map-9y7qykjj.js} +20 -20
- package/dist/chunks/{tool-at1f3efs.js → location-service-map-9yfsze0z.js} +16 -16
- package/dist/chunks/{tool-7v9xsq6d.js → location-service-map-a04314x9.js} +21 -21
- package/dist/chunks/{tool-wdg5bjkg.js → location-service-map-a6jacbea.js} +7 -7
- package/dist/chunks/{tool-e9w3b6g9.js → location-service-map-aaerayjc.js} +2 -2
- package/dist/chunks/{tool-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-0vgvvwxq.js → location-service-map-ag4dv9qd.js} +6 -6
- package/dist/chunks/{tool-5hj0wrn5.js → location-service-map-awqjr0f0.js} +19 -19
- package/dist/chunks/{tool-722t8cr8.js → location-service-map-b3drqneq.js} +3 -3
- package/dist/chunks/{tool-z6c3x22d.js → location-service-map-b674v2dg.js} +5 -5
- package/dist/chunks/{tool-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-c2jpvny9.js → location-service-map-bsg68v4g.js} +24 -24
- package/dist/chunks/{tool-1djc6rq1.js → location-service-map-bvddx0k2.js} +27 -27
- package/dist/chunks/{tool-7t6d0zf6.js → location-service-map-c1b3n5g6.js} +5 -5
- package/dist/chunks/{tool-bbd0f1y9.js → location-service-map-c1p19z3d.js} +17 -17
- package/dist/chunks/{tool-j75aexbk.js → location-service-map-c3k8tvkr.js} +35 -35
- package/dist/chunks/{tool-v7wmy86e.js → location-service-map-c7ecsckw.js} +5 -5
- package/dist/chunks/{tool-rfg5269m.js → location-service-map-cdt8bzej.js} +11 -11
- package/dist/chunks/{tool-dr9qm9pw.js → location-service-map-cgdwpeh2.js} +8 -8
- package/dist/chunks/{tool-f372e9hx.js → location-service-map-d0bzyg63.js} +4 -4
- package/dist/chunks/{tool-kvq6zm8d.js → location-service-map-d1nt0n2x.js} +11 -11
- package/dist/chunks/{tool-99rd90tq.js → location-service-map-d3hqfx68.js} +48 -48
- package/dist/chunks/{tool-dy8n0qm6.js → location-service-map-d5vprnsh.js} +23 -23
- package/dist/chunks/{tool-dh608gq4.js → location-service-map-d78c1g6f.js} +29 -29
- package/dist/chunks/{tool-88t4yrn9.js → location-service-map-de3xt6b6.js} +23 -23
- package/dist/chunks/location-service-map-depzh27s.js +26 -0
- package/dist/chunks/{tool-eq44gh0z.js → location-service-map-dfmhxrz0.js} +19 -19
- package/dist/chunks/{tool-2vs2nh1n.js → location-service-map-dhmh7aw6.js} +4 -4
- package/dist/chunks/{tool-cx5j657v.js → location-service-map-dmgm8hbn.js} +5 -5
- package/dist/chunks/{tool-m6hkzgzt.js → location-service-map-dmst3jkw.js} +19 -19
- package/dist/chunks/{tool-5a9tff2n.js → location-service-map-dnxbd4cz.js} +13 -13
- package/dist/chunks/{tool-xp6p1dgv.js → location-service-map-e4d6vapj.js} +14 -14
- package/dist/chunks/{tool-7wnkabmt.js → location-service-map-e7gdn37t.js} +12 -12
- package/dist/chunks/{tool-jyqxqm4f.js → location-service-map-e7qee91r.js} +8 -8
- package/dist/chunks/{tool-9t7a50xb.js → location-service-map-eaj1djv9.js} +8 -8
- package/dist/chunks/{tool-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-v1gpf2yb.js → location-service-map-egepr5de.js} +38 -38
- package/dist/chunks/{tool-wrhmq8wv.js → location-service-map-egwmgdj8.js} +8 -8
- package/dist/chunks/{tool-svdf0mx4.js → location-service-map-eqrqh4gv.js} +35 -35
- package/dist/chunks/{tool-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-60vkhqe6.js → location-service-map-exrvrd9z.js} +25 -25
- package/dist/chunks/{tool-d2czbp48.js → location-service-map-f29mbr7f.js} +4 -4
- package/dist/chunks/{tool-71az546q.js → location-service-map-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-58xwj6qx.js → location-service-map-fkvh3sbb.js} +71 -71
- package/dist/chunks/{tool-ewp9wevh.js → location-service-map-fmjcavrh.js} +3 -3
- package/dist/chunks/{tool-vdqy2d40.js → location-service-map-fr2bbqk1.js} +11 -11
- package/dist/chunks/{tool-xf8f9mz3.js → location-service-map-fzvcadtp.js} +35 -35
- package/dist/chunks/{tool-k86ctsz1.js → location-service-map-g472fneb.js} +9 -9
- package/dist/chunks/{tool-x5z5qag1.js → location-service-map-g7f0ex2r.js} +32 -32
- package/dist/chunks/{tool-gzwmz214.js → location-service-map-gccvjmvx.js} +35 -35
- package/dist/chunks/{tool-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-eg18rmn3.js → location-service-map-gfeskyg4.js} +23 -23
- package/dist/chunks/{tool-8a6ws7jr.js → location-service-map-gh5z95q3.js} +9 -9
- package/dist/chunks/{tool-maqk305m.js → location-service-map-gmmdfr2g.js} +8 -8
- package/dist/chunks/{tool-72rw85ce.js → location-service-map-gn31e51v.js} +11 -11
- package/dist/chunks/{tool-3y377wv9.js → location-service-map-gqtdsdt7.js} +4 -4
- package/dist/chunks/{tool-58pr7qh6.js → location-service-map-gsjfqrw2.js} +3 -3
- package/dist/chunks/{tool-mx1sz4x7.js → location-service-map-gsm55t7w.js} +26 -26
- package/dist/chunks/{tool-yk3b2hhw.js → location-service-map-gw4e0q0x.js} +9 -9
- package/dist/chunks/{tool-nb12znkd.js → location-service-map-gxg80x33.js} +23 -23
- package/dist/chunks/{tool-zy43x3f1.js → location-service-map-h6310vsd.js} +4 -4
- package/dist/chunks/{tool-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-dktv53ts.js → location-service-map-h7k8q2pp.js} +42 -42
- package/dist/chunks/{tool-64mbz47k.js → location-service-map-ha607pgt.js} +6 -6
- package/dist/chunks/{tool-fqa841x5.js → location-service-map-he6yfzaa.js} +16 -16
- package/dist/chunks/{tool-gce79w0q.js → location-service-map-hwqq4ms1.js} +19 -19
- package/dist/chunks/{tool-4rs0m8vn.js → location-service-map-j4g12xyk.js} +11 -11
- package/dist/chunks/{tool-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-sge72mws.js → location-service-map-je2wj9bc.js} +15 -15
- package/dist/chunks/{tool-0ma4vy4p.js → location-service-map-jp0kz9fa.js} +4 -4
- package/dist/chunks/location-service-map-jrwe4k30.js +253 -0
- package/dist/chunks/{tool-agssjnsy.js → location-service-map-k1pw1nmv.js} +9 -9
- package/dist/chunks/{tool-af6c9m8w.js → location-service-map-k5p5r8cn.js} +24 -24
- package/dist/chunks/{tool-x48reza4.js → location-service-map-k8aeqdhx.js} +23 -23
- package/dist/chunks/{tool-9e5bzkjp.js → location-service-map-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-7ex9xsd9.js → location-service-map-km3npgs7.js} +11 -11
- package/dist/chunks/{tool-qycxan82.js → location-service-map-kmr57zyr.js} +12 -12
- package/dist/chunks/{tool-s3skzd7w.js → location-service-map-krzfd9gj.js} +25 -25
- package/dist/chunks/{tool-gkh9snj0.js → location-service-map-ktjka1hj.js} +21 -21
- package/dist/chunks/{tool-qbsvtwmm.js → location-service-map-m0z1mck7.js} +7 -7
- package/dist/chunks/{tool-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-1zqsf2j9.js → location-service-map-m3zza4qd.js} +5 -5
- package/dist/chunks/{tool-f5gy8qwh.js → location-service-map-m6f3t844.js} +8 -8
- package/dist/chunks/{tool-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-cavr175a.js → location-service-map-magykp64.js} +4 -4
- package/dist/chunks/{tool-a5fdf1es.js → location-service-map-mkvtt44j.js} +10 -10
- package/dist/chunks/{tool-8bha9w2p.js → location-service-map-mm6scpq0.js} +12 -12
- package/dist/chunks/{tool-58072hz9.js → location-service-map-mtpeagzc.js} +3 -3
- package/dist/chunks/{tool-6c0e94qj.js → location-service-map-n1czvmwq.js} +11 -11
- package/dist/chunks/{tool-mw7fyssf.js → location-service-map-namy803z.js} +10 -10
- package/dist/chunks/{tool-8yavwngc.js → location-service-map-njjewnx6.js} +13 -13
- package/dist/chunks/{tool-w1ry99tz.js → location-service-map-nrq6zt4y.js} +22 -22
- package/dist/chunks/{tool-w11tz2pw.js → location-service-map-nxahtb87.js} +35 -35
- package/dist/chunks/{tool-dpkg50ah.js → location-service-map-nxm207yx.js} +4 -4
- package/dist/chunks/{tool-nm9kjter.js → location-service-map-p1qb3drj.js} +15 -15
- package/dist/chunks/{tool-cjmm0qt3.js → location-service-map-p4wg1ppv.js} +60 -60
- package/dist/chunks/location-service-map-phz3h32g.js +18 -0
- package/dist/chunks/{tool-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{tool-v4zkdgc9.js → location-service-map-pkp66tt9.js} +13 -13
- package/dist/chunks/{tool-b2mfa9xz.js → location-service-map-pkykh1c4.js} +24 -24
- package/dist/chunks/{tool-3rtbn312.js → location-service-map-pp136rg2.js} +27 -27
- package/dist/chunks/{tool-0ay65vhm.js → location-service-map-ppw5pgfr.js} +19 -19
- package/dist/chunks/{tool-p872nfyh.js → location-service-map-prszkkra.js} +51 -51
- package/dist/chunks/{tool-rva2vaqy.js → location-service-map-pvqh8ezh.js} +33 -33
- package/dist/chunks/{tool-3srzt07f.js → location-service-map-pxe6kq0w.js} +46 -46
- package/dist/chunks/{tool-q0xm7vwc.js → location-service-map-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-b5w00b0k.js → location-service-map-qdfmmfmw.js} +13 -13
- package/dist/chunks/{tool-9e5p6t2h.js → location-service-map-qgx3m4fk.js} +14 -14
- package/dist/chunks/{tool-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-hksy7w0e.js → location-service-map-qwmkc30s.js} +9 -9
- package/dist/chunks/{tool-3px2wxdf.js → location-service-map-qwrw8s1f.js} +22 -22
- package/dist/chunks/{tool-xyafkbt0.js → location-service-map-qxjc9qry.js} +3 -3
- package/dist/chunks/{tool-scgrse2b.js → location-service-map-qygbw77c.js} +5 -5
- package/dist/chunks/{tool-v5twwn9z.js → location-service-map-r05dm99z.js} +19 -19
- package/dist/chunks/{tool-esx0q18m.js → location-service-map-r0fjcrds.js} +7 -7
- package/dist/chunks/{tool-j2mwjwzb.js → location-service-map-r2jrepys.js} +14 -14
- package/dist/chunks/{tool-zhrz246t.js → location-service-map-r7pnpgef.js} +45 -45
- package/dist/chunks/{tool-1acjjqhc.js → location-service-map-r8xr0va3.js} +4 -4
- package/dist/chunks/{tool-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-atmvy895.js → location-service-map-rj7v2vbk.js} +8 -8
- package/dist/chunks/{tool-a4ae1mqs.js → location-service-map-rk1r2hx8.js} +1 -1
- package/dist/chunks/{tool-a694798e.js → location-service-map-rmk2c50f.js} +5 -5
- package/dist/chunks/{tool-1402mhzs.js → location-service-map-rnp1jeej.js} +45 -45
- package/dist/chunks/{tool-pfthk98r.js → location-service-map-rxjhzbnj.js} +6 -6
- package/dist/chunks/{tool-qa3qhgw8.js → location-service-map-ryr25ayn.js} +4 -4
- package/dist/chunks/{tool-599d5hrs.js → location-service-map-rztntraz.js} +3 -3
- package/dist/chunks/{tool-e41k2zcz.js → location-service-map-s64dwba7.js} +31 -31
- package/dist/chunks/{tool-hh30mmv6.js → location-service-map-s6ekajw7.js} +4 -4
- package/dist/chunks/{tool-qkfezwh6.js → location-service-map-sds13m34.js} +13 -13
- package/dist/chunks/{tool-djravzrm.js → location-service-map-szjs91dx.js} +10 -10
- package/dist/chunks/{tool-7ad5y3s6.js → location-service-map-szxrsjqx.js} +45 -45
- package/dist/chunks/{tool-2hzmp1dp.js → location-service-map-t0aj6zfa.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-4mwpykj0.js → location-service-map-tcay1cqt.js} +6 -6
- package/dist/chunks/{tool-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{tool-epxcr31w.js → location-service-map-tq5qgs2t.js} +3 -3
- package/dist/chunks/{tool-z98n36ea.js → location-service-map-twek8x35.js} +12 -12
- package/dist/chunks/{tool-n5w4zgy3.js → location-service-map-twt05vvt.js} +8 -8
- package/dist/chunks/{tool-ab5g3gyt.js → location-service-map-v54qpgr0.js} +17 -17
- package/dist/chunks/{tool-kzc3h1h3.js → location-service-map-vbfgae2j.js} +4 -4
- package/dist/chunks/{tool-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-0gh1f601.js → location-service-map-vey9hnfm.js} +30 -30
- package/dist/chunks/{tool-v4xb2j5s.js → location-service-map-vgsk5xvr.js} +22 -22
- package/dist/chunks/{tool-m6pz7yaw.js → location-service-map-vjwwgqcm.js} +33 -33
- package/dist/chunks/{tool-90ytmqma.js → location-service-map-vwfsyanb.js} +16 -16
- package/dist/chunks/{tool-jg9mfmbc.js → location-service-map-vz4efdz7.js} +33 -33
- package/dist/chunks/{tool-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-84txncab.js → location-service-map-w1eejvng.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-ykkbspqz.js → location-service-map-w5axg3f4.js} +17 -17
- package/dist/chunks/{tool-xa84tjd1.js → location-service-map-w8naej9r.js} +46 -46
- package/dist/chunks/{tool-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{tool-pwge32e4.js → location-service-map-wgeww5nz.js} +1 -1
- package/dist/chunks/location-service-map-wgyje60p.js +507 -0
- package/dist/chunks/{tool-3t6p5jdv.js → location-service-map-wn07hjne.js} +4 -4
- package/dist/chunks/{tool-emd75jk3.js → location-service-map-wn1yfdfn.js} +11 -11
- package/dist/chunks/{tool-2zdrkm9b.js → location-service-map-wxfxn6b6.js} +9 -9
- package/dist/chunks/{tool-veqef7sc.js → location-service-map-x1nrqjen.js} +5 -5
- package/dist/chunks/{tool-78ss49vf.js → location-service-map-xa80rzga.js} +13 -13
- package/dist/chunks/{tool-vn72gsba.js → location-service-map-xasyx0as.js} +4 -4
- package/dist/chunks/{tool-9frdx5hm.js → location-service-map-xcgyncvr.js} +6 -6
- package/dist/chunks/{tool-ts9txmc3.js → location-service-map-xf2pa8zd.js} +11 -11
- package/dist/chunks/{tool-g5w8qwbj.js → location-service-map-xfkkasph.js} +4 -4
- package/dist/chunks/{tool-xkntkrq7.js → location-service-map-xkntkrq7.js} +2 -2
- package/dist/chunks/{tool-75ey17xe.js → location-service-map-xn4rysh4.js} +15 -15
- package/dist/chunks/{tool-2evx7vn6.js → location-service-map-xr6s0kj2.js} +32 -32
- package/dist/chunks/{tool-w3nq1sqw.js → location-service-map-xsgk3b13.js} +9 -9
- package/dist/chunks/{tool-ngqw0ypv.js → location-service-map-xv3zg2q6.js} +83 -83
- package/dist/chunks/{tool-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-81xr82zh.js → location-service-map-y1rxxbk0.js} +4 -4
- package/dist/chunks/{tool-n9gejz5b.js → location-service-map-yathvfgy.js} +5 -5
- package/dist/chunks/{tool-p9why5pw.js → location-service-map-yp9bn2b3.js} +31 -31
- package/dist/chunks/{tool-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-331jtpav.js → location-service-map-zaf7gkec.js} +11 -11
- package/dist/chunks/{tool-2zt2ydz3.js → location-service-map-zb967tnj.js} +8 -8
- package/dist/chunks/{tool-0mw89yjh.js → location-service-map-zbfz3xwr.js} +5 -5
- package/dist/chunks/{tool-at1kfnmk.js → location-service-map-ze75yzft.js} +8 -8
- package/dist/chunks/{tool-0tbrh5mv.js → location-service-map-zfn91hgf.js} +40 -40
- package/dist/chunks/{tool-esfye6zx.js → location-service-map-zpewkee0.js} +11 -11
- package/dist/chunks/{tool-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-k0aa2bpn.js → location-service-map-zt2bzptc.js} +10 -10
- package/dist/chunks/{tool-9hvgyr50.js → location-service-map-zx2ydjtq.js} +38 -38
- package/dist/chunks/{tool-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +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 +119 -119
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +89 -89
- package/dist/job.js +76 -76
- 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 +89 -89
- 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 +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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 +114 -114
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +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 +93 -93
- 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 +211 -211
- 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 +108 -108
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +3 -3
- 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 +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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 +9 -9
- package/dist/chunks/tool-55f5yhnr.js +0 -507
- package/dist/chunks/tool-c652knrp.js +0 -253
- package/dist/chunks/tool-cqsczj1k.js +0 -26
- package/dist/chunks/tool-ht5y0zrb.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-service-map-s64dwba7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID8.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-wn1yfdfn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./location-service-map-3sca11j3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-service-map-7d15eyz8.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-gccvjmvx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service18
|
|
21
|
+
} from "./location-service-map-m6f3t844.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-s64dwba7.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-yp9bn2b3.js";
|
|
30
30
|
import {
|
|
31
31
|
ID4,
|
|
32
|
-
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-gfeskyg4.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID9.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service81;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service18;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID9.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID8.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID8.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-rnp1jeej.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node82
|
|
10
|
+
} from "./location-service-map-v54qpgr0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node77
|
|
14
|
+
} from "./location-service-map-0bp78v74.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-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: () => Service67,
|
|
26
|
+
node: () => node70,
|
|
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 Service67 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(Service67, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service74;
|
|
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(Service15, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service67.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [FSUtil.node, node82, node77] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service67, resolvePath2, node70, exports_file_access };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-wn1yfdfn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./location-service-map-3sca11j3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-service-map-7d15eyz8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-gccvjmvx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./location-service-map-s64dwba7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-yp9bn2b3.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service81;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-service-map-v54qpgr0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./location-service-map-8ngk0gag.js";
|
|
10
10
|
import {
|
|
11
11
|
Service7
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-xn4rysh4.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service6
|
|
27
|
+
} from "./location-service-map-p1qb3drj.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin22,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin22 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service6;
|
|
62
|
+
const access = yield* Service67;
|
|
63
63
|
const sessionInstructions = yield* Service7;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin12 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent3 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name5, Input5, Plugin22, toModelContent3, exports_read };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-service-map-tcay1cqt.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-phz3h32g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-xcgyncvr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./location-service-map-9y7qykjj.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-0bp78v74.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service31,
|
|
12
|
+
node34
|
|
13
|
+
} from "./location-service-map-prszkkra.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./location-service-map-5c68qayq.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service27,
|
|
27
|
+
layer: () => layer10,
|
|
28
|
+
node: () => node30
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer10 = Layer.effect(Service27, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service31;
|
|
68
|
+
return Service27.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node30 = makeLocationNode({ service: Service27, layer: layer10, deps: [node34] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service27, layer10, node30, exports_instructions3 };
|