@opencode/core 0.0.0-dev-19432 → 0.0.0-dev-19435
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 +73 -73
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{repository-rccqqzv1.js → location-03b5nb02.js} +9 -9
- package/dist/chunks/{repository-z6fgg22d.js → location-07g0wp3c.js} +34 -34
- package/dist/chunks/{repository-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-j14ddj9r.js → location-141fpr1p.js} +27 -27
- package/dist/chunks/{repository-av7emrka.js → location-16tb5cjj.js} +16 -16
- package/dist/chunks/{repository-qfphbjrc.js → location-1as6q9f6.js} +10 -10
- package/dist/chunks/{repository-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-ys3t6ahp.js → location-1j70cen6.js} +36 -36
- package/dist/chunks/{repository-c66sb1ac.js → location-1jk276m1.js} +11 -11
- package/dist/chunks/{repository-za6yq9hg.js → location-1q5awywt.js} +5 -5
- package/dist/chunks/{repository-56gdpj1q.js → location-1ygqh575.js} +9 -9
- package/dist/chunks/{repository-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{repository-x74118mf.js → location-226tafxp.js} +1 -1
- package/dist/chunks/{repository-6h73sxmp.js → location-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-52nmff2v.js → location-29arvqx0.js} +155 -155
- package/dist/chunks/{repository-9fqm4bgz.js → location-29e0nmzb.js} +23 -23
- package/dist/chunks/{repository-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-dj9sq318.js → location-2f0bjgcj.js} +5 -5
- package/dist/chunks/{repository-737983wq.js → location-2hgjbaq7.js} +4 -4
- package/dist/chunks/{repository-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{repository-vdtpdrgk.js → location-2qjvwhpy.js} +23 -23
- package/dist/chunks/{repository-dwkfzrk3.js → location-2sc5vdwx.js} +10 -10
- package/dist/chunks/{repository-c8pw21fc.js → location-2wyd3ps6.js} +5 -5
- package/dist/chunks/{repository-qn8pfh7t.js → location-2x8aavte.js} +8 -8
- package/dist/chunks/{repository-h7daxtb8.js → location-2xsh895f.js} +11 -11
- package/dist/chunks/{repository-7v41m4wd.js → location-389stghd.js} +11 -11
- package/dist/chunks/{repository-rq1vkg8w.js → location-39s9xh8n.js} +14 -14
- package/dist/chunks/{repository-r1yy7shp.js → location-3af3sqg9.js} +15 -15
- package/dist/chunks/{repository-mnnqs8ch.js → location-3be754jd.js} +7 -7
- package/dist/chunks/{repository-drt53naa.js → location-3bvf0a01.js} +32 -32
- package/dist/chunks/{repository-gdvy8fx6.js → location-3fc6dm20.js} +4 -4
- package/dist/chunks/{repository-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-00z3vp5f.js → location-3j8sdtpz.js} +4 -4
- package/dist/chunks/{repository-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-magykp64.js → location-3t8eac1t.js} +4 -4
- package/dist/chunks/{repository-2pwpt1fq.js → location-3tbkqww7.js} +5 -5
- package/dist/chunks/{repository-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-bzcqfm0m.js → location-410zfba8.js} +2 -2
- package/dist/chunks/{repository-d9zmx2gn.js → location-4hyxw530.js} +9 -9
- package/dist/chunks/{repository-7yqt39ht.js → location-4pfqqkn9.js} +19 -19
- package/dist/chunks/{repository-1erp3qqz.js → location-4sr2v72b.js} +14 -14
- package/dist/chunks/location-4v7qdvcn.js +18 -0
- package/dist/chunks/{repository-5637d424.js → location-56ek0vvh.js} +13 -13
- package/dist/chunks/{repository-2vtn24zd.js → location-58gxdv9m.js} +12 -12
- package/dist/chunks/{repository-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-1vy40y6q.js → location-5rp8v4vz.js} +13 -13
- package/dist/chunks/{repository-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-zj4vqg3k.js → location-5vqd2904.js} +17 -17
- package/dist/chunks/{repository-frs1x3s0.js → location-5x0v6vja.js} +1 -1
- package/dist/chunks/{repository-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/location-6bsjh9v7.js +462 -0
- package/dist/chunks/{repository-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-844ef7ks.js → location-7b15y959.js} +8 -8
- package/dist/chunks/{repository-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-y9bshx3x.js → location-7j0rmcxv.js} +1 -1
- package/dist/chunks/{repository-kq7qvksk.js → location-7smaqcb0.js} +14 -14
- package/dist/chunks/{repository-pzkk0785.js → location-81swgkk7.js} +7 -7
- package/dist/chunks/{repository-gfcx43hw.js → location-829mfcx0.js} +9 -9
- package/dist/chunks/{repository-b0skvq87.js → location-889pe7d8.js} +43 -43
- package/dist/chunks/{repository-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-nxgx3vy8.js → location-8hg6030g.js} +25 -25
- package/dist/chunks/{repository-rdydr188.js → location-8m3d2bhh.js} +8 -8
- package/dist/chunks/{repository-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-1fmrbde1.js → location-8q61w4ba.js} +6 -6
- package/dist/chunks/{repository-nw2nz702.js → location-8s8mxddj.js} +4 -4
- package/dist/chunks/{repository-mxrk5x1e.js → location-96yrngjz.js} +11 -11
- package/dist/chunks/{repository-1snngmj1.js → location-9tbtdqpf.js} +4 -4
- package/dist/chunks/{repository-ge8bh06a.js → location-9y8gg6zj.js} +11 -11
- package/dist/chunks/location-a0etbwks.js +22 -0
- package/dist/chunks/{repository-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-30rg0n1z.js → location-a24v126d.js} +4 -4
- package/dist/chunks/{repository-ra94hv2r.js → location-a5z4fv32.js} +27 -27
- package/dist/chunks/{repository-raw2a3zh.js → location-aab08neh.js} +21 -21
- package/dist/chunks/{repository-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-b7f1tq2h.js → location-ae99a08d.js} +6 -6
- package/dist/chunks/{repository-nj1r2vcq.js → location-ae9ptqg3.js} +6 -6
- package/dist/chunks/{repository-m3ef3jt3.js → location-ax870rrv.js} +9 -9
- package/dist/chunks/{repository-32vktv6f.js → location-ayhzktfb.js} +33 -33
- package/dist/chunks/{repository-23sxaqwc.js → location-b1chm04x.js} +7 -7
- package/dist/chunks/{repository-p7p3472k.js → location-b33xe3vz.js} +20 -20
- package/dist/chunks/{repository-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-wxkvpjdn.js → location-b8q5k5sw.js} +23 -23
- package/dist/chunks/{repository-bzkpjw1k.js → location-bde8na58.js} +26 -26
- package/dist/chunks/{repository-wmbnw6kf.js → location-bfrarwjs.js} +5 -5
- package/dist/chunks/{repository-8xa4vqg2.js → location-bh19jbb0.js} +6 -6
- package/dist/chunks/{repository-2tfmgkzg.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{repository-vnasg3sb.js → location-bndvft47.js} +13 -13
- package/dist/chunks/{repository-q280h65c.js → location-bpqahvg7.js} +8 -8
- package/dist/chunks/{repository-0efqcfd5.js → location-bqs6z16n.js} +3 -3
- package/dist/chunks/{repository-52ymf0cj.js → location-bsj0k59k.js} +21 -21
- package/dist/chunks/{repository-v2kn4vdq.js → location-bte2cbsy.js} +25 -25
- package/dist/chunks/{repository-x14ypy9e.js → location-bvr2g14r.js} +11 -11
- package/dist/chunks/{repository-m3ettc37.js → location-c03trhyz.js} +24 -24
- package/dist/chunks/{repository-1t1584fh.js → location-c0xs0mpv.js} +26 -26
- package/dist/chunks/{repository-pthssfs7.js → location-ca9c6syk.js} +29 -29
- package/dist/chunks/{repository-jkmmxdv7.js → location-cc10ch8m.js} +25 -25
- package/dist/chunks/{repository-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-z741p9sc.js → location-cj3c3by5.js} +18 -18
- package/dist/chunks/{repository-1d1rhcsj.js → location-cvaj0dbv.js} +18 -18
- package/dist/chunks/{repository-65fgxyf5.js → location-czkxp88d.js} +8 -8
- package/dist/chunks/{repository-k0e0jm40.js → location-czmgezh1.js} +22 -22
- package/dist/chunks/{repository-cwtr640q.js → location-dchs2g52.js} +5 -5
- package/dist/chunks/{repository-dpkg50ah.js → location-dpkg50ah.js} +1 -1
- package/dist/chunks/{repository-sz2wcpmw.js → location-dwfyc9qf.js} +11 -11
- package/dist/chunks/{repository-y1rq3pqk.js → location-dyysx4dq.js} +6 -6
- package/dist/chunks/{repository-tejqnav5.js → location-e61xx2n8.js} +5 -5
- package/dist/chunks/{repository-6jagpjd6.js → location-e8ne3dpa.js} +21 -21
- package/dist/chunks/{repository-eaj1djv9.js → location-eaj1djv9.js} +1 -1
- package/dist/chunks/{repository-g7zcz8xz.js → location-eewaj409.js} +11 -11
- package/dist/chunks/{repository-wdrr10w5.js → location-ekvngk86.js} +7 -7
- package/dist/chunks/{repository-56gxsabx.js → location-en58n665.js} +13 -13
- package/dist/chunks/{repository-cw1jmpw1.js → location-ent09bmt.js} +4 -4
- package/dist/chunks/{repository-e430f9b9.js → location-ep6qtvyr.js} +28 -28
- package/dist/chunks/{repository-73tb2d7t.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{repository-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-0s80x56w.js → location-etwfhkz9.js} +9 -9
- package/dist/chunks/{repository-22cv5ye4.js → location-ezedb5nb.js} +15 -15
- package/dist/chunks/{repository-yp2x3t23.js → location-f2n192rq.js} +4 -4
- package/dist/chunks/{repository-6xrkkq0p.js → location-f6t340ae.js} +18 -18
- package/dist/chunks/{repository-d09006c3.js → location-f7ehr2sm.js} +9 -9
- package/dist/chunks/{repository-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{repository-a7bm1a35.js → location-f8hxd4bv.js} +16 -16
- package/dist/chunks/{repository-t0x5rdq8.js → location-fjmrr6sh.js} +9 -9
- package/dist/chunks/{repository-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-htvcf07r.js → location-g7j46mhj.js} +16 -16
- package/dist/chunks/{repository-ab5w8dn8.js → location-gc9rycst.js} +12 -12
- package/dist/chunks/{repository-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-4v34yf9v.js → location-gs13a0mc.js} +60 -60
- package/dist/chunks/{repository-dkz6hmks.js → location-gvnbva7c.js} +11 -11
- package/dist/chunks/{repository-ht9620cz.js → location-gw2vvezc.js} +9 -9
- package/dist/chunks/{repository-n0pr5v83.js → location-gx10v58f.js} +18 -18
- package/dist/chunks/{repository-z13bnxy7.js → location-gzg98a5d.js} +3 -3
- package/dist/chunks/{repository-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-xk45614k.js → location-h7jk4asw.js} +43 -43
- package/dist/chunks/{repository-2mxvh1sf.js → location-h8ja802q.js} +4 -4
- package/dist/chunks/{repository-fjeh9m37.js → location-hdmnnff5.js} +8 -8
- package/dist/chunks/{repository-18frcpjt.js → location-hky8et6e.js} +18 -18
- package/dist/chunks/{repository-e6hmchc5.js → location-hnr5yq9h.js} +5 -5
- package/dist/chunks/{repository-fhy3xvpm.js → location-hv4jntb9.js} +18 -18
- package/dist/chunks/{repository-daccqbjh.js → location-hvpzgxgs.js} +9 -9
- package/dist/chunks/{repository-pyynkbc6.js → location-j0fb3yen.js} +31 -31
- package/dist/chunks/{repository-tfwap27p.js → location-j26kwb45.js} +10 -10
- package/dist/chunks/{repository-4g53kgkp.js → location-j2p38w15.js} +47 -47
- package/dist/chunks/{repository-c9bbz02c.js → location-j556b5bm.js} +25 -25
- package/dist/chunks/{repository-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-ef1q2dpz.js → location-j69nrb2c.js} +17 -17
- package/dist/chunks/{repository-pxf31q7x.js → location-jbhgm1pg.js} +13 -13
- package/dist/chunks/{repository-vmxj0651.js → location-k3zbr1bh.js} +7 -7
- package/dist/chunks/{repository-rd62shed.js → location-k44by2q5.js} +37 -37
- package/dist/chunks/{repository-2mfw3wdh.js → location-k5jcx5w1.js} +9 -9
- package/dist/chunks/{repository-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-8nd4ez8d.js → location-kg1vvjz6.js} +22 -22
- package/dist/chunks/{repository-k3mt7wkv.js → location-kjtkant2.js} +13 -13
- package/dist/chunks/{repository-hkefa025.js → location-kpe4e0s9.js} +19 -19
- package/dist/chunks/{repository-eak6awrz.js → location-ky1ech8t.js} +6 -6
- package/dist/chunks/{repository-ybvbv09q.js → location-kyrbgmgz.js} +4 -4
- package/dist/chunks/{repository-xmmda1hq.js → location-m0kbr7p9.js} +11 -11
- package/dist/chunks/{repository-t8n3h3je.js → location-m1y7e9ek.js} +22 -22
- package/dist/chunks/{repository-m86bnw2c.js → location-m86bnw2c.js} +2 -2
- package/dist/chunks/{repository-3qgk4v93.js → location-m8nqv7st.js} +21 -21
- package/dist/chunks/{repository-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-6fmy559f.js → location-mfpdf0ta.js} +7 -7
- package/dist/chunks/{repository-bacypahn.js → location-mk60nzq1.js} +1 -1
- package/dist/chunks/{repository-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-kgrrjcn2.js → location-n002fnqn.js} +51 -51
- package/dist/chunks/{repository-4aws1fvg.js → location-n25jd2cw.js} +37 -37
- package/dist/chunks/{repository-6d8fecpc.js → location-n8f3mzga.js} +4 -4
- package/dist/chunks/{repository-2c5gpntr.js → location-ncaez7fb.js} +1 -1
- package/dist/chunks/{repository-377tdzm5.js → location-ndmv45hp.js} +3 -3
- package/dist/chunks/{repository-47gsdddb.js → location-nhy5jxhy.js} +5 -5
- package/dist/chunks/{repository-9ra18k9p.js → location-nxjhxkv3.js} +10 -10
- package/dist/chunks/{repository-w8rxvjsy.js → location-p6drjj8h.js} +6 -6
- package/dist/chunks/{repository-1hc11dc4.js → location-paegk39x.js} +4 -4
- package/dist/chunks/{repository-6fa0yxfs.js → location-pec4bm3r.js} +15 -15
- package/dist/chunks/{repository-3293cyr9.js → location-pfwdjrz4.js} +2 -2
- package/dist/chunks/{repository-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{repository-b3e9n1nh.js → location-ppdy6qwe.js} +4 -4
- package/dist/chunks/{repository-1wvd3n1a.js → location-psg6js8p.js} +21 -21
- package/dist/chunks/{repository-qm7jrdpz.js → location-pw9v3g6d.js} +8 -8
- package/dist/chunks/{repository-ja409geq.js → location-pzfzh42t.js} +15 -15
- package/dist/chunks/{repository-rqk58rkp.js → location-q17hktv8.js} +14 -14
- package/dist/chunks/{repository-h83w2tz3.js → location-q3d655mj.js} +90 -90
- package/dist/chunks/{repository-kkqrkmh0.js → location-q7cq3y4p.js} +46 -46
- package/dist/chunks/{repository-jw70rx0h.js → location-qdyxpk4m.js} +43 -43
- package/dist/chunks/{repository-9a4k9g5r.js → location-qgqfnjyk.js} +83 -83
- package/dist/chunks/{repository-g7w32fc6.js → location-qhs4rngb.js} +32 -32
- package/dist/chunks/{repository-zk4wv12b.js → location-qqs4xmxe.js} +48 -48
- package/dist/chunks/{repository-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-mhspve7x.js → location-qvf5hp1t.js} +33 -33
- package/dist/chunks/{repository-hm2ejha3.js → location-qx0n0hnh.js} +13 -13
- package/dist/chunks/{repository-8mhep79j.js → location-qxqbfyt6.js} +34 -34
- package/dist/chunks/{repository-9jzdmgrd.js → location-qycwybve.js} +11 -11
- package/dist/chunks/{repository-4vt2dwev.js → location-r8qagt8b.js} +17 -17
- package/dist/chunks/{repository-t2fc4mz5.js → location-ratrq7cm.js} +4 -4
- package/dist/chunks/{repository-4c8bw516.js → location-rmdyxgmk.js} +8 -8
- package/dist/chunks/{repository-6bd4yqd4.js → location-rp7ht49k.js} +37 -37
- package/dist/chunks/{repository-6anwy9fs.js → location-rp8jz6x1.js} +4 -4
- package/dist/chunks/{repository-3fqa324q.js → location-rpr7nt0p.js} +10 -10
- package/dist/chunks/{repository-n10qepkx.js → location-rwc534w8.js} +16 -16
- package/dist/chunks/{repository-t2fwea8b.js → location-rz6djy9m.js} +34 -34
- package/dist/chunks/{repository-vryjq8rr.js → location-s138m409.js} +16 -16
- package/dist/chunks/{repository-bfbpt4xj.js → location-s6g7bkfa.js} +8 -8
- package/dist/chunks/{repository-8jn05b6d.js → location-s6xwevjp.js} +3 -3
- package/dist/chunks/{repository-c3ay0pv3.js → location-sdtwcfar.js} +26 -26
- package/dist/chunks/{repository-xdfw05yp.js → location-sq0fsqh3.js} +11 -11
- package/dist/chunks/{repository-pb1eahw5.js → location-srhw5zxk.js} +8 -8
- package/dist/chunks/{repository-cb2gy3vs.js → location-sst0ghmm.js} +28 -28
- package/dist/chunks/{repository-wbsb94y0.js → location-svv6qsvk.js} +13 -13
- package/dist/chunks/{repository-xmvnw2y2.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{repository-zamc6f4z.js → location-sycr0cxz.js} +29 -29
- package/dist/chunks/{repository-qzm0daqd.js → location-szfjwb31.js} +3 -3
- package/dist/chunks/{repository-780vkm8r.js → location-t072myer.js} +4 -4
- package/dist/chunks/{repository-fmme79ky.js → location-t268s8j2.js} +7 -7
- package/dist/chunks/{repository-nbvm9kjy.js → location-t45hv4wr.js} +15 -15
- package/dist/chunks/{repository-wx8khj6c.js → location-t5d3pp3j.js} +17 -17
- package/dist/chunks/{repository-6ryvksdm.js → location-t96n3knx.js} +30 -30
- package/dist/chunks/{repository-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cfsztwnt.js → location-tgnvbkra.js} +18 -18
- package/dist/chunks/{repository-b0fng4zx.js → location-tgsqfs3c.js} +41 -41
- package/dist/chunks/{repository-gv6a8nnw.js → location-th5km1p3.js} +5 -5
- package/dist/chunks/{repository-jv6862zv.js → location-tm7ffpnn.js} +6 -6
- package/dist/chunks/{repository-dqy22jqg.js → location-tmbxdmay.js} +43 -43
- package/dist/chunks/{repository-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-c6y7v1er.js → location-v4t0dn9g.js} +2 -2
- package/dist/chunks/{repository-vjay5gkv.js → location-v542w56z.js} +24 -24
- package/dist/chunks/{repository-63xeamm2.js → location-v7br46vm.js} +16 -16
- package/dist/chunks/{repository-rm75j2sh.js → location-vc5bk1c0.js} +13 -13
- package/dist/chunks/{repository-x52k0wvy.js → location-vdpzq508.js} +20 -20
- package/dist/chunks/{repository-hq8zt1th.js → location-ve6nm2s5.js} +6 -6
- package/dist/chunks/{repository-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-62hcz6cs.js → location-vhbmzvty.js} +27 -27
- package/dist/chunks/{repository-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-3bkjb058.js → location-w08q9gc9.js} +24 -24
- package/dist/chunks/{repository-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-3q1jyqhd.js → location-w79zsp0s.js} +1 -1
- package/dist/chunks/location-w850rf70.js +247 -0
- package/dist/chunks/{repository-f9dnc6qb.js → location-wb8znxk9.js} +9 -9
- package/dist/chunks/{repository-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{repository-9xtkkd11.js → location-wh6nx8gk.js} +4 -4
- package/dist/chunks/{repository-qrc483b8.js → location-whhmk8k9.js} +11 -11
- package/dist/chunks/{repository-k9ynbxgd.js → location-wknpsqf7.js} +25 -25
- package/dist/chunks/{repository-6cnk2f7j.js → location-wx89x9gj.js} +16 -16
- package/dist/chunks/{repository-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-x43y2vfs.js → location-x43y2vfs.js} +2 -2
- package/dist/chunks/{repository-vp40978k.js → location-x7vckax8.js} +9 -9
- package/dist/chunks/{repository-ypfk9d9x.js → location-x80tm2rf.js} +18 -18
- package/dist/chunks/{repository-5tqrw2yw.js → location-xaadjf4r.js} +24 -24
- package/dist/chunks/{repository-6prpzt6f.js → location-xcrbymt7.js} +44 -44
- package/dist/chunks/{repository-c29pq2bv.js → location-xgpdceje.js} +25 -25
- package/dist/chunks/{repository-cdvjrb6a.js → location-xshrq19q.js} +16 -16
- package/dist/chunks/{repository-a5xe75vd.js → location-xv590yw7.js} +22 -22
- package/dist/chunks/{repository-hpdgvsh4.js → location-y14y9keq.js} +1 -1
- package/dist/chunks/{repository-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-jsk2qqh7.js → location-y2r22c8c.js} +63 -63
- package/dist/chunks/{repository-y1336hgx.js → location-y506eeqx.js} +17 -17
- package/dist/chunks/{repository-d4z2re2g.js → location-y8f7dagd.js} +26 -26
- package/dist/chunks/{repository-1byap634.js → location-y8z56cqz.js} +38 -38
- package/dist/chunks/{repository-dtqbwwhp.js → location-yb440psp.js} +5 -5
- package/dist/chunks/{repository-yddgxcp4.js → location-yddgxcp4.js} +2 -2
- package/dist/chunks/{repository-zm6r64bs.js → location-yjdnpxry.js} +22 -22
- package/dist/chunks/{repository-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-0rpxkeqh.js → location-yryey8bw.js} +7 -7
- package/dist/chunks/{repository-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-hkfg6fzm.js → location-yt0fqk68.js} +5 -5
- package/dist/chunks/{repository-7n9wzmmg.js → location-yz4r56ez.js} +23 -23
- package/dist/chunks/{repository-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-embw8kgh.js → location-zcrspsvn.js} +4 -4
- package/dist/chunks/{repository-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-hgkm3ngx.js → location-zwsxqnjr.js} +18 -18
- package/dist/chunks/{repository-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-bgc00773.js → location-zxvgyezd.js} +1 -1
- package/dist/chunks/{repository-ykbv3wb7.js → location-zzqyq7ew.js} +25 -25
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- 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 +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +83 -83
- package/dist/git.js +7 -7
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +117 -117
- package/dist/tool/plugin/edit.js +109 -109
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/repository-7qed14jw.js +0 -462
- package/dist/chunks/repository-9sh4wc5j.js +0 -18
- package/dist/chunks/repository-f7z596tj.js +0 -22
- package/dist/chunks/repository-xt8m55sk.js +0 -247
- /package/dist/chunks/{repository-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → location-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event15,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options7,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node67,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -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 Event15 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load2());
|
|
@@ -57,14 +57,14 @@ var Options7 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service62 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 layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service62.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 layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service62.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(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service62).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(Service62, 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 configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service62, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node67 = configured9();
|
|
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 { Event15, hasNativeBinding2, Native3, Options7, Service62, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node67, exports_watcher };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-j26kwb45.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node69
|
|
17
|
+
} from "./location-en58n665.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service59,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service59 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service64;
|
|
110
|
+
return Service59.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node64 = makeGlobalNode({
|
|
171
|
+
service: Service59,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node69]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node64, exports_repository_cache };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-v7br46vm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service34,
|
|
7
|
+
node38
|
|
8
|
+
} from "./location-j2p38w15.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node72
|
|
12
|
+
} from "./location-qqs4xmxe.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node53
|
|
16
|
+
} from "./location-czmgezh1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
26
|
layer: () => layer14,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service33 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer14 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service34;
|
|
42
|
+
const tools = yield* Service50;
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const permission = yield* Service67;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
117
|
+
var node37 = makeLocationNode({
|
|
118
|
+
service: Service33,
|
|
119
119
|
layer: layer14,
|
|
120
|
-
deps: [
|
|
120
|
+
deps: [node53, node38, node84, node72]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name14,
|
|
123
|
+
export { namespace2, name14, Service33, layer14, node37, exports_mcp3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qqs4xmxe.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin10 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin10, exports_plan };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qycwybve.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID10
|
|
6
|
+
} from "./location-a24v126d.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-3be754jd.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID10.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-v7br46vm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
18
|
ID: () => ID16,
|
|
19
|
-
Info: () =>
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
21
|
Service: () => Service72,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
@@ -27,19 +27,19 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
33
|
var ID16 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
35
|
var defaultID2 = ID16.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
39
|
class Service72 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
41
|
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
-
const bus = yield*
|
|
42
|
+
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var node77 = makeLocationNode({ service: Service72, layer, deps: [
|
|
119
|
+
var node77 = makeLocationNode({ service: Service72, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID16, Name3, defaultID2, Color2,
|
|
121
|
+
export { ID16, Name3, defaultID2, Color2, Info30, Service72, node77, exports_agent4, Event19 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service70,
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service70 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service70.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node75 = makeLocationNode({ service: Service70, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service70, node75, exports_hooks };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-y14y9keq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-gzg98a5d.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-a5z4fv32.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./location-qqs4xmxe.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./location-m8nqv7st.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description4,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin39 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service52;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description4,
|
|
59
|
-
input:
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name7, NO_RESULTS2, description4, Input7, Plugin39, exports_websearch2 };
|