@opencode/core 0.0.0-dev-20718 → 0.0.0-dev-20720
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{aisdk-5h2y2y6j.js → state-04a2hr2k.js} +33 -33
- package/dist/chunks/{aisdk-2cdv17s0.js → state-09cpb2ex.js} +16 -16
- package/dist/chunks/{aisdk-0vbcp93d.js → state-0emb60td.js} +2 -2
- package/dist/chunks/{aisdk-1169xqyh.js → state-0fypn0a3.js} +26 -26
- package/dist/chunks/{aisdk-q0xm7vwc.js → state-0j77ygfz.js} +6 -6
- package/dist/chunks/{aisdk-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-12d6p297.js → state-0rq11za7.js} +18 -18
- package/dist/chunks/{aisdk-094ctrsg.js → state-0x57zm2e.js} +9 -9
- package/dist/chunks/{aisdk-4nj4bn9q.js → state-11dqjexa.js} +9 -9
- package/dist/chunks/{aisdk-thathje8.js → state-17dj5fv5.js} +31 -31
- package/dist/chunks/{aisdk-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-jfweghsk.js → state-1deese7r.js} +11 -11
- package/dist/chunks/{aisdk-3z2pgn2e.js → state-1p2095bv.js} +33 -33
- package/dist/chunks/{aisdk-xkw5kz5c.js → state-1smjtbw1.js} +11 -11
- package/dist/chunks/{aisdk-mfqp6xfm.js → state-1ygqh575.js} +6 -6
- package/dist/chunks/{aisdk-9pnzhqc7.js → state-20de9dw7.js} +3 -3
- package/dist/chunks/{aisdk-5v05r06m.js → state-28jd512m.js} +3 -3
- package/dist/chunks/{aisdk-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-5r3w98ry.js → state-2bw2w2fe.js} +6 -6
- package/dist/chunks/{aisdk-4ts7tf6z.js → state-2ccvkpx1.js} +2 -2
- package/dist/chunks/{aisdk-p48gy0gp.js → state-2cfdhw3s.js} +68 -68
- package/dist/chunks/{aisdk-a5wv1q3m.js → state-2e8mbfdm.js} +11 -11
- package/dist/chunks/{aisdk-dc606gpm.js → state-2fdt73cz.js} +13 -13
- package/dist/chunks/{aisdk-9dh32pzn.js → state-2qzcchk7.js} +46 -46
- package/dist/chunks/{aisdk-sye3hfcy.js → state-2t27atdg.js} +5 -5
- package/dist/chunks/{aisdk-7tc3rzgd.js → state-2wtagmr7.js} +9 -9
- package/dist/chunks/{aisdk-qp4nwdz3.js → state-2x68r0t2.js} +14 -14
- package/dist/chunks/{aisdk-j3qy8zzr.js → state-2xg2fwz2.js} +6 -6
- package/dist/chunks/{aisdk-hyfgp2gj.js → state-34rerane.js} +18 -18
- package/dist/chunks/{aisdk-2nrvvkjz.js → state-35b7yesr.js} +32 -32
- package/dist/chunks/{aisdk-59ghbxbk.js → state-3arepkys.js} +49 -49
- package/dist/chunks/{aisdk-3cegwx68.js → state-3cegwx68.js} +2 -2
- package/dist/chunks/{aisdk-pjzpwaef.js → state-3ck2xf04.js} +8 -8
- package/dist/chunks/{aisdk-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-6b6b0p3x.js → state-3rfzw5ap.js} +11 -11
- package/dist/chunks/{aisdk-89bb6baa.js → state-3rtxz4nr.js} +8 -8
- package/dist/chunks/{aisdk-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-k0a3z2qz.js → state-44ak30pa.js} +4 -4
- package/dist/chunks/{aisdk-7wg7867s.js → state-45cwyr7q.js} +24 -24
- package/dist/chunks/{aisdk-4mse7y1r.js → state-46rbnc5c.js} +22 -22
- package/dist/chunks/{aisdk-tzmp54vm.js → state-4916wvbv.js} +5 -5
- package/dist/chunks/{aisdk-zdm1px9r.js → state-497z3mry.js} +10 -10
- package/dist/chunks/{aisdk-j0krdp1f.js → state-4bevpzhv.js} +3 -3
- package/dist/chunks/{aisdk-vz02fre1.js → state-4dbsr0k0.js} +24 -24
- package/dist/chunks/{aisdk-7q65g6rf.js → state-4t030mrg.js} +5 -5
- package/dist/chunks/{aisdk-r2f95n35.js → state-4x28rjsq.js} +4 -4
- package/dist/chunks/{aisdk-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{aisdk-hdnacwsd.js → state-54n0a6zw.js} +11 -11
- package/dist/chunks/{aisdk-sdc1h1a9.js → state-55h7b49p.js} +9 -9
- package/dist/chunks/{aisdk-d2czbp48.js → state-5dkn69vz.js} +4 -4
- package/dist/chunks/{aisdk-1d5zt5jt.js → state-5krvj9g7.js} +13 -13
- package/dist/chunks/{aisdk-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-8j21hf7j.js → state-6121h2h6.js} +2 -2
- package/dist/chunks/{aisdk-gsh07107.js → state-62wb3p7v.js} +1 -1
- package/dist/chunks/{aisdk-nbrc9aa0.js → state-6dtkngtv.js} +3 -3
- package/dist/chunks/{aisdk-90qmze2t.js → state-6e54mn8t.js} +32 -32
- package/dist/chunks/{aisdk-h45t1q73.js → state-6q8n1y66.js} +20 -20
- package/dist/chunks/{aisdk-fshcdfd1.js → state-6sf1d713.js} +7 -7
- package/dist/chunks/{aisdk-50mzsvk4.js → state-6sr3ve8g.js} +21 -21
- package/dist/chunks/{aisdk-9amd8k98.js → state-6t7bc6bg.js} +12 -12
- package/dist/chunks/{aisdk-7f35wzte.js → state-6wzskhnk.js} +20 -20
- package/dist/chunks/{aisdk-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{aisdk-4gqmja2c.js → state-6yjat7sj.js} +15 -15
- package/dist/chunks/{aisdk-ne0t6hxj.js → state-73vgk540.js} +5 -5
- package/dist/chunks/{aisdk-kdwekf82.js → state-768a8gp9.js} +4 -4
- package/dist/chunks/{aisdk-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-2k8khapm.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{aisdk-3pkdw9ej.js → state-7dyczsbr.js} +11 -11
- package/dist/chunks/{aisdk-s00fnecv.js → state-7wnhzmy2.js} +27 -27
- package/dist/chunks/{aisdk-sy3wpk96.js → state-7x89b08m.js} +8 -8
- package/dist/chunks/{aisdk-5xkk72ep.js → state-7zpky84d.js} +11 -11
- package/dist/chunks/{aisdk-6gb2fxnc.js → state-7zy8zh4w.js} +26 -26
- package/dist/chunks/{aisdk-kjdm35cs.js → state-8316qx5p.js} +5 -5
- package/dist/chunks/{aisdk-84h8c373.js → state-84h8c373.js} +2 -2
- package/dist/chunks/{aisdk-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{aisdk-wq6aswdf.js → state-86fzd6mx.js} +11 -11
- package/dist/chunks/{aisdk-jsr8nbtc.js → state-88gkpqae.js} +16 -16
- package/dist/chunks/{aisdk-9s9a6maz.js → state-88wa59w3.js} +171 -171
- package/dist/chunks/{aisdk-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-67mfe1v3.js → state-8h82tmdf.js} +22 -22
- package/dist/chunks/{aisdk-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{aisdk-eys57y9b.js → state-9hn6k4tm.js} +8 -8
- package/dist/chunks/{aisdk-wr7ps67x.js → state-9pkkzrmj.js} +5 -5
- package/dist/chunks/{aisdk-pyg17xra.js → state-9sxnv72c.js} +18 -18
- package/dist/chunks/{aisdk-9t7a50xb.js → state-9t7a50xb.js} +1 -1
- package/dist/chunks/{aisdk-xzc90kzk.js → state-9t8z8sz2.js} +4 -4
- package/dist/chunks/{aisdk-fvt3t9ag.js → state-9y76xs4t.js} +13 -13
- package/dist/chunks/{aisdk-yrcn8vah.js → state-9zmkt7t8.js} +312 -312
- package/dist/chunks/{aisdk-mzv0hta7.js → state-a8947ck8.js} +16 -16
- package/dist/chunks/{aisdk-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-x661k3y3.js → state-addxnjmp.js} +4 -4
- package/dist/chunks/{aisdk-dkc4gvyb.js → state-adn16pwm.js} +23 -23
- package/dist/chunks/{aisdk-qp1fnkgb.js → state-adwe1qqm.js} +15 -15
- package/dist/chunks/{aisdk-p8rc01br.js → state-agh9v499.js} +20 -20
- package/dist/chunks/{aisdk-x0h4vpz5.js → state-ah3xqtr9.js} +11 -11
- package/dist/chunks/{aisdk-v0ewstpe.js → state-b00pzheq.js} +35 -35
- package/dist/chunks/{aisdk-13mc0h3d.js → state-b37sb5xh.js} +26 -26
- package/dist/chunks/{aisdk-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-g8ksfxxf.js → state-bcdwjwga.js} +11 -11
- package/dist/chunks/{aisdk-rexaqj00.js → state-berfgc7x.js} +16 -16
- package/dist/chunks/{aisdk-prht8xn4.js → state-bkwnwkna.js} +11 -11
- package/dist/chunks/{aisdk-r0m4b8s8.js → state-bpfw675d.js} +18 -18
- package/dist/chunks/{aisdk-68v7wfjx.js → state-bxrcwjqe.js} +7 -7
- package/dist/chunks/{aisdk-9dg7gv22.js → state-c1wzgm1s.js} +13 -13
- package/dist/chunks/{aisdk-axy7hhva.js → state-c4jzek7p.js} +18 -18
- package/dist/chunks/{aisdk-mfjeqe8f.js → state-ccchx4q8.js} +17 -17
- package/dist/chunks/{aisdk-jktqzjpa.js → state-cfsekr6v.js} +8 -8
- package/dist/chunks/{aisdk-7syps78g.js → state-cq15wxzp.js} +4 -4
- package/dist/chunks/{aisdk-z4syh5yy.js → state-crdrr85v.js} +3 -3
- package/dist/chunks/{aisdk-4j6k3mdb.js → state-cse9r4v9.js} +11 -11
- package/dist/chunks/{aisdk-gebd7nce.js → state-ctj64nje.js} +37 -37
- package/dist/chunks/{aisdk-r2m716tb.js → state-cwa6csj7.js} +9 -9
- package/dist/chunks/{aisdk-9skkajgp.js → state-cxr298sk.js} +11 -11
- package/dist/chunks/{aisdk-rpj7en0j.js → state-d3zsqy84.js} +18 -18
- package/dist/chunks/{aisdk-nn0jcdjx.js → state-dd2ph1ae.js} +86 -86
- package/dist/chunks/{aisdk-r2dnqh6n.js → state-dd40s8jk.js} +4 -4
- package/dist/chunks/{aisdk-xkntkrq7.js → state-dmqcgk4z.js} +5 -5
- package/dist/chunks/{aisdk-yddkn4c7.js → state-dntcxfx6.js} +16 -16
- package/dist/chunks/{aisdk-dpkg50ah.js → state-dpkg50ah.js} +1 -1
- package/dist/chunks/{aisdk-405megzh.js → state-e2ncvvex.js} +24 -24
- package/dist/chunks/{aisdk-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{aisdk-rbrg03cy.js → state-e7fzh1tv.js} +7 -7
- package/dist/chunks/{aisdk-tcay1cqt.js → state-edbfpfck.js} +6 -6
- package/dist/chunks/{aisdk-wghqh80a.js → state-eekvak8k.js} +15 -15
- package/dist/chunks/{aisdk-gqr0qac7.js → state-ef18fqje.js} +8 -8
- package/dist/chunks/{aisdk-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-8cw6acet.js → state-ejvnp2ks.js} +11 -11
- package/dist/chunks/{aisdk-njfztfhq.js → state-emk51cvb.js} +13 -13
- package/dist/chunks/{aisdk-mvfsc1pv.js → state-eq1pz5kg.js} +3 -3
- package/dist/chunks/{aisdk-vwztch6z.js → state-eq2t0afb.js} +44 -44
- package/dist/chunks/{aisdk-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-ng9xra76.js → state-evszv5pj.js} +48 -48
- package/dist/chunks/{aisdk-5d46m1s1.js → state-f36c7hhr.js} +27 -27
- package/dist/chunks/{aisdk-4a6jpjer.js → state-f62qkzqr.js} +5 -5
- package/dist/chunks/{aisdk-f75zav2x.js → state-f75zav2x.js} +2 -2
- package/dist/chunks/{aisdk-1a34xymg.js → state-f9a4pn72.js} +7 -7
- package/dist/chunks/{aisdk-btkedg0r.js → state-fed6refb.js} +43 -43
- package/dist/chunks/{aisdk-4e5ceejs.js → state-fesacqrs.js} +24 -24
- package/dist/chunks/{aisdk-vx3jgdek.js → state-fjs5xx1d.js} +3 -3
- package/dist/chunks/{aisdk-n8sna2wb.js → state-fkqcn188.js} +9 -9
- package/dist/chunks/{aisdk-ryr25ayn.js → state-fm2qvscf.js} +4 -4
- package/dist/chunks/{aisdk-c1tbcnkt.js → state-fn7rspy2.js} +38 -38
- package/dist/chunks/{aisdk-z24sbaqw.js → state-fwr1nvee.js} +13 -13
- package/dist/chunks/{aisdk-mn8cz3nb.js → state-g41jgzrn.js} +13 -13
- package/dist/chunks/{aisdk-xm0sfyx2.js → state-g5kmhmn4.js} +9 -9
- package/dist/chunks/{aisdk-w19d8598.js → state-g5w8qwbj.js} +7 -7
- package/dist/chunks/{aisdk-858snxx8.js → state-g5xbze43.js} +6 -6
- package/dist/chunks/{aisdk-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-q9v66sme.js → state-ggjzp0zf.js} +14 -14
- package/dist/chunks/{aisdk-p558d1j2.js → state-gx34rq0y.js} +5 -5
- package/dist/chunks/{aisdk-8ye6c6xa.js → state-gzpbea96.js} +45 -45
- package/dist/chunks/{aisdk-ccwrtn9t.js → state-h24f7b7f.js} +21 -21
- package/dist/chunks/{aisdk-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-d3bsz2ft.js → state-h7nvfha0.js} +21 -21
- package/dist/chunks/{aisdk-r44petzp.js → state-h9pcb0g7.js} +12 -12
- package/dist/chunks/{aisdk-cg8cfg6z.js → state-hjd5rs48.js} +22 -22
- package/dist/chunks/{aisdk-ae0txsc2.js → state-hjwcbm2z.js} +32 -32
- package/dist/chunks/state-ht5y0zrb.js +18 -0
- package/dist/chunks/{aisdk-6bct72er.js → state-hts2a9q2.js} +14 -14
- package/dist/chunks/{aisdk-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-bymgkydd.js → state-jh8bf3qg.js} +4 -4
- package/dist/chunks/{aisdk-xybefm6f.js → state-jhdf29st.js} +1 -1
- package/dist/chunks/{aisdk-kq7tnyq1.js → state-jjqn8krh.js} +3 -3
- package/dist/chunks/{aisdk-cbfarec0.js → state-jkz3v61y.js} +15 -15
- package/dist/chunks/{aisdk-vrfdq27c.js → state-jrjafyr0.js} +16 -16
- package/dist/chunks/{aisdk-m3tsmga5.js → state-jvtf094g.js} +14 -14
- package/dist/chunks/{aisdk-kb9j3d72.js → state-kb9j3d72.js} +3 -3
- package/dist/chunks/{aisdk-rwfgbrd2.js → state-kc4mjjv2.js} +153 -153
- package/dist/chunks/{aisdk-82xh11mn.js → state-ket9r42f.js} +22 -22
- package/dist/chunks/{aisdk-cbjgg9ej.js → state-kk956e2k.js} +5 -5
- package/dist/chunks/{aisdk-byfghf8b.js → state-kr34918r.js} +20 -20
- package/dist/chunks/{aisdk-2qw3ex0c.js → state-krs87b37.js} +9 -9
- package/dist/chunks/{aisdk-5pyjqqve.js → state-kxfx0zw7.js} +2 -2
- package/dist/chunks/{aisdk-dt6wnj9q.js → state-kz7kk7hk.js} +14 -14
- package/dist/chunks/{aisdk-d59k028k.js → state-kzfrgs0d.js} +20 -20
- package/dist/chunks/{aisdk-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-m55qy151.js → state-m55qy151.js} +2 -2
- package/dist/chunks/{aisdk-c3x7741y.js → state-m6yf48sn.js} +29 -29
- package/dist/chunks/{aisdk-7ptkxh7r.js → state-m7afyyyj.js} +17 -17
- package/dist/chunks/{aisdk-nqvhmk1c.js → state-m9jgt8r5.js} +3 -3
- package/dist/chunks/{aisdk-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-t9ebzdva.js → state-mcjkpbn0.js} +25 -25
- package/dist/chunks/{aisdk-32fqvz19.js → state-mec702eg.js} +45 -45
- package/dist/chunks/{aisdk-338jypc4.js → state-mgpjz0db.js} +30 -30
- package/dist/chunks/{aisdk-85fnhgs1.js → state-mqatsg7m.js} +28 -28
- package/dist/chunks/{aisdk-6wr5pqyy.js → state-ms8ccy3x.js} +22 -22
- package/dist/chunks/{aisdk-j1bwjtdy.js → state-msbh9db6.js} +49 -49
- package/dist/chunks/{aisdk-8r9ww22p.js → state-mvatweg5.js} +18 -18
- package/dist/chunks/{aisdk-6147m9bn.js → state-mypwhdkk.js} +6 -6
- package/dist/chunks/{aisdk-kvtt08kh.js → state-mzzkv1b5.js} +1 -1
- package/dist/chunks/{aisdk-10zfs9v4.js → state-n4dca9y5.js} +44 -44
- package/dist/chunks/{aisdk-geak4k47.js → state-nd37bzcf.js} +22 -22
- package/dist/chunks/{aisdk-svk60gjy.js → state-nr69g3jv.js} +5 -5
- package/dist/chunks/{aisdk-hjjfw830.js → state-pe0zt13j.js} +3 -3
- package/dist/chunks/{aisdk-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-80scg3y3.js → state-pmwpe40e.js} +4 -4
- package/dist/chunks/{aisdk-w25bqsme.js → state-pn003z7t.js} +24 -24
- package/dist/chunks/{aisdk-cs3h3v80.js → state-ppk3b36w.js} +29 -29
- package/dist/chunks/{aisdk-bsprd9wx.js → state-pqqhfkp1.js} +7 -7
- package/dist/chunks/{aisdk-nf8q49m4.js → state-prdj665r.js} +19 -19
- package/dist/chunks/{aisdk-0kkjrqx1.js → state-pvr0mps5.js} +25 -25
- package/dist/chunks/{aisdk-aae6qf80.js → state-q67nxkv9.js} +29 -29
- package/dist/chunks/{aisdk-d827s438.js → state-qbma24dw.js} +25 -25
- package/dist/chunks/{aisdk-40bve78s.js → state-qcy60mzg.js} +8 -8
- package/dist/chunks/{aisdk-wkjw17bc.js → state-qgvx2ecd.js} +11 -11
- package/dist/chunks/{aisdk-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{aisdk-a0bsrstn.js → state-qpef03sa.js} +3 -3
- package/dist/chunks/{aisdk-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-ahbzt5yt.js → state-qvkrf2sr.js} +26 -26
- package/dist/chunks/{aisdk-b3f8fkhc.js → state-qygbw77c.js} +5 -5
- package/dist/chunks/{aisdk-tfanqrhs.js → state-r2vb5ahw.js} +6 -6
- package/dist/chunks/{aisdk-f6ms68ht.js → state-rdd3t6fr.js} +11 -11
- package/dist/chunks/{aisdk-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-sqwtan2t.js → state-rf1bdrxr.js} +14 -14
- package/dist/chunks/{aisdk-1acjjqhc.js → state-rhraev7y.js} +4 -4
- package/dist/chunks/{aisdk-dtmxbh2p.js → state-s2f320av.js} +16 -16
- package/dist/chunks/{aisdk-4e8vs6eh.js → state-s5met55r.js} +8 -8
- package/dist/chunks/{aisdk-4n7ky6ky.js → state-scyp0cvb.js} +4 -4
- package/dist/chunks/{aisdk-2c4c8eb8.js → state-ssax58sw.js} +37 -37
- package/dist/chunks/{aisdk-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-jmj0fv2f.js → state-tb16czpv.js} +18 -18
- package/dist/chunks/{aisdk-g67ghwv4.js → state-tbpc65w4.js} +18 -18
- package/dist/chunks/{aisdk-ak966m7n.js → state-tc3k9mfd.js} +12 -12
- package/dist/chunks/{aisdk-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-cnsh48jf.js → state-thc1rszf.js} +4 -4
- package/dist/chunks/{aisdk-ze8sn7h2.js → state-trj1gmcm.js} +5 -5
- package/dist/chunks/{aisdk-embw8kgh.js → state-ttqh24zm.js} +4 -4
- package/dist/chunks/{aisdk-hpz74jw5.js → state-v4swh9q7.js} +10 -10
- package/dist/chunks/{aisdk-0mjfw0rd.js → state-v6raqp8b.js} +28 -28
- package/dist/chunks/{aisdk-v72hdzvn.js → state-van68h44.js} +16 -16
- package/dist/chunks/{aisdk-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-kb6gw2zp.js → state-vgepzxbh.js} +4 -4
- package/dist/chunks/{aisdk-gnfcjh5e.js → state-vpn79mg0.js} +6 -6
- package/dist/chunks/{aisdk-qmbazkjd.js → state-vrtmy21p.js} +5 -5
- package/dist/chunks/{aisdk-zc1nd8v7.js → state-vtg4gjwx.js} +10 -10
- package/dist/chunks/{aisdk-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/state-w1199tq0.js +26 -0
- package/dist/chunks/{aisdk-9eq5kwq7.js → state-w1ad28wa.js} +5 -5
- package/dist/chunks/{aisdk-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-n48gz485.js → state-w692g40q.js} +32 -32
- package/dist/chunks/{aisdk-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-z1v05bgy.js → state-wm3gbqz0.js} +11 -11
- package/dist/chunks/{aisdk-kqrd183v.js → state-wv509nq3.js} +11 -11
- package/dist/chunks/{aisdk-c4swjyak.js → state-wy9mvxme.js} +6 -6
- package/dist/chunks/{aisdk-epag531p.js → state-wzx4r275.js} +4 -4
- package/dist/chunks/{aisdk-8vb1kfxm.js → state-x34x4jyj.js} +25 -25
- package/dist/chunks/{aisdk-s5n8rxy8.js → state-x7sbve6c.js} +25 -25
- package/dist/chunks/{aisdk-trxcxm74.js → state-xb9jmman.js} +12 -12
- package/dist/chunks/{aisdk-w9vf9qqj.js → state-xdrba4jw.js} +9 -9
- package/dist/chunks/{aisdk-fpecnkgp.js → state-xecxzrdp.js} +9 -9
- package/dist/chunks/{aisdk-sydgkmjh.js → state-xhw3x5cz.js} +15 -15
- package/dist/chunks/{aisdk-xyafkbt0.js → state-xyafkbt0.js} +3 -3
- package/dist/chunks/{aisdk-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-ty0fwvcb.js → state-y3ghf2b6.js} +7 -7
- package/dist/chunks/{aisdk-h010z3gc.js → state-y597v6j1.js} +5 -5
- package/dist/chunks/{aisdk-b674v2dg.js → state-y6f80w1r.js} +5 -5
- package/dist/chunks/{aisdk-pcbf55sh.js → state-y8v18ms9.js} +11 -11
- package/dist/chunks/{aisdk-3hdhfc6s.js → state-yc3p3qwe.js} +11 -11
- package/dist/chunks/{aisdk-f1smy17a.js → state-yfmzq89s.js} +20 -20
- package/dist/chunks/{aisdk-05j2vfq8.js → state-yg8cpn2k.js} +18 -18
- package/dist/chunks/{aisdk-9n4785an.js → state-yn2fms0x.js} +18 -18
- package/dist/chunks/{aisdk-jv8f1fdp.js → state-yw2yvzmw.js} +82 -82
- package/dist/chunks/{aisdk-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-xd47ttqy.js → state-z9ghcmzp.js} +34 -34
- package/dist/chunks/{aisdk-vde1hawv.js → state-za57v6vq.js} +10 -10
- package/dist/chunks/{aisdk-14cg4zwm.js → state-zbj3drqt.js} +17 -17
- package/dist/chunks/{aisdk-6kgskxtw.js → state-zbjxv3dz.js} +11 -11
- package/dist/chunks/{aisdk-r100n5nc.js → state-zc3nhar9.js} +8 -8
- package/dist/chunks/{aisdk-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-kpkp6m3y.js → state-zxszgjhy.js} +9 -9
- package/dist/chunks/{aisdk-8ka639ry.js → state-zzwrqwz9.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +67 -67
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +95 -95
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- 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 +92 -92
- 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 +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +215 -215
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +129 -129
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +93 -93
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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 +86 -86
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/aisdk-27sa8ph3.js +0 -26
- package/dist/chunks/aisdk-9sh4wc5j.js +0 -18
- /package/dist/chunks/{aisdk-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node86
|
|
6
|
+
} from "./state-h9pcb0g7.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-4t030mrg.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make13
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-gx34rq0y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
60
60
|
var node23 = makeLocationNode({
|
|
61
61
|
service: Service20,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [node83, Global.node,
|
|
63
|
+
deps: [node83, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
66
|
export { Service20, node23, exports_strategies };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service37,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node40
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service37 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service37.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node40 = makeLocationNode({
|
|
137
|
+
service: Service37,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service37, node40, exports_tool_output2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service42,
|
|
6
|
+
node45
|
|
7
|
+
} from "./state-h7nvfha0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service40,
|
|
17
|
+
node: () => node43,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service40 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service42;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service40.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node45] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service40, readText2, syncTextBom2, node43, exports_file_mutation };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-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 make8(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 { make8 };
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-jjqn8krh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-jh8bf3qg.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID11,
|
|
14
|
+
Service65,
|
|
15
|
+
node69
|
|
16
|
+
} from "./state-pn003z7t.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service73,
|
|
22
|
+
node77
|
|
23
|
+
} from "./state-x7sbve6c.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-5dkn69vz.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load4
|
|
38
|
+
} from "./state-cxr298sk.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-jhdf29st.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service30,
|
|
47
|
+
node33
|
|
48
|
+
} from "./state-q67nxkv9.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service56,
|
|
51
|
+
node60
|
|
52
|
+
} from "./state-2fdt73cz.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./state-qygbw77c.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./state-2t27atdg.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./state-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./state-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service10,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
79
|
-
node: () =>
|
|
78
|
+
layer: () => layer7,
|
|
79
|
+
node: () => node12,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service65;
|
|
176
176
|
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service73;
|
|
179
|
+
const models = yield* Service56;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service30;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service10.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node12 = makeLocationNode({
|
|
482
|
+
service: Service10,
|
|
483
|
+
layer: layer7,
|
|
484
|
+
deps: [node69, node87, node88, llmClient2, node77, node33, node60]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-jjqn8krh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-jh8bf3qg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node59
|
|
12
|
+
} from "./state-edbfpfck.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service80,
|
|
19
19
|
node84
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-hjwcbm2z.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-4t030mrg.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service57,
|
|
26
|
+
node61
|
|
27
|
+
} from "./state-0x57zm2e.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-pqqhfkp1.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service53
|
|
39
|
+
} from "./state-ttqh24zm.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service63,
|
|
42
|
+
node67
|
|
43
|
+
} from "./state-van68h44.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service54,
|
|
48
|
+
node58,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./state-45cwyr7q.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service52,
|
|
53
|
+
node57
|
|
54
|
+
} from "./state-ssax58sw.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node31
|
|
57
|
+
} from "./state-yg8cpn2k.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./state-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service22,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node25
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service22 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service80;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
92
|
+
const locations = yield* Service57;
|
|
93
|
+
const store = yield* Service63;
|
|
94
|
+
const execution = yield* Service52;
|
|
95
|
+
const instances = yield* Service55;
|
|
96
|
+
const admission = yield* Service54;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service53.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service22.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node25 = makeGlobalNode({
|
|
167
|
+
service: Service22,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node84,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
node61,
|
|
174
|
+
node67,
|
|
175
|
+
node57,
|
|
176
|
+
node59,
|
|
177
|
+
node58,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node31
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service22, node25, exports_move };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-jh8bf3qg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./state-bpfw675d.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-hjwcbm2z.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service79,
|
|
16
16
|
node83
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-4t030mrg.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-0x57zm2e.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service62,
|
|
26
|
+
node66
|
|
27
|
+
} from "./state-3arepkys.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service45,
|
|
30
|
+
node49
|
|
31
|
+
} from "./state-bcdwjwga.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./state-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service38,
|
|
41
|
+
node: () => node41
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service38 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
52
|
const location = yield* Service79;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service62;
|
|
54
|
+
const forms = yield* Service76;
|
|
55
|
+
const rpc = yield* Service45;
|
|
56
56
|
const project = yield* Service80;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service38.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node41 = makeLocationNode({
|
|
84
|
+
service: Service38,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87, node83,
|
|
86
|
+
deps: [node87, node83, node66, node84, node80, node49]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service38, node41, exports_location_lifecycle };
|