@opencode/core 0.0.0-dev-20648 → 0.0.0-dev-20650
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{pty-vgd5xkr1.js → location-services-001b00fp.js} +90 -90
- package/dist/chunks/{pty-x8t7tj7c.js → location-services-085tpkqt.js} +10 -10
- package/dist/chunks/{pty-v8cctvef.js → location-services-0a1e8d3s.js} +7 -7
- package/dist/chunks/{pty-gbvzc8kx.js → location-services-0arksaxe.js} +22 -22
- package/dist/chunks/{pty-sqvzcy4n.js → location-services-0dygnakk.js} +4 -4
- package/dist/chunks/{pty-anfgajne.js → location-services-0ekp7bk0.js} +15 -15
- package/dist/chunks/{pty-h921bxg9.js → location-services-0ft2m84j.js} +11 -11
- package/dist/chunks/{pty-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-ap8tz65t.js → location-services-0sw34p9e.js} +3 -3
- package/dist/chunks/{pty-9d8x5jdk.js → location-services-0t7w7e1z.js} +34 -34
- package/dist/chunks/{pty-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-xqpfqqd7.js → location-services-14r5wq43.js} +23 -23
- package/dist/chunks/{pty-6rhsmm9b.js → location-services-16e73rhv.js} +4 -4
- package/dist/chunks/{pty-ehypbcz6.js → location-services-17yrvmpn.js} +33 -33
- package/dist/chunks/{pty-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-zge3vb8x.js → location-services-1bk9khzn.js} +25 -25
- package/dist/chunks/{pty-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-bw9phdsx.js → location-services-1nzp712d.js} +32 -32
- package/dist/chunks/{pty-2k71kv7p.js → location-services-1y283654.js} +4 -4
- package/dist/chunks/location-services-1yrx8st6.js +507 -0
- package/dist/chunks/{pty-q0jcpdgf.js → location-services-2486f0gc.js} +42 -42
- package/dist/chunks/{pty-923rcr6j.js → location-services-24vj1m2f.js} +15 -15
- package/dist/chunks/{pty-4wwqnvbr.js → location-services-2a49rb13.js} +4 -4
- package/dist/chunks/{pty-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-9rh5dvbx.js → location-services-2b32xhw2.js} +3 -3
- package/dist/chunks/{pty-67edg2p2.js → location-services-2h1dy14m.js} +20 -20
- package/dist/chunks/{pty-bd8ayshm.js → location-services-2p1kqprv.js} +4 -4
- package/dist/chunks/{pty-wja9eyn5.js → location-services-2p5y98w0.js} +6 -6
- package/dist/chunks/{pty-k9s9h972.js → location-services-2sp9vt4c.js} +3 -3
- package/dist/chunks/{pty-zp1h7pbg.js → location-services-2vhq75nc.js} +22 -22
- package/dist/chunks/{pty-bt3wk4ae.js → location-services-33beq0ma.js} +4 -4
- package/dist/chunks/{pty-z4snssz9.js → location-services-3a4786ab.js} +26 -26
- package/dist/chunks/{pty-qr3e0xf1.js → location-services-3a91dp8a.js} +3 -3
- package/dist/chunks/{pty-ev7nexnv.js → location-services-3atax22v.js} +37 -37
- package/dist/chunks/{pty-ph20cxtq.js → location-services-3b9qt4hj.js} +9 -9
- package/dist/chunks/{pty-3cegwx68.js → location-services-3cegwx68.js} +2 -2
- package/dist/chunks/{pty-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-f83zg7kr.js → location-services-3m50rrjg.js} +24 -24
- package/dist/chunks/{pty-v5zgyzx5.js → location-services-3mt2dy6d.js} +16 -16
- package/dist/chunks/{pty-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-0retw3c6.js → location-services-3ss9g85e.js} +46 -46
- package/dist/chunks/{pty-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-89rvcjqs.js → location-services-3zbwexce.js} +8 -8
- package/dist/chunks/{pty-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-txjh0ez7.js → location-services-41g1yh39.js} +20 -20
- package/dist/chunks/{pty-gj71zhbs.js → location-services-47jkzegy.js} +5 -5
- package/dist/chunks/{pty-qtx5aasq.js → location-services-4ajkbp3f.js} +11 -11
- package/dist/chunks/{pty-yac0akaj.js → location-services-4ax7xn0r.js} +5 -5
- package/dist/chunks/{pty-xexk5p4t.js → location-services-4cz0dkbb.js} +69 -69
- package/dist/chunks/{pty-42q8eg0m.js → location-services-4dygtpfc.js} +5 -5
- package/dist/chunks/{pty-97c348b2.js → location-services-4fag9mqx.js} +32 -32
- package/dist/chunks/{pty-a2zg833y.js → location-services-4fwcrk1h.js} +11 -11
- package/dist/chunks/{pty-bvjche96.js → location-services-4htcxagg.js} +14 -14
- package/dist/chunks/{pty-0zrv4f4y.js → location-services-4maebaja.js} +13 -13
- package/dist/chunks/{pty-4ts7tf6z.js → location-services-4ts7tf6z.js} +2 -2
- package/dist/chunks/{pty-pk028k88.js → location-services-50s4shqd.js} +31 -31
- package/dist/chunks/{pty-gzqsmt5r.js → location-services-514hvnh9.js} +16 -16
- package/dist/chunks/{pty-acg7byny.js → location-services-51khb7z6.js} +9 -9
- package/dist/chunks/{pty-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-8j0pg7vy.js → location-services-5b7tqepp.js} +27 -27
- package/dist/chunks/{pty-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-nche7t88.js → location-services-5rmxkhg6.js} +5 -5
- package/dist/chunks/{pty-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-r79jpe1g.js → location-services-607px8n0.js} +10 -10
- package/dist/chunks/{pty-zg438qz9.js → location-services-6bykwcaq.js} +42 -42
- package/dist/chunks/{pty-1p7f10vm.js → location-services-6c7yw9pm.js} +8 -8
- package/dist/chunks/{pty-f34j0f4a.js → location-services-6mncfa04.js} +13 -13
- package/dist/chunks/{pty-ksx0wd75.js → location-services-6qw1qkre.js} +11 -11
- package/dist/chunks/{pty-e3cy6mqt.js → location-services-6tg9txw5.js} +5 -5
- package/dist/chunks/{pty-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-874yzzjt.js → location-services-71s3sq4y.js} +27 -27
- package/dist/chunks/{pty-3z4a0cq1.js → location-services-727zjhnd.js} +4 -4
- package/dist/chunks/{pty-8yen0vmk.js → location-services-72d0mfn3.js} +19 -19
- package/dist/chunks/{pty-55t9wqe0.js → location-services-7b0ws6vd.js} +20 -20
- package/dist/chunks/{pty-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-sv5c54x8.js → location-services-7bwwwg4f.js} +39 -39
- package/dist/chunks/{pty-84h8c373.js → location-services-84h8c373.js} +2 -2
- package/dist/chunks/{pty-zt18z2tx.js → location-services-8c63zdcr.js} +32 -32
- package/dist/chunks/{pty-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-cfsekr6v.js → location-services-8sze2n9a.js} +6 -6
- package/dist/chunks/location-services-8y9ejeyn.js +26 -0
- package/dist/chunks/{pty-e04nd2rq.js → location-services-8yh9yfq0.js} +9 -9
- package/dist/chunks/{pty-c04nv0t5.js → location-services-956t9e47.js} +48 -48
- package/dist/chunks/{pty-phze5rqg.js → location-services-9a8g5ab0.js} +3 -3
- package/dist/chunks/{pty-csn018d7.js → location-services-9jbn959z.js} +49 -49
- package/dist/chunks/{pty-hqq5g41y.js → location-services-9r937kg5.js} +33 -33
- package/dist/chunks/{pty-gq70b9ca.js → location-services-9ykrx1qq.js} +7 -7
- package/dist/chunks/{pty-6tsxpv82.js → location-services-a16hf74s.js} +21 -21
- package/dist/chunks/{pty-23897brc.js → location-services-a20mmbrw.js} +8 -8
- package/dist/chunks/{pty-w7qxzhtt.js → location-services-aa33dgcr.js} +17 -17
- package/dist/chunks/{pty-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-nm21rvpv.js → location-services-ambyqp62.js} +11 -11
- package/dist/chunks/{pty-rfyh9d2c.js → location-services-ampgcpe6.js} +30 -30
- package/dist/chunks/{pty-5rz2hsq0.js → location-services-ara0ca5b.js} +7 -7
- package/dist/chunks/{pty-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-ykher12f.js → location-services-bd0g7wdn.js} +19 -19
- package/dist/chunks/{pty-4kc2bv9g.js → location-services-bexxj179.js} +35 -35
- package/dist/chunks/{pty-nkxt7aqy.js → location-services-bj4d9qfd.js} +31 -31
- package/dist/chunks/{pty-y1202j2k.js → location-services-bss16c77.js} +4 -4
- package/dist/chunks/{pty-mt3n9ssm.js → location-services-bxpjjjkj.js} +5 -5
- package/dist/chunks/{pty-hzrfc1p4.js → location-services-c2sed5cq.js} +2 -2
- package/dist/chunks/{pty-c8449nhm.js → location-services-c6wv61cx.js} +11 -11
- package/dist/chunks/{pty-kvvk39gs.js → location-services-cavr175a.js} +4 -4
- package/dist/chunks/{pty-27qxacty.js → location-services-cbkmvndh.js} +17 -17
- package/dist/chunks/{pty-tp4ajszw.js → location-services-cm8pqatr.js} +38 -38
- package/dist/chunks/{pty-dmpsdkb3.js → location-services-csfhn2wr.js} +48 -48
- package/dist/chunks/{pty-f8m0k53h.js → location-services-cwwzrss4.js} +9 -9
- package/dist/chunks/{pty-m995qhkc.js → location-services-cx8ek9kt.js} +5 -5
- package/dist/chunks/{pty-1qq73t15.js → location-services-cyw6svx6.js} +10 -10
- package/dist/chunks/{pty-vxp3kcg3.js → location-services-d1r5081s.js} +5 -5
- package/dist/chunks/{pty-rrpq0de9.js → location-services-d1sprev3.js} +12 -12
- package/dist/chunks/{pty-2sejkfem.js → location-services-d4he2qe1.js} +9 -9
- package/dist/chunks/{pty-92n0272q.js → location-services-dfsz33p3.js} +19 -19
- package/dist/chunks/{pty-d036g1ys.js → location-services-ds99stjk.js} +7 -7
- package/dist/chunks/{pty-a2hf6yb4.js → location-services-e2tbx933.js} +8 -8
- package/dist/chunks/{pty-9r9wb4j2.js → location-services-e2v8ft38.js} +11 -11
- package/dist/chunks/{pty-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-6pdpv8kk.js → location-services-ef7m5ry9.js} +8 -8
- package/dist/chunks/{pty-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-mb37bn90.js → location-services-ezx0c3nt.js} +9 -9
- package/dist/chunks/{pty-zqfdtaf3.js → location-services-f210znyg.js} +47 -47
- package/dist/chunks/{pty-hsf7jdvw.js → location-services-f6ngde2n.js} +35 -35
- package/dist/chunks/{pty-f75zav2x.js → location-services-f75zav2x.js} +2 -2
- package/dist/chunks/{pty-kpxf0xq6.js → location-services-fb9bde3m.js} +19 -19
- package/dist/chunks/{pty-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
- package/dist/chunks/{pty-bydnjh3t.js → location-services-ftjf86m5.js} +9 -9
- package/dist/chunks/{pty-d3mnj8kh.js → location-services-fwbcrs20.js} +1 -1
- package/dist/chunks/{pty-1nxxv4qb.js → location-services-g00c25k7.js} +23 -23
- package/dist/chunks/{pty-da3p7k9k.js → location-services-g0ahba55.js} +4 -4
- package/dist/chunks/{pty-cwtckkf6.js → location-services-g2r84ert.js} +26 -26
- package/dist/chunks/{pty-gb39ghec.js → location-services-g5696t09.js} +9 -9
- package/dist/chunks/{pty-g6yfr6ja.js → location-services-g6yfr6ja.js} +2 -2
- package/dist/chunks/{pty-bp8hqz04.js → location-services-gcst2knj.js} +8 -8
- package/dist/chunks/{pty-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-efk260vg.js → location-services-gfwyksye.js} +22 -22
- package/dist/chunks/{pty-mk442ktg.js → location-services-gfzdj97b.js} +4 -4
- package/dist/chunks/{pty-6v23mrsw.js → location-services-ghz6dcrw.js} +11 -11
- package/dist/chunks/{pty-yas84py3.js → location-services-gj5tgtsk.js} +13 -13
- package/dist/chunks/{pty-thkc5986.js → location-services-gk7ynedz.js} +11 -11
- package/dist/chunks/{pty-tb7q8jz9.js → location-services-gv7x5wm3.js} +22 -22
- package/dist/chunks/{pty-cq5kxxzs.js → location-services-gy6z8b7d.js} +24 -24
- package/dist/chunks/{pty-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-qq6e0a1m.js → location-services-h9wapceb.js} +25 -25
- package/dist/chunks/{pty-7pgwfb4h.js → location-services-hc5gcwsj.js} +35 -35
- package/dist/chunks/{pty-scgrse2b.js → location-services-hdkng2sj.js} +5 -5
- package/dist/chunks/{pty-0099bvhy.js → location-services-hjbndmcs.js} +9 -9
- package/dist/chunks/location-services-hydj2j77.js +253 -0
- package/dist/chunks/{pty-nanknxd5.js → location-services-j01q2zrr.js} +11 -11
- package/dist/chunks/{pty-84pbkp20.js → location-services-j12as4v5.js} +23 -23
- package/dist/chunks/{pty-9tyz0y11.js → location-services-j4rr3b6f.js} +11 -11
- package/dist/chunks/{pty-8jypv1cv.js → location-services-j54377ah.js} +13 -13
- package/dist/chunks/{pty-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-ay5x7dxy.js → location-services-j59bqac0.js} +36 -36
- package/dist/chunks/{pty-5rpr6ftq.js → location-services-j5kyfhbh.js} +15 -15
- package/dist/chunks/{pty-8wbxkt1z.js → location-services-j8m1p4p1.js} +4 -4
- package/dist/chunks/{pty-x3mar638.js → location-services-jan553tg.js} +182 -182
- package/dist/chunks/{pty-xbe8mphx.js → location-services-jb2g91f3.js} +12 -12
- package/dist/chunks/{pty-q581keqr.js → location-services-jcs5e93a.js} +2 -2
- package/dist/chunks/{pty-0y9mdftf.js → location-services-jegrxnf3.js} +6 -6
- package/dist/chunks/{pty-9se51ysk.js → location-services-jkjj242p.js} +33 -33
- package/dist/chunks/location-services-jqh9b0xq.js +18 -0
- package/dist/chunks/{pty-32t0bw84.js → location-services-jx32pc59.js} +15 -15
- package/dist/chunks/{pty-dppya6f9.js → location-services-jxkc3myh.js} +24 -24
- package/dist/chunks/{pty-nxkfy0rg.js → location-services-kaa3dmqg.js} +18 -18
- package/dist/chunks/{pty-kb9j3d72.js → location-services-kb9j3d72.js} +3 -3
- package/dist/chunks/{pty-rtjv9fpq.js → location-services-kkk3xdpb.js} +41 -41
- package/dist/chunks/{pty-d7jcpxfr.js → location-services-kn3avxvj.js} +13 -13
- package/dist/chunks/{pty-ky8w6whr.js → location-services-kt67x2pe.js} +6 -6
- package/dist/chunks/{pty-z1f2d5px.js → location-services-kxz2jsw3.js} +32 -32
- package/dist/chunks/{pty-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-p6drkcnf.js → location-services-m7ztr8b1.js} +18 -18
- package/dist/chunks/{pty-ddy3e1gr.js → location-services-m91sy8b7.js} +5 -5
- package/dist/chunks/{pty-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-vjjaysxc.js → location-services-mb14aw74.js} +2 -2
- package/dist/chunks/{pty-c19p4hyh.js → location-services-mx1p25e3.js} +26 -26
- package/dist/chunks/{pty-yrcj3v3g.js → location-services-n1n192bv.js} +4 -4
- package/dist/chunks/{pty-fggkqnd8.js → location-services-n68t0apf.js} +16 -16
- package/dist/chunks/{pty-2hpka7mt.js → location-services-n6svg889.js} +18 -18
- package/dist/chunks/{pty-53ybeb94.js → location-services-nbdxm3p1.js} +23 -23
- package/dist/chunks/{pty-rvghhgda.js → location-services-ne96ewy3.js} +23 -23
- package/dist/chunks/{pty-wpybfb3e.js → location-services-ngyrtr94.js} +3 -3
- package/dist/chunks/{pty-f33yc4k3.js → location-services-nnyt92w2.js} +14 -14
- package/dist/chunks/{pty-b69jv39p.js → location-services-ns3eape4.js} +1 -1
- package/dist/chunks/{pty-qs7m5bs1.js → location-services-nt3x6kk1.js} +19 -19
- package/dist/chunks/{pty-dpkg50ah.js → location-services-nxm207yx.js} +4 -4
- package/dist/chunks/{pty-p1a0bpjp.js → location-services-p3cjk3f5.js} +22 -22
- package/dist/chunks/{pty-cmwkp3r5.js → location-services-pa8pe2x7.js} +8 -8
- package/dist/chunks/{pty-d7tem15s.js → location-services-pc2ca7gw.js} +15 -15
- package/dist/chunks/{pty-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{pty-gap9jj81.js → location-services-psf10pda.js} +21 -21
- package/dist/chunks/{pty-gcytf9y4.js → location-services-pshwgvdq.js} +29 -29
- package/dist/chunks/{pty-q0xm7vwc.js → location-services-q0xm7vwc.js} +2 -2
- package/dist/chunks/{pty-g9jfc9ac.js → location-services-q479fbf4.js} +17 -17
- package/dist/chunks/{pty-mjv4r1bw.js → location-services-qam4srmn.js} +29 -29
- package/dist/chunks/{pty-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-wd3qynhg.js → location-services-qpk58yzq.js} +1 -1
- package/dist/chunks/{pty-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
- package/dist/chunks/{pty-j17byzzq.js → location-services-qymnwkpy.js} +11 -11
- package/dist/chunks/{pty-d45sg6xs.js → location-services-r33djvem.js} +20 -20
- package/dist/chunks/{pty-y8p3zjbc.js → location-services-r3q6pmcz.js} +6 -6
- package/dist/chunks/{pty-a1gpj94z.js → location-services-r5x6zcsm.js} +3 -3
- package/dist/chunks/{pty-09pca8az.js → location-services-rcw89xq3.js} +20 -20
- package/dist/chunks/{pty-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-9cfex9y1.js → location-services-re7zz5fm.js} +22 -22
- package/dist/chunks/{pty-wv396vej.js → location-services-rhjbct0v.js} +8 -8
- package/dist/chunks/{pty-a6syyywt.js → location-services-rzwydysx.js} +30 -30
- package/dist/chunks/{pty-8k3tzzhw.js → location-services-s3h11364.js} +47 -47
- package/dist/chunks/{pty-h462srpz.js → location-services-s7yezqte.js} +25 -25
- package/dist/chunks/{pty-p48syh26.js → location-services-sgn5w1sc.js} +16 -16
- package/dist/chunks/{pty-mjex1bph.js → location-services-sjs9ezqr.js} +46 -46
- package/dist/chunks/{pty-thrtz6av.js → location-services-smha7wt5.js} +3 -3
- package/dist/chunks/{pty-gtmxr1a9.js → location-services-sq42pm77.js} +28 -28
- package/dist/chunks/{pty-k70p9jzb.js → location-services-srq8z0b0.js} +9 -9
- package/dist/chunks/{pty-fv8pqfsd.js → location-services-ssew6xnx.js} +5 -5
- package/dist/chunks/{pty-d8h4y8x2.js → location-services-t01ewf6t.js} +11 -11
- package/dist/chunks/{pty-8rqycdgd.js → location-services-t2fc4mz5.js} +7 -7
- package/dist/chunks/{pty-ckf8nxjz.js → location-services-t7n9q6bq.js} +4 -4
- package/dist/chunks/{pty-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-eqkxs06z.js → location-services-tcay1cqt.js} +6 -6
- package/dist/chunks/{pty-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{pty-2vqnfsz1.js → location-services-thg5jy7b.js} +21 -21
- package/dist/chunks/{pty-t4y1vgnz.js → location-services-thrv5kr1.js} +22 -22
- package/dist/chunks/{pty-vpxjmme6.js → location-services-tpty64js.js} +18 -18
- package/dist/chunks/{pty-624z605s.js → location-services-tvm9nqz9.js} +16 -16
- package/dist/chunks/{pty-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
- package/dist/chunks/{pty-ad0bmy2v.js → location-services-v1qd983m.js} +27 -27
- package/dist/chunks/{pty-y71s8m6t.js → location-services-v5hevtyx.js} +4 -4
- package/dist/chunks/{pty-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-wa3vteb6.js → location-services-vfgsn3pb.js} +37 -37
- package/dist/chunks/{pty-em95cejf.js → location-services-vmd3sd6p.js} +15 -15
- package/dist/chunks/{pty-48km10qy.js → location-services-vrc04fwg.js} +14 -14
- package/dist/chunks/{pty-sf4w6t5k.js → location-services-vre0f3v3.js} +57 -57
- package/dist/chunks/{pty-qeh1kqdq.js → location-services-vrsc6b4y.js} +8 -8
- package/dist/chunks/{pty-9ex8f1cq.js → location-services-vwpcpzep.js} +8 -8
- package/dist/chunks/{pty-4kbb9d62.js → location-services-vym6yw1t.js} +13 -13
- package/dist/chunks/{pty-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-g3msn0ej.js → location-services-vzx68d5n.js} +8 -8
- package/dist/chunks/{pty-84txncab.js → location-services-w1eejvng.js} +5 -5
- package/dist/chunks/{pty-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-dshcjhsp.js → location-services-waec0c3j.js} +33 -33
- package/dist/chunks/{pty-tc6qcdy5.js → location-services-was7srj9.js} +8 -8
- package/dist/chunks/{pty-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{pty-sm2pca5m.js → location-services-wfctfrf2.js} +5 -5
- package/dist/chunks/{pty-bncrevqt.js → location-services-wj9bqc1j.js} +27 -27
- package/dist/chunks/{pty-q8zbp1h0.js → location-services-wvws9fm3.js} +8 -8
- package/dist/chunks/{pty-7ppg2tjj.js → location-services-wz6j5yqf.js} +90 -90
- package/dist/chunks/{pty-mt4678g7.js → location-services-x53k8vh3.js} +22 -22
- package/dist/chunks/{pty-mxvxcxwy.js → location-services-x661k3y3.js} +4 -4
- package/dist/chunks/{pty-dhng9vzx.js → location-services-x7hmwq28.js} +32 -32
- package/dist/chunks/{pty-nj17t0gr.js → location-services-x7ytz0vq.js} +18 -18
- package/dist/chunks/{pty-g5w8qwbj.js → location-services-xfkkasph.js} +4 -4
- package/dist/chunks/{pty-ad0mmn42.js → location-services-xg7rec9w.js} +6 -6
- package/dist/chunks/{pty-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
- package/dist/chunks/{pty-kyr1z5gy.js → location-services-xzv6qj2m.js} +24 -24
- package/dist/chunks/{pty-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-ctdhhp9a.js → location-services-y8shr9gw.js} +35 -35
- package/dist/chunks/{pty-bmcex1jf.js → location-services-yk982qs6.js} +9 -9
- package/dist/chunks/{pty-xvjb85ys.js → location-services-ynmx16w6.js} +4 -4
- package/dist/chunks/{pty-emwywv8g.js → location-services-yt3hy1g9.js} +5 -5
- package/dist/chunks/{pty-6fgykvfe.js → location-services-ywpk00n5.js} +11 -11
- package/dist/chunks/{pty-ndphwy30.js → location-services-z07zh9w3.js} +21 -21
- package/dist/chunks/{pty-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-4c91ejxn.js → location-services-z4swa18j.js} +9 -9
- package/dist/chunks/{pty-m5canyms.js → location-services-z8rw9kn4.js} +11 -11
- package/dist/chunks/{pty-b3jqpnzw.js → location-services-zacf2nwq.js} +13 -13
- package/dist/chunks/{pty-t17teb9f.js → location-services-zdtpkxz5.js} +21 -21
- package/dist/chunks/{pty-pr3txkn9.js → location-services-zg3msdzq.js} +15 -15
- package/dist/chunks/{pty-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-ngts6ef0.js → location-services-zrq8kphx.js} +8 -8
- package/dist/chunks/{pty-0akqd5d4.js → location-services-zxga9rac.js} +28 -28
- package/dist/chunks/{pty-zxq2ej10.js → location-services-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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- 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 +102 -102
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- 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 +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- 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 +129 -129
- package/dist/session/projector.js +86 -86
- 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 +222 -222
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- 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 +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- 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 +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +7 -7
- package/dist/tool.js +12 -12
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/pty-7fj5dwt0.js +0 -18
- package/dist/chunks/pty-7r9y934d.js +0 -253
- package/dist/chunks/pty-ab4j4ym1.js +0 -507
- package/dist/chunks/pty-b56sn4ad.js +0 -26
- /package/dist/chunks/{pty-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./location-services-514hvnh9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-services-6mncfa04.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service36,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-jqh9b0xq.js";
|
|
17
17
|
import {
|
|
18
18
|
make12,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-jan553tg.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service36,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node22
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service80;
|
|
45
|
+
const kv = yield* Service82;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service36.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node22 = Node.makeLocationNode({
|
|
226
|
+
service: Service36,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node22, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-514hvnh9.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-s7yezqte.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./location-services-4htcxagg.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info4,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service21,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service21 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service78;
|
|
62
|
+
const bus = yield* Service80;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service21.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node24 = makeLocationNode({
|
|
191
|
+
service: Service21,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node82, node84]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-csfhn2wr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service35,
|
|
12
|
+
node39
|
|
13
|
+
} from "./location-services-2486f0gc.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./location-services-x7hmwq28.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service27,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node31
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service35;
|
|
68
|
+
return Service27.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make20({
|
|
71
|
+
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node31 = makeLocationNode({ service: Service27, layer: layer11, deps: [node39] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service27, layer11, node31, exports_instructions2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-514hvnh9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./location-services-4htcxagg.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node74,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./location-services-jkjj242p.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service70,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node73,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info20 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service70 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
73
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service71;
|
|
75
|
+
const bus = yield* Service80;
|
|
76
|
+
const location = yield* Service78;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service70.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node73 = makeLocationNode({ service: Service70, layer, deps: [node74, node84, node82] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -238,12 +238,12 @@ function compatibility2(input) {
|
|
|
238
238
|
return;
|
|
239
239
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function parse4(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service70, node73, supportsText2, compatibility2, parse4, exports_model2, Event15 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make6,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make6, exports_retry };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-services-tcay1cqt.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-jqh9b0xq.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-ngyrtr94.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./location-services-thrv5kr1.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|