@opencode/core 0.0.0-beta-19419 → 0.0.0-beta-19422
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{mime-4zrw1ey2.js → pty-074gn8c1.js} +2 -2
- package/dist/chunks/{mime-depwzj9d.js → pty-0996nyz8.js} +9 -9
- package/dist/chunks/{mime-3znnwrk0.js → pty-09ms4exh.js} +25 -25
- package/dist/chunks/{mime-d4mfdrq6.js → pty-0a1gtahz.js} +41 -41
- package/dist/chunks/{mime-qfzde7bh.js → pty-0bps82y7.js} +6 -6
- package/dist/chunks/{mime-7y4hfxng.js → pty-0cgfpp4r.js} +10 -10
- package/dist/chunks/{mime-8sjdtssw.js → pty-0dydqtd7.js} +26 -26
- package/dist/chunks/{mime-wk6ejfve.js → pty-0egdkte1.js} +83 -83
- package/dist/chunks/{mime-7jpcrm6h.js → pty-0gvt7rgj.js} +8 -8
- package/dist/chunks/{mime-av3fccqd.js → pty-0jqc4bxs.js} +6 -6
- package/dist/chunks/{mime-p457xpe5.js → pty-0mak23yj.js} +22 -22
- package/dist/chunks/{mime-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-y9rm29sj.js → pty-0q0rgwg5.js} +13 -13
- package/dist/chunks/{mime-5prtz2zp.js → pty-0s7p0jdy.js} +32 -32
- package/dist/chunks/{mime-raesbxmz.js → pty-0sw24r53.js} +17 -17
- package/dist/chunks/{mime-ph4vew0r.js → pty-0zs7y9px.js} +20 -20
- package/dist/chunks/{mime-aq3m41mm.js → pty-10a65abh.js} +4 -4
- package/dist/chunks/{mime-0egdssbc.js → pty-118zhgj2.js} +41 -41
- package/dist/chunks/{mime-f2n192rq.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-1bbkgx8g.js → pty-1bbkgx8g.js} +1 -1
- package/dist/chunks/{mime-ftp331h4.js → pty-1cept2jt.js} +35 -35
- package/dist/chunks/{mime-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-1eyaby9q.js → pty-1eyaby9q.js} +2 -2
- package/dist/chunks/{mime-8cd2h94e.js → pty-1hptgsqz.js} +11 -11
- package/dist/chunks/{mime-28555vz3.js → pty-1hvj6sc5.js} +30 -30
- package/dist/chunks/{mime-jc28ky3p.js → pty-1j4evvde.js} +23 -23
- package/dist/chunks/{mime-ks5zvpf5.js → pty-1p5bxmfk.js} +17 -17
- package/dist/chunks/{mime-x2xrmj38.js → pty-1pqaee8n.js} +7 -7
- package/dist/chunks/{mime-g95x1rp7.js → pty-1syfdjz1.js} +33 -33
- package/dist/chunks/{mime-8dgc1ynf.js → pty-1vccm05t.js} +43 -43
- package/dist/chunks/{mime-y4bv9z8t.js → pty-1yd1r7d9.js} +9 -9
- package/dist/chunks/{mime-1ygqh575.js → pty-1ygqh575.js} +2 -2
- package/dist/chunks/{mime-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{mime-7sek35zn.js → pty-21rtx38p.js} +32 -32
- package/dist/chunks/{mime-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-p20t4hgc.js → pty-24p38q2n.js} +4 -4
- package/dist/chunks/{mime-a1zt0rvf.js → pty-25xantg0.js} +23 -23
- package/dist/chunks/{mime-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-xxynqx5z.js → pty-2f04pwep.js} +3 -3
- package/dist/chunks/{mime-3amprz0f.js → pty-2tfmgkzg.js} +4 -4
- package/dist/chunks/{mime-8ryk0bb9.js → pty-2vgzs72b.js} +5 -5
- package/dist/chunks/{mime-xbektcpe.js → pty-36mqef8b.js} +6 -6
- package/dist/chunks/{mime-bwqere5e.js → pty-3806s53b.js} +36 -36
- package/dist/chunks/{mime-4ecwqft3.js → pty-3ez202fs.js} +85 -85
- package/dist/chunks/{mime-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-eq67g8tv.js → pty-3re90bff.js} +26 -26
- package/dist/chunks/{mime-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-y6r7tp3a.js → pty-3t5j4r89.js} +3 -3
- package/dist/chunks/{mime-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-3wvc1ncp.js → pty-3yjn18yr.js} +26 -26
- package/dist/chunks/{mime-2evyaa68.js → pty-3ythc6yv.js} +4 -4
- package/dist/chunks/{mime-fcnjm40w.js → pty-40t0jw83.js} +161 -161
- package/dist/chunks/{mime-jrrn2k62.js → pty-46x4mgr1.js} +4 -4
- package/dist/chunks/{mime-e09f1gvr.js → pty-47rhjnbj.js} +10 -10
- package/dist/chunks/{mime-xqxzstc2.js → pty-4bx7125q.js} +16 -16
- package/dist/chunks/{mime-trnmv04k.js → pty-4g19d5n9.js} +7 -7
- package/dist/chunks/{mime-ex105f0g.js → pty-4hs31730.js} +7 -7
- package/dist/chunks/{mime-bb9ege9n.js → pty-4kwjx591.js} +15 -15
- package/dist/chunks/{mime-mnf23ea4.js → pty-4p6varyr.js} +22 -22
- package/dist/chunks/{mime-sgfkh1bp.js → pty-4vfmzcq2.js} +4 -4
- package/dist/chunks/{mime-kj2znnrq.js → pty-4x28bm1w.js} +15 -15
- package/dist/chunks/{mime-n5kwx7gq.js → pty-520ygn4x.js} +4 -4
- package/dist/chunks/{mime-95wcbadv.js → pty-5bdfnctw.js} +3 -3
- package/dist/chunks/{mime-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{mime-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-b69s27a6.js → pty-5en82wpx.js} +2 -2
- package/dist/chunks/{mime-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-d9g4k2aw.js → pty-5wtnxghh.js} +6 -6
- package/dist/chunks/{mime-4ynsrnbk.js → pty-5xtr5t3c.js} +20 -20
- package/dist/chunks/{mime-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{mime-mjvjnw4h.js → pty-697x4nhd.js} +9 -9
- package/dist/chunks/{mime-5rgkh6ng.js → pty-69az8s64.js} +17 -17
- package/dist/chunks/{mime-6b2vme4h.js → pty-6f93rc7r.js} +2 -2
- package/dist/chunks/{mime-4xqs2w7b.js → pty-6kpj1tx7.js} +16 -16
- package/dist/chunks/{mime-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-5nsrms9d.js → pty-710w2ech.js} +1 -1
- package/dist/chunks/{mime-jj4txyk5.js → pty-71amxv98.js} +41 -41
- package/dist/chunks/{mime-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{mime-vqm5846v.js → pty-74b9qssb.js} +20 -20
- package/dist/chunks/{mime-fpgqbm61.js → pty-7axzvjgy.js} +21 -21
- package/dist/chunks/{mime-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{mime-dbt2jb7m.js → pty-7j3yyt51.js} +16 -16
- package/dist/chunks/{mime-ebc8jb1d.js → pty-7xwree33.js} +14 -14
- package/dist/chunks/{mime-806j49yq.js → pty-806j49yq.js} +1 -1
- package/dist/chunks/{mime-rwgm3mzx.js → pty-80kf8gxa.js} +9 -9
- package/dist/chunks/{mime-rk0rec3h.js → pty-81swgkk7.js} +9 -9
- package/dist/chunks/{mime-ez804y10.js → pty-89av3hdm.js} +12 -12
- package/dist/chunks/{mime-0q38mt5t.js → pty-8adgct9d.js} +5 -5
- package/dist/chunks/{mime-r8h10sqf.js → pty-8c67r9ne.js} +12 -12
- package/dist/chunks/{mime-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-vsp1fds9.js → pty-8hmgw1ak.js} +21 -21
- package/dist/chunks/{mime-263cr94x.js → pty-8n66hw90.js} +37 -37
- package/dist/chunks/{mime-11zr91fq.js → pty-8n7wwas9.js} +24 -24
- package/dist/chunks/{mime-zxwpk2nb.js → pty-8qk9tw02.js} +1 -1
- package/dist/chunks/{mime-caw866h7.js → pty-8xttkpaf.js} +11 -11
- package/dist/chunks/{mime-2gcap31n.js → pty-98hm5tys.js} +50 -50
- package/dist/chunks/{mime-0bgf9fe6.js → pty-9b10rcng.js} +24 -24
- package/dist/chunks/{mime-c7ecgrk6.js → pty-9qn3qky1.js} +8 -8
- package/dist/chunks/{mime-ptx1re91.js → pty-9qzqnsj5.js} +11 -11
- package/dist/chunks/{mime-a5gt7g2r.js → pty-a5gt7g2r.js} +2 -2
- package/dist/chunks/{mime-4mkcvr19.js → pty-a9ab9jmj.js} +5 -5
- package/dist/chunks/{mime-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-6e5hn325.js → pty-ayp837g2.js} +25 -25
- package/dist/chunks/{mime-e7ps77ar.js → pty-b0anzbtp.js} +16 -16
- package/dist/chunks/{mime-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-23sxaqwc.js → pty-bdqrk2vk.js} +6 -6
- package/dist/chunks/{mime-emts032f.js → pty-bkj6dszq.js} +19 -19
- package/dist/chunks/{mime-2q41p91w.js → pty-bmn9pzgf.js} +12 -12
- package/dist/chunks/{mime-trt080zq.js → pty-c2wghy26.js} +11 -11
- package/dist/chunks/{mime-gx2yqbrf.js → pty-c3grgfa4.js} +12 -12
- package/dist/chunks/{mime-7xdwve5v.js → pty-c4rpq3bt.js} +3 -3
- package/dist/chunks/{mime-y2vyg5am.js → pty-cff1m34y.js} +9 -9
- package/dist/chunks/{mime-d414zwqj.js → pty-ckrdk9yx.js} +4 -4
- package/dist/chunks/{mime-3mp8pt0x.js → pty-cq2rc4ba.js} +12 -12
- package/dist/chunks/{mime-wbkyxrgf.js → pty-d1khqved.js} +5 -5
- package/dist/chunks/{mime-9pm6y0s1.js → pty-dc76j9wz.js} +8 -8
- package/dist/chunks/{mime-yndz2tmv.js → pty-dda9r64d.js} +11 -11
- package/dist/chunks/{mime-gst7axd9.js → pty-dhmh7aw6.js} +4 -4
- package/dist/chunks/{mime-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{mime-5xtgfte3.js → pty-dv1qgsyq.js} +8 -8
- package/dist/chunks/{mime-eewpk6jb.js → pty-e1vr1ezn.js} +8 -8
- package/dist/chunks/{mime-n5xbayh6.js → pty-e6shh598.js} +16 -16
- package/dist/chunks/{mime-af04s6ss.js → pty-ead3g9p8.js} +5 -5
- package/dist/chunks/{mime-02a7j1yb.js → pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{mime-0n9gyfew.js → pty-edbbhmy9.js} +4 -4
- package/dist/chunks/{mime-pcfbqvzv.js → pty-egz44y69.js} +18 -18
- package/dist/chunks/{mime-tw1xqvj0.js → pty-ek89c1t4.js} +15 -15
- package/dist/chunks/{mime-yvmq8qxx.js → pty-esam66tc.js} +12 -12
- package/dist/chunks/{mime-q8yqvf1x.js → pty-esy06pf9.js} +46 -46
- package/dist/chunks/{mime-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-qtz3a6jv.js → pty-evwc8rkj.js} +18 -18
- package/dist/chunks/{mime-1pp8xbfm.js → pty-f37g46dm.js} +30 -30
- package/dist/chunks/{mime-ym5c4crg.js → pty-f40p4esb.js} +25 -25
- package/dist/chunks/pty-f4wpvzrh.js +247 -0
- package/dist/chunks/{mime-v9c0yk75.js → pty-f8pbz4jd.js} +16 -16
- package/dist/chunks/{mime-39cv1g88.js → pty-f9adwtm7.js} +4 -4
- package/dist/chunks/{mime-jhetwysa.js → pty-fa0cr6zp.js} +3 -3
- package/dist/chunks/{mime-1wxb385z.js → pty-ffx4mq6v.js} +1 -1
- package/dist/chunks/{mime-pnv527nz.js → pty-fhs97t90.js} +9 -9
- package/dist/chunks/{mime-zrw1v1rz.js → pty-fmkfbeq2.js} +30 -30
- package/dist/chunks/{mime-x3f1r9fb.js → pty-fnaehh3j.js} +46 -46
- package/dist/chunks/{mime-23pqda6t.js → pty-fvanntqq.js} +6 -6
- package/dist/chunks/{mime-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/pty-fy0kqqt2.js +22 -0
- package/dist/chunks/{mime-h7f00xnw.js → pty-g0eh8qf4.js} +15 -15
- package/dist/chunks/{mime-gpfpyv44.js → pty-g5pz3fvh.js} +25 -25
- package/dist/chunks/{mime-5zwz8q23.js → pty-gad8dwyr.js} +13 -13
- package/dist/chunks/{mime-qzrpvtg4.js → pty-gbaa2wnh.js} +26 -26
- package/dist/chunks/{mime-2t5kqt1k.js → pty-gc1qnngx.js} +1 -1
- package/dist/chunks/{mime-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-nhvhf6q8.js → pty-gj9xpvv3.js} +6 -6
- package/dist/chunks/{mime-j1tqpjge.js → pty-gs60z27v.js} +11 -11
- package/dist/chunks/{mime-1k4qyr7g.js → pty-gswf14xw.js} +20 -20
- package/dist/chunks/{mime-th5km1p3.js → pty-gv6a8nnw.js} +5 -5
- package/dist/chunks/{mime-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/pty-h47he10w.js +4 -0
- package/dist/chunks/{mime-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{mime-nrywpzpw.js → pty-hhcdszkw.js} +30 -30
- package/dist/chunks/{mime-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-0ddh214q.js → pty-jct9c584.js} +19 -19
- package/dist/chunks/{mime-q91m3jje.js → pty-jdnfkhzv.js} +24 -24
- package/dist/chunks/{mime-9cer4v2n.js → pty-jfpr744w.js} +20 -20
- package/dist/chunks/{mime-c3x6hdz3.js → pty-jjcsnrt3.js} +25 -25
- package/dist/chunks/{mime-v6wgkvby.js → pty-jtpgvawt.js} +16 -16
- package/dist/chunks/{mime-a8e6cjej.js → pty-jwjk5r35.js} +6 -6
- package/dist/chunks/{mime-988ynk0k.js → pty-jwqvw401.js} +3 -3
- package/dist/chunks/{mime-w49382pb.js → pty-jypjtz10.js} +8 -8
- package/dist/chunks/{mime-rqcbxq1a.js → pty-k0nnq3t9.js} +8 -8
- package/dist/chunks/{mime-jb0k481j.js → pty-k5wm7z2v.js} +13 -13
- package/dist/chunks/{mime-nwdm76cq.js → pty-ka7qgscn.js} +5 -5
- package/dist/chunks/{mime-4hg443tm.js → pty-kbm5dhv8.js} +17 -17
- package/dist/chunks/{mime-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{mime-3zf9b344.js → pty-kh3ehkc0.js} +4 -4
- package/dist/chunks/{mime-etxs3v4e.js → pty-kh47ysn5.js} +8 -8
- package/dist/chunks/{mime-zt7bfs1h.js → pty-kpg3dnpr.js} +17 -17
- package/dist/chunks/{mime-0e2sbrgk.js → pty-ks2km4ey.js} +25 -25
- package/dist/chunks/{mime-q5qz823n.js → pty-kvnd5f0t.js} +6 -6
- package/dist/chunks/{mime-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{mime-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-8zsmxnhb.js → pty-md7n9knh.js} +22 -22
- package/dist/chunks/{mime-13y3ez7k.js → pty-mkar22rr.js} +20 -20
- package/dist/chunks/{mime-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{mime-1rtd1a51.js → pty-mzz8vzet.js} +15 -15
- package/dist/chunks/{mime-nhy5jxhy.js → pty-nhy5jxhy.js} +1 -1
- package/dist/chunks/{mime-2f35vdk7.js → pty-ntqw7r1f.js} +10 -10
- package/dist/chunks/{mime-mtk5ndsr.js → pty-nttnax9e.js} +17 -18
- package/dist/chunks/{mime-en74w496.js → pty-p0cja4mf.js} +5 -5
- package/dist/chunks/{mime-xw855dvr.js → pty-p5270nfw.js} +2 -2
- package/dist/chunks/{mime-dhwr7h25.js → pty-p5czsp41.js} +11 -11
- package/dist/chunks/{mime-2gfgcbzh.js → pty-p72z5xx6.js} +2 -2
- package/dist/chunks/{mime-j935v87r.js → pty-paphc93g.js} +2 -2
- package/dist/chunks/{mime-z7rmcad6.js → pty-pbc3mjh9.js} +47 -47
- package/dist/chunks/{mime-db2vyhy0.js → pty-pjdb2e90.js} +42 -42
- package/dist/chunks/{mime-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{mime-jj93sfwh.js → pty-pqk2nt5r.js} +11 -11
- package/dist/chunks/{mime-wy6y1t1e.js → pty-pvmn2x7n.js} +11 -11
- package/dist/chunks/pty-q509s3k3.js +18 -0
- package/dist/chunks/{mime-pepxxxk4.js → pty-q94b1st6.js} +12 -12
- package/dist/chunks/{mime-gfffwwn8.js → pty-qads99dt.js} +7 -7
- package/dist/chunks/{mime-ksxmc9x1.js → pty-qajrhsjs.js} +19 -19
- package/dist/chunks/{mime-dw3qxs43.js → pty-qbmqvd4g.js} +18 -18
- package/dist/chunks/{mime-mr2v9wf4.js → pty-qhgcdxv6.js} +24 -24
- package/dist/chunks/{mime-xnx3yphe.js → pty-qppnhhc2.js} +17 -17
- package/dist/chunks/{mime-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-vac3gahf.js → pty-qvdq40c0.js} +7 -7
- package/dist/chunks/{mime-sgcz6c7m.js → pty-qvmkbn54.js} +6 -6
- package/dist/chunks/{mime-ve4pfa0n.js → pty-r98e92ep.js} +4 -4
- package/dist/chunks/{mime-t23qze4t.js → pty-rfnzy394.js} +1 -1
- package/dist/chunks/{mime-cjkcyj3g.js → pty-rj7dx2h5.js} +9 -9
- package/dist/chunks/{mime-awxqjzce.js → pty-ry3m58dy.js} +11 -11
- package/dist/chunks/{mime-g95z8t2a.js → pty-s198arwq.js} +59 -59
- package/dist/chunks/{mime-5qy0qq0f.js → pty-s5xwk3mk.js} +18 -18
- package/dist/chunks/{mime-t8mcaem5.js → pty-s7xtjryh.js} +1 -1
- package/dist/chunks/{mime-b33nk6kn.js → pty-s8s1e1cz.js} +22 -22
- package/dist/chunks/{mime-qas58w1m.js → pty-seak0fhn.js} +17 -17
- package/dist/chunks/{mime-raswn23k.js → pty-sfvqjyek.js} +4 -4
- package/dist/chunks/{mime-9sh3bnfq.js → pty-sfwr2w0j.js} +9 -9
- package/dist/chunks/{mime-nzwzy72p.js → pty-srpeewqc.js} +9 -9
- package/dist/chunks/{mime-fkgafzhm.js → pty-stse86ng.js} +11 -11
- package/dist/chunks/{mime-3jt9w4q0.js → pty-sw07yjb5.js} +10 -10
- package/dist/chunks/{mime-eff31b2h.js → pty-t3kscp9x.js} +36 -36
- package/dist/chunks/{mime-7wtyjh8h.js → pty-t7pp6j4t.js} +30 -30
- package/dist/chunks/{mime-vbedh2fb.js → pty-t97t2t7r.js} +11 -11
- package/dist/chunks/{mime-83x6p9kd.js → pty-t9e6e84n.js} +1 -1
- package/dist/chunks/{mime-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{mime-evbgk2k8.js → pty-tn0aqsam.js} +5 -5
- package/dist/chunks/{mime-g2bcegda.js → pty-tnznc2wb.js} +21 -21
- package/dist/chunks/{mime-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-6csgaxec.js → pty-twcs6fsf.js} +9 -9
- package/dist/chunks/{mime-m68nj7r9.js → pty-v29tykb6.js} +17 -17
- package/dist/chunks/{mime-w4ry6v67.js → pty-v4gcmn1h.js} +15 -15
- package/dist/chunks/{mime-zb35j76j.js → pty-v84jj1d3.js} +19 -19
- package/dist/chunks/{mime-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-xmvnw2y2.js → pty-vnnhbf40.js} +6 -6
- package/dist/chunks/{mime-v066hq9k.js → pty-vyy6b7xa.js} +20 -20
- package/dist/chunks/{mime-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-bccb6npm.js → pty-w1k39n5e.js} +4 -4
- package/dist/chunks/{mime-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-rqb94c9k.js → pty-wagd5xb7.js} +32 -32
- package/dist/chunks/{mime-0a8nx4x7.js → pty-wbck336m.js} +9 -9
- package/dist/chunks/{mime-xnxgv7d0.js → pty-wcvnc3wq.js} +24 -24
- package/dist/chunks/{mime-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{mime-ss0w00xq.js → pty-wfjxtpcj.js} +21 -21
- package/dist/chunks/{mime-pjbf9ctw.js → pty-whr1jkby.js} +20 -20
- package/dist/chunks/{mime-3tey5e4w.js → pty-wk58jv74.js} +10 -10
- package/dist/chunks/{mime-8azwg042.js → pty-wp4jr60n.js} +5 -5
- package/dist/chunks/{mime-ga6hqhxm.js → pty-wqkncbjv.js} +9 -9
- package/dist/chunks/{mime-ze5v0a14.js → pty-x0vzmp4x.js} +5 -5
- package/dist/chunks/{mime-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{mime-4qdk51ny.js → pty-xay24vqs.js} +41 -41
- package/dist/chunks/{mime-7krgh5xj.js → pty-xhcbj5xc.js} +11 -11
- package/dist/chunks/{mime-t63dq77n.js → pty-xz4tz1py.js} +289 -289
- package/dist/chunks/{mime-nvv6ksyw.js → pty-y09ge0g8.js} +11 -11
- package/dist/chunks/{mime-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{mime-bty5rg6y.js → pty-ydpc6wdy.js} +10 -10
- package/dist/chunks/{mime-k7jm4f84.js → pty-yhp80jsc.js} +13 -13
- package/dist/chunks/{mime-21x2v0p5.js → pty-yjq2qjwg.js} +30 -30
- package/dist/chunks/{mime-k62eh0b0.js → pty-yme990fg.js} +18 -18
- package/dist/chunks/{mime-5ps71a92.js → pty-yn742g3f.js} +20 -20
- package/dist/chunks/{mime-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-sqbb1ame.js → pty-z0wxwbgt.js} +56 -56
- package/dist/chunks/{mime-yteqj4qp.js → pty-z3pg8v1h.js} +11 -11
- package/dist/chunks/{mime-29x78va6.js → pty-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-wrph251t.js → pty-z7by1xyg.js} +30 -30
- package/dist/chunks/{mime-2h5epps5.js → pty-zd1mjem4.js} +9 -9
- package/dist/chunks/{mime-z10kvaap.js → pty-zdxpjn9v.js} +56 -56
- package/dist/chunks/{mime-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-pysvbzwn.js → pty-zt549x9j.js} +11 -11
- package/dist/chunks/{mime-gt0cxfk7.js → pty-zxgnc9zk.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +113 -113
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- 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 +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +99 -99
- package/dist/snapshot.js +82 -82
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/store.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/mime-ke91xv87.js +0 -22
- package/dist/chunks/mime-pf31ssb9.js +0 -18
- package/dist/chunks/mime-xrsqh21y.js +0 -4
- package/dist/chunks/mime-ycmhfh0q.js +0 -247
- /package/dist/chunks/{mime-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-ckrdk9yx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./pty-0sw24r53.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service74,
|
|
12
|
+
node79
|
|
13
|
+
} from "./pty-jdnfkhzv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./pty-wqkncbjv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node78
|
|
20
|
+
} from "./pty-nttnax9e.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node77
|
|
27
|
+
} from "./pty-qppnhhc2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node80
|
|
31
|
+
} from "./pty-dc76j9wz.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
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: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service71,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node76
|
|
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 Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
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 Service71 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service74;
|
|
134
|
+
const sessions = yield* Service73;
|
|
135
|
+
const saved = yield* Service72;
|
|
136
|
+
const hooks = yield* Service75;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError9({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID13.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service71.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node76 = makeLocationNode({
|
|
289
|
+
service: Service71,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84,
|
|
291
|
+
deps: [node84, node81, node79, node78, node77, node80]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service71, node76, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node54,
|
|
4
|
+
canonical3
|
|
5
|
+
} from "./pty-bmn9pzgf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service49,
|
|
8
|
+
node53
|
|
9
|
+
} from "./pty-0bps82y7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./pty-whr1jkby.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-f4wpvzrh.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service50, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service61).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -39,22 +39,22 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
39
39
|
}, { idleTimeToLive: Duration.infinity });
|
|
40
40
|
const map = {
|
|
41
41
|
...inner,
|
|
42
|
-
get: (ref) => inner.get(
|
|
43
|
-
contextEffect: (ref) => inner.contextEffect(
|
|
44
|
-
contextEffectOption: (ref) => inner.contextEffectOption(
|
|
42
|
+
get: (ref) => inner.get(canonical3(ref)),
|
|
43
|
+
contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
|
|
44
|
+
contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
|
|
45
45
|
invalidate: (ref) => Effect.suspend(() => {
|
|
46
|
-
const key =
|
|
46
|
+
const key = canonical3(ref);
|
|
47
47
|
const build = Option.getOrUndefined(MutableHashMap.get(builds, key));
|
|
48
48
|
MutableHashMap.remove(builds, key);
|
|
49
49
|
return inner.invalidate(key).pipe(Effect.andThen(build?.close ?? Effect.void));
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node53.replace(Layer.succeed(Service49, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node54.replace(Layer.succeed(Service50, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gs60z27v.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-ckrdk9yx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./pty-f37g46dm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-1hvj6sc5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9qn3qky1.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-4g19d5n9.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID12.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID12.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID12.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -169,11 +169,11 @@ var AzurePlugin2 = define({
|
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
172
|
-
yield* bus.subscribe(
|
|
172
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
173
173
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
174
|
-
if (evt.model.providerID !==
|
|
174
|
+
if (evt.model.providerID !== ID12.azure)
|
|
175
175
|
return;
|
|
176
|
-
const connection = yield* ctx.integration.connection.active(
|
|
176
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
177
177
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
178
178
|
return;
|
|
179
179
|
})) : undefined;
|
|
@@ -186,11 +186,11 @@ var AzurePlugin2 = define({
|
|
|
186
186
|
evt.request.headers.delete("x-api-key");
|
|
187
187
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
188
188
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
189
|
-
}), { providerID:
|
|
189
|
+
}), { providerID: ID12.azure });
|
|
190
190
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
191
191
|
if (evt.package !== "@ai-sdk/azure")
|
|
192
192
|
return;
|
|
193
|
-
if (evt.model.providerID ===
|
|
193
|
+
if (evt.model.providerID === ID12.azure) {
|
|
194
194
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
195
195
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
196
196
|
}
|
|
@@ -199,7 +199,7 @@ var AzurePlugin2 = define({
|
|
|
199
199
|
evt.sdk = mod.createAzure(evt.options);
|
|
200
200
|
}));
|
|
201
201
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
202
|
-
if (evt.model.providerID !==
|
|
202
|
+
if (evt.model.providerID !== ID12.azure)
|
|
203
203
|
return;
|
|
204
204
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
205
205
|
}));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-9qn3qky1.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./pty-esam66tc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
|
|
|
66
66
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
67
67
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
68
68
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
69
|
-
async function
|
|
69
|
+
async function get2(baseURL, headers, existing) {
|
|
70
70
|
const response = await fetch(`${baseURL}/models`, {
|
|
71
71
|
headers,
|
|
72
72
|
signal: AbortSignal.timeout(5000)
|
|
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID11.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info25.make({
|
|
115
|
+
...Info25.default(ID12.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID11.make(remote.id),
|
|
118
|
+
providerID: ID12.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -190,4 +190,4 @@ function variants(remote, messages) {
|
|
|
190
190
|
];
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { get2, exports_models };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-c3grgfa4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./pty-0bps82y7.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-q509s3k3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./pty-pbc3mjh9.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-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* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service39,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node43
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service39 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service39.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node43 = makeLocationNode({ service: Service39, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service39, node43, exports_image2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./pty-1vccm05t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service27
|
|
7
|
+
} from "./pty-wfjxtpcj.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin23
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin23 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service64;
|
|
27
|
+
const snapshot = yield* Service27;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin34 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin23, exports_snapshot };
|