@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-j26kwb45.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-gebd4c9n.js";
|
|
14
|
+
import {
|
|
15
|
+
Service80,
|
|
16
|
+
node85
|
|
17
|
+
} from "./location-1jk276m1.js";
|
|
14
18
|
import {
|
|
15
19
|
Service79,
|
|
16
20
|
node84
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service78,
|
|
20
|
-
node83
|
|
21
|
-
} from "./repository-63xeamm2.js";
|
|
21
|
+
} from "./location-v7br46vm.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node79
|
|
31
|
+
} from "./location-rwc534w8.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./location-th5km1p3.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make19
|
|
38
|
+
} from "./location-m0kbr7p9.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event13,
|
|
53
|
+
Info: () => Info10,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service54,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node58
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info10 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event13 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service54 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make19;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event13.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical3(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service54.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node58 = makeLocationNode({
|
|
273
|
+
service: Service54,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node81, node84, node85, AppProcess.node, node79, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info10, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event13, Service54, node58, exports_worktree2, OperationError2 };
|
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-1jk276m1.js";
|
|
5
5
|
import {
|
|
6
6
|
ID16,
|
|
7
7
|
Service72,
|
|
8
8
|
node77
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-bndvft47.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node49
|
|
13
|
+
} from "./location-j556b5bm.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-eaj1djv9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
make13
|
|
19
|
+
} from "./location-rpr7nt0p.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service48,
|
|
22
|
+
node51
|
|
23
|
+
} from "./location-m1y7e9ek.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node79
|
|
27
|
+
} from "./location-rwc534w8.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service27,
|
|
30
|
+
node32
|
|
31
|
+
} from "./location-5rp8v4vz.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-tm7ffpnn.js";
|
|
35
35
|
import {
|
|
36
36
|
provenance2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-paegk39x.js";
|
|
38
38
|
import {
|
|
39
39
|
entriesForRunner2
|
|
40
|
-
} from "./
|
|
41
|
-
import {
|
|
42
|
-
Service69,
|
|
43
|
-
node74
|
|
44
|
-
} from "./repository-22cv5ye4.js";
|
|
40
|
+
} from "./location-2x8aavte.js";
|
|
45
41
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
42
|
+
Service68,
|
|
43
|
+
node73
|
|
44
|
+
} from "./location-ezedb5nb.js";
|
|
49
45
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
46
|
+
Service50,
|
|
47
|
+
node53
|
|
48
|
+
} from "./location-czmgezh1.js";
|
|
53
49
|
import {
|
|
54
50
|
Service33,
|
|
55
51
|
node37
|
|
56
|
-
} from "./
|
|
52
|
+
} from "./location-bde8na58.js";
|
|
57
53
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
54
|
+
Service30,
|
|
55
|
+
node34
|
|
56
|
+
} from "./location-4pfqqkn9.js";
|
|
61
57
|
import {
|
|
62
|
-
|
|
58
|
+
Service26,
|
|
63
59
|
node31
|
|
64
|
-
} from "./
|
|
65
|
-
import {
|
|
66
|
-
Service31,
|
|
67
|
-
node36
|
|
68
|
-
} from "./repository-6cnk2f7j.js";
|
|
60
|
+
} from "./location-f8hxd4bv.js";
|
|
69
61
|
import {
|
|
70
62
|
Service28,
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
63
|
+
node33
|
|
64
|
+
} from "./location-x80tm2rf.js";
|
|
73
65
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
66
|
+
Service25,
|
|
67
|
+
node30
|
|
68
|
+
} from "./location-wx89x9gj.js";
|
|
69
|
+
import {
|
|
70
|
+
Service31,
|
|
71
|
+
node35
|
|
72
|
+
} from "./location-ep6qtvyr.js";
|
|
73
|
+
import {
|
|
74
|
+
Service44,
|
|
75
|
+
node47
|
|
76
|
+
} from "./location-56ek0vvh.js";
|
|
77
77
|
import {
|
|
78
78
|
__export
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./location-9rqn6x4v.js";
|
|
80
80
|
|
|
81
81
|
// src/session/context.ts
|
|
82
82
|
var exports_context = {};
|
|
83
83
|
__export(exports_context, {
|
|
84
|
-
Service: () =>
|
|
84
|
+
Service: () => Service24,
|
|
85
85
|
SessionContext: () => exports_context,
|
|
86
|
-
node: () =>
|
|
86
|
+
node: () => node29
|
|
87
87
|
});
|
|
88
88
|
import { Model } from "@opencode/schema/model";
|
|
89
89
|
import { Context, Effect, Layer } from "effect";
|
|
90
90
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
91
|
-
class
|
|
91
|
+
class Service24 extends Context.Service()("@opencode/SessionContext") {
|
|
92
92
|
}
|
|
93
|
-
var layer = Layer.effect(
|
|
93
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
94
94
|
const agents = yield* Service72;
|
|
95
|
-
const builtins = yield*
|
|
96
|
-
const catalog = yield*
|
|
97
|
-
const db = (yield*
|
|
98
|
-
const discovery = yield*
|
|
99
|
-
const entries = yield*
|
|
100
|
-
const location = yield*
|
|
101
|
-
const mcpInstructions = yield*
|
|
102
|
-
const mcpTools = yield*
|
|
103
|
-
const models = yield*
|
|
104
|
-
const request = yield*
|
|
105
|
-
const referenceInstructions = yield*
|
|
106
|
-
const skillInstructions = yield*
|
|
107
|
-
const store = yield*
|
|
108
|
-
const registry = yield*
|
|
95
|
+
const builtins = yield* Service27;
|
|
96
|
+
const catalog = yield* Service46;
|
|
97
|
+
const db = (yield* Service80).db;
|
|
98
|
+
const discovery = yield* Service48;
|
|
99
|
+
const entries = yield* Service25;
|
|
100
|
+
const location = yield* Service74;
|
|
101
|
+
const mcpInstructions = yield* Service30;
|
|
102
|
+
const mcpTools = yield* Service33;
|
|
103
|
+
const models = yield* Service44;
|
|
104
|
+
const request = yield* Service31;
|
|
105
|
+
const referenceInstructions = yield* Service26;
|
|
106
|
+
const skillInstructions = yield* Service28;
|
|
107
|
+
const store = yield* Service68;
|
|
108
|
+
const registry = yield* Service50;
|
|
109
109
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
110
110
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
111
111
|
const agent = yield* agents.get(ID16.make("title"));
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
161
161
|
agent: { ...agent, info: agent.info },
|
|
162
162
|
instructions: combine2([
|
|
163
163
|
loaded.builtins,
|
|
164
|
-
|
|
164
|
+
make13(loaded.tools.codeModeCatalog),
|
|
165
165
|
loaded.discovery,
|
|
166
166
|
loaded.skills,
|
|
167
167
|
loaded.references,
|
|
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
183
183
|
tools: selection.tools
|
|
184
184
|
};
|
|
185
185
|
});
|
|
186
|
-
return
|
|
186
|
+
return Service24.of({ select, load, resolveModel, selectTitle, request });
|
|
187
187
|
}));
|
|
188
188
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
189
|
-
var
|
|
190
|
-
service:
|
|
189
|
+
var node29 = makeLocationNode({
|
|
190
|
+
service: Service24,
|
|
191
191
|
layer,
|
|
192
192
|
deps: [
|
|
193
193
|
node77,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
node41,
|
|
197
|
-
node45,
|
|
198
|
-
node36,
|
|
199
|
-
node78,
|
|
200
|
-
node37,
|
|
201
|
-
node38,
|
|
202
|
-
node40,
|
|
203
|
-
node51,
|
|
194
|
+
node49,
|
|
195
|
+
node85,
|
|
204
196
|
node32,
|
|
205
|
-
|
|
197
|
+
node51,
|
|
198
|
+
node30,
|
|
199
|
+
node79,
|
|
200
|
+
node34,
|
|
201
|
+
node37,
|
|
206
202
|
node31,
|
|
207
|
-
|
|
203
|
+
node47,
|
|
204
|
+
node35,
|
|
205
|
+
node73,
|
|
206
|
+
node33,
|
|
207
|
+
node53
|
|
208
208
|
]
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { Service24, node29, exports_context };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-a24v126d.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID9
|
|
8
|
+
} from "./location-4sr2v72b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./location-v7br46vm.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event17
|
|
15
|
+
} from "./location-ayhzktfb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID6,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ca9c6syk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service46
|
|
22
|
+
} from "./location-j556b5bm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./location-y506eeqx.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-qycwybve.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID6.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service46;
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID10.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID10.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID10.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID9.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID9.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID9.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID10.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID10.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|