@opencode/core 0.0.0-dev-20555 → 0.0.0-dev-20557
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/{job-vw6v5hcf.js → command-01cdp0v3.js} +14 -14
- package/dist/chunks/{job-3pempfbc.js → command-02we17gd.js} +24 -24
- package/dist/chunks/{job-at2hqs3w.js → command-0381t2qh.js} +135 -135
- package/dist/chunks/{job-ja5m0ygm.js → command-0670md5a.js} +21 -21
- package/dist/chunks/{job-4c2q0mcx.js → command-06hn525z.js} +26 -26
- package/dist/chunks/{job-h0nx81gd.js → command-0b3cfvgq.js} +34 -34
- package/dist/chunks/{job-q0xm7vwc.js → command-0j77ygfz.js} +6 -6
- package/dist/chunks/{job-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-fp3z9f4y.js → command-0skwdn09.js} +12 -12
- package/dist/chunks/{job-rb6shf5t.js → command-0teadcmx.js} +19 -19
- package/dist/chunks/{job-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{job-w4khv86w.js → command-10wq935e.js} +18 -18
- package/dist/chunks/{job-pkhb67jb.js → command-133vw470.js} +15 -15
- package/dist/chunks/{job-857hj8ry.js → command-16tzjgec.js} +18 -18
- package/dist/chunks/{job-cv6511by.js → command-17jzngre.js} +18 -18
- package/dist/chunks/{job-htr3ke7b.js → command-18q964k7.js} +4 -4
- package/dist/chunks/{job-1acjjqhc.js → command-1acjjqhc.js} +1 -1
- package/dist/chunks/{job-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-1dvck2a7.js → command-1dvck2a7.js} +2 -2
- package/dist/chunks/{job-w4mtkt0w.js → command-1n500b33.js} +28 -28
- package/dist/chunks/{job-bsprd9wx.js → command-1z18ck0n.js} +9 -9
- package/dist/chunks/{job-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-hj4fh3hy.js → command-2b8cc78r.js} +8 -8
- package/dist/chunks/{job-4ts7tf6z.js → command-2ccvkpx1.js} +2 -2
- package/dist/chunks/{job-y5cqxpk5.js → command-2dzy055r.js} +20 -20
- package/dist/chunks/{job-e0c09jyb.js → command-2v6want2.js} +31 -31
- package/dist/chunks/{job-mtc7qfjr.js → command-2vybv818.js} +8 -8
- package/dist/chunks/{job-ns3eape4.js → command-3556dn8t.js} +1 -1
- package/dist/chunks/{job-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-ztznn8yv.js → command-3qqp0k3j.js} +27 -27
- package/dist/chunks/{job-z70hmvx5.js → command-3s4kvr6z.js} +22 -22
- package/dist/chunks/{job-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-hjpk67tc.js → command-3we2mweb.js} +8 -8
- package/dist/chunks/{job-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-nvd0k5x7.js → command-442pcgs7.js} +18 -18
- package/dist/chunks/{job-mg9mtx79.js → command-45wc6gs6.js} +27 -27
- package/dist/chunks/{job-vxzh5eqq.js → command-4eq8w0dz.js} +4 -4
- package/dist/chunks/{job-qr81y49p.js → command-4fsbr1hj.js} +13 -13
- package/dist/chunks/{job-2t53m4bx.js → command-4kk4wpc5.js} +7 -7
- package/dist/chunks/{job-92bm08bj.js → command-4wap8wpx.js} +8 -8
- package/dist/chunks/{job-n1n192bv.js → command-4z58m4b4.js} +4 -4
- package/dist/chunks/{job-89bb6baa.js → command-52fpbh6z.js} +8 -8
- package/dist/chunks/{job-r94pvvab.js → command-54ma36ye.js} +4 -4
- package/dist/chunks/{job-mfqp6xfm.js → command-56gdpj1q.js} +6 -6
- package/dist/chunks/{job-j6n4s7tz.js → command-5cy4n67n.js} +6 -6
- package/dist/chunks/{job-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{job-73j43v1r.js → command-5f7m8t27.js} +11 -11
- package/dist/chunks/{job-v0vhdd3a.js → command-5ggnyshr.js} +5 -5
- package/dist/chunks/{job-5pyjqqve.js → command-5pyjqqve.js} +2 -2
- package/dist/chunks/{job-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-x42vxnx3.js → command-5vkm6pr7.js} +24 -24
- package/dist/chunks/{job-hb1jsdh8.js → command-5w6ne2rj.js} +11 -11
- package/dist/chunks/{job-28164wdt.js → command-5yenn1gs.js} +1 -1
- package/dist/chunks/{job-ydcx872m.js → command-61jz9119.js} +17 -17
- package/dist/chunks/{job-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{job-p09rrfmq.js → command-698prn30.js} +36 -36
- package/dist/chunks/{job-qmetnkqe.js → command-6c08fhdk.js} +3 -3
- package/dist/chunks/{job-aemsjdqr.js → command-6kc2kwfx.js} +11 -11
- package/dist/chunks/{job-0cfpcmzs.js → command-6vhm1ss8.js} +41 -41
- package/dist/chunks/{job-zd20f70r.js → command-6w7ey7g6.js} +1 -1
- package/dist/chunks/{job-71az546q.js → command-71az546q.js} +2 -2
- package/dist/chunks/{job-z4ev155g.js → command-77f241gp.js} +11 -11
- package/dist/chunks/{job-1mrp5zca.js → command-792b105c.js} +21 -21
- package/dist/chunks/{job-7n17c2vq.js → command-7bc93ez4.js} +5 -5
- package/dist/chunks/{job-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-3zbwexce.js → command-7c08hygz.js} +11 -11
- package/dist/chunks/{job-62xj9t32.js → command-7d4y5228.js} +17 -17
- package/dist/chunks/{job-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
- package/dist/chunks/{job-bv90axwy.js → command-7hy03c00.js} +9 -9
- package/dist/chunks/{job-mcgk3wya.js → command-7pzdf0kv.js} +11 -11
- package/dist/chunks/{job-cc78kyzt.js → command-7wrx96wc.js} +89 -89
- package/dist/chunks/{job-eq1pz5kg.js → command-7yh4e7ss.js} +3 -3
- package/dist/chunks/{job-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{job-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-496a3517.js → command-8g8kbavv.js} +16 -16
- package/dist/chunks/{job-625h3bhc.js → command-8gvvezbt.js} +9 -9
- package/dist/chunks/{job-91yrcdab.js → command-8kgc6f8d.js} +1 -1
- package/dist/chunks/{job-0924f1d5.js → command-8sbdhey5.js} +20 -20
- package/dist/chunks/{job-hv91p1e7.js → command-99y8wah8.js} +16 -16
- package/dist/chunks/{job-9e5bzkjp.js → command-9e5bzkjp.js} +3 -3
- package/dist/chunks/{job-mvkzq2f6.js → command-9hyc1rme.js} +21 -21
- package/dist/chunks/{job-rvf0m9x6.js → command-9jbvj98d.js} +7 -7
- package/dist/chunks/{job-g5xqnc7g.js → command-9nyp8823.js} +22 -22
- package/dist/chunks/{job-tvfezkd0.js → command-9qmfnzwh.js} +11 -11
- package/dist/chunks/{job-cp937pt4.js → command-a2rpfkac.js} +4 -4
- package/dist/chunks/{job-63pb368s.js → command-a3wrhx52.js} +9 -9
- package/dist/chunks/{job-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{job-addxnjmp.js → command-addxnjmp.js} +1 -1
- package/dist/chunks/{job-9g6cc2sf.js → command-akgm1adh.js} +12 -12
- package/dist/chunks/{job-qav6bry4.js → command-am2r47bs.js} +23 -23
- package/dist/chunks/{job-7pfrqydt.js → command-ama4hd1q.js} +47 -47
- package/dist/chunks/{job-23y9wxh3.js → command-aqfevk6b.js} +31 -31
- package/dist/chunks/{job-dq26vg03.js → command-ard2gdvt.js} +20 -20
- package/dist/chunks/{job-2m8jawch.js → command-as7cf5zz.js} +4 -4
- package/dist/chunks/{job-01d4h799.js → command-axbr2pfw.js} +31 -31
- package/dist/chunks/{job-cjpjn75t.js → command-ayf3dz6t.js} +25 -25
- package/dist/chunks/{job-4d0rb3t0.js → command-az7mkngh.js} +51 -51
- package/dist/chunks/{job-8sze2n9a.js → command-b4twkq7r.js} +2 -2
- package/dist/chunks/{job-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-kerhshr9.js → command-b7v4cx43.js} +5 -5
- package/dist/chunks/{job-xwef3tkj.js → command-ba9dmd1r.js} +8 -8
- package/dist/chunks/{job-hcfvksfw.js → command-bn23jwvg.js} +29 -29
- package/dist/chunks/{job-vnqv6gqh.js → command-bq5tb2fn.js} +14 -14
- package/dist/chunks/{job-cavr175a.js → command-c20khjev.js} +21 -21
- package/dist/chunks/{job-ph2weykv.js → command-c33yzrrm.js} +25 -25
- package/dist/chunks/{job-zsct9r57.js → command-c7c674pr.js} +42 -42
- package/dist/chunks/{job-gnaexftg.js → command-cg0qn6vf.js} +4 -4
- package/dist/chunks/{job-se99pq14.js → command-cj2gwqpw.js} +43 -43
- package/dist/chunks/{job-5d607bsg.js → command-cwa6csj7.js} +9 -9
- package/dist/chunks/{job-797f7a0z.js → command-cz4jw647.js} +11 -11
- package/dist/chunks/{job-a5mv5ggb.js → command-dcggx883.js} +15 -15
- package/dist/chunks/{job-t36ptrk2.js → command-dncrbkga.js} +12 -12
- package/dist/chunks/{job-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{job-tv19967e.js → command-dpzj6tdt.js} +5 -5
- package/dist/chunks/{job-rswnvcky.js → command-dxptp51h.js} +25 -25
- package/dist/chunks/{job-mx8tf596.js → command-dzgakk8a.js} +1 -1
- package/dist/chunks/{job-fa9vwekz.js → command-e063bttt.js} +13 -13
- package/dist/chunks/{job-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{job-jj9bbte7.js → command-e6kkka6h.js} +14 -14
- package/dist/chunks/{job-5ay6xx18.js → command-e76aamdb.js} +6 -6
- package/dist/chunks/{job-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-n7b20zve.js → command-ejjfd3s4.js} +23 -23
- package/dist/chunks/{job-t3nx9cxe.js → command-epctnf05.js} +31 -31
- package/dist/chunks/{job-y444nr17.js → command-eqd5sxw2.js} +4 -4
- package/dist/chunks/command-err0hz1z.js +26 -0
- package/dist/chunks/{job-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-g21r4nge.js → command-f1vyh6xp.js} +11 -11
- package/dist/chunks/{job-h0rmjeg9.js → command-f3r6tdft.js} +20 -20
- package/dist/chunks/{job-x2qdxhwm.js → command-f7rj482f.js} +8 -8
- package/dist/chunks/{job-1xp277t6.js → command-fdhx3fkc.js} +28 -28
- package/dist/chunks/{job-9z7g18yr.js → command-fe7r1v7c.js} +4 -4
- package/dist/chunks/{job-r7teefnr.js → command-ffx0yjy1.js} +8 -8
- package/dist/chunks/{job-q1rr0pbm.js → command-fqzgbyxx.js} +37 -37
- package/dist/chunks/{job-fd97kz70.js → command-fsrxrd15.js} +16 -16
- package/dist/chunks/{job-w942xa2m.js → command-fy7htkd5.js} +12 -12
- package/dist/chunks/{job-ezqqxcw0.js → command-fzxt6f8m.js} +73 -73
- package/dist/chunks/{job-h41s8z8q.js → command-g2swy422.js} +10 -10
- package/dist/chunks/{job-xfkkasph.js → command-g5w8qwbj.js} +4 -4
- package/dist/chunks/{job-c90zra8s.js → command-g75k6dtk.js} +49 -49
- package/dist/chunks/{job-bd7bqq65.js → command-gb0da2f9.js} +13 -13
- package/dist/chunks/{job-39q8trjh.js → command-gd3jjb21.js} +23 -23
- package/dist/chunks/{job-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-ebp0qpft.js → command-gehm4ms6.js} +22 -22
- package/dist/chunks/{job-n1ykjjpp.js → command-gfe6ngy7.js} +7 -7
- package/dist/chunks/{job-s8c2qdfp.js → command-gpmvb07s.js} +12 -12
- package/dist/chunks/{job-fhd194mz.js → command-gy37mnbx.js} +3 -3
- package/dist/chunks/{job-h0pbv1ka.js → command-gyheh41a.js} +86 -86
- package/dist/chunks/{job-6a4mv8zy.js → command-gyrwew5n.js} +13 -13
- package/dist/chunks/{job-cqyhyxyf.js → command-gze6pn84.js} +15 -15
- package/dist/chunks/{job-h2b79v29.js → command-h2b79v29.js} +2 -2
- package/dist/chunks/{job-shvr8efs.js → command-h560e691.js} +12 -12
- package/dist/chunks/{job-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-t6msp11s.js → command-ha607pgt.js} +6 -6
- package/dist/chunks/{job-a89re0g1.js → command-hmg1zjtq.js} +23 -23
- package/dist/chunks/{job-bvqvekcz.js → command-hn5dn8nf.js} +8 -8
- package/dist/chunks/{job-gy6aa7d6.js → command-hncay249.js} +20 -20
- package/dist/chunks/{job-crefc7rf.js → command-hyc9nd41.js} +3 -3
- package/dist/chunks/{job-n6gpwqfp.js → command-j2wb8rqv.js} +28 -28
- package/dist/chunks/{job-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{job-p15nbhec.js → command-jb7f9fbg.js} +25 -25
- package/dist/chunks/{job-t2fc4mz5.js → command-jfqtm2ew.js} +4 -4
- package/dist/chunks/{job-60ghmrya.js → command-jkg72wry.js} +12 -12
- package/dist/chunks/{job-8r73c8pz.js → command-jm5y8arx.js} +26 -26
- package/dist/chunks/{job-0szy4de1.js → command-k2eg95vs.js} +8 -8
- package/dist/chunks/{job-fvc13qgc.js → command-k39xy76y.js} +11 -11
- package/dist/chunks/{job-dhmh7aw6.js → command-k76fn4kw.js} +4 -4
- package/dist/chunks/{job-150yg2gd.js → command-kbqjp078.js} +5 -5
- package/dist/chunks/{job-4pjtr4yv.js → command-kcrarvbt.js} +21 -21
- package/dist/chunks/{job-m0r31qfn.js → command-kkp8zx71.js} +4 -4
- package/dist/chunks/{job-hkdenkzk.js → command-kx0tjg78.js} +3 -3
- package/dist/chunks/{job-cpqqexqm.js → command-kzh1e4c0.js} +15 -15
- package/dist/chunks/{job-pth6nrf9.js → command-m20vhgm3.js} +3 -3
- package/dist/chunks/{job-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-sbnbj2fh.js → command-m4wmcnzy.js} +56 -56
- package/dist/chunks/{job-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-hdvnp0je.js → command-masq385f.js} +13 -13
- package/dist/chunks/{job-v2jvvryy.js → command-mbsm52da.js} +23 -23
- package/dist/chunks/{job-yg6nt6v4.js → command-mm5kxf07.js} +5 -5
- package/dist/chunks/{job-x6eytqwr.js → command-mn5ewebe.js} +7 -7
- package/dist/chunks/{job-4wqpygdy.js → command-mwckezc6.js} +11 -11
- package/dist/chunks/{job-jyxq966n.js → command-mwqvydg1.js} +1 -1
- package/dist/chunks/{job-b4p15gff.js → command-mx21tkte.js} +32 -32
- package/dist/chunks/{job-8m1wj8hg.js → command-n6s91g4w.js} +21 -21
- package/dist/chunks/{job-ynphg1hg.js → command-n71tvzfd.js} +30 -30
- package/dist/chunks/command-n95b3jav.js +18 -0
- package/dist/chunks/{job-gvzz3raz.js → command-nardgk59.js} +21 -21
- package/dist/chunks/{job-556vztyc.js → command-ndf92shb.js} +30 -30
- package/dist/chunks/{job-709gbrcz.js → command-ne1mz57k.js} +22 -22
- package/dist/chunks/{job-ec69ykps.js → command-nrtwsycd.js} +23 -23
- package/dist/chunks/{job-dpgksjn4.js → command-nvw9h1kr.js} +17 -17
- package/dist/chunks/{job-p84wmp3s.js → command-nvxc2gt2.js} +11 -11
- package/dist/chunks/{job-8jwbmvr9.js → command-nz2nwecc.js} +10 -10
- package/dist/chunks/{job-21bj3ga9.js → command-p2me32zz.js} +13 -13
- package/dist/chunks/{job-t27tnwk4.js → command-p31q7kmk.js} +3 -3
- package/dist/chunks/{job-mqdw8v14.js → command-p9gsjnq9.js} +15 -15
- package/dist/chunks/{job-kegreft0.js → command-pf7k5tdk.js} +13 -13
- package/dist/chunks/{job-nk4hw8c4.js → command-pfetzwhm.js} +3 -3
- package/dist/chunks/{job-ak9sgqnx.js → command-pj1c1pk3.js} +11 -11
- package/dist/chunks/{job-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{job-mxgkmyay.js → command-ppmg69pv.js} +2 -2
- package/dist/chunks/{job-96jty66f.js → command-ptzsp81a.js} +9 -9
- package/dist/chunks/{job-vr8hy326.js → command-py94gk0f.js} +13 -13
- package/dist/chunks/{job-vvjmpxad.js → command-pyydss9x.js} +6 -6
- package/dist/chunks/{job-0twdd2rc.js → command-qh7aybsz.js} +33 -33
- package/dist/chunks/{job-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{job-9hwaqfsw.js → command-qne3fa44.js} +5 -5
- package/dist/chunks/{job-96aa7t2j.js → command-qqnbapkp.js} +25 -25
- package/dist/chunks/{job-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{job-8497y16e.js → command-qsz4qh77.js} +15 -15
- package/dist/chunks/{job-xyafkbt0.js → command-qxjc9qry.js} +3 -3
- package/dist/chunks/{job-mskjrhgj.js → command-r41a70fd.js} +3 -3
- package/dist/chunks/{job-bs2cvman.js → command-r7j38eze.js} +9 -9
- package/dist/chunks/{job-zfpjbs6b.js → command-ra4c5gbn.js} +6 -6
- package/dist/chunks/{job-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-h9fhd31x.js → command-rfg37sv6.js} +8 -8
- package/dist/chunks/{job-zd8ex3kf.js → command-rh1jjh9e.js} +9 -9
- package/dist/chunks/{job-t550f9t1.js → command-rhjbct0v.js} +4 -4
- package/dist/chunks/{job-wwc5ayy3.js → command-rmvqqtj5.js} +30 -30
- package/dist/chunks/{job-fk2kfeb8.js → command-rnkhex19.js} +18 -18
- package/dist/chunks/{job-zem2w15c.js → command-rwzsmfev.js} +24 -24
- package/dist/chunks/{job-nrgcgym2.js → command-s1gmxnwk.js} +16 -16
- package/dist/chunks/{job-dr3y18n9.js → command-s3ybr6j1.js} +11 -11
- package/dist/chunks/{job-hs1x7rht.js → command-s800pt51.js} +12 -12
- package/dist/chunks/{job-pgvxke7v.js → command-sf9vyvr4.js} +16 -16
- package/dist/chunks/{job-dryxmc1r.js → command-srkthfyp.js} +10 -10
- package/dist/chunks/{job-c01nkytp.js → command-srq8z0b0.js} +5 -5
- package/dist/chunks/{job-hyd0mf0v.js → command-szkbeypk.js} +27 -27
- package/dist/chunks/{job-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-3yjsxsvn.js → command-tbmmctgf.js} +1 -1
- package/dist/chunks/{job-7w6d6p76.js → command-tbw7bgph.js} +33 -33
- package/dist/chunks/{job-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{job-w39jehkq.js → command-tk14y25j.js} +5 -5
- package/dist/chunks/{job-m07x8vtf.js → command-tkakx37z.js} +26 -26
- package/dist/chunks/{job-t977r8fv.js → command-tpsj3vqj.js} +9 -9
- package/dist/chunks/{job-czfptnv9.js → command-tpw6cwsb.js} +8 -8
- package/dist/chunks/{job-jhn076ks.js → command-tw3ak1wx.js} +2 -2
- package/dist/chunks/{job-cm45s4zf.js → command-txy71j19.js} +320 -320
- package/dist/chunks/{job-v0es1rhs.js → command-v0es1rhs.js} +2 -2
- package/dist/chunks/{job-d4qzqnbm.js → command-vbe3v9yb.js} +30 -30
- package/dist/chunks/{job-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{job-dnwpryq3.js → command-vjwkcd0q.js} +3 -3
- package/dist/chunks/{job-skn17vje.js → command-vmc16zgv.js} +14 -14
- package/dist/chunks/{job-f73e1zqv.js → command-vmdhrg7n.js} +3 -3
- package/dist/chunks/{job-pnkbpv6t.js → command-vynmvp9h.js} +9 -9
- package/dist/chunks/{job-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-3m9t49rp.js → command-w68n4ndy.js} +11 -11
- package/dist/chunks/{job-v4w6k283.js → command-wb8vnrxj.js} +19 -19
- package/dist/chunks/{job-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{job-qygbw77c.js → command-wecqtg5s.js} +5 -5
- package/dist/chunks/{job-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-7bad3dym.js → command-xet9w07d.js} +15 -15
- package/dist/chunks/{job-d6r3h576.js → command-xjdp6js1.js} +12 -12
- package/dist/chunks/{job-vx1pzttg.js → command-xkjdq2cq.js} +2 -2
- package/dist/chunks/{job-xkntkrq7.js → command-xkntkrq7.js} +2 -2
- package/dist/chunks/{job-8ja15ht3.js → command-xs7n98fv.js} +11 -11
- package/dist/chunks/command-xtwb32s8.js +253 -0
- package/dist/chunks/{job-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-r9w3djhf.js → command-y56ehv6b.js} +9 -9
- package/dist/chunks/{job-2a6rn6yr.js → command-yf4jcbx9.js} +6 -6
- package/dist/chunks/{job-zvmm02kf.js → command-yvcz9db6.js} +16 -16
- package/dist/chunks/{job-jfdxbep6.js → command-yxn8eat3.js} +19 -19
- package/dist/chunks/{job-2yvy4k3r.js → command-yzs2ct5k.js} +48 -48
- package/dist/chunks/{job-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-1fmrbde1.js → command-z2qvtray.js} +6 -6
- package/dist/chunks/{job-8x10b474.js → command-zazrq5bn.js} +11 -11
- package/dist/chunks/{job-4njtbf2d.js → command-zcr4n024.js} +18 -18
- package/dist/chunks/{job-sm2xph5t.js → command-zgajxp8k.js} +44 -44
- package/dist/chunks/{job-4x0vy5hp.js → command-zj39adwq.js} +5 -5
- package/dist/chunks/{job-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{job-cc1xz6ed.js → command-zxzherh8.js} +45 -45
- 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 +83 -83
- 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 +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- 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 +78 -78
- 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 +3 -3
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- 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 +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- 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 +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/job-0gc7gfet.js +0 -26
- package/dist/chunks/job-5gx03407.js +0 -253
- package/dist/chunks/job-vsdyktar.js +0 -18
- /package/dist/chunks/{job-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-vx3jgdek.js → command-vx3jgdek.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node77
|
|
5
|
+
} from "./command-5w6ne2rj.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-4z58m4b4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service63,
|
|
12
12
|
node66
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9jbvj98d.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-az7mkngh.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-mn5ewebe.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./command-gd3jjb21.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get5
|
|
25
|
+
} from "./command-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service34,
|
|
28
|
+
node37
|
|
29
|
+
} from "./command-k39xy76y.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make16
|
|
32
|
+
} from "./command-g5w8qwbj.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./command-3556dn8t.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service33,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer11,
|
|
48
|
+
node: () => node36,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer11 = Layer.effect(Service33, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service63;
|
|
158
|
+
const transport = yield* Service34;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -163,7 +163,7 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
163
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
164
164
|
const tools = input.tools ?? {
|
|
165
165
|
definitions: [],
|
|
166
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
167
167
|
};
|
|
168
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
169
169
|
const shaped = yield* shape({
|
|
@@ -181,7 +181,7 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
181
181
|
const entries = Object.entries(shaped.options);
|
|
182
182
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
183
183
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
184
|
-
const affinity =
|
|
184
|
+
const affinity = get5(session);
|
|
185
185
|
const base = LLM.request({
|
|
186
186
|
model: model.model,
|
|
187
187
|
http: {
|
|
@@ -260,17 +260,17 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service33.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [node66,
|
|
270
|
+
var node36 = makeLocationNode({
|
|
271
|
+
service: Service33,
|
|
272
|
+
layer: layer11,
|
|
273
|
+
deps: [node66, node37, node77]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service33, layer11, node36, exports_model_request };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
InvalidError: () => InvalidError2
|
|
13
13
|
});
|
|
14
14
|
import { Schema } from "effect";
|
|
@@ -22,4 +22,4 @@ var InvalidError2 = NamedError2.create("ConfigInvalidError", {
|
|
|
22
22
|
message: Schema.optional(Schema.String)
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { InvalidError2,
|
|
25
|
+
export { InvalidError2, exports_error2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-vjwkcd0q.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service82,
|
|
84
84
|
deps: [node88],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-vjwkcd0q.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./command-0skwdn09.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-h2b79v29.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-9e5bzkjp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-nardgk59.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./command-as7cf5zz.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./command-gb0da2f9.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./command-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./command-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node39
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -276,7 +276,7 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
279
|
+
const bus = yield* Service82;
|
|
280
280
|
const db = (yield* Service84).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node39 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node39, exports_projector };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node46
|
|
4
|
+
} from "./command-bn23jwvg.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service31,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service43;
|
|
64
|
+
return Service31.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make20({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node46] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service31, node34, exports_instructions3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5w6ne2rj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./command-0skwdn09.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./command-axbr2pfw.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-n6s91g4w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service70
|
|
21
|
+
} from "./command-f7rj482f.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-gehm4ms6.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-kcrarvbt.js";
|
|
30
30
|
import {
|
|
31
31
|
ID3,
|
|
32
32
|
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-rnkhex19.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -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* Service82;
|
|
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* Service70;
|
|
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 };
|
|
@@ -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(Event19.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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./command-0skwdn09.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./command-vmc16zgv.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service27,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node30
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service27 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service27.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service27, node30, exports_rpc, define2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-c20khjev.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./command-7c08hygz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info19
|
|
12
|
+
} from "./command-jfqtm2ew.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info18
|
|
15
|
+
} from "./command-tk14y25j.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info17
|
|
21
|
+
} from "./command-qne3fa44.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-cg0qn6vf.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info18, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|