@opencode/core 0.0.0-dev-19433 → 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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{permission-9mbt5q6r.js → location-03b5nb02.js} +15 -15
- package/dist/chunks/{permission-mg0znfg2.js → location-07g0wp3c.js} +28 -28
- package/dist/chunks/{permission-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{permission-hhsqcnjm.js → location-141fpr1p.js} +27 -27
- package/dist/chunks/{permission-krcmgbzg.js → location-16tb5cjj.js} +14 -14
- package/dist/chunks/{permission-jq2w5eqw.js → location-1as6q9f6.js} +10 -10
- package/dist/chunks/{permission-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-g0dapk05.js → location-1j70cen6.js} +36 -36
- package/dist/chunks/{permission-5hqtspna.js → location-1jk276m1.js} +11 -11
- package/dist/chunks/{permission-6vq97qmv.js → location-1q5awywt.js} +5 -5
- package/dist/chunks/{permission-mfqp6xfm.js → location-1ygqh575.js} +6 -6
- package/dist/chunks/{permission-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{permission-fn2hydb4.js → location-226tafxp.js} +1 -1
- package/dist/chunks/{permission-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-bb3z56gq.js → location-29arvqx0.js} +138 -138
- package/dist/chunks/{permission-tq578zw6.js → location-29e0nmzb.js} +23 -23
- package/dist/chunks/{permission-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-evbgk2k8.js → location-2f0bjgcj.js} +5 -5
- package/dist/chunks/{permission-2wyjv582.js → location-2hgjbaq7.js} +4 -4
- package/dist/chunks/{permission-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{permission-6a32rn4v.js → location-2qjvwhpy.js} +32 -32
- package/dist/chunks/{permission-frb38jfy.js → location-2sc5vdwx.js} +7 -7
- package/dist/chunks/{permission-e3c36pw0.js → location-2wyd3ps6.js} +5 -5
- package/dist/chunks/{permission-t02gjz1k.js → location-2x8aavte.js} +8 -8
- package/dist/chunks/{permission-8wfdbk8j.js → location-2xsh895f.js} +11 -11
- package/dist/chunks/{permission-rkmq0ftz.js → location-389stghd.js} +9 -9
- package/dist/chunks/{permission-xzbwntxk.js → location-39s9xh8n.js} +16 -16
- package/dist/chunks/{permission-n3mvxh6b.js → location-3af3sqg9.js} +15 -15
- package/dist/chunks/{permission-bb9gdsay.js → location-3be754jd.js} +7 -7
- package/dist/chunks/{permission-xp9xnn8d.js → location-3bvf0a01.js} +35 -35
- package/dist/chunks/{permission-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-bct739vz.js → location-3j8sdtpz.js} +4 -4
- package/dist/chunks/{permission-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-magykp64.js → location-3t8eac1t.js} +4 -4
- package/dist/chunks/{permission-43rr00tt.js → location-3tbkqww7.js} +5 -5
- package/dist/chunks/{permission-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-s5wvc7af.js → location-410zfba8.js} +2 -2
- package/dist/chunks/{permission-j1yse1kd.js → location-4hyxw530.js} +9 -9
- package/dist/chunks/{permission-gc7nq2w8.js → location-4pfqqkn9.js} +15 -15
- package/dist/chunks/{permission-kbhrqfch.js → location-4sr2v72b.js} +10 -10
- package/dist/chunks/location-4v7qdvcn.js +18 -0
- package/dist/chunks/{permission-ssbetzbz.js → location-56ek0vvh.js} +13 -13
- package/dist/chunks/{permission-7vc3mrhj.js → location-58gxdv9m.js} +12 -12
- package/dist/chunks/{permission-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-pxz8cxa5.js → location-5rp8v4vz.js} +13 -13
- package/dist/chunks/{permission-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-q494k5ge.js → location-5vqd2904.js} +17 -17
- package/dist/chunks/{permission-6c0389mc.js → location-5x0v6vja.js} +1 -1
- package/dist/chunks/{permission-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{permission-62fptws6.js → location-6bsjh9v7.js} +289 -289
- package/dist/chunks/{permission-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{permission-dv1qgsyq.js → location-7b15y959.js} +8 -8
- package/dist/chunks/{permission-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-j5nhpq27.js → location-7j0rmcxv.js} +1 -1
- package/dist/chunks/{permission-sgrgw8g2.js → location-7smaqcb0.js} +14 -14
- package/dist/chunks/{permission-81swgkk7.js → location-81swgkk7.js} +2 -2
- package/dist/chunks/{permission-w7a9hpzm.js → location-829mfcx0.js} +9 -9
- package/dist/chunks/{permission-3gam31rs.js → location-889pe7d8.js} +34 -34
- package/dist/chunks/{permission-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-40cbsfw4.js → location-8hg6030g.js} +25 -25
- package/dist/chunks/{permission-g08z5fem.js → location-8m3d2bhh.js} +8 -8
- package/dist/chunks/{permission-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{permission-wtz46evs.js → location-8q61w4ba.js} +6 -6
- package/dist/chunks/{permission-s0hza5ac.js → location-8s8mxddj.js} +4 -4
- package/dist/chunks/{permission-7e6sjpzv.js → location-96yrngjz.js} +11 -11
- package/dist/chunks/{permission-k6y57zrd.js → location-9tbtdqpf.js} +4 -4
- package/dist/chunks/{permission-q3nxez7d.js → location-9y8gg6zj.js} +8 -8
- package/dist/chunks/location-a0etbwks.js +22 -0
- package/dist/chunks/{permission-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{permission-apn687kz.js → location-a24v126d.js} +6 -6
- package/dist/chunks/{permission-0vver8sv.js → location-a5z4fv32.js} +27 -27
- package/dist/chunks/{permission-dcyd24wq.js → location-aab08neh.js} +21 -21
- package/dist/chunks/{permission-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-w1k6zdcm.js → location-ae99a08d.js} +8 -8
- package/dist/chunks/{permission-5h0sc7d2.js → location-ae9ptqg3.js} +6 -6
- package/dist/chunks/{permission-fhwh6ymw.js → location-ax870rrv.js} +7 -7
- package/dist/chunks/{permission-bsd2krkr.js → location-ayhzktfb.js} +33 -33
- package/dist/chunks/{permission-awaee7qt.js → location-b1chm04x.js} +7 -7
- package/dist/chunks/{permission-q43b811b.js → location-b33xe3vz.js} +22 -22
- package/dist/chunks/{permission-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-yz8759qy.js → location-b8q5k5sw.js} +20 -20
- package/dist/chunks/{permission-zxwym8ez.js → location-bde8na58.js} +15 -15
- package/dist/chunks/{permission-zegc85zc.js → location-bfrarwjs.js} +5 -5
- package/dist/chunks/{permission-r33c6a77.js → location-bh19jbb0.js} +6 -6
- package/dist/chunks/{permission-bha4atvq.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{permission-m38pnftj.js → location-bndvft47.js} +22 -22
- package/dist/chunks/{permission-jdh6s7jq.js → location-bpqahvg7.js} +8 -8
- package/dist/chunks/{permission-1aqtxx1v.js → location-bqs6z16n.js} +5 -5
- package/dist/chunks/{permission-jxpkt7tv.js → location-bsj0k59k.js} +26 -26
- package/dist/chunks/{permission-05z6nbb6.js → location-bte2cbsy.js} +22 -22
- package/dist/chunks/{permission-kc0nqpr4.js → location-bvr2g14r.js} +11 -11
- package/dist/chunks/{permission-92c73cms.js → location-c03trhyz.js} +24 -24
- package/dist/chunks/{permission-30p61b7v.js → location-c0xs0mpv.js} +26 -26
- package/dist/chunks/{permission-0w1z60c4.js → location-ca9c6syk.js} +25 -25
- package/dist/chunks/{permission-b09gp3e1.js → location-cc10ch8m.js} +22 -22
- package/dist/chunks/{permission-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{permission-a1sq34g7.js → location-cj3c3by5.js} +20 -20
- package/dist/chunks/{permission-4fqjavnt.js → location-cvaj0dbv.js} +20 -20
- package/dist/chunks/{permission-q4r5v072.js → location-czkxp88d.js} +6 -6
- package/dist/chunks/{permission-8g9sv97x.js → location-czmgezh1.js} +24 -24
- package/dist/chunks/{permission-tv6r6mb4.js → location-dchs2g52.js} +5 -5
- package/dist/chunks/{permission-y71avatq.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/{permission-q299s37z.js → location-dwfyc9qf.js} +11 -11
- package/dist/chunks/{permission-m9mprvkw.js → location-dyysx4dq.js} +6 -6
- package/dist/chunks/{permission-6ewjxdmc.js → location-e61xx2n8.js} +3 -3
- package/dist/chunks/{permission-dbjeecdk.js → location-e8ne3dpa.js} +21 -21
- package/dist/chunks/{permission-eaj1djv9.js → location-eaj1djv9.js} +1 -1
- package/dist/chunks/{permission-dq0mr2jp.js → location-eewaj409.js} +11 -11
- package/dist/chunks/{permission-61vwcr6k.js → location-ekvngk86.js} +7 -7
- package/dist/chunks/{permission-tasvhq82.js → location-en58n665.js} +13 -13
- package/dist/chunks/{permission-zsg3w01c.js → location-ent09bmt.js} +4 -4
- package/dist/chunks/{permission-sdgbfwbf.js → location-ep6qtvyr.js} +30 -30
- package/dist/chunks/{permission-mhkvc446.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{permission-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-es6yzghe.js → location-etwfhkz9.js} +7 -7
- package/dist/chunks/{permission-mbpabt96.js → location-ezedb5nb.js} +17 -17
- package/dist/chunks/{permission-f2n192rq.js → location-f2n192rq.js} +1 -1
- package/dist/chunks/{permission-7rnn8skb.js → location-f6t340ae.js} +12 -12
- package/dist/chunks/{permission-wk5z6jzv.js → location-f7ehr2sm.js} +8 -8
- package/dist/chunks/{permission-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{permission-f9ggb10g.js → location-f8hxd4bv.js} +13 -13
- package/dist/chunks/{permission-hrvd6t1f.js → location-fjmrr6sh.js} +9 -9
- package/dist/chunks/{permission-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{permission-1vhd68sd.js → location-g7j46mhj.js} +14 -14
- package/dist/chunks/{permission-67amkq1e.js → location-gc9rycst.js} +12 -12
- package/dist/chunks/{permission-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-020tazj7.js → location-gs13a0mc.js} +56 -56
- package/dist/chunks/{permission-z2gqb3qg.js → location-gvnbva7c.js} +12 -12
- package/dist/chunks/{permission-b7fz65hd.js → location-gw2vvezc.js} +9 -9
- package/dist/chunks/{permission-rvgrny2v.js → location-gx10v58f.js} +18 -18
- package/dist/chunks/{permission-tawsc025.js → location-gzg98a5d.js} +6 -6
- package/dist/chunks/{permission-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{permission-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-05d5kf85.js → location-h7jk4asw.js} +43 -43
- package/dist/chunks/{permission-htv999p2.js → location-h8ja802q.js} +4 -4
- package/dist/chunks/{permission-p9wjsttt.js → location-hdmnnff5.js} +8 -8
- package/dist/chunks/{permission-6r41hzjf.js → location-hky8et6e.js} +10 -10
- package/dist/chunks/{permission-yjptyezs.js → location-hnr5yq9h.js} +5 -5
- package/dist/chunks/{permission-epa7ab47.js → location-hv4jntb9.js} +18 -18
- package/dist/chunks/{permission-axswzfy0.js → location-hvpzgxgs.js} +9 -9
- package/dist/chunks/{permission-31e5ersp.js → location-j0fb3yen.js} +18 -18
- package/dist/chunks/{permission-nbddwgy7.js → location-j26kwb45.js} +10 -10
- package/dist/chunks/{permission-eyhztbdt.js → location-j2p38w15.js} +42 -42
- package/dist/chunks/{permission-amsh879j.js → location-j556b5bm.js} +26 -26
- package/dist/chunks/{permission-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-bnmyf0ce.js → location-j69nrb2c.js} +15 -15
- package/dist/chunks/{permission-dhw3sfae.js → location-jbhgm1pg.js} +13 -13
- package/dist/chunks/{permission-xe133f6x.js → location-k3zbr1bh.js} +7 -7
- package/dist/chunks/{permission-qz0j6jwv.js → location-k44by2q5.js} +42 -42
- package/dist/chunks/{permission-bf1f8spf.js → location-k5jcx5w1.js} +9 -9
- package/dist/chunks/{permission-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{permission-4kvwdcv5.js → location-kg1vvjz6.js} +22 -22
- package/dist/chunks/{permission-rpvameez.js → location-kjtkant2.js} +11 -11
- package/dist/chunks/{permission-54bvyzn9.js → location-kpe4e0s9.js} +17 -17
- package/dist/chunks/{permission-g5dqybf4.js → location-ky1ech8t.js} +6 -6
- package/dist/chunks/{permission-b1hwkhhg.js → location-kyrbgmgz.js} +4 -4
- package/dist/chunks/{permission-84esvpjp.js → location-m0kbr7p9.js} +8 -8
- package/dist/chunks/{permission-hznecdg9.js → location-m1y7e9ek.js} +26 -26
- package/dist/chunks/{permission-h7ygw6q4.js → location-m86bnw2c.js} +9 -9
- package/dist/chunks/{permission-f2qv4rkk.js → location-m8nqv7st.js} +28 -28
- package/dist/chunks/{permission-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-87mf3pbm.js → location-mfpdf0ta.js} +7 -7
- package/dist/chunks/{permission-9bmt064q.js → location-mk60nzq1.js} +1 -1
- package/dist/chunks/{permission-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
- package/dist/chunks/{permission-ym6s8ka9.js → location-n002fnqn.js} +50 -50
- package/dist/chunks/{permission-yqt3rh4n.js → location-n25jd2cw.js} +29 -29
- package/dist/chunks/{permission-bzq2w820.js → location-n8f3mzga.js} +4 -4
- package/dist/chunks/{permission-8rzvvpen.js → location-ncaez7fb.js} +1 -1
- package/dist/chunks/{permission-2f04pwep.js → location-ndmv45hp.js} +3 -3
- package/dist/chunks/{permission-e82z9tr0.js → location-nhy5jxhy.js} +7 -7
- package/dist/chunks/{permission-9q891yrf.js → location-nxjhxkv3.js} +8 -8
- package/dist/chunks/{permission-9z3fc33k.js → location-p6drjj8h.js} +4 -4
- package/dist/chunks/{permission-w1k39n5e.js → location-paegk39x.js} +4 -4
- package/dist/chunks/{permission-aq6p0j7t.js → location-pec4bm3r.js} +13 -13
- package/dist/chunks/{permission-xfps67qg.js → location-pfwdjrz4.js} +2 -2
- package/dist/chunks/{permission-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{permission-vwj7x1yx.js → location-ppdy6qwe.js} +4 -4
- package/dist/chunks/{permission-d9h2d1ka.js → location-psg6js8p.js} +31 -31
- package/dist/chunks/{permission-hvbks3tt.js → location-pw9v3g6d.js} +8 -8
- package/dist/chunks/{permission-5dcw9y6m.js → location-pzfzh42t.js} +15 -15
- package/dist/chunks/{permission-p3djshn2.js → location-q17hktv8.js} +15 -15
- package/dist/chunks/{permission-hqs268ax.js → location-q3d655mj.js} +85 -85
- package/dist/chunks/{permission-1hbebamh.js → location-q7cq3y4p.js} +46 -46
- package/dist/chunks/{permission-tapgcwap.js → location-qdyxpk4m.js} +38 -38
- package/dist/chunks/{permission-jqfwb0pt.js → location-qgqfnjyk.js} +87 -87
- package/dist/chunks/{permission-4ws74jfa.js → location-qhs4rngb.js} +28 -28
- package/dist/chunks/{permission-0zhcx8km.js → location-qqs4xmxe.js} +49 -49
- package/dist/chunks/{permission-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-2kagef7w.js → location-qvf5hp1t.js} +32 -32
- package/dist/chunks/{permission-6444e1x5.js → location-qx0n0hnh.js} +13 -13
- package/dist/chunks/{permission-686tcbjj.js → location-qxqbfyt6.js} +36 -36
- package/dist/chunks/{permission-2epmtwtd.js → location-qycwybve.js} +10 -10
- package/dist/chunks/{permission-f4b92nvy.js → location-r8qagt8b.js} +22 -22
- package/dist/chunks/{permission-34rkz0x9.js → location-ratrq7cm.js} +7 -7
- package/dist/chunks/{permission-7j2qha59.js → location-rmdyxgmk.js} +8 -8
- package/dist/chunks/{permission-s92vhaeg.js → location-rp7ht49k.js} +21 -21
- package/dist/chunks/{permission-0ft9cg2j.js → location-rp8jz6x1.js} +4 -4
- package/dist/chunks/{permission-q8ym26hm.js → location-rpr7nt0p.js} +13 -13
- package/dist/chunks/{permission-dy0c576n.js → location-rwc534w8.js} +14 -14
- package/dist/chunks/{permission-yq1w5pqx.js → location-rz6djy9m.js} +34 -34
- package/dist/chunks/{permission-rw8f0y5b.js → location-s138m409.js} +13 -13
- package/dist/chunks/{permission-edxfe7s1.js → location-s6g7bkfa.js} +8 -8
- package/dist/chunks/{permission-peyqvyfe.js → location-s6xwevjp.js} +3 -3
- package/dist/chunks/{permission-nx4mcp4p.js → location-sdtwcfar.js} +32 -32
- package/dist/chunks/{permission-h4z9dwcs.js → location-sq0fsqh3.js} +8 -8
- package/dist/chunks/{permission-km9fdhsq.js → location-srhw5zxk.js} +8 -8
- package/dist/chunks/{permission-44bt3e44.js → location-sst0ghmm.js} +26 -26
- package/dist/chunks/{permission-qte4374f.js → location-svv6qsvk.js} +12 -12
- package/dist/chunks/{permission-rbygrj0c.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{permission-sc88h56w.js → location-sycr0cxz.js} +29 -29
- package/dist/chunks/{permission-bpxakdpc.js → location-szfjwb31.js} +3 -3
- package/dist/chunks/{permission-8b0mdtzk.js → location-t072myer.js} +4 -4
- package/dist/chunks/{permission-c5krz9jh.js → location-t268s8j2.js} +11 -11
- package/dist/chunks/{permission-kcdjdwht.js → location-t45hv4wr.js} +15 -15
- package/dist/chunks/{permission-vd2882sq.js → location-t5d3pp3j.js} +20 -20
- package/dist/chunks/{permission-g035anep.js → location-t96n3knx.js} +30 -30
- package/dist/chunks/{permission-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{permission-dv7mkkh9.js → location-tgnvbkra.js} +18 -18
- package/dist/chunks/{permission-ywh6c7jz.js → location-tgsqfs3c.js} +37 -37
- package/dist/chunks/{permission-th5km1p3.js → location-th5km1p3.js} +2 -2
- package/dist/chunks/{permission-wqkncbjv.js → location-tm7ffpnn.js} +6 -6
- package/dist/chunks/{permission-5q24z5p0.js → location-tmbxdmay.js} +37 -37
- package/dist/chunks/{permission-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-p72z5xx6.js → location-v4t0dn9g.js} +2 -2
- package/dist/chunks/{permission-gz2jw7z9.js → location-v542w56z.js} +26 -26
- package/dist/chunks/{permission-c2ky07yx.js → location-v7br46vm.js} +16 -16
- package/dist/chunks/{permission-3g80ynvx.js → location-vc5bk1c0.js} +13 -13
- package/dist/chunks/{permission-cww8ckd5.js → location-vdpzq508.js} +17 -17
- package/dist/chunks/{permission-ve6nm2s5.js → location-ve6nm2s5.js} +1 -1
- package/dist/chunks/{permission-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-bqnr9rrg.js → location-vhbmzvty.js} +27 -27
- package/dist/chunks/{permission-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-s320sr8b.js → location-w08q9gc9.js} +23 -23
- package/dist/chunks/{permission-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-rfnzy394.js → location-w79zsp0s.js} +1 -1
- package/dist/chunks/location-w850rf70.js +247 -0
- package/dist/chunks/{permission-q2t36530.js → location-wb8znxk9.js} +9 -9
- package/dist/chunks/{permission-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{permission-w9wjp6nc.js → location-wh6nx8gk.js} +4 -4
- package/dist/chunks/{permission-q5w1jtjn.js → location-whhmk8k9.js} +11 -11
- package/dist/chunks/{permission-q7kxw1qj.js → location-wknpsqf7.js} +36 -36
- package/dist/chunks/{permission-bpp1ve0d.js → location-wx89x9gj.js} +16 -16
- package/dist/chunks/{permission-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-x43y2vfs.js → location-x43y2vfs.js} +2 -2
- package/dist/chunks/{permission-fp7afw2y.js → location-x7vckax8.js} +9 -9
- package/dist/chunks/{permission-qyqx8eqj.js → location-x80tm2rf.js} +18 -18
- package/dist/chunks/{permission-dnhfw08a.js → location-xaadjf4r.js} +24 -24
- package/dist/chunks/{permission-46h5h1ad.js → location-xcrbymt7.js} +46 -46
- package/dist/chunks/{permission-79arfv4e.js → location-xgpdceje.js} +23 -23
- package/dist/chunks/{permission-jjx7b5jh.js → location-xshrq19q.js} +20 -20
- package/dist/chunks/{permission-gdhz6ft6.js → location-xv590yw7.js} +32 -32
- package/dist/chunks/{permission-9hk4nqcc.js → location-y14y9keq.js} +1 -1
- package/dist/chunks/{permission-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-h0wmkw4z.js → location-y2r22c8c.js} +72 -72
- package/dist/chunks/{permission-h3ap5ds5.js → location-y506eeqx.js} +11 -11
- package/dist/chunks/{permission-jbk88k2h.js → location-y8f7dagd.js} +21 -21
- package/dist/chunks/{permission-a1wdz8hm.js → location-y8z56cqz.js} +28 -28
- package/dist/chunks/{permission-hrwd0249.js → location-yb440psp.js} +5 -5
- package/dist/chunks/{permission-yddgxcp4.js → location-yddgxcp4.js} +2 -2
- package/dist/chunks/{permission-cqqqgcb7.js → location-yjdnpxry.js} +22 -22
- package/dist/chunks/{permission-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-pwrejdr7.js → location-yryey8bw.js} +25 -25
- package/dist/chunks/{permission-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-hkfg6fzm.js → location-yt0fqk68.js} +5 -5
- package/dist/chunks/{permission-1ccpd7mf.js → location-yz4r56ez.js} +17 -17
- package/dist/chunks/{permission-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-2vs2nh1n.js → location-zcrspsvn.js} +4 -4
- package/dist/chunks/{permission-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-04bnhnz9.js → location-zwsxqnjr.js} +18 -18
- package/dist/chunks/{permission-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{permission-rsdcqs1d.js → location-zxvgyezd.js} +1 -1
- package/dist/chunks/{permission-1nznx4cc.js → location-zzqyq7ew.js} +35 -35
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +119 -119
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +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 +93 -93
- 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 +3 -3
- 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 +1 -1
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- 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 +82 -82
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +120 -120
- 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 +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +115 -115
- 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 +72 -72
- 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 +343 -343
- package/dist/plugin/update.js +4 -4
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- 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 +78 -78
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- 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 +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- 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 +111 -111
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- 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 +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +113 -113
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- 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 +13 -13
- 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 +5 -5
- 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 +82 -82
- 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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/permission-9sh4wc5j.js +0 -18
- package/dist/chunks/permission-mk0rj6bs.js +0 -22
- package/dist/chunks/permission-rw5rv931.js +0 -247
- /package/dist/chunks/{permission-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{permission-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-paphc93g.js → location-paphc93g.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event15,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node67,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event15 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load2());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service62 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service62.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service62.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service62).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service62, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service62, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node67 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event15, hasNativeBinding2, Native3, Options7, Service62, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node67, exports_watcher };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-j26kwb45.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node69
|
|
17
|
+
} from "./location-en58n665.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service59,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service59 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service64;
|
|
110
|
+
return Service59.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node64 = makeGlobalNode({
|
|
171
|
+
service: Service59,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node69]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node64, exports_repository_cache };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-v7br46vm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service34,
|
|
7
7
|
node38
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-j2p38w15.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node72
|
|
12
|
+
} from "./location-qqs4xmxe.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node53
|
|
16
|
+
} from "./location-czmgezh1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
@@ -39,9 +39,9 @@ class Service33 extends Context.Service()("@opencode/McpTool") {
|
|
|
39
39
|
}
|
|
40
40
|
var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service34;
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
42
|
+
const tools = yield* Service50;
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const permission = yield* Service67;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -117,7 +117,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
117
117
|
var node37 = makeLocationNode({
|
|
118
118
|
service: Service33,
|
|
119
119
|
layer: layer14,
|
|
120
|
-
deps: [
|
|
120
|
+
deps: [node53, node38, node84, node72]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
export { namespace2, name14, Service33, layer14, node37, exports_mcp3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qqs4xmxe.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin10 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin10, exports_plan };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qycwybve.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID10
|
|
6
|
+
} from "./location-a24v126d.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-3be754jd.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID10.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-v7br46vm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -15,12 +15,12 @@ __export(exports_agent4, {
|
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event19,
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service72,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node77
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -30,16 +30,16 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID16 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID16.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID16.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service72.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID16.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID16.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node77 = makeLocationNode({ service: Service72, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID16, Name3, defaultID2, Color2, Info30, Service72, node77, exports_agent4, Event19 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service70,
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service70 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service70.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node75 = makeLocationNode({ service: Service70, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service70, node75, exports_hooks };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-y14y9keq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-gzg98a5d.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-a5z4fv32.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./location-qqs4xmxe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./location-m8nqv7st.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin39 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service52;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name7, NO_RESULTS2, description4, Input7, Plugin39, exports_websearch2 };
|