@opencode/core 0.0.0-dev-19643 → 0.0.0-dev-19644
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{pty-9c2qq6zd.js → file-retention-030jzqrs.js} +1 -1
- package/dist/chunks/{pty-dxcwrgb8.js → file-retention-0dfw7kj5.js} +11 -11
- package/dist/chunks/{pty-tkdspmrw.js → file-retention-0e0st8s7.js} +23 -23
- package/dist/chunks/{pty-gvkqbys6.js → file-retention-0e6bfx7v.js} +5 -5
- package/dist/chunks/{pty-pmtnxrty.js → file-retention-0h3rvf5y.js} +30 -30
- package/dist/chunks/file-retention-0mesazry.js +4 -0
- package/dist/chunks/{pty-vsv8ttad.js → file-retention-0n2dkqex.js} +28 -28
- package/dist/chunks/{pty-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-vyq5g53q.js → file-retention-0q8z25ax.js} +10 -10
- package/dist/chunks/{pty-y0mc46pw.js → file-retention-0tmgye68.js} +9 -9
- package/dist/chunks/{pty-zd7rxry8.js → file-retention-15bxggqa.js} +9 -9
- package/dist/chunks/{pty-0czgmh5m.js → file-retention-1ct3e436.js} +6 -6
- package/dist/chunks/{pty-ym31zdqs.js → file-retention-1ctxmpem.js} +17 -17
- package/dist/chunks/{pty-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-sc8yhsfz.js → file-retention-1hcx3hx9.js} +11 -11
- package/dist/chunks/{pty-qe5ndvxn.js → file-retention-1kzs76d5.js} +33 -33
- package/dist/chunks/{pty-rph3zd4r.js → file-retention-1tq060df.js} +6 -6
- package/dist/chunks/{pty-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-zw77fwag.js → file-retention-25dtj6av.js} +32 -32
- package/dist/chunks/{pty-ja4wy4ee.js → file-retention-283sq9eb.js} +6 -6
- package/dist/chunks/{pty-29x78va6.js → file-retention-29x78va6.js} +2 -2
- package/dist/chunks/{pty-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-db54agdm.js → file-retention-2angj6gv.js} +12 -12
- package/dist/chunks/{pty-y56erjdm.js → file-retention-2cc64ex3.js} +9 -9
- package/dist/chunks/{pty-04bs6xrx.js → file-retention-2cdjst23.js} +9 -9
- package/dist/chunks/{pty-af9twatk.js → file-retention-2wgckns4.js} +3 -3
- package/dist/chunks/{pty-d6493rm2.js → file-retention-2xm6y6tp.js} +1 -1
- package/dist/chunks/{pty-xp45px1z.js → file-retention-320y3j5b.js} +6 -6
- package/dist/chunks/{pty-9h7evhkc.js → file-retention-32cd2pct.js} +9 -9
- package/dist/chunks/{pty-2qk91kwd.js → file-retention-38pjs6q7.js} +35 -35
- package/dist/chunks/{pty-vyxkaerb.js → file-retention-39qagpsx.js} +1 -1
- package/dist/chunks/{pty-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-cv016f9e.js → file-retention-3hj581hw.js} +11 -11
- package/dist/chunks/{pty-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-9q9yqw35.js → file-retention-44d511wt.js} +25 -25
- package/dist/chunks/{pty-265qpxfd.js → file-retention-47kcz5j6.js} +9 -9
- package/dist/chunks/{pty-vzvreeh0.js → file-retention-4cwyw9nt.js} +26 -26
- package/dist/chunks/{pty-p4w4r7dh.js → file-retention-4gde0705.js} +23 -23
- package/dist/chunks/{pty-0pk2jhda.js → file-retention-52tjq29f.js} +15 -15
- package/dist/chunks/{pty-mfqp6xfm.js → file-retention-56gdpj1q.js} +6 -6
- package/dist/chunks/{pty-drwq78ky.js → file-retention-57b9ws8p.js} +5 -5
- package/dist/chunks/{pty-5c4hm403.js → file-retention-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-80nfq4qt.js → file-retention-5njbeffs.js} +14 -14
- package/dist/chunks/{pty-c1e8wyn8.js → file-retention-5pny8g6e.js} +22 -22
- package/dist/chunks/{pty-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-q0mc0b5w.js → file-retention-63e4nz8m.js} +15 -15
- package/dist/chunks/{pty-csf2jhsg.js → file-retention-64kphnzf.js} +4 -4
- package/dist/chunks/{pty-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{pty-5jymwptv.js → file-retention-66cwwmwe.js} +15 -15
- package/dist/chunks/{pty-vh4jega5.js → file-retention-675gk2e9.js} +4 -4
- package/dist/chunks/file-retention-6ekjhmbd.js +247 -0
- package/dist/chunks/{pty-md73wrxd.js → file-retention-6haqad0x.js} +11 -11
- package/dist/chunks/{pty-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-1dtwba70.js → file-retention-6ppm5kn9.js} +10 -10
- package/dist/chunks/{pty-fgfv3zgn.js → file-retention-6rx60a99.js} +6 -6
- package/dist/chunks/{pty-1rmrbrg3.js → file-retention-6wys8vmt.js} +35 -35
- package/dist/chunks/{pty-81swgkk7.js → file-retention-6x0h2hvg.js} +9 -9
- package/dist/chunks/{pty-560fm0yr.js → file-retention-6x3t56ym.js} +20 -20
- package/dist/chunks/{pty-mvfsc1pv.js → file-retention-73tb2d7t.js} +3 -3
- package/dist/chunks/{pty-47ms443m.js → file-retention-76x0exek.js} +7 -7
- package/dist/chunks/{pty-tf51b0d7.js → file-retention-776x8tr7.js} +11 -11
- package/dist/chunks/{pty-rec5x2c9.js → file-retention-78d0vfx8.js} +15 -15
- package/dist/chunks/{pty-fab8hzt3.js → file-retention-7ac170kv.js} +4 -4
- package/dist/chunks/{pty-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-fcrkznn8.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-1sfcqhhy.js → file-retention-7et47hrm.js} +20 -20
- package/dist/chunks/{pty-6jqjnndr.js → file-retention-80z3br0b.js} +22 -22
- package/dist/chunks/{pty-nzz37pb4.js → file-retention-82zd9er4.js} +5 -5
- package/dist/chunks/file-retention-86f8k4a1.js +478 -0
- package/dist/chunks/{pty-p49bz645.js → file-retention-8bjpbq0k.js} +12 -12
- package/dist/chunks/{pty-rgy7ctyq.js → file-retention-8brgam58.js} +6 -6
- package/dist/chunks/{pty-j375qb82.js → file-retention-8csq5jz1.js} +21 -21
- package/dist/chunks/{pty-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-bzv935yq.js → file-retention-8htta391.js} +8 -8
- package/dist/chunks/{pty-m3fvcdnn.js → file-retention-9f77mvx3.js} +12 -12
- package/dist/chunks/{pty-hy8cpyhv.js → file-retention-9jhw3ahb.js} +8 -8
- package/dist/chunks/{pty-0gdya7rn.js → file-retention-9k6ah3ay.js} +28 -28
- package/dist/chunks/{pty-g8v17drp.js → file-retention-9sbphxp7.js} +10 -10
- package/dist/chunks/{pty-19vf66h0.js → file-retention-a2ew8a62.js} +4 -4
- package/dist/chunks/{pty-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-qsrmn293.js → file-retention-abvna2sd.js} +11 -11
- package/dist/chunks/{pty-mhaczvzm.js → file-retention-am60j996.js} +8 -8
- package/dist/chunks/{pty-z0yx8wna.js → file-retention-avg07sbv.js} +23 -23
- package/dist/chunks/{pty-xqrhjvfz.js → file-retention-azpwskpm.js} +22 -22
- package/dist/chunks/{pty-b2yd8hps.js → file-retention-b3d6gjgc.js} +65 -65
- package/dist/chunks/{pty-zet8ehz1.js → file-retention-b3qge5m1.js} +28 -28
- package/dist/chunks/{pty-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-3ysc0688.js → file-retention-baspsnr0.js} +14 -14
- package/dist/chunks/{pty-7yygdjqk.js → file-retention-bb8wzrbb.js} +8 -8
- package/dist/chunks/{pty-2tstmrdm.js → file-retention-bc5qqj72.js} +24 -24
- package/dist/chunks/{pty-qhbr658c.js → file-retention-bdyxy7dh.js} +10 -10
- package/dist/chunks/{pty-ve4pfa0n.js → file-retention-bf0ztrs3.js} +4 -4
- package/dist/chunks/{pty-9hm81gvk.js → file-retention-bzb98473.js} +32 -32
- package/dist/chunks/{pty-7v7z07mj.js → file-retention-c1180j6r.js} +20 -20
- package/dist/chunks/{pty-ep44vwp9.js → file-retention-c917e1ye.js} +1 -1
- package/dist/chunks/{pty-2q9g3xfa.js → file-retention-c9ztkm9f.js} +7 -7
- package/dist/chunks/{pty-ghp6atvr.js → file-retention-cfejgvt1.js} +17 -17
- package/dist/chunks/{pty-pnaxc6j9.js → file-retention-cfv81dax.js} +8 -8
- package/dist/chunks/{pty-3gm7q0qp.js → file-retention-ched4952.js} +10 -10
- package/dist/chunks/{pty-p37cw4rj.js → file-retention-cmwkp3r5.js} +8 -8
- package/dist/chunks/{pty-v9shy27a.js → file-retention-cnfba84y.js} +18 -18
- package/dist/chunks/{pty-r2m716tb.js → file-retention-cwa6csj7.js} +9 -9
- package/dist/chunks/{pty-96hebhth.js → file-retention-cwazgnkr.js} +8 -8
- package/dist/chunks/{pty-reqevd7p.js → file-retention-d3dn9r6m.js} +15 -15
- package/dist/chunks/{pty-gr74bzj8.js → file-retention-d66a0nr4.js} +152 -152
- package/dist/chunks/{pty-jjd03mtq.js → file-retention-dbjfv9j1.js} +15 -15
- package/dist/chunks/{pty-1t48jgda.js → file-retention-dgfnmtzr.js} +21 -21
- package/dist/chunks/{pty-xg627qy4.js → file-retention-dgprnyba.js} +37 -37
- package/dist/chunks/{pty-dj2t23y0.js → file-retention-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-n4vcx0q5.js → file-retention-dj6gbf46.js} +6 -6
- package/dist/chunks/{pty-ccxvsmm1.js → file-retention-dk1ddre8.js} +24 -24
- package/dist/chunks/{pty-v5m3chc5.js → file-retention-dn8nwevp.js} +17 -17
- package/dist/chunks/{pty-dpkg50ah.js → file-retention-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-ztwfyng4.js → file-retention-dt5xmw4k.js} +4 -4
- package/dist/chunks/{pty-q3hf676f.js → file-retention-dwda6jd0.js} +25 -25
- package/dist/chunks/{pty-4ph2weht.js → file-retention-e1j9zn8x.js} +9 -9
- package/dist/chunks/{pty-e5nv3ght.js → file-retention-e5nv3ght.js} +2 -2
- package/dist/chunks/{pty-jbjr1a4g.js → file-retention-e6d6pdps.js} +5 -5
- package/dist/chunks/{pty-7j92jdde.js → file-retention-ec8389mk.js} +4 -4
- package/dist/chunks/{pty-ve6nm2s5.js → file-retention-edbfpfck.js} +6 -6
- package/dist/chunks/{pty-b98gxjfa.js → file-retention-eew5sq93.js} +24 -24
- package/dist/chunks/{pty-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-8dacsgkb.js → file-retention-efpr09yf.js} +22 -22
- package/dist/chunks/{pty-57jy6g3z.js → file-retention-espmqh47.js} +3 -3
- package/dist/chunks/{pty-3sd4rb0z.js → file-retention-esqa9h64.js} +33 -33
- package/dist/chunks/{pty-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-wb1q4cb2.js → file-retention-eyn7p3z3.js} +6 -6
- package/dist/chunks/{pty-q90tpkk7.js → file-retention-f0n97kr3.js} +11 -11
- package/dist/chunks/{pty-g7hs1n9w.js → file-retention-f11whwgg.js} +23 -23
- package/dist/chunks/{pty-p796yvag.js → file-retention-f7tymrhk.js} +47 -47
- package/dist/chunks/{pty-p693jj1c.js → file-retention-f97c0hvw.js} +4 -4
- package/dist/chunks/{pty-wgpcemkv.js → file-retention-fa2c6m02.js} +14 -14
- package/dist/chunks/{pty-qvn71t82.js → file-retention-fphthhwy.js} +39 -39
- package/dist/chunks/{pty-n4nzzcpz.js → file-retention-fvezrss0.js} +12 -12
- package/dist/chunks/{pty-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-9yp60h8y.js → file-retention-fzsywmjq.js} +2 -2
- package/dist/chunks/{pty-1f50zkgk.js → file-retention-g515c63b.js} +26 -26
- package/dist/chunks/{pty-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-jjhhf8t1.js → file-retention-grb17zcw.js} +87 -87
- package/dist/chunks/{pty-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-kzqcaydz.js → file-retention-gxh64nqm.js} +8 -8
- package/dist/chunks/{pty-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-4dgbcxzg.js → file-retention-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-dhwr7h25.js → file-retention-h74ge2a2.js} +8 -8
- package/dist/chunks/{pty-v8qx4mjf.js → file-retention-hb7wfmtw.js} +7 -7
- package/dist/chunks/{pty-hdnk95c8.js → file-retention-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-22321kh4.js → file-retention-hekbvwg7.js} +45 -45
- package/dist/chunks/{pty-prxmybba.js → file-retention-hr2j7280.js} +8 -8
- package/dist/chunks/{pty-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-qt5k3wn1.js → file-retention-j91djj78.js} +16 -16
- package/dist/chunks/{pty-t918kx73.js → file-retention-jwztks0a.js} +13 -13
- package/dist/chunks/{pty-bfddptag.js → file-retention-k2fzxap7.js} +6 -6
- package/dist/chunks/{pty-yg8nzkpe.js → file-retention-k59erz6z.js} +24 -24
- package/dist/chunks/{pty-6bymh0k8.js → file-retention-k69na4ps.js} +29 -29
- package/dist/chunks/{pty-m4gv7951.js → file-retention-kchqah57.js} +12 -12
- package/dist/chunks/{pty-rxth5jgn.js → file-retention-kd4pdhg0.js} +3 -3
- package/dist/chunks/{pty-745a2tvp.js → file-retention-kenaddax.js} +18 -18
- package/dist/chunks/{pty-nrk5vjbf.js → file-retention-kerhshr9.js} +5 -5
- package/dist/chunks/{pty-vsp1fds9.js → file-retention-kk00bynn.js} +4 -4
- package/dist/chunks/{pty-t63vnq2n.js → file-retention-krbv9b1e.js} +18 -18
- package/dist/chunks/{pty-f8p08egg.js → file-retention-kvw3pn7b.js} +22 -22
- package/dist/chunks/{pty-m0jqrx5p.js → file-retention-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-tjyfaxz9.js → file-retention-mdp4tsk4.js} +3 -3
- package/dist/chunks/{pty-r4c8zd7v.js → file-retention-mg0hvqns.js} +18 -18
- package/dist/chunks/{pty-zper1j5h.js → file-retention-mhfmqj3q.js} +11 -11
- package/dist/chunks/{pty-yt0fqk68.js → file-retention-mtft99cd.js} +5 -5
- package/dist/chunks/{pty-q6d53jre.js → file-retention-mw934p8z.js} +8 -8
- package/dist/chunks/{pty-6gdcyvbq.js → file-retention-mytrx3qe.js} +34 -34
- package/dist/chunks/{pty-4nj4bn9q.js → file-retention-n37c4crj.js} +8 -8
- package/dist/chunks/{pty-b7a7q96r.js → file-retention-n7a1v19n.js} +36 -36
- package/dist/chunks/{pty-5273xt8y.js → file-retention-nefkn79j.js} +12 -12
- package/dist/chunks/{pty-gg1mvr65.js → file-retention-njct7pyc.js} +30 -30
- package/dist/chunks/{pty-8jmaqybk.js → file-retention-nvxqht09.js} +3 -3
- package/dist/chunks/{pty-t1w33hkx.js → file-retention-p17m87ch.js} +23 -23
- package/dist/chunks/{pty-np9zq865.js → file-retention-p4gp63td.js} +22 -22
- package/dist/chunks/{pty-mhs55g1f.js → file-retention-p9nbetk4.js} +38 -38
- package/dist/chunks/{pty-2e6e6kva.js → file-retention-pay99sa2.js} +26 -26
- package/dist/chunks/{pty-2jtkxc1j.js → file-retention-pdyjjwcd.js} +2 -2
- package/dist/chunks/{pty-knyjwg4b.js → file-retention-pgstsa3r.js} +24 -24
- package/dist/chunks/{pty-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{pty-dwax96b2.js → file-retention-pr5bwn0j.js} +2 -2
- package/dist/chunks/{pty-cbtxs2t3.js → file-retention-pwg06x6c.js} +10 -10
- package/dist/chunks/{pty-afs310a1.js → file-retention-q03excpa.js} +8 -8
- package/dist/chunks/{pty-ttcg97r3.js → file-retention-q0hqxkgm.js} +3 -3
- package/dist/chunks/{pty-w3k8r67b.js → file-retention-q0qep26h.js} +3 -3
- package/dist/chunks/{pty-zm0k5bkg.js → file-retention-q564kvp8.js} +25 -25
- package/dist/chunks/{pty-g05fqrxf.js → file-retention-q8h7q9dm.js} +32 -32
- package/dist/chunks/{pty-byg1vfgh.js → file-retention-q9jzzx65.js} +88 -88
- package/dist/chunks/{pty-15q9afzf.js → file-retention-qcssbjdb.js} +21 -21
- package/dist/chunks/{pty-xk747vep.js → file-retention-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-j3deyfsj.js → file-retention-qsr32hwm.js} +10 -10
- package/dist/chunks/{pty-hnr5yq9h.js → file-retention-qte5z7bc.js} +5 -5
- package/dist/chunks/{pty-rx7f9tze.js → file-retention-r1eewcm5.js} +6 -6
- package/dist/chunks/{pty-q7vngajz.js → file-retention-r4d7c6cg.js} +4 -4
- package/dist/chunks/{pty-g01xz703.js → file-retention-r4wafeyv.js} +18 -18
- package/dist/chunks/{pty-6c80fjdq.js → file-retention-r5ck68vt.js} +9 -9
- package/dist/chunks/{pty-4t14qv7d.js → file-retention-r70effxe.js} +26 -26
- package/dist/chunks/{pty-r8xr0va3.js → file-retention-r8xr0va3.js} +1 -1
- package/dist/chunks/{pty-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
- package/dist/chunks/file-retention-rap9a73h.js +18 -0
- package/dist/chunks/{pty-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-zcrspsvn.js → file-retention-rpg9c19m.js} +4 -4
- package/dist/chunks/{pty-zrqpdph7.js → file-retention-rs1yzs7v.js} +53 -53
- package/dist/chunks/{pty-6p272qmj.js → file-retention-s1g5cvt5.js} +20 -20
- package/dist/chunks/{pty-s4enseaf.js → file-retention-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-rhjbct0v.js → file-retention-s8d7rejh.js} +4 -4
- package/dist/chunks/{pty-7xdz4a7r.js → file-retention-s8s13gpy.js} +11 -11
- package/dist/chunks/{pty-tpz8kgav.js → file-retention-se8z0pj2.js} +13 -13
- package/dist/chunks/{pty-8s1fj8xg.js → file-retention-sm965ndy.js} +8 -8
- package/dist/chunks/{pty-4c10g6d9.js → file-retention-spmz9ee0.js} +42 -42
- package/dist/chunks/{pty-269wx4qw.js → file-retention-sq7pnv40.js} +13 -13
- package/dist/chunks/{pty-st6vffwr.js → file-retention-sr8h7cpq.js} +30 -30
- package/dist/chunks/{pty-b68c1mkf.js → file-retention-t09drp0q.js} +4 -4
- package/dist/chunks/{pty-9qvcdm02.js → file-retention-t8tp1xd4.js} +19 -19
- package/dist/chunks/{pty-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-hx0tmcbf.js → file-retention-tbnbgk70.js} +21 -21
- package/dist/chunks/{pty-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-88zqydxa.js → file-retention-tdme3qvq.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{pty-h55jx3fv.js → file-retention-tfpy23zn.js} +4 -4
- package/dist/chunks/{pty-xbvm8yz7.js → file-retention-tq30t05y.js} +16 -16
- package/dist/chunks/{pty-x0600czv.js → file-retention-tqkrwgse.js} +2 -2
- package/dist/chunks/{pty-6da1v5x0.js → file-retention-trpk0pwm.js} +1 -1
- package/dist/chunks/{pty-h6g5nf3k.js → file-retention-ts7n5m5a.js} +9 -9
- package/dist/chunks/{pty-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-3vt2r2mp.js → file-retention-ty00y7c1.js} +13 -13
- package/dist/chunks/{pty-s3efxrkp.js → file-retention-v8q046s9.js} +10 -10
- package/dist/chunks/{pty-zt03gkt5.js → file-retention-vc4e6k4r.js} +4 -4
- package/dist/chunks/{pty-5dyx496h.js → file-retention-vchtbmsk.js} +11 -11
- package/dist/chunks/{pty-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-4xat34hg.js → file-retention-vf1prd4j.js} +19 -19
- package/dist/chunks/file-retention-vpz3zhr4.js +26 -0
- package/dist/chunks/{pty-9ej2vq3a.js → file-retention-vsecdp8k.js} +46 -46
- package/dist/chunks/{pty-2bx55675.js → file-retention-vyjdy1t4.js} +9 -9
- package/dist/chunks/{pty-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-4y17mfxp.js → file-retention-w0ay8c0v.js} +16 -16
- package/dist/chunks/{pty-vjmzn78y.js → file-retention-w3pg4pjy.js} +6 -6
- package/dist/chunks/{pty-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-xcz499sa.js → file-retention-w8y9a79x.js} +41 -41
- package/dist/chunks/{pty-rb2n45pq.js → file-retention-wcxyx4rr.js} +25 -25
- package/dist/chunks/{pty-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{pty-96apsh6e.js → file-retention-wfqqa7gf.js} +10 -10
- package/dist/chunks/{pty-es9gr8ew.js → file-retention-wjx4xhr2.js} +43 -43
- package/dist/chunks/{pty-04kq0c7x.js → file-retention-wqnexqmt.js} +11 -11
- package/dist/chunks/{pty-yj0qx3n0.js → file-retention-ws2pr6e8.js} +11 -11
- package/dist/chunks/{pty-z94pkk3z.js → file-retention-wv3yzfnj.js} +10 -10
- package/dist/chunks/{pty-7k4h75n7.js → file-retention-wwc60ycd.js} +3 -3
- package/dist/chunks/{pty-rtjhe620.js → file-retention-wy0sms8q.js} +10 -10
- package/dist/chunks/{pty-ts2x07a1.js → file-retention-wy8b5sm2.js} +1 -1
- package/dist/chunks/{pty-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-ba2esg0k.js → file-retention-x5hkbppd.js} +26 -26
- package/dist/chunks/{pty-3hvf1h1m.js → file-retention-x8xkwwsf.js} +36 -36
- package/dist/chunks/{pty-fkjmw100.js → file-retention-xfdrc2qg.js} +8 -8
- package/dist/chunks/{pty-qpr8cphr.js → file-retention-xm1fs24h.js} +26 -26
- package/dist/chunks/{pty-3fnq4smn.js → file-retention-xvy8f8fg.js} +22 -22
- package/dist/chunks/{pty-1603qf85.js → file-retention-xxk5ry2v.js} +6 -6
- package/dist/chunks/{pty-yktp2w1r.js → file-retention-y180wre1.js} +15 -15
- package/dist/chunks/{pty-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-apwz9w6v.js → file-retention-y49m3jq5.js} +12 -12
- package/dist/chunks/{pty-g1x4ag33.js → file-retention-yf52dd19.js} +3 -3
- package/dist/chunks/{pty-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-2zc1mzmv.js → file-retention-yzmh6vm3.js} +3 -3
- package/dist/chunks/{pty-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-z3pw5915.js → file-retention-z3pw5915.js} +2 -2
- package/dist/chunks/{pty-bsd4kq7r.js → file-retention-z79d5grv.js} +33 -33
- package/dist/chunks/{pty-swye7zsf.js → file-retention-zcv4gjfc.js} +15 -15
- package/dist/chunks/{pty-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-de14jcft.js → file-retention-zgqrnz3r.js} +16 -16
- package/dist/chunks/{pty-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +122 -122
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- 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 +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- 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 +92 -92
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- 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-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/pty-45th5jwr.js +0 -18
- package/dist/chunks/pty-avkswajw.js +0 -247
- package/dist/chunks/pty-e6j17fg9.js +0 -26
- package/dist/chunks/pty-gbadjzag.js +0 -4
- package/dist/chunks/pty-y9pa59c6.js +0 -478
- /package/dist/chunks/{pty-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e3qxr5gk.js → file-retention-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
7
7
|
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule3
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info24 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule3,
|
|
41
|
+
export { Action2, Object2, Rule3, Info24, exports_permission2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service66,
|
|
3
|
+
node70
|
|
4
|
+
} from "./file-retention-pay99sa2.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service30,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service30 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service66;
|
|
64
|
+
return Service30.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node70] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service30, node34, exports_instructions2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-kd4pdhg0.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-tfpy23zn.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-64kphnzf.js";
|
|
21
21
|
import {
|
|
22
22
|
load4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9jhw3ahb.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-wy8b5sm2.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-0h3rvf5y.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-retention-tdme3qvq.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-retention-6rx60a99.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-retention-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./file-retention-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service8,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node10,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
301
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service81;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service82).db;
|
|
@@ -607,7 +607,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service8.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
619
|
+
var node10 = makeLocationNode({
|
|
620
|
+
service: Service8,
|
|
621
621
|
layer: layer6,
|
|
622
622
|
deps: [node85, node86, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node10, exports_compaction2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-f7tymrhk.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load5
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event14,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service70,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured11,
|
|
@@ -22,7 +22,7 @@ __export(exports_watcher, {
|
|
|
22
22
|
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node74,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event14 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load5());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service70 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer24 = (options) => Layer.effect(
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service70.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service70.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service70).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service70, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured11(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service70, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node74 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event14, hasNativeBinding2, Native3, Options10, Service70, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node74, exports_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service39
|
|
7
|
+
} from "./file-retention-q564kvp8.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-nvxqht09.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-283sq9eb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service39;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info22,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info22 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info22, exports_mcp5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin34 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin25 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin34, exports_exa };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-tfpy23zn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./file-retention-zgqrnz3r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./file-retention-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service48,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node52
|
|
16
|
+
} from "./file-retention-azpwskpm.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node15
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service81;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const shell = yield* Service48;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node15 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node85,
|
|
276
|
+
deps: [node85, node80, node52]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|