@opencode/core 0.0.0-dev-20586 → 0.0.0-dev-20587
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 +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{schema-y730841x.js → reference-0a424z4m.js} +24 -24
- package/dist/chunks/{schema-msjz9fyp.js → reference-0dh5pvxp.js} +40 -40
- package/dist/chunks/{schema-785emzww.js → reference-0fmqyjny.js} +25 -25
- package/dist/chunks/{schema-q0xm7vwc.js → reference-0j77ygfz.js} +6 -6
- package/dist/chunks/{schema-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-9gjfbdts.js → reference-0te1aq7m.js} +32 -32
- package/dist/chunks/{schema-fbhsdg98.js → reference-0v0fh1f4.js} +45 -45
- package/dist/chunks/{schema-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-vjmmbq9h.js → reference-0w7ej8g6.js} +86 -86
- package/dist/chunks/reference-0yw8jrmx.js +26 -0
- package/dist/chunks/{schema-hmv4j20b.js → reference-13st69t8.js} +11 -11
- package/dist/chunks/{schema-rjt6kdv6.js → reference-18pd0k8w.js} +11 -11
- package/dist/chunks/{schema-5f5fdjjg.js → reference-1ahxm6sd.js} +31 -31
- package/dist/chunks/{schema-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-1dvck2a7.js → reference-1dvck2a7.js} +2 -2
- package/dist/chunks/{schema-s0yv6qk4.js → reference-1hj56dzs.js} +13 -13
- package/dist/chunks/{schema-h52xp8p4.js → reference-1jy03gaj.js} +9 -9
- package/dist/chunks/{schema-cfsekr6v.js → reference-1p07q0wb.js} +4 -4
- package/dist/chunks/{schema-jyxk3ed8.js → reference-1qnvanna.js} +17 -17
- package/dist/chunks/{schema-5zeh3nq2.js → reference-1sx5ttk3.js} +47 -47
- package/dist/chunks/{schema-x0m3x8cn.js → reference-1tdshpj3.js} +44 -44
- package/dist/chunks/{schema-fk3men0g.js → reference-1v231d3m.js} +35 -35
- package/dist/chunks/{schema-3zbwexce.js → reference-1xxd6k95.js} +8 -8
- package/dist/chunks/{schema-pkn3rqad.js → reference-276fgt7k.js} +18 -18
- package/dist/chunks/{schema-18a3shtt.js → reference-28at9kpj.js} +16 -16
- package/dist/chunks/{schema-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-vtt0yr3x.js → reference-2c7hjkzv.js} +13 -13
- package/dist/chunks/{schema-4ts7tf6z.js → reference-2ccvkpx1.js} +2 -2
- package/dist/chunks/{schema-z2nx0y2v.js → reference-2ghygp50.js} +12 -12
- package/dist/chunks/{schema-7dqw4kz8.js → reference-2k8khapm.js} +5 -5
- package/dist/chunks/{schema-t7n9q6bq.js → reference-2vs2nh1n.js} +4 -4
- package/dist/chunks/{schema-taw4b7j9.js → reference-2z6nk9rc.js} +19 -19
- package/dist/chunks/{schema-461mwfvs.js → reference-33vkvr6x.js} +33 -33
- package/dist/chunks/{schema-b69jv39p.js → reference-3556dn8t.js} +1 -1
- package/dist/chunks/{schema-k70p9jzb.js → reference-3cd9n481.js} +9 -9
- package/dist/chunks/{schema-8xgppe8x.js → reference-3dptaw0d.js} +11 -11
- package/dist/chunks/{schema-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-ga67qtkk.js → reference-3v047kxf.js} +16 -16
- package/dist/chunks/{schema-6p0hs1pc.js → reference-3yp4znr7.js} +13 -13
- package/dist/chunks/{schema-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-ayqs46pg.js → reference-40etmpxy.js} +22 -22
- package/dist/chunks/{schema-ecpsh8rg.js → reference-4bevpzhv.js} +3 -3
- package/dist/chunks/{schema-aczmxqpc.js → reference-4dq32q0a.js} +8 -8
- package/dist/chunks/{schema-vmx43xs3.js → reference-4h0sqrpn.js} +15 -15
- package/dist/chunks/{schema-nqee14cx.js → reference-4jrcr0tk.js} +12 -12
- package/dist/chunks/{schema-tcay1cqt.js → reference-4mwpykj0.js} +6 -6
- package/dist/chunks/{schema-7vv0vsc5.js → reference-4n407jcq.js} +10 -10
- package/dist/chunks/{schema-6je3rcen.js → reference-4rzegzkw.js} +23 -23
- package/dist/chunks/{schema-mygtg7h0.js → reference-4tbp73he.js} +22 -22
- package/dist/chunks/{schema-r3q6pmcz.js → reference-4ttn132a.js} +6 -6
- package/dist/chunks/{schema-yrcj3v3g.js → reference-4z58m4b4.js} +4 -4
- package/dist/chunks/{schema-e7kdnfv2.js → reference-51r1ga28.js} +28 -28
- package/dist/chunks/{schema-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-1ygqh575.js → reference-56gdpj1q.js} +9 -9
- package/dist/chunks/{schema-g5w8qwbj.js → reference-57b9ws8p.js} +7 -7
- package/dist/chunks/{schema-4xxxtaen.js → reference-57e9z27j.js} +5 -5
- package/dist/chunks/{schema-he39p88c.js → reference-5cqz128n.js} +16 -16
- package/dist/chunks/{schema-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-e8v72fmy.js → reference-5e1anv4t.js} +19 -19
- package/dist/chunks/{schema-609c7rjf.js → reference-5eqgw8nb.js} +8 -8
- package/dist/chunks/{schema-drda7tq8.js → reference-5ga8pmy8.js} +24 -24
- package/dist/chunks/{schema-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-8d5nx7er.js → reference-5w2vcsqn.js} +179 -179
- package/dist/chunks/{schema-p7f50jp2.js → reference-5w6ne2rj.js} +8 -8
- package/dist/chunks/{schema-r51ygcfp.js → reference-60zx66yq.js} +44 -44
- package/dist/chunks/{schema-rypd5ndp.js → reference-6121h2h6.js} +2 -2
- package/dist/chunks/{schema-3757zhg2.js → reference-62rnp32c.js} +10 -10
- package/dist/chunks/{schema-kzsy6v0s.js → reference-62txs9jh.js} +11 -11
- package/dist/chunks/{schema-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{schema-z8x71xh1.js → reference-6apts7gk.js} +5 -5
- package/dist/chunks/{schema-8c6aeth0.js → reference-6jw82w3c.js} +28 -28
- package/dist/chunks/{schema-ghpd4fr7.js → reference-6n0c2nxw.js} +39 -39
- package/dist/chunks/{schema-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-71az546q.js → reference-71az546q.js} +2 -2
- package/dist/chunks/{schema-5xbqt2y0.js → reference-75c7h6s3.js} +28 -28
- package/dist/chunks/{schema-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-66f72jf0.js → reference-7mnt2941.js} +26 -26
- package/dist/chunks/{schema-qdgd7pts.js → reference-7r0707g4.js} +40 -40
- package/dist/chunks/{schema-v3cgeczt.js → reference-7zy8br1g.js} +3 -3
- package/dist/chunks/{schema-w1eejvng.js → reference-84txncab.js} +5 -5
- package/dist/chunks/{schema-1279vwrw.js → reference-89anvpvk.js} +5 -5
- package/dist/chunks/{schema-a8rjsjfn.js → reference-8c1ypbfp.js} +16 -16
- package/dist/chunks/{schema-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/reference-8eazr78z.js +253 -0
- package/dist/chunks/{schema-9y0w708y.js → reference-8mbscqky.js} +8 -8
- package/dist/chunks/{schema-mpyv0gjv.js → reference-8zs2xvcx.js} +17 -17
- package/dist/chunks/{schema-9swdtjav.js → reference-906tg66d.js} +11 -11
- package/dist/chunks/{schema-1x37w07y.js → reference-9707ta7n.js} +23 -23
- package/dist/chunks/{schema-9kwc633n.js → reference-9bzydxt0.js} +21 -21
- package/dist/chunks/{schema-9e5bzkjp.js → reference-9e5bzkjp.js} +3 -3
- package/dist/chunks/{schema-89vjf07m.js → reference-9eh6sf6d.js} +5 -5
- package/dist/chunks/{schema-x9300pb6.js → reference-9f35bx3k.js} +15 -15
- package/dist/chunks/{schema-mxfx3p70.js → reference-9nxp2j1r.js} +23 -23
- package/dist/chunks/{schema-fe7qsfpk.js → reference-9q26wnhp.js} +20 -20
- package/dist/chunks/reference-9sh4wc5j.js +18 -0
- package/dist/chunks/{schema-21z0btgx.js → reference-9sqgpkz6.js} +11 -11
- package/dist/chunks/{schema-0knh1j5d.js → reference-a2xqkxgc.js} +18 -18
- package/dist/chunks/{schema-398sja33.js → reference-a7ykahx8.js} +24 -24
- package/dist/chunks/{schema-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-mxvxcxwy.js → reference-addxnjmp.js} +4 -4
- package/dist/chunks/{schema-3k1ktder.js → reference-ae75as9k.js} +4 -4
- package/dist/chunks/{schema-ggdj6b59.js → reference-aen5yss8.js} +23 -23
- package/dist/chunks/{schema-fq9618wy.js → reference-as4zy6vm.js} +6 -6
- package/dist/chunks/{schema-as7cf5zz.js → reference-as7cf5zz.js} +4 -4
- package/dist/chunks/{schema-q7cgqs0q.js → reference-avw4htaf.js} +26 -26
- package/dist/chunks/{schema-fhz5gfgy.js → reference-axs6pdy0.js} +5 -5
- package/dist/chunks/{schema-1j43e8h9.js → reference-axsdja44.js} +16 -16
- package/dist/chunks/{schema-y3739sk3.js → reference-b5hvc6g6.js} +12 -12
- package/dist/chunks/{schema-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-89bb6baa.js → reference-be7qvw84.js} +8 -8
- package/dist/chunks/{schema-0nrdtycv.js → reference-bgjpcfh1.js} +47 -47
- package/dist/chunks/{schema-kbm049ab.js → reference-bk2zmp9c.js} +13 -13
- package/dist/chunks/{schema-a3c7ahw6.js → reference-bp8fbaqn.js} +4 -4
- package/dist/chunks/{schema-p37cw4rj.js → reference-br0tr5aq.js} +8 -8
- package/dist/chunks/{schema-d8mep6qx.js → reference-brt5an88.js} +7 -7
- package/dist/chunks/{schema-prq7hedt.js → reference-bydnjh3t.js} +9 -9
- package/dist/chunks/{schema-ykjpaak5.js → reference-c02d881x.js} +15 -15
- package/dist/chunks/{schema-cavr175a.js → reference-c20khjev.js} +21 -21
- package/dist/chunks/{schema-sd9a6snf.js → reference-c2sed5cq.js} +3 -3
- package/dist/chunks/{schema-84c5kt73.js → reference-c384rd0k.js} +4 -4
- package/dist/chunks/{schema-j75c4hzg.js → reference-cfypbh6h.js} +15 -15
- package/dist/chunks/{schema-fhh3yeyh.js → reference-ckapse2z.js} +26 -26
- package/dist/chunks/{schema-kcn8d4wf.js → reference-cpna35qm.js} +13 -13
- package/dist/chunks/{schema-qnpbp7f6.js → reference-crdrr85v.js} +3 -3
- package/dist/chunks/{schema-pnkbpv6t.js → reference-csmvz898.js} +9 -9
- package/dist/chunks/{schema-f2030xt1.js → reference-d5m53j50.js} +35 -35
- package/dist/chunks/{schema-fkhfs56y.js → reference-da456p6f.js} +25 -25
- package/dist/chunks/{schema-srdpzyxc.js → reference-dkr6ry3g.js} +10 -10
- package/dist/chunks/{schema-dpkg50ah.js → reference-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-7k951zm2.js → reference-e3cpgeff.js} +11 -11
- package/dist/chunks/{schema-5qd3pb7m.js → reference-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-hvywv52v.js → reference-e51et464.js} +5 -5
- package/dist/chunks/{schema-rb8mch2y.js → reference-e8mb8cqx.js} +33 -33
- package/dist/chunks/{schema-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-b7a8j68b.js → reference-ek9c5stx.js} +8 -8
- package/dist/chunks/{schema-czxrm6cp.js → reference-eptmzqw1.js} +18 -18
- package/dist/chunks/{schema-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-nsjtt5er.js → reference-ez6c34s8.js} +27 -27
- package/dist/chunks/{schema-pkdmza6n.js → reference-f0k10bmp.js} +8 -8
- package/dist/chunks/{schema-1dangqhw.js → reference-f5gy8qwh.js} +8 -8
- package/dist/chunks/{schema-kg6ewcnz.js → reference-f65bz2q7.js} +5 -5
- package/dist/chunks/{schema-wdhp2wqx.js → reference-f79gec3w.js} +20 -20
- package/dist/chunks/{schema-8j43q005.js → reference-f9a4pn72.js} +7 -7
- package/dist/chunks/{schema-b5pm0qd4.js → reference-fedq4t26.js} +5 -5
- package/dist/chunks/{schema-vejndnrc.js → reference-fmt1hs8y.js} +22 -22
- package/dist/chunks/{schema-hg3614cy.js → reference-fpecnkgp.js} +5 -5
- package/dist/chunks/{schema-f5gz5swa.js → reference-ftyfyfhe.js} +11 -11
- package/dist/chunks/{schema-8gn32dwp.js → reference-fzztmtyv.js} +92 -92
- package/dist/chunks/{schema-j129swd2.js → reference-g047z55c.js} +17 -17
- package/dist/chunks/{schema-ry4cmxgm.js → reference-g7xeyaj0.js} +10 -10
- package/dist/chunks/{schema-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-tz8q98pd.js → reference-gnw3t1dc.js} +3 -3
- package/dist/chunks/{schema-892k6z1j.js → reference-gqpz8759.js} +11 -11
- package/dist/chunks/{schema-ate656c3.js → reference-gwcpdn4r.js} +8 -8
- package/dist/chunks/{schema-1zf23djs.js → reference-h1wh6nnm.js} +4 -4
- package/dist/chunks/{schema-y5t28hz6.js → reference-h26940z0.js} +31 -31
- package/dist/chunks/{schema-h2b79v29.js → reference-h2b79v29.js} +2 -2
- package/dist/chunks/{schema-rxsn8x9d.js → reference-h2tzc275.js} +24 -24
- package/dist/chunks/{schema-34tsw91e.js → reference-h4pjr44c.js} +20 -20
- package/dist/chunks/{schema-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-dtmn9m2k.js → reference-h9353qrc.js} +22 -22
- package/dist/chunks/{schema-f6zdzjx0.js → reference-hasf9nkd.js} +50 -50
- package/dist/chunks/{schema-xb9ezq08.js → reference-hdrn7jtd.js} +30 -30
- package/dist/chunks/{schema-3jqk5x8p.js → reference-hggj5nbt.js} +75 -75
- package/dist/chunks/{schema-df0ykk77.js → reference-hneefbm4.js} +9 -9
- package/dist/chunks/{schema-2s93m5wx.js → reference-hnn8dgg2.js} +29 -29
- package/dist/chunks/{schema-tra9m5aj.js → reference-hryntbm6.js} +38 -38
- package/dist/chunks/{schema-kjhtpa86.js → reference-j02h87v3.js} +3 -3
- package/dist/chunks/{schema-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-gwm757wf.js → reference-jax8j6c6.js} +19 -19
- package/dist/chunks/{schema-sy8hwy21.js → reference-jh2kc7t1.js} +17 -17
- package/dist/chunks/{schema-2ty9snxt.js → reference-jk02jdk9.js} +20 -20
- package/dist/chunks/{schema-5ccwcxf7.js → reference-jt8tan63.js} +14 -14
- package/dist/chunks/{schema-w65mgvd1.js → reference-k16ae6jh.js} +26 -26
- package/dist/chunks/{schema-6v4rkqn9.js → reference-k8r11mjf.js} +22 -22
- package/dist/chunks/{schema-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-jba7mbpp.js → reference-m74y07zs.js} +5 -5
- package/dist/chunks/{schema-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-sdsbj08z.js → reference-mb14aw74.js} +2 -2
- package/dist/chunks/{schema-yk45h2rs.js → reference-merhc0f7.js} +15 -15
- package/dist/chunks/{schema-xgam4qj3.js → reference-mkh9k1h6.js} +26 -26
- package/dist/chunks/{schema-7nfz7vry.js → reference-mm5yq9f6.js} +6 -6
- package/dist/chunks/{schema-1z8bakdw.js → reference-mr4yzd1n.js} +11 -11
- package/dist/chunks/{schema-gzh3bm7x.js → reference-msxdz3am.js} +5 -5
- package/dist/chunks/{schema-eq1pz5kg.js → reference-mvfsc1pv.js} +3 -3
- package/dist/chunks/{schema-de52ckkz.js → reference-mwwxnxty.js} +4 -4
- package/dist/chunks/{schema-g4ec7k1p.js → reference-mzw9gwxy.js} +24 -24
- package/dist/chunks/{schema-vwk1vad2.js → reference-mzzkv1b5.js} +1 -1
- package/dist/chunks/{schema-dnxygc0x.js → reference-n21nhzwg.js} +9 -9
- package/dist/chunks/{schema-15s9b7tq.js → reference-n7szyvye.js} +18 -18
- package/dist/chunks/{schema-skzfdnfe.js → reference-n90frd9p.js} +5 -5
- package/dist/chunks/{schema-pkqfn6w5.js → reference-nh77y64w.js} +12 -12
- package/dist/chunks/{schema-n3q2c8vm.js → reference-nxpdv9mh.js} +18 -18
- package/dist/chunks/{schema-th268h5n.js → reference-p5wc048m.js} +23 -23
- package/dist/chunks/{schema-g8j2n5ph.js → reference-pj1gdqhf.js} +9 -9
- package/dist/chunks/{schema-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{schema-qj8bvm0v.js → reference-q0a6wh5g.js} +53 -53
- package/dist/chunks/{schema-bdpzzc2x.js → reference-q9099wq0.js} +11 -11
- package/dist/chunks/{schema-ryr25ayn.js → reference-qa3qhgw8.js} +4 -4
- package/dist/chunks/{schema-nhzfetse.js → reference-qapy5d55.js} +13 -13
- package/dist/chunks/{schema-bvbtfhva.js → reference-qjy48y5a.js} +9 -9
- package/dist/chunks/{schema-r2m716tb.js → reference-qmqgtz8f.js} +9 -9
- package/dist/chunks/{schema-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-pvxscb8w.js → reference-qz5yzqrb.js} +1 -1
- package/dist/chunks/{schema-rttzrg3r.js → reference-r44petzp.js} +12 -12
- package/dist/chunks/{schema-e98kd4sq.js → reference-r9zdjfxd.js} +29 -29
- package/dist/chunks/{schema-e3gj9zxp.js → reference-rarzp9d6.js} +42 -42
- package/dist/chunks/{schema-hj5fbf02.js → reference-rcz0qr92.js} +9 -9
- package/dist/chunks/{schema-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-rhjbct0v.js → reference-rhjbct0v.js} +1 -1
- package/dist/chunks/{schema-rhms3hdd.js → reference-rt8ggq5v.js} +19 -19
- package/dist/chunks/{schema-wrqwmc22.js → reference-rvwrtnmj.js} +36 -36
- package/dist/chunks/{schema-tg9q7e94.js → reference-rx5v959s.js} +48 -48
- package/dist/chunks/{schema-zw122828.js → reference-s489hxh6.js} +39 -39
- package/dist/chunks/{schema-espr1ah5.js → reference-s48prvxc.js} +5 -5
- package/dist/chunks/{schema-71v7metp.js → reference-s8262drx.js} +18 -18
- package/dist/chunks/{schema-c8k34h4t.js → reference-sexz0h36.js} +19 -19
- package/dist/chunks/{schema-aff3a7hd.js → reference-sfq2mayw.js} +13 -13
- package/dist/chunks/{schema-m761qzqs.js → reference-sjcrvc3z.js} +15 -15
- package/dist/chunks/{schema-ayx7vafe.js → reference-smgnyfxh.js} +330 -330
- package/dist/chunks/{schema-7gewva0j.js → reference-t52a3v9d.js} +3 -3
- package/dist/chunks/{schema-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tjedn1bk.js → reference-tbmac1c7.js} +4 -4
- package/dist/chunks/{schema-0brrbz7a.js → reference-tbv9z12t.js} +14 -14
- package/dist/chunks/{schema-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-an2v7pwn.js → reference-td76xh55.js} +4 -4
- package/dist/chunks/{schema-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{schema-0jm58kyp.js → reference-tedbzwbh.js} +9 -9
- package/dist/chunks/{schema-f7m4gqsr.js → reference-tgjyt6x8.js} +31 -31
- package/dist/chunks/{schema-y5k41zqf.js → reference-vaaeps5c.js} +10 -10
- package/dist/chunks/{schema-2aajs87z.js → reference-vaws9nke.js} +26 -26
- package/dist/chunks/{schema-dr6jkw1e.js → reference-vbdbrvqk.js} +35 -35
- package/dist/chunks/{schema-55m450pe.js → reference-vcyfbsct.js} +11 -11
- package/dist/chunks/{schema-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-fjb35128.js → reference-vh4dbhj0.js} +41 -41
- package/dist/chunks/{schema-cnnankxx.js → reference-vhtvrbyw.js} +10 -10
- package/dist/chunks/{schema-c81ezzqg.js → reference-vkp904sp.js} +16 -16
- package/dist/chunks/{schema-3rjzkyns.js → reference-vqkrcv5y.js} +16 -16
- package/dist/chunks/{schema-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-w39jehkq.js → reference-w2h15q85.js} +5 -5
- package/dist/chunks/{schema-tqk33c0s.js → reference-w36x1trb.js} +3 -3
- package/dist/chunks/{schema-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-0tjvnj70.js → reference-w9z1evgj.js} +6 -6
- package/dist/chunks/{schema-sbdntvmw.js → reference-wadaxy67.js} +28 -28
- package/dist/chunks/{schema-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{schema-pt6d7ckw.js → reference-wf5a3he0.js} +11 -11
- package/dist/chunks/{schema-rhxwzm2w.js → reference-x6xjy9sr.js} +32 -32
- package/dist/chunks/{schema-bv266yyp.js → reference-xasgz6m5.js} +7 -7
- package/dist/chunks/{schema-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
- package/dist/chunks/{schema-6xg4x7p4.js → reference-xkwk6fd6.js} +22 -22
- package/dist/chunks/{schema-cjw2sxyz.js → reference-xwjbp7xw.js} +56 -56
- package/dist/chunks/{schema-bw8pdnvy.js → reference-xwz313q0.js} +23 -23
- package/dist/chunks/{schema-qxjc9qry.js → reference-xyafkbt0.js} +3 -3
- package/dist/chunks/{schema-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-15h6fegf.js → reference-y1pgr5ms.js} +13 -13
- package/dist/chunks/{schema-shny27f7.js → reference-yc4mm6dw.js} +38 -38
- package/dist/chunks/{schema-mt9f3aka.js → reference-ydm7tw01.js} +27 -27
- package/dist/chunks/{schema-x68tzkrm.js → reference-yeezw0cj.js} +11 -11
- package/dist/chunks/{schema-gtmvshrw.js → reference-yn6nbke9.js} +11 -11
- package/dist/chunks/{schema-1acjjqhc.js → reference-yp2x3t23.js} +4 -4
- package/dist/chunks/{schema-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-ga0tfepk.js → reference-z493x013.js} +6 -6
- package/dist/chunks/{schema-gj71zhbs.js → reference-z6c3x22d.js} +5 -5
- package/dist/chunks/{schema-pgb4114y.js → reference-z6sqrxtq.js} +6 -6
- package/dist/chunks/{schema-kp7w4w0c.js → reference-z91awrxv.js} +20 -20
- package/dist/chunks/{schema-qsmpxerm.js → reference-zcatgnda.js} +12 -12
- package/dist/chunks/{schema-yk5nserk.js → reference-zn5p4xjj.js} +4 -4
- package/dist/chunks/{schema-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-z71avzk1.js → reference-zwc3pnar.js} +25 -25
- package/dist/chunks/{schema-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-b3f8fkhc.js → reference-zyk1yjk8.js} +5 -5
- package/dist/chunks/{schema-4ytb3748.js → reference-zzrgx2qg.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +77 -77
- 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 +116 -116
- 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 +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +1 -1
- 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 +107 -107
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +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 +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/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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- 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 +115 -115
- 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 +74 -74
- 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 +345 -345
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +133 -133
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +224 -224
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- 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 +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- 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 +209 -209
- 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 +130 -130
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- 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 +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +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 +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/schema-35668my4.js +0 -26
- package/dist/chunks/schema-dxj72tfx.js +0 -18
- package/dist/chunks/schema-ywtmtjc3.js +0 -253
- /package/dist/chunks/{schema-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./reference-tbv9z12t.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-h2tzc275.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin33,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin33 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin33, exports_hg };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-c20khjev.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./reference-1xxd6k95.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./reference-qa3qhgw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info17
|
|
15
|
+
} from "./reference-w2h15q85.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info15
|
|
21
|
+
} from "./reference-z6c3x22d.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-zn5p4xjj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info15, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./reference-r9zdjfxd.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service76;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./reference-b5hvc6g6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./reference-k8r11mjf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service83;
|
|
24
|
+
const wellknown = yield* Service66;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin36 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin49, exports_plugin };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service56,
|
|
12
|
+
node59
|
|
13
|
+
} from "./reference-7mnt2941.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions2 = {};
|
|
20
|
+
__export(exports_instructions2, {
|
|
21
|
+
Service: () => Service28,
|
|
22
|
+
SkillInstructions: () => exports_instructions2,
|
|
23
|
+
node: () => node32
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID7,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service28 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service56;
|
|
67
|
+
return Service28.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make20({
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node59] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service28, node32, exports_instructions2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./reference-r44petzp.js";
|
|
11
|
+
import {
|
|
8
12
|
Service79,
|
|
9
13
|
node83
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service77,
|
|
13
|
-
node81
|
|
14
|
-
} from "./schema-0brrbz7a.js";
|
|
14
|
+
} from "./reference-tbv9z12t.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service38,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service38 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node41 = makeLocationNode({
|
|
144
|
+
service: Service38,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service38, node41, noopLayer2, exports_snapshot2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./reference-4mwpykj0.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./reference-bgjpcfh1.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service43;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-b5hvc6g6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./reference-tbv9z12t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service72,
|
|
12
|
+
node75
|
|
13
|
+
} from "./reference-mzw9gwxy.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-brt5an88.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service58,
|
|
19
|
+
node61
|
|
20
|
+
} from "./reference-5cqz128n.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node62
|
|
27
|
+
} from "./reference-8zs2xvcx.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service60,
|
|
30
|
+
node63
|
|
31
|
+
} from "./reference-8mbscqky.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./reference-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event9,
|
|
46
|
+
ID: () => ID8,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
|
-
Permission: () =>
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service57,
|
|
55
55
|
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node60
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID8 = Permission.ID;
|
|
68
68
|
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID8,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID8,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID8
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service57 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service72;
|
|
134
|
+
const sessions = yield* Service58;
|
|
135
|
+
const saved = yield* Service59;
|
|
136
|
+
const hooks = yield* Service60;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID8.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID8.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service57.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node60 = makeLocationNode({
|
|
303
|
+
service: Service57,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node83, node75, node61, node62, node63]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID8, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service57, node60, exports_permission, Rule2, Ruleset2, Event9 };
|