@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-v7br46vm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-rwc534w8.js";
|
|
9
9
|
import {
|
|
10
10
|
ID16,
|
|
11
11
|
Service72,
|
|
12
12
|
node77
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-bndvft47.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./location-tm7ffpnn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node73
|
|
20
|
+
} from "./location-ezedb5nb.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-y1fvbwt7.js";
|
|
24
|
+
import {
|
|
25
|
+
Service69,
|
|
26
|
+
node74
|
|
27
|
+
} from "./location-cvaj0dbv.js";
|
|
24
28
|
import {
|
|
25
29
|
Service70,
|
|
26
30
|
node75
|
|
27
|
-
} from "./
|
|
28
|
-
import {
|
|
29
|
-
Service71,
|
|
30
|
-
node76
|
|
31
|
-
} from "./repository-q280h65c.js";
|
|
31
|
+
} from "./location-bpqahvg7.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,30 +42,30 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID12,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service67,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node72
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
78
|
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
82
|
agent: ID16.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID12,
|
|
86
86
|
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service67 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
130
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service79;
|
|
132
|
+
const location = yield* Service74;
|
|
133
133
|
const agents = yield* Service72;
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
134
|
+
const sessions = yield* Service68;
|
|
135
|
+
const saved = yield* Service69;
|
|
136
|
+
const hooks = yield* Service70;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID12.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service67.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node72 = makeLocationNode({
|
|
289
|
+
service: Service67,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node79, node77, node73, node74, node75]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service67, node72, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node81
|
|
10
|
+
} from "./location-j26kwb45.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node79
|
|
14
|
+
} from "./location-rwc534w8.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID15,
|
|
27
|
+
Service: () => Service71,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node76,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID15 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service71 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID15.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service71.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node76 = makeLocationNode({
|
|
139
|
+
service: Service71,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node81, Global.node, node79]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service71, Service71.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error5({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID15, Error5, Service71, node76, noopLayer3, exports_snapshot2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node83,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service78 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service78.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured11(options) {
|
|
209
|
+
return makeLocationNode({ service: Service78, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node83 = configured11();
|
|
212
212
|
|
|
213
|
-
export { Options10,
|
|
213
|
+
export { Options10, Service78, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured11, node83, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node57
|
|
5
|
+
} from "./location-qycwybve.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node84
|
|
9
|
+
} from "./location-v7br46vm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID10,
|
|
12
12
|
aisdk2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-a24v126d.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
VariantID2,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-4sr2v72b.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service64,
|
|
22
|
+
node69
|
|
23
|
+
} from "./location-en58n665.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/models-dev.ts
|
|
29
29
|
var exports_models_dev = {};
|
|
@@ -31,12 +31,12 @@ __export(exports_models_dev, {
|
|
|
31
31
|
CatalogModelStatus: () => CatalogModelStatus2,
|
|
32
32
|
Event: () => Event3,
|
|
33
33
|
ModelsDev: () => exports_models_dev,
|
|
34
|
-
Options: () =>
|
|
35
|
-
Service: () =>
|
|
34
|
+
Options: () => Options3,
|
|
35
|
+
Service: () => Service17,
|
|
36
36
|
bodyDigest: () => bodyDigest2,
|
|
37
|
-
configured: () =>
|
|
38
|
-
layer: () =>
|
|
39
|
-
node: () =>
|
|
37
|
+
configured: () => configured3,
|
|
38
|
+
layer: () => layer9,
|
|
39
|
+
node: () => node20
|
|
40
40
|
});
|
|
41
41
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
42
42
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -56,7 +56,7 @@ var CatalogModelStatus2 = Schema.Literals(["alpha", "beta", "deprecated"]);
|
|
|
56
56
|
function normalize(input) {
|
|
57
57
|
const providers = [];
|
|
58
58
|
for (const item of Object.values(input)) {
|
|
59
|
-
const providerID =
|
|
59
|
+
const providerID = ID10.make(item.id);
|
|
60
60
|
const info = {
|
|
61
61
|
id: providerID,
|
|
62
62
|
name: item.name,
|
|
@@ -68,10 +68,10 @@ function normalize(input) {
|
|
|
68
68
|
for (const model of Object.values(item.models)) {
|
|
69
69
|
const baseCost = cost(model.cost);
|
|
70
70
|
const variants = reasoningVariants(item, model);
|
|
71
|
-
const id =
|
|
71
|
+
const id = ID9.make(model.id);
|
|
72
72
|
models.push(modelInfo(providerID, id, model, { cost: baseCost, variants }));
|
|
73
73
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
74
|
-
const modeID =
|
|
74
|
+
const modeID = ID9.make(`${model.id}-${mode}`);
|
|
75
75
|
models.push(modelInfo(providerID, modeID, model, {
|
|
76
76
|
name: modeName(model, mode),
|
|
77
77
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -449,7 +449,7 @@ function modeName(model, mode) {
|
|
|
449
449
|
function modelInfo(providerID, id, model, input = {}) {
|
|
450
450
|
return {
|
|
451
451
|
id,
|
|
452
|
-
modelID:
|
|
452
|
+
modelID: ID9.make(model.id),
|
|
453
453
|
providerID,
|
|
454
454
|
name: input.name ?? model.name,
|
|
455
455
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -475,14 +475,14 @@ function modelInfo(providerID, id, model, input = {}) {
|
|
|
475
475
|
body: input.request?.body ? { ...input.request.body } : undefined
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
|
-
var
|
|
478
|
+
var Options3 = Schema.Struct({
|
|
479
479
|
url: Schema.optional(Schema.String),
|
|
480
480
|
file: Schema.optional(Schema.String),
|
|
481
481
|
fetch: Schema.optional(Schema.Boolean),
|
|
482
482
|
snapshot: Schema.optional(Schema.Boolean)
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
class
|
|
485
|
+
class Service17 extends Context.Service()("@opencode/ModelsDev") {
|
|
486
486
|
}
|
|
487
487
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
488
488
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -505,11 +505,11 @@ function cacheKey(source) {
|
|
|
505
505
|
function bodyDigest2(text) {
|
|
506
506
|
return Hash.sha256(text);
|
|
507
507
|
}
|
|
508
|
-
var
|
|
508
|
+
var layer9 = (options) => Layer.effect(Service17, Effect.gen(function* () {
|
|
509
509
|
const fs = yield* FSUtil.Service;
|
|
510
|
-
const bus = yield*
|
|
510
|
+
const bus = yield* Service79;
|
|
511
511
|
const app = yield* Metadata2;
|
|
512
|
-
const kv = yield*
|
|
512
|
+
const kv = yield* Service64;
|
|
513
513
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
514
514
|
retryOn: "errors-and-responses",
|
|
515
515
|
times: 2,
|
|
@@ -589,15 +589,15 @@ var layer8 = (options) => Layer.effect(Service15, Effect.gen(function* () {
|
|
|
589
589
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
590
590
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
591
591
|
}
|
|
592
|
-
return
|
|
592
|
+
return Service17.of({ get, refresh });
|
|
593
593
|
}));
|
|
594
|
-
function
|
|
594
|
+
function configured3(options) {
|
|
595
595
|
return makeGlobalNode({
|
|
596
|
-
service:
|
|
597
|
-
layer:
|
|
598
|
-
deps: [FSUtil.node,
|
|
596
|
+
service: Service17,
|
|
597
|
+
layer: layer9(options),
|
|
598
|
+
deps: [FSUtil.node, node84, node57, node69, httpClient]
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
|
-
var
|
|
601
|
+
var node20 = configured3();
|
|
602
602
|
|
|
603
|
-
export { CatalogModelStatus2,
|
|
603
|
+
export { CatalogModelStatus2, Options3, Service17, bodyDigest2, layer9, configured3, node20, exports_models_dev, Event3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node57,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node57 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer21, configured6, node57, exports_app };
|