@opencode/core 0.0.0-dev-20610 → 0.0.0-dev-20613
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 +69 -69
- package/dist/chunks/{instance-06w0zf5x.js → file-mutation-02wcjj7e.js} +20 -20
- package/dist/chunks/{instance-at0y7zg1.js → file-mutation-04g8e5pr.js} +1 -1
- package/dist/chunks/{instance-061ex8ms.js → file-mutation-07y42gcd.js} +24 -24
- package/dist/chunks/{instance-q0xm7vwc.js → file-mutation-0j77ygfz.js} +6 -6
- package/dist/chunks/{instance-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-d9k6m3eh.js → file-mutation-1555y6t7.js} +26 -26
- package/dist/chunks/{instance-r8xr0va3.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{instance-6q358bh2.js → file-mutation-1adkzxce.js} +25 -25
- package/dist/chunks/{instance-y51vjfep.js → file-mutation-1cs8m4t2.js} +11 -11
- package/dist/chunks/{instance-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-1dvck2a7.js → file-mutation-1dvck2a7.js} +2 -2
- package/dist/chunks/{instance-r5xe688n.js → file-mutation-1nvf6535.js} +3 -3
- package/dist/chunks/{instance-pa0pw42g.js → file-mutation-1v8zftd4.js} +43 -43
- package/dist/chunks/{instance-me18drmk.js → file-mutation-1wmy5d9r.js} +20 -20
- package/dist/chunks/{instance-9fbgtg99.js → file-mutation-1yqjwqhe.js} +16 -16
- package/dist/chunks/{instance-hd520jvt.js → file-mutation-218f2z9s.js} +25 -25
- package/dist/chunks/{instance-2pz1dket.js → file-mutation-23xej63c.js} +7 -7
- package/dist/chunks/{instance-1xjqddjw.js → file-mutation-241ryskx.js} +33 -33
- package/dist/chunks/{instance-nkhp8jth.js → file-mutation-25f88z4a.js} +3 -3
- package/dist/chunks/{instance-j788tehn.js → file-mutation-28yfhwz7.js} +9 -9
- package/dist/chunks/{instance-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-4ts7tf6z.js → file-mutation-2ccvkpx1.js} +2 -2
- package/dist/chunks/{instance-vm7w43ex.js → file-mutation-2fznsc3f.js} +11 -11
- package/dist/chunks/{instance-0jwsre1p.js → file-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-6kzp9tjq.js → file-mutation-2k9fjx65.js} +5 -5
- package/dist/chunks/{instance-mjymc32g.js → file-mutation-2pnhn36q.js} +21 -21
- package/dist/chunks/{instance-yyfs9b4x.js → file-mutation-2qr727t2.js} +34 -34
- package/dist/chunks/{instance-cwa6csj7.js → file-mutation-2sejkfem.js} +9 -9
- package/dist/chunks/{instance-hrbak6ed.js → file-mutation-2w25s120.js} +11 -11
- package/dist/chunks/{instance-bw0p2mxz.js → file-mutation-33pc7s1j.js} +45 -45
- package/dist/chunks/{instance-adq9f0f4.js → file-mutation-35ja2k0w.js} +2 -2
- package/dist/chunks/{instance-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-dh22rtqa.js → file-mutation-3k5mtz14.js} +26 -26
- package/dist/chunks/{instance-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-bmy9by5b.js → file-mutation-3x3by7pr.js} +13 -13
- package/dist/chunks/{instance-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-mjgy5np3.js → file-mutation-45xcksxr.js} +24 -24
- package/dist/chunks/{instance-dfp4h047.js → file-mutation-4bfg69m5.js} +2 -2
- package/dist/chunks/{instance-dszma3mw.js → file-mutation-4z9v8c1j.js} +33 -33
- package/dist/chunks/{instance-hj1rbs15.js → file-mutation-50509jqz.js} +18 -18
- package/dist/chunks/{instance-g3dpk68z.js → file-mutation-51c68e5c.js} +11 -11
- package/dist/chunks/{instance-z426kn6t.js → file-mutation-51zktd4p.js} +7 -7
- package/dist/chunks/{instance-r94pvvab.js → file-mutation-54ma36ye.js} +4 -4
- package/dist/chunks/file-mutation-55zhmapd.js +253 -0
- package/dist/chunks/{instance-33w4ejhs.js → file-mutation-56gdpj1q.js} +6 -6
- package/dist/chunks/{instance-sj9qnw41.js → file-mutation-57d1ra5g.js} +17 -17
- package/dist/chunks/{instance-b7133kdp.js → file-mutation-59nzr7fw.js} +14 -14
- package/dist/chunks/{instance-ey92qgz4.js → file-mutation-5c5s8b62.js} +47 -47
- package/dist/chunks/{instance-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-zsr4wwhv.js → file-mutation-5dkn69vz.js} +4 -4
- package/dist/chunks/{instance-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-bvqd8ete.js → file-mutation-5tkrhxv3.js} +4 -4
- package/dist/chunks/{instance-kn5hpa16.js → file-mutation-5tqqzxgh.js} +6 -6
- package/dist/chunks/{instance-v120vyaj.js → file-mutation-661jy2vh.js} +12 -12
- package/dist/chunks/{instance-hpbk3cx3.js → file-mutation-6awh52j5.js} +16 -16
- package/dist/chunks/{instance-m2gy2b80.js → file-mutation-6f15q24d.js} +8 -8
- package/dist/chunks/{instance-03xyy9gs.js → file-mutation-6h1ernme.js} +11 -11
- package/dist/chunks/{instance-z53mk5z5.js → file-mutation-6tf55av8.js} +18 -18
- package/dist/chunks/{instance-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{instance-vwx54mwv.js → file-mutation-6yjaq157.js} +6 -6
- package/dist/chunks/{instance-hz0q9sdq.js → file-mutation-6ysrkrkr.js} +8 -8
- package/dist/chunks/{instance-dssbfrwz.js → file-mutation-6yz0wx8n.js} +5 -5
- package/dist/chunks/{instance-mp30kkje.js → file-mutation-709pec4s.js} +33 -33
- package/dist/chunks/{instance-71az546q.js → file-mutation-71az546q.js} +2 -2
- package/dist/chunks/{instance-nbkke0t0.js → file-mutation-75ej4jpw.js} +22 -22
- package/dist/chunks/{instance-9xpmvrzr.js → file-mutation-77vm9mkg.js} +4 -4
- package/dist/chunks/{instance-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-k715whav.js → file-mutation-7fjb48bx.js} +13 -13
- package/dist/chunks/{instance-ggah8kdn.js → file-mutation-7ynsymrs.js} +15 -15
- package/dist/chunks/{instance-3nyy9qdg.js → file-mutation-7yxxj0jq.js} +20 -20
- package/dist/chunks/{instance-gebmw926.js → file-mutation-820esq4r.js} +22 -22
- package/dist/chunks/{instance-w1eejvng.js → file-mutation-84txncab.js} +5 -5
- package/dist/chunks/{instance-b3c4ba4k.js → file-mutation-87xdeyxt.js} +84 -84
- package/dist/chunks/{instance-0jfbaq8b.js → file-mutation-8az841hp.js} +10 -10
- package/dist/chunks/{instance-rqvjvppf.js → file-mutation-8bv871ss.js} +9 -9
- package/dist/chunks/{instance-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-shy63jre.js → file-mutation-8gp600m4.js} +25 -25
- package/dist/chunks/{instance-gp4xd51v.js → file-mutation-8jbkjwmp.js} +11 -11
- package/dist/chunks/{instance-fm5fvnjs.js → file-mutation-8npqmhxf.js} +16 -16
- package/dist/chunks/{instance-5qwkxp89.js → file-mutation-8qvzptz7.js} +4 -4
- package/dist/chunks/{instance-9e5bzkjp.js → file-mutation-9e5bzkjp.js} +3 -3
- package/dist/chunks/{instance-m2h21z5w.js → file-mutation-9h0gn9cc.js} +17 -17
- package/dist/chunks/{instance-keezpjbp.js → file-mutation-9pafp8w8.js} +24 -24
- package/dist/chunks/file-mutation-9qyxy0zz.js +26 -0
- package/dist/chunks/{instance-a1gpj94z.js → file-mutation-a1gpj94z.js} +1 -1
- package/dist/chunks/{instance-fyc1vt1g.js → file-mutation-a66jrvr3.js} +5 -5
- package/dist/chunks/{instance-1hqeefd3.js → file-mutation-a71sm99w.js} +33 -33
- package/dist/chunks/{instance-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-aajqhe1e.js → file-mutation-am816zc9.js} +4 -4
- package/dist/chunks/{instance-0f6tw8wx.js → file-mutation-ankcjgrj.js} +66 -66
- package/dist/chunks/{instance-fgsxkm3h.js → file-mutation-aw8nxmf0.js} +20 -20
- package/dist/chunks/{instance-8gfz4eh2.js → file-mutation-b0gk7bse.js} +16 -16
- package/dist/chunks/{instance-cgdcp7as.js → file-mutation-b0hchee3.js} +48 -48
- package/dist/chunks/{instance-a5rjx7dz.js → file-mutation-b0hy8ze2.js} +11 -11
- package/dist/chunks/{instance-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-46qrs19m.js → file-mutation-b7ge55kx.js} +5 -5
- package/dist/chunks/{instance-82khrw2v.js → file-mutation-b81hekbt.js} +24 -24
- package/dist/chunks/{instance-st4wjr8v.js → file-mutation-b899gpc5.js} +25 -25
- package/dist/chunks/{instance-g0445xdp.js → file-mutation-br0tr5aq.js} +8 -8
- package/dist/chunks/{instance-7sve1s7k.js → file-mutation-c03ncta3.js} +30 -30
- package/dist/chunks/{instance-ywcrp141.js → file-mutation-c1ccxcvh.js} +15 -15
- package/dist/chunks/{instance-8c3w37hs.js → file-mutation-cbgnwsbv.js} +20 -20
- package/dist/chunks/{instance-an63rdp1.js → file-mutation-cct50mkk.js} +12 -12
- package/dist/chunks/{instance-r2jew814.js → file-mutation-ce5fknq2.js} +5 -5
- package/dist/chunks/{instance-wxmtdghb.js → file-mutation-cg1xxbyb.js} +42 -42
- package/dist/chunks/{instance-98qz235y.js → file-mutation-ckhdz529.js} +22 -22
- package/dist/chunks/{instance-gx8cbkmr.js → file-mutation-cnztrm4d.js} +3 -3
- package/dist/chunks/{instance-75a34177.js → file-mutation-crx6d3v7.js} +9 -9
- package/dist/chunks/file-mutation-ctefx7dc.js +18 -0
- package/dist/chunks/{instance-zse4s3c8.js → file-mutation-cvwp2h00.js} +22 -22
- package/dist/chunks/{instance-kn5qcdy9.js → file-mutation-d2rn1z0s.js} +26 -26
- package/dist/chunks/{instance-ke24spq9.js → file-mutation-dfqatd0t.js} +11 -11
- package/dist/chunks/{instance-mgws3yhd.js → file-mutation-dfx71smj.js} +8 -8
- package/dist/chunks/{instance-1wfe3aar.js → file-mutation-dg53hes0.js} +7 -7
- package/dist/chunks/{instance-10yezdh5.js → file-mutation-dpfsf5br.js} +12 -12
- package/dist/chunks/{instance-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{instance-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instance-d8r7m49e.js → file-mutation-e638a1gw.js} +171 -171
- package/dist/chunks/{instance-150yg2gd.js → file-mutation-e8qyrgb1.js} +5 -5
- package/dist/chunks/{instance-6crk6he3.js → file-mutation-e9tr4j2t.js} +2 -2
- package/dist/chunks/{instance-j1m2d8rz.js → file-mutation-ecv2nrx7.js} +23 -23
- package/dist/chunks/{instance-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-11sgj035.js → file-mutation-egrnxctx.js} +5 -5
- package/dist/chunks/{instance-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-zea94sdq.js → file-mutation-f4jh16nv.js} +9 -9
- package/dist/chunks/{instance-sh87188k.js → file-mutation-fj2fe1z2.js} +4 -4
- package/dist/chunks/{instance-2ebxbzq0.js → file-mutation-fx5yzyf4.js} +45 -45
- package/dist/chunks/{instance-ag1x90e6.js → file-mutation-fyk5f08g.js} +29 -29
- package/dist/chunks/{instance-6hyc4smj.js → file-mutation-g577d20j.js} +48 -48
- package/dist/chunks/{instance-tvz28f38.js → file-mutation-gcg2ce4w.js} +37 -37
- package/dist/chunks/{instance-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-5tcm9639.js → file-mutation-gh5z95q3.js} +9 -9
- package/dist/chunks/{instance-tfez4kz2.js → file-mutation-gj9znxmq.js} +19 -19
- package/dist/chunks/{instance-90p59b3a.js → file-mutation-gv66gg0x.js} +8 -8
- package/dist/chunks/{instance-1rg6zdq0.js → file-mutation-gvdad6bz.js} +40 -40
- package/dist/chunks/{instance-1w1tmbt0.js → file-mutation-gvvnr1gk.js} +3 -3
- package/dist/chunks/{instance-s0xnbbxf.js → file-mutation-h1249wnn.js} +21 -21
- package/dist/chunks/{instance-h2b79v29.js → file-mutation-h2b79v29.js} +2 -2
- package/dist/chunks/{instance-d6r2bgb5.js → file-mutation-h3gc8pws.js} +15 -15
- package/dist/chunks/{instance-ncnm8wen.js → file-mutation-h5w29vws.js} +1 -1
- package/dist/chunks/{instance-xth8y6bq.js → file-mutation-h6004bm5.js} +40 -40
- package/dist/chunks/{instance-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-v7xq79d0.js → file-mutation-h9a17n0d.js} +11 -11
- package/dist/chunks/{instance-zwnjzmab.js → file-mutation-h9wmft7n.js} +15 -15
- package/dist/chunks/{instance-chk4y28x.js → file-mutation-hb6rb7bn.js} +14 -14
- package/dist/chunks/{instance-j43bht9y.js → file-mutation-hdgeq1g7.js} +43 -43
- package/dist/chunks/{instance-2yw19te2.js → file-mutation-hsewefds.js} +18 -18
- package/dist/chunks/{instance-n26dy3x6.js → file-mutation-hvsqzrqa.js} +15 -15
- package/dist/chunks/{instance-nwetfm7s.js → file-mutation-hwv85ce9.js} +5 -5
- package/dist/chunks/{instance-gf7q08ta.js → file-mutation-j16n443z.js} +11 -11
- package/dist/chunks/{instance-vs0333v6.js → file-mutation-j1exw291.js} +30 -30
- package/dist/chunks/{instance-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-8w32dmzn.js → file-mutation-jd3qxksf.js} +16 -16
- package/dist/chunks/{instance-y48tgjj5.js → file-mutation-jebr833t.js} +19 -19
- package/dist/chunks/{instance-c5t0xxre.js → file-mutation-jkw9nnd0.js} +4 -4
- package/dist/chunks/{instance-q4xxdhye.js → file-mutation-jtkegxk4.js} +13 -13
- package/dist/chunks/{instance-b48mk9ym.js → file-mutation-k3fwe1m1.js} +19 -19
- package/dist/chunks/{instance-yvvvp4gn.js → file-mutation-kk8h1mek.js} +8 -8
- package/dist/chunks/{instance-j5rxtxht.js → file-mutation-kkp8zx71.js} +4 -4
- package/dist/chunks/{instance-ywxndyv1.js → file-mutation-knevfgda.js} +4 -4
- package/dist/chunks/{instance-tv2vwx7x.js → file-mutation-kvv1xtfr.js} +45 -45
- package/dist/chunks/{instance-scay856z.js → file-mutation-kyjacefg.js} +23 -23
- package/dist/chunks/{instance-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{instance-92tpvz42.js → file-mutation-m8e6htjm.js} +13 -13
- package/dist/chunks/{instance-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-hpa9k3nz.js → file-mutation-mabzq6p0.js} +20 -20
- package/dist/chunks/{instance-21b4th59.js → file-mutation-mc17spta.js} +20 -20
- package/dist/chunks/{instance-xf59wqz4.js → file-mutation-mecqpy2n.js} +9 -9
- package/dist/chunks/{instance-hhtkekxq.js → file-mutation-mj7xzjqf.js} +5 -5
- package/dist/chunks/{instance-7fz98kjr.js → file-mutation-mjrs5hnf.js} +28 -28
- package/dist/chunks/{instance-y3xqv655.js → file-mutation-mk8wm5aw.js} +13 -13
- package/dist/chunks/{instance-79pnbzf8.js → file-mutation-mq8ak108.js} +11 -11
- package/dist/chunks/{instance-1r8xf4k8.js → file-mutation-mqx8z5pp.js} +22 -22
- package/dist/chunks/{instance-8rhy6y1g.js → file-mutation-mrpfx1wa.js} +20 -20
- package/dist/chunks/{instance-eqkxs06z.js → file-mutation-mx9vqzsb.js} +6 -6
- package/dist/chunks/{instance-883nsyef.js → file-mutation-n8et2scw.js} +11 -11
- package/dist/chunks/{instance-8macg92q.js → file-mutation-naagb8nt.js} +27 -27
- package/dist/chunks/{instance-a8pdnfr2.js → file-mutation-nc1kns87.js} +4 -4
- package/dist/chunks/{instance-exe4jfnn.js → file-mutation-nfa3hktv.js} +3 -3
- package/dist/chunks/{instance-pdh9vt7t.js → file-mutation-njxwjya1.js} +1 -1
- package/dist/chunks/{instance-fa4nhyn2.js → file-mutation-nkbqs3g6.js} +6 -6
- package/dist/chunks/{instance-6ejaggtm.js → file-mutation-nvtp25pr.js} +11 -11
- package/dist/chunks/{instance-mkdntajj.js → file-mutation-nvxqht09.js} +3 -3
- package/dist/chunks/{instance-a49htehw.js → file-mutation-p6tv4abw.js} +24 -24
- package/dist/chunks/{instance-nwsm515q.js → file-mutation-p80jebcz.js} +4 -4
- package/dist/chunks/{instance-s8tj4g4z.js → file-mutation-pd5dkj66.js} +10 -10
- package/dist/chunks/{instance-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{instance-dstzpyym.js → file-mutation-pqjr219e.js} +23 -23
- package/dist/chunks/{instance-5vnah7h1.js → file-mutation-pr0hvdxq.js} +17 -17
- package/dist/chunks/{instance-688240zq.js → file-mutation-prb5bsag.js} +18 -18
- package/dist/chunks/{instance-9efg7y9t.js → file-mutation-psde6m0w.js} +32 -32
- package/dist/chunks/{instance-5rnnm2b5.js → file-mutation-q0raz0xt.js} +9 -9
- package/dist/chunks/{instance-2cv82sm1.js → file-mutation-q61exdqj.js} +4 -4
- package/dist/chunks/{instance-8699daf4.js → file-mutation-q97xhhb3.js} +7 -7
- package/dist/chunks/{instance-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-dha6c8ch.js → file-mutation-r3xyzp2p.js} +13 -13
- package/dist/chunks/{instance-z34nq4j0.js → file-mutation-r4hkhpy7.js} +5 -5
- package/dist/chunks/{instance-kr8bzxw6.js → file-mutation-r84a9mmt.js} +13 -13
- package/dist/chunks/{instance-t6vsspdg.js → file-mutation-ratrq7cm.js} +7 -7
- package/dist/chunks/{instance-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-6trfhx2w.js → file-mutation-reeps5ys.js} +12 -12
- package/dist/chunks/{instance-p6msb6wb.js → file-mutation-rey1fnbk.js} +25 -25
- package/dist/chunks/{instance-ymm454xd.js → file-mutation-rgy7ctyq.js} +6 -6
- package/dist/chunks/{instance-hh12ateq.js → file-mutation-rj4pd13v.js} +26 -26
- package/dist/chunks/{instance-wfjk1sf6.js → file-mutation-rq0cz1vq.js} +14 -14
- package/dist/chunks/{instance-eq8trqq4.js → file-mutation-rwvy7yhp.js} +7 -7
- package/dist/chunks/{instance-mg83pbjr.js → file-mutation-s5h4p73x.js} +8 -8
- package/dist/chunks/{instance-azepnje5.js → file-mutation-s88dh0zy.js} +27 -27
- package/dist/chunks/{instance-9t7a50xb.js → file-mutation-s8d7rejh.js} +4 -4
- package/dist/chunks/{instance-g18c16cn.js → file-mutation-sa53hm79.js} +8 -8
- package/dist/chunks/{instance-a93wkb90.js → file-mutation-sbcrysfm.js} +8 -8
- package/dist/chunks/{instance-mxftbxg7.js → file-mutation-sf58mb6r.js} +17 -17
- package/dist/chunks/{instance-ar0t0ytr.js → file-mutation-spdt4scb.js} +3 -3
- package/dist/chunks/{instance-kn9kq010.js → file-mutation-stfzz5h9.js} +17 -17
- package/dist/chunks/{instance-6chcse23.js → file-mutation-svwmk5ch.js} +31 -31
- package/dist/chunks/{instance-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{instance-52h3c8zr.js → file-mutation-th52y4cr.js} +6 -6
- package/dist/chunks/{instance-fb56cwgc.js → file-mutation-trt60g9v.js} +11 -11
- package/dist/chunks/{instance-1p07q0wb.js → file-mutation-ts23464c.js} +2 -2
- package/dist/chunks/{instance-jrmf5eaf.js → file-mutation-tsyxe6gt.js} +5 -5
- package/dist/chunks/{instance-v0es1rhs.js → file-mutation-v0es1rhs.js} +2 -2
- package/dist/chunks/{instance-1516mxqq.js → file-mutation-v78aj3nx.js} +10 -10
- package/dist/chunks/{instance-vmk8njyf.js → file-mutation-v9qjh7qv.js} +11 -11
- package/dist/chunks/{instance-x2tz5vft.js → file-mutation-v9zpe6q8.js} +11 -11
- package/dist/chunks/{instance-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-r7nzv3j4.js → file-mutation-vpqadsf2.js} +26 -26
- package/dist/chunks/{instance-5z5vj2fw.js → file-mutation-vpy0bwhg.js} +32 -32
- package/dist/chunks/{instance-6nj9kmwa.js → file-mutation-vvevwg1z.js} +83 -83
- package/dist/chunks/{instance-hgtd7sxh.js → file-mutation-vz9sc8m2.js} +11 -11
- package/dist/chunks/{instance-mek16e5d.js → file-mutation-vzbxwz1d.js} +11 -11
- package/dist/chunks/{instance-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-57b9ws8p.js → file-mutation-w19d8598.js} +4 -4
- package/dist/chunks/{instance-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-rx0r46zg.js → file-mutation-w61hc5zg.js} +22 -22
- package/dist/chunks/{instance-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{instance-b3f8fkhc.js → file-mutation-wecqtg5s.js} +5 -5
- package/dist/chunks/{instance-jwswkjr5.js → file-mutation-wsxdwqek.js} +3 -3
- package/dist/chunks/{instance-yqb9rva5.js → file-mutation-wx286pgp.js} +16 -16
- package/dist/chunks/{instance-1ga65a62.js → file-mutation-wyfkmmh4.js} +11 -11
- package/dist/chunks/{instance-addxnjmp.js → file-mutation-x661k3y3.js} +4 -4
- package/dist/chunks/{instance-9r8h993p.js → file-mutation-x690xafs.js} +34 -34
- package/dist/chunks/{instance-06t0mtft.js → file-mutation-xfn237ea.js} +8 -8
- package/dist/chunks/{instance-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
- package/dist/chunks/{instance-k1ga6227.js → file-mutation-xr5bsvjh.js} +44 -44
- package/dist/chunks/{instance-d6dqrmpe.js → file-mutation-xvc9znd7.js} +22 -22
- package/dist/chunks/{instance-s5ehqm4e.js → file-mutation-xxdk3vq8.js} +38 -38
- package/dist/chunks/{instance-xyafkbt0.js → file-mutation-xyafkbt0.js} +3 -3
- package/dist/chunks/{instance-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-prq7hedt.js → file-mutation-y56ehv6b.js} +9 -9
- package/dist/chunks/{instance-tbstzzf2.js → file-mutation-y5sw2v8p.js} +11 -11
- package/dist/chunks/{instance-0xzws6v9.js → file-mutation-y72vdz4v.js} +5 -5
- package/dist/chunks/{instance-hgam3c2t.js → file-mutation-y9xj6aq1.js} +9 -9
- package/dist/chunks/{instance-re2bjraj.js → file-mutation-ybef7sh4.js} +22 -22
- package/dist/chunks/{instance-c6asec25.js → file-mutation-yg48j617.js} +4 -4
- package/dist/chunks/{instance-90hpmr2t.js → file-mutation-ys1dh2re.js} +11 -11
- package/dist/chunks/{instance-skmsb61z.js → file-mutation-yz2qwk65.js} +21 -21
- package/dist/chunks/{instance-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-dt93g92p.js → file-mutation-z35yy1yy.js} +7 -7
- package/dist/chunks/{instance-0p1e9q97.js → file-mutation-za3690yj.js} +8 -8
- package/dist/chunks/{instance-as1cmpym.js → file-mutation-zb6sgdts.js} +3 -3
- package/dist/chunks/{instance-hs1x7rht.js → file-mutation-zc5g640q.js} +5 -5
- package/dist/chunks/{instance-vn72gsba.js → file-mutation-zfs8ae4p.js} +4 -4
- package/dist/chunks/{instance-6pvfzwk4.js → file-mutation-zj6wahms.js} +10 -10
- package/dist/chunks/{instance-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-4w5f3qm5.js → file-mutation-zrq8kphx.js} +8 -8
- package/dist/chunks/{instance-gf8d66gy.js → file-mutation-zrsy8rcr.js} +3 -3
- package/dist/chunks/{instance-q5asdkn4.js → file-mutation-zvt5dnpc.js} +4 -4
- package/dist/chunks/{instance-mn6vm61y.js → file-mutation-zw1te067.js} +20 -20
- package/dist/chunks/file-mutation-zx72hgwt.js +507 -0
- package/dist/chunks/{instance-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +70 -70
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- 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 +116 -116
- 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 +76 -76
- 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 +7 -7
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- 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 +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/instance-05b5j368.js +0 -507
- package/dist/chunks/instance-4wqkv42y.js +0 -253
- package/dist/chunks/instance-5k5c02z5.js +0 -26
- package/dist/chunks/instance-9sh4wc5j.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-1cs8m4t2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-p80jebcz.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./file-mutation-mjrs5hnf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-d2rn1z0s.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./file-mutation-naagb8nt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-fyk5f08g.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-zc5g640q.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node81
|
|
17
|
+
} from "./file-mutation-pd5dkj66.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service60,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node63,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service60 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service60.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node63 = makeGlobalNode({
|
|
171
|
+
service: Service60,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node81]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node63, exports_repository_cache };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./file-mutation-gvdad6bz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service15
|
|
6
|
+
} from "./file-mutation-6ysrkrkr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin19
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin19 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service69;
|
|
29
|
+
const managed = yield* Service15;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin40 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin19, exports_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-zb6sgdts.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-p80jebcz.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service65,
|
|
15
|
+
node68
|
|
16
|
+
} from "./file-mutation-07y42gcd.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service72,
|
|
22
|
+
node76
|
|
23
|
+
} from "./file-mutation-fyk5f08g.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-mutation-5dkn69vz.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load4
|
|
38
|
+
} from "./file-mutation-mq8ak108.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-mutation-h5w29vws.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service35,
|
|
47
|
+
node39
|
|
48
|
+
} from "./file-mutation-4z9v8c1j.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service46,
|
|
51
|
+
node48
|
|
52
|
+
} from "./file-mutation-mk8wm5aw.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./file-mutation-wecqtg5s.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-mutation-egrnxctx.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./file-mutation-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service9,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer7,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node11,
|
|
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 Service9 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 layer7 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service9, 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* Service72;
|
|
179
|
+
const models = yield* Service46;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service35;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service10, 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(ID8.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 layer7 = Layer.effect(Service10, 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 Service9.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:
|
|
481
|
+
var node11 = makeLocationNode({
|
|
482
|
+
service: Service9,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node68, node87, node88, llmClient2, node76, node39, node48]
|
|
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 { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-xyafkbt0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node57
|
|
18
|
+
} from "./file-mutation-q0raz0xt.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service64,
|
|
21
|
+
node67
|
|
22
|
+
} from "./file-mutation-zrq8kphx.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service50,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node52
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service50 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service64;
|
|
58
|
+
const image = yield* Service54;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service50.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node52 = makeLocationNode({
|
|
277
|
+
service: Service50,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node67, node57]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service50, node52, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-04g8e5pr.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make24,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-zrsy8rcr.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-1cs8m4t2.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin34,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin34 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin18 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin18 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin34, exports_tinyfish };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service41 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service41.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service41, awaitActivation2, exports_service };
|