@opencode/core 0.0.0-dev-20369 → 0.0.0-dev-20370
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cache-sntmbee3.js → permission-04y7c9md.js} +3 -3
- package/dist/chunks/{repository-cache-6rm5yzkt.js → permission-0a1yp5ev.js} +4 -4
- package/dist/chunks/{repository-cache-qj10ksrk.js → permission-0bdrcw2s.js} +2 -2
- package/dist/chunks/{repository-cache-nceekcwx.js → permission-0dhw0ffe.js} +12 -12
- package/dist/chunks/{repository-cache-wb7w4rth.js → permission-0ejgwqj5.js} +8 -8
- package/dist/chunks/{repository-cache-dat3r6mv.js → permission-0erzwnay.js} +17 -17
- package/dist/chunks/{repository-cache-jp80hny8.js → permission-0fpgbkbg.js} +30 -30
- package/dist/chunks/{repository-cache-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-0a0hvk85.js → permission-0s4jt7ck.js} +14 -14
- package/dist/chunks/{repository-cache-j7yag5py.js → permission-0x3xhv9s.js} +22 -22
- package/dist/chunks/{repository-cache-pp6ma3n4.js → permission-19a3bxyq.js} +17 -17
- package/dist/chunks/{repository-cache-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-1vxqmaxs.js → permission-1fcbx43p.js} +6 -6
- package/dist/chunks/{repository-cache-scakzs5b.js → permission-1gy1kzgk.js} +10 -10
- package/dist/chunks/{repository-cache-c9sa8xnx.js → permission-1jksmp28.js} +20 -20
- package/dist/chunks/{repository-cache-rf54a7zr.js → permission-1pbdd952.js} +11 -11
- package/dist/chunks/{repository-cache-thtyfg4s.js → permission-21jww7bk.js} +43 -43
- package/dist/chunks/{repository-cache-21r38tys.js → permission-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-ap2206v9.js → permission-23sxhf85.js} +3 -3
- package/dist/chunks/{repository-cache-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-cd0j2xk9.js → permission-2h78p8f6.js} +9 -9
- package/dist/chunks/{repository-cache-5yrkbczz.js → permission-2s49x10j.js} +31 -31
- package/dist/chunks/{repository-cache-e2hjzebn.js → permission-2vs2nh1n.js} +4 -4
- package/dist/chunks/{repository-cache-7psgveam.js → permission-31935g6e.js} +10 -10
- package/dist/chunks/{repository-cache-xjt7eya3.js → permission-32tc36nq.js} +14 -14
- package/dist/chunks/{repository-cache-33w4ejhs.js → permission-33w4ejhs.js} +2 -2
- package/dist/chunks/{repository-cache-m6yr2gq6.js → permission-3df9c95v.js} +8 -8
- package/dist/chunks/{repository-cache-s0xttw3k.js → permission-3f4vjzp5.js} +18 -18
- package/dist/chunks/{repository-cache-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-n8zdancj.js → permission-3kefyn93.js} +1 -1
- package/dist/chunks/{repository-cache-kxdk9anj.js → permission-3mq23zwx.js} +25 -25
- package/dist/chunks/{repository-cache-eeaf82dq.js → permission-3rtxz4nr.js} +8 -8
- package/dist/chunks/{repository-cache-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-z34ds6ds.js → permission-427k1480.js} +25 -25
- package/dist/chunks/{repository-cache-a2crq8zj.js → permission-49p96vjc.js} +16 -16
- package/dist/chunks/{repository-cache-2q54vq3t.js → permission-4crz3yg0.js} +11 -11
- package/dist/chunks/{repository-cache-hg4kcybh.js → permission-4fgk5d3c.js} +30 -30
- package/dist/chunks/{repository-cache-syf57q56.js → permission-4j4tgtq5.js} +4 -4
- package/dist/chunks/{repository-cache-yyhxvm28.js → permission-4vsg18s2.js} +40 -40
- package/dist/chunks/{repository-cache-dvkyzkrt.js → permission-4x9c7n91.js} +20 -20
- package/dist/chunks/{repository-cache-2kc95tmw.js → permission-52027f07.js} +11 -11
- package/dist/chunks/{repository-cache-54ma36ye.js → permission-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-qjsj8s2h.js → permission-54q6acz6.js} +24 -24
- package/dist/chunks/{repository-cache-57ez7d0k.js → permission-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-cache-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-wht100tr.js → permission-5hpfsd7b.js} +15 -15
- package/dist/chunks/{repository-cache-c651xxjb.js → permission-5qwkxp89.js} +4 -4
- package/dist/chunks/{repository-cache-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-y3sv3n32.js → permission-5t9beh84.js} +13 -13
- package/dist/chunks/{repository-cache-q2jytm9w.js → permission-5xkfwbv7.js} +14 -14
- package/dist/chunks/{repository-cache-z5crsmww.js → permission-607px8n0.js} +9 -9
- package/dist/chunks/{repository-cache-2k8khapm.js → permission-607tc6va.js} +5 -5
- package/dist/chunks/{repository-cache-fknpd3nq.js → permission-64egxyhr.js} +13 -13
- package/dist/chunks/{repository-cache-669tq793.js → permission-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-fqf5xbzx.js → permission-68z9rgrz.js} +16 -16
- package/dist/chunks/{repository-cache-cex2j2jp.js → permission-6ak8f85n.js} +24 -24
- package/dist/chunks/{repository-cache-2p22eq26.js → permission-6cp8gy7g.js} +18 -18
- package/dist/chunks/permission-6e60j6h9.js +507 -0
- package/dist/chunks/{repository-cache-6msgmcgs.js → permission-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-45h82h9y.js → permission-6p4j8518.js} +24 -24
- package/dist/chunks/{repository-cache-p53sd9ee.js → permission-6vhcxtwh.js} +22 -22
- package/dist/chunks/{repository-cache-zmkzffe7.js → permission-72dvehs4.js} +14 -14
- package/dist/chunks/{repository-cache-73tb2d7t.js → permission-73tb2d7t.js} +1 -1
- package/dist/chunks/{repository-cache-0bkd3x0g.js → permission-76rzr40z.js} +31 -31
- package/dist/chunks/{repository-cache-ew2yn983.js → permission-7af5vrq6.js} +3 -3
- package/dist/chunks/{repository-cache-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-80sa0j8b.js → permission-7kbmqmsj.js} +41 -41
- package/dist/chunks/{repository-cache-asmhed6t.js → permission-80h6rbqa.js} +5 -5
- package/dist/chunks/{repository-cache-w1eejvng.js → permission-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-rbg03t47.js → permission-8879kc00.js} +13 -13
- package/dist/chunks/{repository-cache-d91rdxge.js → permission-89mseg20.js} +22 -22
- package/dist/chunks/{repository-cache-tcezcvh9.js → permission-89znhe33.js} +4 -4
- package/dist/chunks/{repository-cache-qbvmjyzb.js → permission-8bfekhzf.js} +9 -9
- package/dist/chunks/{repository-cache-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-5cvf39ct.js → permission-8da5f8wk.js} +9 -9
- package/dist/chunks/{repository-cache-qt26wktx.js → permission-8dg67tgc.js} +20 -20
- package/dist/chunks/{repository-cache-94ek1h2f.js → permission-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-cache-sc5pc2yp.js → permission-94nx3bkn.js} +5 -5
- package/dist/chunks/{repository-cache-0sbc344g.js → permission-9qc5btv8.js} +20 -20
- package/dist/chunks/{repository-cache-xw2wg1y5.js → permission-9wyrae2j.js} +8 -8
- package/dist/chunks/permission-9zdhvgqs.js +18 -0
- package/dist/chunks/{repository-cache-r5gzwt7x.js → permission-9zhybzmq.js} +16 -16
- package/dist/chunks/{repository-cache-tap5zb78.js → permission-a6nerz9m.js} +12 -12
- package/dist/chunks/{repository-cache-g190xswt.js → permission-a8bn8zg0.js} +4 -4
- package/dist/chunks/{repository-cache-x8xh44zn.js → permission-aa2pnbj0.js} +43 -43
- package/dist/chunks/{repository-cache-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-yrennevv.js → permission-agtm0ya3.js} +20 -20
- package/dist/chunks/{repository-cache-xqk27j46.js → permission-agtp7pf2.js} +6 -6
- package/dist/chunks/{repository-cache-pmxw3e6e.js → permission-ats7mz8e.js} +1 -1
- package/dist/chunks/{repository-cache-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-vqk8nwkc.js → permission-b6nyx4np.js} +38 -38
- package/dist/chunks/{repository-cache-c965vwdg.js → permission-bdefgtnb.js} +4 -4
- package/dist/chunks/{repository-cache-r33ff4dw.js → permission-bjs2yq5f.js} +6 -6
- package/dist/chunks/{repository-cache-32ymn5e1.js → permission-bq2zwxzx.js} +6 -6
- package/dist/chunks/{repository-cache-6tb60k4h.js → permission-bs2a7trz.js} +4 -4
- package/dist/chunks/{repository-cache-e38jm44f.js → permission-bvpz5yky.js} +11 -11
- package/dist/chunks/{repository-cache-zqq2pk5b.js → permission-by9xeab9.js} +29 -29
- package/dist/chunks/{repository-cache-pfqe37c4.js → permission-c7adbs3c.js} +16 -16
- package/dist/chunks/{repository-cache-n20df6db.js → permission-cafm9cfz.js} +28 -28
- package/dist/chunks/{repository-cache-cgg1386b.js → permission-ck4hc89a.js} +13 -13
- package/dist/chunks/{repository-cache-ckecvw8r.js → permission-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cache-qby9dwvd.js → permission-cmmdg65p.js} +8 -8
- package/dist/chunks/{repository-cache-kj9cewpz.js → permission-cn0rkta0.js} +24 -24
- package/dist/chunks/{repository-cache-ckc7wkyg.js → permission-cp2ndxbe.js} +21 -21
- package/dist/chunks/{repository-cache-p44d8wdy.js → permission-cr07tj7n.js} +5 -5
- package/dist/chunks/{repository-cache-2hh6b730.js → permission-cr90dj6d.js} +19 -19
- package/dist/chunks/{repository-cache-qst67tj6.js → permission-cxzqx661.js} +9 -9
- package/dist/chunks/{repository-cache-zv4kd1sh.js → permission-d3germyq.js} +9 -9
- package/dist/chunks/{repository-cache-cwa6csj7.js → permission-d4he2qe1.js} +9 -9
- package/dist/chunks/{repository-cache-wjqqpmpn.js → permission-d53k3y57.js} +10 -10
- package/dist/chunks/{repository-cache-z42hbx87.js → permission-dbs53yqd.js} +8 -8
- package/dist/chunks/{repository-cache-evbgk2k8.js → permission-dj9sq318.js} +5 -5
- package/dist/chunks/{repository-cache-bwhecd05.js → permission-djt02vwt.js} +32 -32
- package/dist/chunks/{repository-cache-ewgkfh1g.js → permission-dkbzx2zp.js} +2 -2
- package/dist/chunks/{repository-cache-y71avatq.js → permission-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-cache-rfpzg1kb.js → permission-e121tcd9.js} +8 -8
- package/dist/chunks/{repository-cache-vca4nb65.js → permission-e33d7f0w.js} +32 -32
- package/dist/chunks/{repository-cache-keyj6cah.js → permission-e6p0mex9.js} +14 -14
- package/dist/chunks/{repository-cache-ecfe7b91.js → permission-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-vsacqhcb.js → permission-efbgz0y6.js} +10 -10
- package/dist/chunks/{repository-cache-5gm763qm.js → permission-ejdwq7e6.js} +8 -8
- package/dist/chunks/{repository-cache-s06stbnd.js → permission-ek982y6y.js} +12 -12
- package/dist/chunks/{repository-cache-agsg4cpk.js → permission-empxz4qs.js} +8 -8
- package/dist/chunks/{repository-cache-djgvgpsy.js → permission-enbc6gqg.js} +8 -8
- package/dist/chunks/{repository-cache-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-stpnd7xz.js → permission-fd90qgqp.js} +28 -28
- package/dist/chunks/{repository-cache-aw9cnddb.js → permission-fmhmd7x6.js} +3 -3
- package/dist/chunks/{repository-cache-f7rj482f.js → permission-fw2v9256.js} +8 -8
- package/dist/chunks/{repository-cache-dvh99x22.js → permission-fwvq26fj.js} +24 -24
- package/dist/chunks/{repository-cache-g5agzp2h.js → permission-g5agzp2h.js} +2 -2
- package/dist/chunks/{repository-cache-ras1rzfd.js → permission-g6kbxn71.js} +2 -2
- package/dist/chunks/{repository-cache-v5dkyp31.js → permission-g8d3gcyj.js} +7 -7
- package/dist/chunks/{repository-cache-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-kcmnest9.js → permission-gdg0j02x.js} +15 -15
- package/dist/chunks/{repository-cache-ewtw6aeq.js → permission-gkwps8qn.js} +10 -10
- package/dist/chunks/{repository-cache-gv6a8nnw.js → permission-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-j6k053yf.js → permission-gx16nh21.js} +4 -4
- package/dist/chunks/{repository-cache-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-427t97hr.js → permission-hd8vw2pw.js} +1 -1
- package/dist/chunks/{repository-cache-pwxxk091.js → permission-hdkh9j50.js} +9 -9
- package/dist/chunks/{repository-cache-1667m5cp.js → permission-hgzge6de.js} +8 -8
- package/dist/chunks/{repository-cache-c8mkc70c.js → permission-hngyajdm.js} +13 -13
- package/dist/chunks/{repository-cache-bgxcxs0p.js → permission-hnr5yq9h.js} +5 -5
- package/dist/chunks/{repository-cache-9mrmz292.js → permission-hqrhz4kp.js} +19 -19
- package/dist/chunks/{repository-cache-w7mpr4xf.js → permission-hsf3jfpv.js} +32 -32
- package/dist/chunks/{repository-cache-4bcse622.js → permission-hsgda8ev.js} +78 -78
- package/dist/chunks/{repository-cache-3ky3469x.js → permission-hxv2ya9m.js} +4 -4
- package/dist/chunks/{repository-cache-wzz0kxab.js → permission-j311gd59.js} +4 -4
- package/dist/chunks/{repository-cache-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-smya4g4s.js → permission-j5nnsem5.js} +20 -20
- package/dist/chunks/{repository-cache-z0aj456m.js → permission-j5rxtxht.js} +4 -4
- package/dist/chunks/{repository-cache-z69xn9rw.js → permission-j71ym2p6.js} +3 -3
- package/dist/chunks/{repository-cache-hdpxa6fd.js → permission-jbfqzdbs.js} +2 -2
- package/dist/chunks/{repository-cache-m8cyjv6r.js → permission-jcfeqksw.js} +20 -20
- package/dist/chunks/{repository-cache-j9c63wzn.js → permission-jgs6ncyg.js} +6 -6
- package/dist/chunks/{repository-cache-2q8xkfgn.js → permission-jpb9ee0w.js} +8 -8
- package/dist/chunks/{repository-cache-t07jxw78.js → permission-jr2cm19h.js} +11 -11
- package/dist/chunks/{repository-cache-jdgxkak0.js → permission-jre7zxwm.js} +28 -28
- package/dist/chunks/{repository-cache-maeqbeqr.js → permission-jv82nj1s.js} +2 -2
- package/dist/chunks/{repository-cache-rpnv56mn.js → permission-jvmbzbmx.js} +8 -8
- package/dist/chunks/{repository-cache-q68wa7tn.js → permission-k33k5sgz.js} +1 -1
- package/dist/chunks/{repository-cache-nzks3jc8.js → permission-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-kf2m36k8.js → permission-k3gh9jje.js} +24 -24
- package/dist/chunks/{repository-cache-3gme9a8b.js → permission-k4xjzc9h.js} +7 -7
- package/dist/chunks/{repository-cache-6f36mv2g.js → permission-k86za1k3.js} +15 -15
- package/dist/chunks/{repository-cache-yakvhztc.js → permission-kb57p844.js} +36 -36
- package/dist/chunks/{repository-cache-0wdkc2wa.js → permission-kbg7spk8.js} +8 -8
- package/dist/chunks/permission-kdzxjsxt.js +252 -0
- package/dist/chunks/{repository-cache-2cmv458r.js → permission-kerhshr9.js} +5 -5
- package/dist/chunks/{repository-cache-qp7ve9d0.js → permission-kp6qz4rh.js} +16 -16
- package/dist/chunks/{repository-cache-y16p1w2y.js → permission-kr1vnkd9.js} +9 -9
- package/dist/chunks/{repository-cache-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-50zetvfx.js → permission-m89q7tvp.js} +6 -6
- package/dist/chunks/{repository-cache-r4nnjac8.js → permission-m9f7bf3n.js} +40 -40
- package/dist/chunks/{repository-cache-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-jbkekqyw.js → permission-mess5aah.js} +6 -6
- package/dist/chunks/{repository-cache-7jkezq9t.js → permission-mjkxv0xp.js} +9 -9
- package/dist/chunks/{repository-cache-mpk0rfs5.js → permission-mpk0rfs5.js} +1 -1
- package/dist/chunks/{repository-cache-wr4ecj30.js → permission-mpr53jjd.js} +12 -12
- package/dist/chunks/{repository-cache-vwm97rz7.js → permission-ms3g0x7n.js} +6 -6
- package/dist/chunks/{repository-cache-k6rvtcby.js → permission-mth9933k.js} +27 -27
- package/dist/chunks/{repository-cache-n1ka8r9d.js → permission-mvksx64m.js} +4 -4
- package/dist/chunks/{repository-cache-za7gw4wk.js → permission-n032fvft.js} +6 -6
- package/dist/chunks/{repository-cache-syxkcnbr.js → permission-n0qrzv6p.js} +56 -56
- package/dist/chunks/{repository-cache-8grkf0eh.js → permission-nct3yb87.js} +24 -24
- package/dist/chunks/{repository-cache-nng2ktcm.js → permission-nng2ktcm.js} +2 -2
- package/dist/chunks/{repository-cache-2n1w6jqq.js → permission-nnhe72zp.js} +22 -22
- package/dist/chunks/{repository-cache-wtrdp2zm.js → permission-nr9hyn65.js} +2 -2
- package/dist/chunks/{repository-cache-qg0jgkcp.js → permission-nscznvay.js} +9 -9
- package/dist/chunks/{repository-cache-g13d9vgq.js → permission-ntfd3fgh.js} +16 -16
- package/dist/chunks/permission-nx4ddzgc.js +26 -0
- package/dist/chunks/{repository-cache-y55db347.js → permission-nxx5qrmy.js} +17 -17
- package/dist/chunks/{repository-cache-rkf60bj6.js → permission-ny31myje.js} +8 -8
- package/dist/chunks/{repository-cache-afed7ext.js → permission-p1zpfjkz.js} +5 -5
- package/dist/chunks/{repository-cache-eksppc5n.js → permission-pfmjzkyq.js} +37 -37
- package/dist/chunks/{repository-cache-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-ve9ds9se.js → permission-pqeqffcp.js} +12 -12
- package/dist/chunks/{repository-cache-a2654jmr.js → permission-ps6r3zxt.js} +10 -10
- package/dist/chunks/{repository-cache-py3kkmfq.js → permission-py3kkmfq.js} +2 -2
- package/dist/chunks/{repository-cache-pfmwbpnc.js → permission-q0k38ewa.js} +5 -5
- package/dist/chunks/{repository-cache-t9zs3egg.js → permission-q2b1ymqp.js} +4 -4
- package/dist/chunks/{repository-cache-6zc7rmqw.js → permission-q8ymga3y.js} +15 -15
- package/dist/chunks/{repository-cache-1sp2eg82.js → permission-qat2nasv.js} +11 -11
- package/dist/chunks/{repository-cache-3ddydpdy.js → permission-qnh40d72.js} +11 -11
- package/dist/chunks/{repository-cache-bgz93gp7.js → permission-qnk7rzk8.js} +39 -39
- package/dist/chunks/{repository-cache-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-k8hpw67k.js → permission-qvreyy9g.js} +5 -5
- package/dist/chunks/{repository-cache-fzvt39wb.js → permission-qvxpjq65.js} +3 -3
- package/dist/chunks/{repository-cache-2h357dj2.js → permission-qy3yp28x.js} +11 -11
- package/dist/chunks/{repository-cache-gx2j0qm7.js → permission-r22gxq6t.js} +10 -10
- package/dist/chunks/{repository-cache-be6nvhda.js → permission-r7mqvk6t.js} +5 -5
- package/dist/chunks/{repository-cache-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-ge53arp8.js → permission-rgdzwmkq.js} +48 -48
- package/dist/chunks/{repository-cache-t550f9t1.js → permission-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-cache-wd2p6tkx.js → permission-rvwrm4qb.js} +9 -9
- package/dist/chunks/{repository-cache-wrs9pw8e.js → permission-s547vwtz.js} +24 -24
- package/dist/chunks/{repository-cache-g24mhrgs.js → permission-s5gdvdvf.js} +7 -7
- package/dist/chunks/{repository-cache-h6df3pyv.js → permission-s5vq8nt1.js} +3 -3
- package/dist/chunks/{repository-cache-mgmaefw5.js → permission-s6dskvww.js} +3 -3
- package/dist/chunks/{repository-cache-jzcedyre.js → permission-s9c65q1b.js} +10 -10
- package/dist/chunks/{repository-cache-cvjg7bv4.js → permission-sc3pk9hf.js} +75 -75
- package/dist/chunks/{repository-cache-291xmebt.js → permission-schdznbv.js} +11 -11
- package/dist/chunks/{repository-cache-hz6g7x4z.js → permission-sfpsqbxj.js} +8 -8
- package/dist/chunks/{repository-cache-231d6nsc.js → permission-sjm2g78r.js} +7 -7
- package/dist/chunks/{repository-cache-08cc3crx.js → permission-sq3nr2g7.js} +12 -12
- package/dist/chunks/{repository-cache-gs7k0xe7.js → permission-t2pxds9s.js} +3 -3
- package/dist/chunks/{repository-cache-ytbkfms3.js → permission-t7rzcevv.js} +123 -123
- package/dist/chunks/{repository-cache-bbkf9pcq.js → permission-t7vwfgy5.js} +15 -15
- package/dist/chunks/{repository-cache-pywavm7z.js → permission-t8wprfq3.js} +29 -29
- package/dist/chunks/{repository-cache-hv8yjb44.js → permission-t8y9en2y.js} +1 -1
- package/dist/chunks/{repository-cache-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-p6x3ebhz.js → permission-te1p1at1.js} +16 -16
- package/dist/chunks/{repository-cache-jysawejs.js → permission-te9txkja.js} +31 -31
- package/dist/chunks/{repository-cache-kt7sr4py.js → permission-tgbj489z.js} +14 -14
- package/dist/chunks/{repository-cache-k7bkg04e.js → permission-tjn9yg3m.js} +9 -9
- package/dist/chunks/{repository-cache-dv1qgsyq.js → permission-tpw6cwsb.js} +8 -8
- package/dist/chunks/{repository-cache-47m3nr6v.js → permission-tr3wvkwf.js} +7 -7
- package/dist/chunks/{repository-cache-tvtrv512.js → permission-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-zeg8wypa.js → permission-vdhx1b9f.js} +27 -27
- package/dist/chunks/{repository-cache-0thxwbsq.js → permission-vdqh8416.js} +10 -10
- package/dist/chunks/{repository-cache-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-a23pvya7.js → permission-vkh0msr2.js} +1 -1
- package/dist/chunks/{repository-cache-1kgp9mnr.js → permission-vkq9z89r.js} +18 -18
- package/dist/chunks/{repository-cache-eqkxs06z.js → permission-vqfzq50h.js} +6 -6
- package/dist/chunks/{repository-cache-a37k8rrq.js → permission-vymjz8q6.js} +12 -12
- package/dist/chunks/{repository-cache-vzcthcp8.js → permission-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-g1wy4zv9.js → permission-w08ngz3m.js} +12 -12
- package/dist/chunks/{repository-cache-gejnakz3.js → permission-w28zj79c.js} +20 -20
- package/dist/chunks/{repository-cache-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-wd3x2cqz.js → permission-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-cache-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-wewgh3cc.js → permission-wewgh3cc.js} +2 -2
- package/dist/chunks/{repository-cache-mb9ashqs.js → permission-wh18jeaj.js} +7 -7
- package/dist/chunks/{repository-cache-xk59rbx9.js → permission-wmwmxqs2.js} +5 -5
- package/dist/chunks/{repository-cache-x1ezjp6w.js → permission-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-dvs6yr4k.js → permission-x6sa0504.js} +20 -20
- package/dist/chunks/{repository-cache-2stw3wyk.js → permission-xax31rqw.js} +1 -1
- package/dist/chunks/{repository-cache-3011g7h6.js → permission-xeejrb32.js} +6 -6
- package/dist/chunks/{repository-cache-wk5z6jzv.js → permission-xf8yqmad.js} +9 -9
- package/dist/chunks/{repository-cache-xfkkasph.js → permission-xfkkasph.js} +1 -1
- package/dist/chunks/{repository-cache-hw7qarbm.js → permission-xj0ggm39.js} +4 -4
- package/dist/chunks/{repository-cache-xkntkrq7.js → permission-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-cache-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-nfcr1yw4.js → permission-y7x142mt.js} +8 -8
- package/dist/chunks/{repository-cache-ydgy0jv4.js → permission-ydgy0jv4.js} +1 -1
- package/dist/chunks/{repository-cache-r8xr0va3.js → permission-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-cache-yrhqyw5v.js → permission-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-yrznvahk.js → permission-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-cache-xj33k3cs.js → permission-ysw77zqd.js} +13 -13
- package/dist/chunks/{repository-cache-z45tr6e4.js → permission-yy8rs511.js} +22 -22
- package/dist/chunks/{repository-cache-z07pqspn.js → permission-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-cache-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-z63w68vq.js → permission-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-cache-64gr48sc.js → permission-zdy15qce.js} +11 -11
- package/dist/chunks/{repository-cache-zeh9ct20.js → permission-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-21x0kyec.js → permission-zvjqa41k.js} +25 -25
- package/dist/chunks/{repository-cache-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +105 -105
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +70 -70
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/repository-cache-031k76aj.js +0 -252
- package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
- package/dist/chunks/repository-cache-njf7bbrt.js +0 -507
- package/dist/chunks/repository-cache-vbty6caj.js +0 -26
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → permission-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-7w99qc9d.js → permission-7w99qc9d.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → permission-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → permission-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → permission-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-nr9hyn65.js";
|
|
10
10
|
import {
|
|
11
11
|
Service78
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-tr3wvkwf.js";
|
|
13
13
|
import {
|
|
14
14
|
Service77
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-bdefgtnb.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./permission-by9xeab9.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service57
|
|
24
|
+
} from "./permission-pfmjzkyq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./permission-gdg0j02x.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin7,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin7 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
69
|
const environment = yield* Service78;
|
|
70
70
|
const ripgrep = yield* Service77;
|
|
71
71
|
const location = yield* Service80;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service57;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin11 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output4, toModelContent4, Plugin7, exports_glob };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service78,
|
|
8
8
|
node81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-tr3wvkwf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./permission-by9xeab9.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service6,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node8,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
333
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
334
334
|
const environment = yield* Service78;
|
|
335
|
-
return
|
|
335
|
+
return Service6.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node8 = makeLocationNode({ service: Service6, layer, deps: [node81] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-vdqh8416.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin16,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin16 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin20 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin20 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin16, exports_tinyfish };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service7,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node9
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service7 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node9 = makeLocationNode({
|
|
19
|
+
service: Service7,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service7, node9, bound2, exports_instance2 };
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service80,
|
|
18
18
|
node84
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-nr9hyn65.js";
|
|
20
20
|
import {
|
|
21
21
|
Service79,
|
|
22
22
|
node82
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-94nx3bkn.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-bs2a7trz.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-3f4vjzp5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service50,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured6,
|
|
25
|
+
layer: () => layer19,
|
|
26
|
+
node: () => node52
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service50 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service50.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer19 = makeLayer();
|
|
259
|
+
var configured6 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service50,
|
|
261
|
+
layer: options === undefined ? layer19 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node52 = configured6();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options7, UnavailableError2, NotFoundError6, Service50, layer19, configured6, node52, exports_persistent_pty, Handoff2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-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: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
11
|
layer: () => layer21,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make19,
|
|
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: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer21 = (input) => Layer.succeed(Metadata2,
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node57 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer21, configured9, node57, exports_app };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-pfmjzkyq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service31,
|
|
12
|
+
node34
|
|
13
|
+
} from "./permission-m9f7bf3n.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-zvjqa41k.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions2 = {};
|
|
24
24
|
__export(exports_instructions2, {
|
|
25
25
|
McpInstructions: () => exports_instructions2,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service23,
|
|
27
|
+
layer: () => layer8,
|
|
28
|
+
node: () => node26
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service23 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer8 = Layer.effect(Service23, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service31;
|
|
68
|
+
return Service23.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node26 = makeLocationNode({ service: Service23, layer: layer8, deps: [node34] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service23, layer8, node26, exports_instructions2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node43
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node43 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node43, exports_service2 };
|