@opencode/core 0.0.0-dev-20574 → 0.0.0-dev-20577
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-retention-tbe4vfsv.js → command-03xyy9gs.js} +11 -11
- package/dist/chunks/{file-retention-2cmv4prx.js → command-04jjrec1.js} +15 -15
- package/dist/chunks/{file-retention-4cq6ekdq.js → command-090p1w3a.js} +2 -2
- package/dist/chunks/{file-retention-v5xqqhk9.js → command-09e69a7b.js} +23 -23
- package/dist/chunks/{file-retention-qwrqq5be.js → command-0e74cksd.js} +8 -8
- package/dist/chunks/{file-retention-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-dm0afct9.js → command-0sqmrpn2.js} +32 -32
- package/dist/chunks/{file-retention-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-nnzbwe1c.js → command-0vsnxwjm.js} +1 -1
- package/dist/chunks/{file-retention-vw1pxqrh.js → command-0xf97k36.js} +11 -11
- package/dist/chunks/{file-retention-f7vbsmz3.js → command-0y86tmwb.js} +8 -8
- package/dist/chunks/{file-retention-jnx78pdv.js → command-117ga8q0.js} +25 -25
- package/dist/chunks/{file-retention-3wga580s.js → command-124e8td1.js} +13 -13
- package/dist/chunks/command-13dwg0c6.js +253 -0
- package/dist/chunks/{file-retention-p78wsmvm.js → command-14tdwscn.js} +17 -17
- package/dist/chunks/{file-retention-0vjy9swk.js → command-15nnh4s6.js} +3 -3
- package/dist/chunks/{file-retention-pvb1tgyf.js → command-18htcbrq.js} +9 -9
- package/dist/chunks/command-1d727dm9.js +507 -0
- package/dist/chunks/{file-retention-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-1dvck2a7.js → command-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-retention-vsv6kgcp.js → command-1n8tchc4.js} +15 -15
- package/dist/chunks/command-1x11rq2a.js +18 -0
- package/dist/chunks/{file-retention-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{file-retention-z2yservp.js → command-1ytwep67.js} +1 -1
- package/dist/chunks/{file-retention-dp7d2fdn.js → command-1zc1gz4g.js} +14 -14
- package/dist/chunks/{file-retention-375t9ctr.js → command-22qzwdfx.js} +11 -11
- package/dist/chunks/{file-retention-g8h4s9py.js → command-261teatt.js} +5 -5
- package/dist/chunks/{file-retention-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-a9j2r79z.js → command-2avtt150.js} +23 -23
- package/dist/chunks/{file-retention-5ykye0sw.js → command-2g0f3sn5.js} +24 -24
- package/dist/chunks/{file-retention-2wz3v08k.js → command-2rx8305r.js} +24 -24
- package/dist/chunks/{file-retention-2v1t43t7.js → command-2y035twn.js} +10 -10
- package/dist/chunks/{file-retention-1szktn86.js → command-2zqhm02j.js} +9 -9
- package/dist/chunks/{file-retention-5n3c8dqy.js → command-359sf8pg.js} +26 -26
- package/dist/chunks/{file-retention-q58edvkc.js → command-364yjtd9.js} +6 -6
- package/dist/chunks/{file-retention-d4zdj4k1.js → command-39yjv8hn.js} +41 -41
- package/dist/chunks/{file-retention-m0wjs088.js → command-3ac3enw2.js} +23 -23
- package/dist/chunks/{file-retention-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-xkepe22y.js → command-3haxx6pm.js} +23 -23
- package/dist/chunks/{file-retention-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-t80nve53.js → command-43krc4bk.js} +3 -3
- package/dist/chunks/{file-retention-gzxe17p4.js → command-43ya1ftk.js} +33 -33
- package/dist/chunks/{file-retention-319s4164.js → command-44wsf4p6.js} +8 -8
- package/dist/chunks/{file-retention-mj0s41ck.js → command-48cj2z6f.js} +15 -15
- package/dist/chunks/{file-retention-veyd67p8.js → command-4ampwn7w.js} +6 -6
- package/dist/chunks/{file-retention-m2wjhmzf.js → command-4gm9b3mc.js} +89 -89
- package/dist/chunks/{file-retention-fxtr5mc8.js → command-4m4650rm.js} +15 -15
- package/dist/chunks/{file-retention-2ccvkpx1.js → command-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-retention-v7z2bvyd.js → command-4v7ngy20.js} +4 -4
- package/dist/chunks/{file-retention-f4ea6fbw.js → command-4yhhdjvm.js} +16 -16
- package/dist/chunks/{file-retention-4wsngk0e.js → command-51rych25.js} +64 -64
- package/dist/chunks/{file-retention-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-qp9vg2jq.js → command-5pyjqqve.js} +2 -2
- package/dist/chunks/{file-retention-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-retention-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-7gmg37r4.js → command-5w6ne2rj.js} +11 -11
- package/dist/chunks/{file-retention-p37cw4rj.js → command-5yzzbxa7.js} +8 -8
- package/dist/chunks/{file-retention-pd3frt8f.js → command-6238m7q1.js} +3 -3
- package/dist/chunks/{file-retention-tr8p7823.js → command-62yts832.js} +28 -28
- package/dist/chunks/{file-retention-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-pvmde4fp.js → command-66c3eymz.js} +5 -5
- package/dist/chunks/{file-retention-w3x9v1nk.js → command-69j91c1q.js} +8 -8
- package/dist/chunks/{file-retention-50gqarwy.js → command-6etn2fpm.js} +15 -15
- package/dist/chunks/{file-retention-c1cwwd8w.js → command-6gwd6jt4.js} +3 -3
- package/dist/chunks/{file-retention-eq1mg9hk.js → command-6kz41x2h.js} +2 -2
- package/dist/chunks/{file-retention-gr0k9txt.js → command-6q6vmr50.js} +3 -3
- package/dist/chunks/{file-retention-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-71az546q.js → command-71az546q.js} +2 -2
- package/dist/chunks/{file-retention-p686mhj9.js → command-759ca8qw.js} +14 -14
- package/dist/chunks/{file-retention-cpneeje0.js → command-79qaa2kf.js} +9 -9
- package/dist/chunks/{file-retention-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-krg3ta3s.js → command-7pjv18ns.js} +8 -8
- package/dist/chunks/{file-retention-t0v7bfqb.js → command-7rbxqkgq.js} +32 -32
- package/dist/chunks/{file-retention-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-v8b0935d.js → command-873y03zv.js} +13 -13
- package/dist/chunks/{file-retention-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-xesmd8aj.js → command-8fgecypx.js} +9 -9
- package/dist/chunks/{file-retention-z9jgckgc.js → command-8htcd2rv.js} +25 -25
- package/dist/chunks/{file-retention-fm2qvscf.js → command-8rqycdgd.js} +7 -7
- package/dist/chunks/{file-retention-k11a9bb6.js → command-930nf9me.js} +21 -21
- package/dist/chunks/{file-retention-sd5f6jdk.js → command-93ygb5af.js} +6 -6
- package/dist/chunks/{file-retention-m3jsamem.js → command-9898pk67.js} +19 -19
- package/dist/chunks/{file-retention-9e5bzkjp.js → command-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-retention-915xkp7h.js → command-9fn597ry.js} +11 -11
- package/dist/chunks/{file-retention-e053pdg9.js → command-9kr67f7m.js} +36 -36
- package/dist/chunks/{file-retention-41f99y6m.js → command-9p61zhgr.js} +13 -13
- package/dist/chunks/{file-retention-268p1yhm.js → command-9xs2qmrx.js} +13 -13
- package/dist/chunks/{file-retention-1hs5gw21.js → command-a03229d4.js} +14 -14
- package/dist/chunks/{file-retention-eq1pz5kg.js → command-a1gpj94z.js} +3 -3
- package/dist/chunks/{file-retention-stsn5t8w.js → command-a2ccr785.js} +16 -16
- package/dist/chunks/{file-retention-848ay80d.js → command-a2w70vx4.js} +12 -12
- package/dist/chunks/{file-retention-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-hg0myvjy.js → command-aaz61dev.js} +28 -28
- package/dist/chunks/{file-retention-addxnjmp.js → command-addxnjmp.js} +1 -1
- package/dist/chunks/{file-retention-rpg9c19m.js → command-afdssyjb.js} +4 -4
- package/dist/chunks/{file-retention-hjqkwgk2.js → command-agq9zd11.js} +17 -17
- package/dist/chunks/{file-retention-ngzfrjhk.js → command-b1enpsaa.js} +20 -20
- package/dist/chunks/{file-retention-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-mvns82mh.js → command-b9xnfexb.js} +1 -1
- package/dist/chunks/command-bb7jf4d3.js +26 -0
- package/dist/chunks/{file-retention-33166y9b.js → command-bgtt2kw4.js} +26 -26
- package/dist/chunks/{file-retention-mfzhreb2.js → command-bkwxdpdb.js} +11 -11
- package/dist/chunks/{file-retention-yrd2sane.js → command-bsprd9wx.js} +7 -7
- package/dist/chunks/{file-retention-qqrjxc2w.js → command-c2qavkps.js} +12 -12
- package/dist/chunks/{file-retention-13wr99d4.js → command-cb72tr97.js} +27 -27
- package/dist/chunks/{file-retention-yg48zpvb.js → command-cb8p8a9z.js} +9 -9
- package/dist/chunks/{file-retention-ma0f636y.js → command-cg85h34c.js} +14 -9
- package/dist/chunks/{file-retention-hzwpgbhq.js → command-ck8npcm5.js} +11 -11
- package/dist/chunks/{file-retention-enqpvmpb.js → command-cmkc9sfw.js} +33 -33
- package/dist/chunks/{file-retention-f3fpyva3.js → command-denjr0qg.js} +1 -1
- package/dist/chunks/{file-retention-fwdg1fxj.js → command-dfajfnkg.js} +32 -32
- package/dist/chunks/{file-retention-ea4zmnh0.js → command-dm4vbrvx.js} +2 -2
- package/dist/chunks/{file-retention-r2qmqz0p.js → command-dm5ssyfm.js} +39 -39
- package/dist/chunks/{file-retention-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-vazhwx36.js → command-dssbfrwz.js} +5 -5
- package/dist/chunks/{file-retention-54rek375.js → command-e3ecsdy8.js} +22 -22
- package/dist/chunks/{file-retention-2196dttv.js → command-e55nq1dx.js} +21 -21
- package/dist/chunks/{file-retention-x5n5s6zj.js → command-edajgpnh.js} +16 -16
- package/dist/chunks/{file-retention-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-2n1dscnb.js → command-ehq1cete.js} +3 -3
- package/dist/chunks/{file-retention-k70p9jzb.js → command-en9mxp96.js} +9 -9
- package/dist/chunks/{file-retention-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-mw1bpke0.js → command-evpm7vcg.js} +31 -31
- package/dist/chunks/{file-retention-wgka6yms.js → command-f18tyt2v.js} +11 -11
- package/dist/chunks/{file-retention-2nxxjbx2.js → command-f2hjv5fy.js} +8 -8
- package/dist/chunks/{file-retention-1ncsypj2.js → command-f3e4f3ew.js} +15 -15
- package/dist/chunks/{file-retention-fhz5gfgy.js → command-f62qkzqr.js} +5 -5
- package/dist/chunks/{file-retention-amxv2bkz.js → command-fkscjsp5.js} +11 -11
- package/dist/chunks/{file-retention-87ec1t8q.js → command-fp6k91eh.js} +31 -31
- package/dist/chunks/{file-retention-v0es1rhs.js → command-fpecnkgp.js} +9 -9
- package/dist/chunks/{file-retention-ajjrsc3c.js → command-g53c9fq7.js} +1 -1
- package/dist/chunks/{file-retention-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-vqr6g7p3.js → command-gh22p3be.js} +27 -27
- package/dist/chunks/{file-retention-7nd1w80t.js → command-gh3sjhhn.js} +14 -14
- package/dist/chunks/{file-retention-y2f4f8ve.js → command-gpygzsz4.js} +15 -15
- package/dist/chunks/{file-retention-a1095nc3.js → command-gq98prpa.js} +13 -13
- package/dist/chunks/{file-retention-c27esgm9.js → command-gs3s1a1g.js} +8 -8
- package/dist/chunks/{file-retention-h2b79v29.js → command-h2b79v29.js} +2 -2
- package/dist/chunks/{file-retention-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-kzxyyqqs.js → command-h9hcchbf.js} +80 -80
- package/dist/chunks/{file-retention-kkszqkca.js → command-h9rj7vgp.js} +11 -11
- package/dist/chunks/{file-retention-96xkdgy7.js → command-hbj68pgm.js} +39 -39
- package/dist/chunks/{file-retention-yeg9yvqq.js → command-hbqne9jm.js} +48 -48
- package/dist/chunks/{file-retention-zy3hk2a4.js → command-hdy9dvcx.js} +4 -4
- package/dist/chunks/{file-retention-e3dcjyq4.js → command-hndmfkfz.js} +10 -10
- package/dist/chunks/{file-retention-kbrxqvty.js → command-hphxefgw.js} +10 -10
- package/dist/chunks/{file-retention-rat4bpn3.js → command-hwc5fhjs.js} +35 -35
- package/dist/chunks/{file-retention-zrpzfdax.js → command-j0gyfj28.js} +21 -21
- package/dist/chunks/{file-retention-fyjp43ss.js → command-j34dxvpb.js} +5 -5
- package/dist/chunks/{file-retention-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-xpj445q7.js → command-j6zg015w.js} +34 -34
- package/dist/chunks/{file-retention-gy0h6dkp.js → command-j74e336s.js} +13 -13
- package/dist/chunks/{file-retention-ywae51ae.js → command-jaa0b0hs.js} +17 -17
- package/dist/chunks/{file-retention-ax0xj8rw.js → command-jb4r1kxp.js} +14 -14
- package/dist/chunks/{file-retention-1k9vww9s.js → command-jfvphnye.js} +12 -12
- package/dist/chunks/{file-retention-6efb5sa0.js → command-jkwx8shz.js} +8 -8
- package/dist/chunks/{file-retention-krk958qj.js → command-jsf24svj.js} +41 -41
- package/dist/chunks/{file-retention-dzz4avzz.js → command-jyrncrt6.js} +20 -20
- package/dist/chunks/{file-retention-n9k80d2m.js → command-k1qrnqst.js} +8 -8
- package/dist/chunks/{file-retention-wv99ph99.js → command-k2srk8cp.js} +3 -3
- package/dist/chunks/{file-retention-27yxxq2c.js → command-k5vew2r0.js} +20 -20
- package/dist/chunks/{file-retention-697fm79x.js → command-kb6vbnxp.js} +4 -4
- package/dist/chunks/{file-retention-b1jpbdrv.js → command-kenkf5s7.js} +53 -53
- package/dist/chunks/{file-retention-8sngbae2.js → command-kfmjg78y.js} +4 -4
- package/dist/chunks/{file-retention-8nqvxmhp.js → command-kp93eabn.js} +15 -15
- package/dist/chunks/{file-retention-xeng5h15.js → command-krz37b5z.js} +55 -55
- package/dist/chunks/{file-retention-732xvhct.js → command-kt2w57dr.js} +17 -17
- package/dist/chunks/{file-retention-9gvqmzxk.js → command-kz5zsevx.js} +12 -12
- package/dist/chunks/{file-retention-ypbz4tzh.js → command-m0kkpct9.js} +3 -3
- package/dist/chunks/{file-retention-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-rxwegcwa.js → command-m9bwhd6g.js} +24 -24
- package/dist/chunks/{file-retention-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-5ae5pymj.js → command-mac87736.js} +8 -8
- package/dist/chunks/{file-retention-zmphxn8h.js → command-max5zner.js} +30 -30
- package/dist/chunks/{file-retention-5mra6jzn.js → command-mj9cksj0.js} +16 -16
- package/dist/chunks/{file-retention-6sr3ve8g.js → command-mjymc32g.js} +21 -21
- package/dist/chunks/{file-retention-rnyw8s47.js → command-mq1114ms.js} +12 -12
- package/dist/chunks/{file-retention-3397p42w.js → command-mydvvph4.js} +19 -19
- package/dist/chunks/{file-retention-2wj8n25z.js → command-n0pywpq4.js} +6 -6
- package/dist/chunks/{file-retention-kc9s2bvd.js → command-n71h44cm.js} +17 -17
- package/dist/chunks/{file-retention-h5w29vws.js → command-ncnm8wen.js} +1 -1
- package/dist/chunks/{file-retention-9jgrbctr.js → command-nf8njrqz.js} +13 -13
- package/dist/chunks/{file-retention-95833ddw.js → command-nz49q0p3.js} +13 -13
- package/dist/chunks/{file-retention-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-py3kkmfq.js → command-py3kkmfq.js} +2 -2
- package/dist/chunks/{file-retention-vgmzs5ge.js → command-pz4bzxx2.js} +13 -13
- package/dist/chunks/{file-retention-0j77ygfz.js → command-q0xm7vwc.js} +6 -6
- package/dist/chunks/{file-retention-pm9geeax.js → command-q1dr63v1.js} +9 -9
- package/dist/chunks/{file-retention-zfaa1m6t.js → command-q36shhmj.js} +16 -16
- package/dist/chunks/{file-retention-7dd7hteq.js → command-q43fwr5x.js} +13 -13
- package/dist/chunks/{file-retention-mek16e5d.js → command-q8ejgrh7.js} +11 -11
- package/dist/chunks/{file-retention-ttgz6xng.js → command-qfaf6res.js} +12 -12
- package/dist/chunks/{file-retention-1mxdpm3z.js → command-qgma0hvn.js} +8 -8
- package/dist/chunks/{file-retention-fcrkznn8.js → command-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-retention-z8fkwh97.js → command-qh49khd6.js} +6 -6
- package/dist/chunks/{file-retention-32mfgrc2.js → command-qkj8hkyk.js} +37 -37
- package/dist/chunks/{file-retention-6zjj7zaj.js → command-qkr42znk.js} +6 -6
- package/dist/chunks/{file-retention-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-dy8qh9xy.js → command-qp3v07n2.js} +5 -5
- package/dist/chunks/{file-retention-xf1w3e7t.js → command-qqdfvssg.js} +11 -11
- package/dist/chunks/{file-retention-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-xyafkbt0.js → command-qxjc9qry.js} +3 -3
- package/dist/chunks/{file-retention-3fdy5e26.js → command-r0wedrkd.js} +18 -18
- package/dist/chunks/{file-retention-rxgdtc18.js → command-r1g3ttfx.js} +30 -30
- package/dist/chunks/{file-retention-1acjjqhc.js → command-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-retention-57errdhv.js → command-r8ys1pjh.js} +2 -2
- package/dist/chunks/{file-retention-prq7hedt.js → command-r9w3djhf.js} +9 -9
- package/dist/chunks/{file-retention-gdzm1g2q.js → command-rawzh9f5.js} +37 -37
- package/dist/chunks/{file-retention-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-x953gtjm.js → command-rjq8wmvv.js} +12 -12
- package/dist/chunks/{file-retention-qh5zdhhs.js → command-rkrj05tv.js} +35 -35
- package/dist/chunks/{file-retention-9hb60gjr.js → command-rkrkq154.js} +3 -3
- package/dist/chunks/{file-retention-sxsav6rz.js → command-rscwbd1b.js} +18 -18
- package/dist/chunks/{file-retention-y65z2yc1.js → command-rt384jmm.js} +17 -17
- package/dist/chunks/{file-retention-3n34rj9j.js → command-ry3ffff2.js} +12 -12
- package/dist/chunks/{file-retention-tn2h520a.js → command-s1jqa0rv.js} +30 -30
- package/dist/chunks/{file-retention-3xnccdbj.js → command-s3qw8jyq.js} +18 -18
- package/dist/chunks/{file-retention-7ryscgg3.js → command-s4tt0pef.js} +3 -3
- package/dist/chunks/{file-retention-t785n9z2.js → command-s6grk335.js} +36 -36
- package/dist/chunks/{file-retention-t550f9t1.js → command-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-retention-rjbgsrgy.js → command-s9de47m6.js} +12 -12
- package/dist/chunks/{file-retention-awyx35h1.js → command-s9spdbfy.js} +20 -20
- package/dist/chunks/{file-retention-qygbw77c.js → command-scgrse2b.js} +5 -5
- package/dist/chunks/{file-retention-kzgjq6s9.js → command-sh0fsxwf.js} +11 -11
- package/dist/chunks/{file-retention-0e92md3a.js → command-srkatn7d.js} +28 -28
- package/dist/chunks/{file-retention-zp1mrdgp.js → command-swwzfrs7.js} +1 -1
- package/dist/chunks/{file-retention-6z3bvhcz.js → command-t18afxp3.js} +12 -12
- package/dist/chunks/{file-retention-qq827dyh.js → command-t2pgk753.js} +6 -6
- package/dist/chunks/{file-retention-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-g186129t.js → command-tet8e841.js} +4 -4
- package/dist/chunks/{file-retention-n3sbkf7y.js → command-tfrvwkgh.js} +10 -10
- package/dist/chunks/{file-retention-9b9xphtx.js → command-tgdgvz5m.js} +12 -12
- package/dist/chunks/{file-retention-y45w4r2r.js → command-tj3amwcq.js} +18 -18
- package/dist/chunks/{file-retention-ymkva6fh.js → command-tsjzc549.js} +26 -26
- package/dist/chunks/{file-retention-qd6mjxjn.js → command-v04mbsyc.js} +7 -7
- package/dist/chunks/{file-retention-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-2k71kv7p.js → command-vkfdnwpx.js} +4 -4
- package/dist/chunks/{file-retention-a1dpt3w1.js → command-vmmvzryc.js} +11 -11
- package/dist/chunks/{file-retention-y15vpdnr.js → command-vps92m75.js} +9 -9
- package/dist/chunks/{file-retention-wzxmb50y.js → command-vqjs8hv7.js} +15 -15
- package/dist/chunks/{file-retention-5epte933.js → command-vx3jgdek.js} +3 -3
- package/dist/chunks/{file-retention-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-fk670htj.js → command-w7620n11.js} +25 -25
- package/dist/chunks/{file-retention-7gvnq27t.js → command-w9czef0s.js} +7 -7
- package/dist/chunks/{file-retention-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-mvjs53cw.js → command-wmh05qp9.js} +41 -41
- package/dist/chunks/{file-retention-srdsxf88.js → command-wq97ata3.js} +31 -31
- package/dist/chunks/{file-retention-1wqgvv8c.js → command-xbvc458q.js} +8 -8
- package/dist/chunks/{file-retention-2r2pg6z6.js → command-xcng2btc.js} +5 -5
- package/dist/chunks/{file-retention-ezg6p8me.js → command-xeqfr83e.js} +23 -23
- package/dist/chunks/{file-retention-xfkkasph.js → command-xfkkasph.js} +1 -1
- package/dist/chunks/{file-retention-wp6kzx6e.js → command-xhvk1hh0.js} +4 -4
- package/dist/chunks/{file-retention-dmqcgk4z.js → command-xkntkrq7.js} +5 -5
- package/dist/chunks/{file-retention-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-2qmevabq.js → command-y6k2xs97.js} +1 -1
- package/dist/chunks/{file-retention-cdy3mprf.js → command-y6vx5mph.js} +45 -45
- package/dist/chunks/{file-retention-zmr78fwr.js → command-ygdna4kr.js} +5 -5
- package/dist/chunks/{file-retention-sqsf5w9p.js → command-yp6aabyp.js} +24 -24
- package/dist/chunks/{file-retention-7prahzjg.js → command-yr7n59b3.js} +9 -9
- package/dist/chunks/{file-retention-mewprhs7.js → command-ys3m2q03.js} +48 -48
- package/dist/chunks/{file-retention-7t7jzkqc.js → command-yvd9mjph.js} +21 -21
- package/dist/chunks/{file-retention-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-a7yy2md1.js → command-zeh40njd.js} +140 -140
- package/dist/chunks/{file-retention-2m8jawch.js → command-zfs8ae4p.js} +4 -4
- package/dist/chunks/{file-retention-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-5dkn69vz.js → command-zsr4wwhv.js} +4 -4
- package/dist/chunks/{file-retention-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-x9ehtewq.js → command-zytxgpcz.js} +22 -22
- package/dist/chunks/{file-retention-ztrfc8bt.js → command-zz9x0err.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +93 -93
- 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 +218 -218
- 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 +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +76 -76
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +90 -90
- 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 +102 -102
- package/dist/plugin/command.js +100 -100
- 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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +91 -91
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- 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 +127 -127
- package/dist/session/generate.js +152 -152
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- 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 +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1238 -682
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/shell/scan.d.ts +2 -1
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-retention-esnfnt1j.js +0 -507
- package/dist/chunks/file-retention-pf31ssb9.js +0 -18
- package/dist/chunks/file-retention-t8fqbehz.js +0 -253
- package/dist/chunks/file-retention-yyn9wyjq.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service60,
|
|
10
|
+
node: () => node63
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service60 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node63 = LayerNode.unbound(Service60, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service60, node63, exports_service2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5w6ne2rj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./command-mq1114ms.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./command-wq97ata3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-pz4bzxx2.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service13
|
|
21
|
+
} from "./command-k1qrnqst.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-nz49q0p3.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-jfvphnye.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID4,
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-aaz61dev.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service13;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -385,7 +385,7 @@ var OpencodePlugin2 = define({
|
|
|
385
385
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service38
|
|
7
|
+
} from "./command-0sqmrpn2.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-bsprd9wx.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service38;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./command-edajgpnh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service43
|
|
11
|
+
} from "./command-m9bwhd6g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service41
|
|
14
|
+
} from "./command-04jjrec1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service39,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-q43fwr5x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./command-kenkf5s7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service37,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-r0wedrkd.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin44 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service43;
|
|
112
|
+
const access = yield* Service37;
|
|
113
|
+
const fileMutation = yield* Service39;
|
|
114
|
+
const formatter = yield* Service41;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin21 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output5, toModelContent3, Plugin44, exports_patch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./command-mq1114ms.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./command-edajgpnh.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service30
|
|
10
|
+
} from "./command-39yjv8hn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin17 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service30;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin17, exports_command };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-k2srk8cp.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service24 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service24.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node28, exports_instruction_entry };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./command-mq1114ms.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event21
|
|
9
|
+
} from "./command-wq97ata3.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-pz4bzxx2.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
15
|
Service75
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-nz49q0p3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./command-1zc1gz4g.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -27,7 +27,7 @@ var ModalPlugin2 = define({
|
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
29
|
const providers = yield* Service75;
|
|
30
|
-
const bus = yield*
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make11(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make11 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./command-edajgpnh.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service28,
|
|
19
|
+
node: () => node31
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service78;
|
|
29
|
+
return Service28.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make21({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node82] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service28, node31, exports_builtins };
|