@opencode/core 0.0.0-dev-21156 → 0.0.0-dev-21164
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{config-w53ppd24.js → state-04xdpyc7.js} +8 -8
- package/dist/chunks/{config-3svzs5ds.js → state-06fwzbc7.js} +30 -30
- package/dist/chunks/{config-qnnxdq8d.js → state-0a9v6p0f.js} +3 -3
- package/dist/chunks/{config-2ryng5r3.js → state-0b5g1ynf.js} +4 -4
- package/dist/chunks/{config-s9q60krt.js → state-0jb86j0j.js} +28 -28
- package/dist/chunks/{config-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-2tgmbvtq.js → state-0y567k9j.js} +11 -11
- package/dist/chunks/{config-vbnrafw1.js → state-0ys6pg51.js} +35 -35
- package/dist/chunks/{config-ndj3pb5k.js → state-12rden0r.js} +16 -16
- package/dist/chunks/{config-r840eenc.js → state-14q6bv5p.js} +27 -27
- package/dist/chunks/{config-m0hfjg5p.js → state-1degfmvd.js} +25 -25
- package/dist/chunks/{config-c8vd6pmq.js → state-1e7ww9bh.js} +29 -29
- package/dist/chunks/{config-bzeyqsqd.js → state-1ep4rre3.js} +4 -4
- package/dist/chunks/{config-yj7k2rcj.js → state-1nhqthzg.js} +6 -6
- package/dist/chunks/{config-n70jq7tg.js → state-1p4qe8rf.js} +8 -8
- package/dist/chunks/{config-p7tn61qm.js → state-1xxyjdwj.js} +24 -24
- package/dist/chunks/{config-nzq7ck9f.js → state-2a6rn6yr.js} +6 -6
- package/dist/chunks/{config-py6mq5rr.js → state-2je2vwxy.js} +27 -27
- package/dist/chunks/{config-4m152j1f.js → state-2jxcp2qh.js} +23 -23
- package/dist/chunks/{config-z3kptfxd.js → state-2kzmk4xx.js} +24 -24
- package/dist/chunks/{config-v2behepr.js → state-32c6d2g9.js} +18 -18
- package/dist/chunks/{config-3fcg0v3h.js → state-36c3ee22.js} +20 -20
- package/dist/chunks/{config-31nqb8af.js → state-3f5qvfyk.js} +35 -35
- package/dist/chunks/{config-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
- package/dist/chunks/{config-1ady8db6.js → state-3jyr06yg.js} +9 -9
- package/dist/chunks/{config-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-q4j1txf5.js → state-3y0h35ga.js} +22 -22
- package/dist/chunks/{config-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-xzmx2ghs.js → state-46mv6j9f.js} +4 -4
- package/dist/chunks/{config-ygdna4kr.js → state-47jkzegy.js} +5 -5
- package/dist/chunks/{config-2gdk9kh0.js → state-4e3zx06r.js} +29 -29
- package/dist/chunks/{config-y2m6jgrd.js → state-4r80m7sf.js} +21 -21
- package/dist/chunks/{config-1pxz8ven.js → state-4xpgt2w9.js} +5 -5
- package/dist/chunks/{config-vz0m5rjp.js → state-4yqedry9.js} +19 -19
- package/dist/chunks/{config-n1n192bv.js → state-4z58m4b4.js} +4 -4
- package/dist/chunks/{config-yr445j22.js → state-50b15zdf.js} +13 -13
- package/dist/chunks/{config-mzs1a1nw.js → state-52wgxwr3.js} +22 -22
- package/dist/chunks/{config-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{config-4gtms2p3.js → state-54z0pcys.js} +5 -5
- package/dist/chunks/{config-bmr56wjg.js → state-5fec3t3w.js} +9 -9
- package/dist/chunks/{config-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/state-5trgskkw.js +112 -0
- package/dist/chunks/{config-br0tr5aq.js → state-5yzzbxa7.js} +8 -8
- package/dist/chunks/{config-6827pfxn.js → state-6827pfxn.js} +1 -1
- package/dist/chunks/{config-5bmg60y8.js → state-68rj5w6w.js} +23 -23
- package/dist/chunks/{config-y56ehv6b.js → state-6hjx5zpb.js} +9 -9
- package/dist/chunks/{config-r7m43x6j.js → state-6pj4aq9f.js} +14 -14
- package/dist/chunks/{config-gptmh3r3.js → state-6szz86ph.js} +11 -11
- package/dist/chunks/{config-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-knjsy5w6.js → state-7171kgjs.js} +23 -23
- package/dist/chunks/{config-bg9wn7f0.js → state-74x5w3z1.js} +11 -11
- package/dist/chunks/{config-775gj3j1.js → state-775gj3j1.js} +2 -2
- package/dist/chunks/{config-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
- package/dist/chunks/{config-gzta81e1.js → state-7emf5024.js} +11 -11
- package/dist/chunks/{config-b4jvr3vn.js → state-7wftzz1s.js} +13 -13
- package/dist/chunks/{config-y7695g7k.js → state-826pmkg6.js} +3 -3
- package/dist/chunks/{config-zarbfd7v.js → state-830wccwk.js} +36 -36
- package/dist/chunks/{config-0wahvp2z.js → state-83n4xtav.js} +32 -32
- package/dist/chunks/{config-jkhgvd36.js → state-8ftngv0m.js} +21 -21
- package/dist/chunks/{config-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-cr7c1z1p.js → state-8nc6bgmq.js} +34 -34
- package/dist/chunks/{config-rkprpv83.js → state-8sze2n9a.js} +6 -6
- package/dist/chunks/{config-8zd4835z.js → state-8vwdhsen.js} +24 -24
- package/dist/chunks/{config-91qna3x0.js → state-91qna3x0.js} +3 -3
- package/dist/chunks/{config-8x8d44eg.js → state-924wa2tb.js} +13 -13
- package/dist/chunks/{config-p7vsh3f9.js → state-93jtvh07.js} +9 -9
- package/dist/chunks/{config-hzg0nfp4.js → state-944z6h65.js} +46 -46
- package/dist/chunks/{config-4232yt8k.js → state-9g63gfxm.js} +36 -36
- package/dist/chunks/{config-3ya4fmn6.js → state-9h7zjkfp.js} +6 -6
- package/dist/chunks/{config-xss39ra2.js → state-9s0s93fc.js} +7 -7
- package/dist/chunks/{config-s6gs191x.js → state-9smfp2a8.js} +45 -45
- package/dist/chunks/{config-6azhwtr2.js → state-9v4nxjff.js} +16 -16
- package/dist/chunks/{config-kftscqbm.js → state-9ye1n4d4.js} +18 -18
- package/dist/chunks/{config-5m7cz4hw.js → state-9zs8zr4d.js} +23 -23
- package/dist/chunks/{config-gad3atn7.js → state-a8ffpsx1.js} +32 -32
- package/dist/chunks/{config-4f2eg8dn.js → state-aatr6m39.js} +9 -9
- package/dist/chunks/{config-hpemfq5t.js → state-acq56fsz.js} +19 -19
- package/dist/chunks/{config-x661k3y3.js → state-addxnjmp.js} +4 -4
- package/dist/chunks/{config-h5mwzm3v.js → state-amjr18r9.js} +3 -3
- package/dist/chunks/{config-2k9k7dyz.js → state-amqjr904.js} +15 -15
- package/dist/chunks/{config-jqjxhsbp.js → state-anpb8jtk.js} +26 -26
- package/dist/chunks/{config-8ksck58n.js → state-asmz18sf.js} +24 -24
- package/dist/chunks/{config-aa7td1ct.js → state-awbven8r.js} +12 -12
- package/dist/chunks/{config-n23ead0j.js → state-b6khc3p6.js} +15 -15
- package/dist/chunks/{config-62bhy86h.js → state-bea3g4pw.js} +8 -8
- package/dist/chunks/{config-qkk99ax7.js → state-bgw4pfqr.js} +14 -14
- package/dist/chunks/{config-ywt8jp22.js → state-bjx1sjef.js} +9 -9
- package/dist/chunks/{config-by5v678g.js → state-by5v678g.js} +1 -1
- package/dist/chunks/{config-e0dcddvx.js → state-byqfybbv.js} +10 -10
- package/dist/chunks/{config-es1vcfrp.js → state-c1fqxshp.js} +3 -3
- package/dist/chunks/{config-my4zabxr.js → state-c2sed5cq.js} +2 -2
- package/dist/chunks/{config-16tkgde1.js → state-c46vpdfe.js} +23 -23
- package/dist/chunks/{config-ef16zjb1.js → state-c5ggqzvz.js} +8 -8
- package/dist/chunks/{config-00qb517m.js → state-c7h7h1sa.js} +21 -21
- package/dist/chunks/{config-37fptnyn.js → state-c926a9vq.js} +13 -13
- package/dist/chunks/{config-qwjs2kwd.js → state-c9t1dcyx.js} +45 -45
- package/dist/chunks/{config-ht1w9amk.js → state-ca1sdfxv.js} +27 -27
- package/dist/chunks/{config-petykedj.js → state-cb3tvw3f.js} +34 -34
- package/dist/chunks/{config-bkjwwwpg.js → state-cbpk9ydt.js} +41 -41
- package/dist/chunks/{config-fan8xm03.js → state-cdzn34jf.js} +8 -8
- package/dist/chunks/{config-ep8b81w8.js → state-d1c3kaqr.js} +15 -15
- package/dist/chunks/{config-3mqcyggh.js → state-d32520t0.js} +17 -17
- package/dist/chunks/{config-v180r118.js → state-dhs04fwy.js} +5 -5
- package/dist/chunks/{config-ky7v3ft6.js → state-djhm8fct.js} +1 -1
- package/dist/chunks/{config-d4he2qe1.js → state-djszqvmq.js} +9 -9
- package/dist/chunks/{config-xd7zb3mv.js → state-dn1vkgh6.js} +2 -2
- package/dist/chunks/{config-xwvtpwpq.js → state-dqfn4xgm.js} +1 -1
- package/dist/chunks/{config-m57tc9yg.js → state-dx79m8ve.js} +16 -16
- package/dist/chunks/{config-jkaa9ecx.js → state-e2kwjmz0.js} +47 -47
- package/dist/chunks/{config-6rty1j0g.js → state-e3d48see.js} +7 -7
- package/dist/chunks/{config-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{config-z44d18ne.js → state-e4qzknek.js} +11 -11
- package/dist/chunks/{config-eej6y6fw.js → state-eej6y6fw.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-ym7t8bct.js → state-ejm2mja7.js} +20 -20
- package/dist/chunks/{config-emtqw88j.js → state-ewwfdr8f.js} +55 -55
- package/dist/chunks/{config-15anpan3.js → state-f6b8xx7n.js} +7 -7
- package/dist/chunks/{config-ntmket92.js → state-f9d85sya.js} +57 -57
- package/dist/chunks/{config-fcy631f0.js → state-fcy631f0.js} +1 -1
- package/dist/chunks/{config-kmvq0ytc.js → state-fdht6mpx.js} +20 -20
- package/dist/chunks/{config-a6f6pp35.js → state-fdradw2e.js} +92 -92
- package/dist/chunks/{config-0cb46qw4.js → state-fe1j0m2p.js} +5 -5
- package/dist/chunks/{config-xny46xtf.js → state-fm72x4ef.js} +5 -5
- package/dist/chunks/{config-ecf5f55r.js → state-fphjyfn7.js} +6 -6
- package/dist/chunks/{config-1w2wqhfv.js → state-fxaymqdw.js} +4 -4
- package/dist/chunks/{config-ywyx2haj.js → state-g21r4nge.js} +11 -11
- package/dist/chunks/{config-bc57reqq.js → state-g5gtgc56.js} +24 -24
- package/dist/chunks/{config-d7x0sh0y.js → state-g686f6pq.js} +9 -9
- package/dist/chunks/{config-d0fh0m8t.js → state-g9k9gtcq.js} +15 -15
- package/dist/chunks/{config-agzncre1.js → state-g9wmmzt4.js} +34 -34
- package/dist/chunks/{config-3g8j9he4.js → state-gd0tnyjc.js} +1 -1
- package/dist/chunks/{config-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-6ef7g3pm.js → state-geenf2p7.js} +27 -27
- package/dist/chunks/{config-9er612a0.js → state-gh0jst0q.js} +7 -7
- package/dist/chunks/{config-1y9xp183.js → state-ghz6dcrw.js} +11 -11
- package/dist/chunks/{config-ts8g9tcb.js → state-gr68k0te.js} +46 -46
- package/dist/chunks/{config-2s33x98z.js → state-gzwn65aj.js} +18 -18
- package/dist/chunks/{config-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-h7s7r6s9.js → state-h7s7r6s9.js} +2 -2
- package/dist/chunks/{config-atj23ky2.js → state-h7tvrppv.js} +26 -26
- package/dist/chunks/{config-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
- package/dist/chunks/{config-9bhybb0h.js → state-hpdd1er4.js} +40 -40
- package/dist/chunks/{config-6faby9yq.js → state-hqf9gdsc.js} +85 -85
- package/dist/chunks/{config-z20rs1dp.js → state-hrhze3cc.js} +4 -4
- package/dist/chunks/{config-z0dmr40s.js → state-hyay7qq8.js} +8 -8
- package/dist/chunks/{config-1ngxzj1t.js → state-j3bjw6yh.js} +11 -11
- package/dist/chunks/{config-nntjchz4.js → state-j5h5wtv3.js} +8 -8
- package/dist/chunks/{config-pzhx986g.js → state-jangkfdc.js} +18 -18
- package/dist/chunks/{config-aqts8bym.js → state-jbrpfam1.js} +25 -25
- package/dist/chunks/{config-nx1f892d.js → state-jh1xj5qc.js} +18 -18
- package/dist/chunks/{config-kpjr2c4n.js → state-k4n40zz3.js} +18 -18
- package/dist/chunks/{config-pk4j01h3.js → state-ka2dn2m1.js} +45 -45
- package/dist/chunks/{config-9ftxa59d.js → state-kepm3fq6.js} +15 -15
- package/dist/chunks/{config-f0ftzx98.js → state-kgen349b.js} +9 -9
- package/dist/chunks/{config-5rfy9b64.js → state-kmheh9sq.js} +9 -9
- package/dist/chunks/{config-ar7qj9qb.js → state-kshw4apv.js} +5 -5
- package/dist/chunks/{config-vzd2dnj0.js → state-kt95y7ck.js} +6 -6
- package/dist/chunks/{config-kwb1v3vj.js → state-kwb1v3vj.js} +1 -1
- package/dist/chunks/{config-np22qx9a.js → state-m1zv8vg2.js} +17 -17
- package/dist/chunks/{config-qd10pxjq.js → state-m25y3kv4.js} +5 -5
- package/dist/chunks/{config-v1jfr34d.js → state-m9cxx8a5.js} +6 -6
- package/dist/chunks/{config-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{config-drnf6xwf.js → state-mb14aw74.js} +2 -2
- package/dist/chunks/{config-w9dm48rx.js → state-mmfyj663.js} +6 -6
- package/dist/chunks/{config-55cs7kdd.js → state-mqmm1j72.js} +5 -5
- package/dist/chunks/{config-8v1c55y7.js → state-n53dqfr6.js} +4 -4
- package/dist/chunks/{config-27dxrjwt.js → state-nanc2j11.js} +28 -28
- package/dist/chunks/{config-da74zgpq.js → state-nezvftw4.js} +16 -16
- package/dist/chunks/{config-bgc5ggmx.js → state-ngyhb3xw.js} +4 -4
- package/dist/chunks/{config-vazmq0t8.js → state-nmh3d9z7.js} +18 -18
- package/dist/chunks/{config-hrxy5gz9.js → state-nq2ddahe.js} +20 -20
- package/dist/chunks/{config-38ys11y3.js → state-nrk5vjbf.js} +5 -5
- package/dist/chunks/{config-ty24c5yd.js → state-nxwqj47z.js} +27 -27
- package/dist/chunks/state-nxyky8fq.js +26 -0
- package/dist/chunks/{config-k9hh2x5v.js → state-p7b5znyc.js} +12 -12
- package/dist/chunks/{config-djgj92ab.js → state-p8jakte0.js} +71 -71
- package/dist/chunks/{config-3jks7pmm.js → state-pdxm3yxv.js} +25 -25
- package/dist/chunks/{config-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{config-pdtxyzer.js → state-pr9wjwdp.js} +19 -19
- package/dist/chunks/{config-6md506v0.js → state-ptm6ehsf.js} +30 -30
- package/dist/chunks/{config-85eckp6b.js → state-pyjedrk0.js} +14 -14
- package/dist/chunks/{config-7zwt65cf.js → state-pz18wrqx.js} +11 -11
- package/dist/chunks/{config-081jf6jy.js → state-qb7tzan5.js} +29 -29
- package/dist/chunks/{config-3snhm1cc.js → state-qgnwqvsz.js} +14 -14
- package/dist/chunks/{config-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{config-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{config-qqy62kfa.js → state-qxvxcxx4.js} +50 -50
- package/dist/chunks/{config-byyxtnce.js → state-r1cv1102.js} +31 -31
- package/dist/chunks/{config-ed1g29hy.js → state-r2z489rp.js} +3 -3
- package/dist/chunks/{config-d2bsj8xz.js → state-r3bk1756.js} +15 -15
- package/dist/chunks/{config-ndeg3hkr.js → state-r83h5v0b.js} +27 -27
- package/dist/chunks/{config-9r4vss61.js → state-r9yctxmr.js} +14 -14
- package/dist/chunks/{config-w25npe8e.js → state-ra5zedqg.js} +31 -31
- package/dist/chunks/{config-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-tkb22qbm.js → state-rert0e01.js} +2 -2
- package/dist/chunks/{config-c41wscbt.js → state-rj3eygr5.js} +2 -2
- package/dist/chunks/{config-39kkqvkc.js → state-rz015waj.js} +11 -11
- package/dist/chunks/{config-qgy46gc5.js → state-rz6s0eqf.js} +11 -11
- package/dist/chunks/{config-c8ax2afj.js → state-sa8ekw3f.js} +2 -2
- package/dist/chunks/{config-an37jmxn.js → state-sc62fwhg.js} +5 -5
- package/dist/chunks/{config-6tncn4c8.js → state-sgsbd493.js} +9 -9
- package/dist/chunks/{config-jhjpxhe8.js → state-skfgvw6a.js} +43 -43
- package/dist/chunks/{config-5y8mf0m9.js → state-skqv3z06.js} +11 -11
- package/dist/chunks/{config-yes57vxw.js → state-sn3f2xcp.js} +4 -4
- package/dist/chunks/{config-mfn01pgy.js → state-sr8dhdek.js} +40 -40
- package/dist/chunks/{config-kpcw6a42.js → state-sy0ygxnp.js} +22 -15
- package/dist/chunks/{config-syv4x271.js → state-syv4x271.js} +1 -1
- package/dist/chunks/{config-fj9nxzv8.js → state-t2tm0scr.js} +9 -9
- package/dist/chunks/{config-rhjbct0v.js → state-t550f9t1.js} +4 -4
- package/dist/chunks/{config-7a9jq5j6.js → state-t8byfdwz.js} +328 -328
- package/dist/chunks/{config-3yn7z15q.js → state-t9b24vtt.js} +22 -22
- package/dist/chunks/{config-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-rya4f72t.js → state-tb1hhae9.js} +17 -17
- package/dist/chunks/{config-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{config-h0ge1wdg.js → state-tep0381a.js} +11 -11
- package/dist/chunks/{config-d17g5ycy.js → state-tgjzfg6g.js} +4 -4
- package/dist/chunks/{config-4bm5ja14.js → state-tjedn1bk.js} +4 -4
- package/dist/chunks/{config-tm0kqsz3.js → state-tm0kqsz3.js} +1 -1
- package/dist/chunks/{config-395q6j9z.js → state-tt8gc4fv.js} +6 -6
- package/dist/chunks/{config-gjvn1hmy.js → state-tvx85zav.js} +11 -11
- package/dist/chunks/{config-tyytaxap.js → state-tyytaxap.js} +1 -1
- package/dist/chunks/{config-6epbmb42.js → state-v03m1nmw.js} +14 -14
- package/dist/chunks/state-v0yrtskr.js +257 -0
- package/dist/chunks/{config-6g7e4dd5.js → state-v210v162.js} +9 -9
- package/dist/chunks/{config-tkmwgdpd.js → state-v5dkyp31.js} +5 -5
- package/dist/chunks/{config-xqmctd4d.js → state-v63rdfcv.js} +6 -6
- package/dist/chunks/{config-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
- package/dist/chunks/{config-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{config-wb3g163g.js → state-vjttfn3j.js} +12 -12
- package/dist/chunks/{config-getyrnhw.js → state-vnp7fp1s.js} +10 -10
- package/dist/chunks/{config-1na69kea.js → state-vp6xanzc.js} +32 -32
- package/dist/chunks/{config-n5csmyza.js → state-vppcbm3y.js} +10 -10
- package/dist/chunks/{config-m5tr31rb.js → state-vv030mg9.js} +4 -4
- package/dist/chunks/{config-6321c5x9.js → state-vvb3m2vh.js} +16 -16
- package/dist/chunks/{config-bh0zzf2s.js → state-vwpcpzep.js} +8 -8
- package/dist/chunks/{config-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-84txncab.js → state-w1eejvng.js} +5 -5
- package/dist/chunks/{config-12zk3qvg.js → state-w2h1ghwm.js} +6 -6
- package/dist/chunks/{config-pn3bseh8.js → state-w2k3w8z1.js} +50 -50
- package/dist/chunks/{config-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-4adxw2q2.js → state-w4axh9wz.js} +4 -4
- package/dist/chunks/{config-9ns6q9a7.js → state-w5y70ybv.js} +16 -16
- package/dist/chunks/{config-44rv8rjk.js → state-w8e3kjgk.js} +17 -17
- package/dist/chunks/{config-7yew51pa.js → state-w9683aa4.js} +15 -15
- package/dist/chunks/{config-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{config-1dyvj8h6.js → state-weqd0pg4.js} +13 -13
- package/dist/chunks/{config-xbzn6fdr.js → state-whahtmr1.js} +13 -13
- package/dist/chunks/{config-trbcgy86.js → state-wn44tgv3.js} +19 -19
- package/dist/chunks/{config-9j11v238.js → state-wt4renp3.js} +13 -13
- package/dist/chunks/{config-550jb5ve.js → state-wxb0hg2e.js} +3 -3
- package/dist/chunks/{config-xgnv6vp2.js → state-x6r5yamz.js} +4 -4
- package/dist/chunks/{config-j80edccj.js → state-x7qpwy5v.js} +16 -16
- package/dist/chunks/{config-dvxswxp7.js → state-x91k2b7m.js} +5 -5
- package/dist/chunks/{config-drwq78ky.js → state-xfkkasph.js} +4 -4
- package/dist/chunks/{config-t54m200c.js → state-xm2cv5jq.js} +11 -11
- package/dist/chunks/{config-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-vxby77fw.js → state-y2yt4szk.js} +8 -8
- package/dist/chunks/{config-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{config-eh6ej367.js → state-yd4bzqjj.js} +5 -5
- package/dist/chunks/{config-25ctf35f.js → state-yfg8gsqz.js} +17 -17
- package/dist/chunks/{config-resgvpq3.js → state-yg9zenm6.js} +13 -13
- package/dist/chunks/{config-n6e51e7c.js → state-yht2bm2a.js} +33 -33
- package/dist/chunks/{config-n0hzk6d8.js → state-yk343m11.js} +50 -50
- package/dist/chunks/{config-r8xr0va3.js → state-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-v65bzgfg.js → state-z57ykapg.js} +14 -14
- package/dist/chunks/{config-4mpas951.js → state-z63mj70r.js} +11 -11
- package/dist/chunks/{config-zn07724n.js → state-zhxpdph0.js} +189 -189
- package/dist/chunks/{config-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-yfjcjf1e.js → state-zsjyy8cs.js} +31 -31
- package/dist/chunks/{config-4gs3zd7w.js → state-ztxkbmy1.js} +24 -24
- package/dist/chunks/{config-zee1rnkq.js → state-zvt5dnpc.js} +4 -4
- package/dist/chunks/{config-zxq2ej10.js → state-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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +8 -8
- 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 +93 -93
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- 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 +215 -215
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +94 -94
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/permission/saved.d.ts +26 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/config-d0v308s9.js +0 -73
- package/dist/chunks/config-m27jbqqg.js +0 -257
- package/dist/chunks/config-vvkw3ra8.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{config-pyv0edze.js → state-pyv0edze.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options6,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service60,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node62,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options6 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service60 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service60.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured6(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service60, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node62 = configured6();
|
|
213
213
|
|
|
214
|
-
export { Options6,
|
|
214
|
+
export { Options6, Service60, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured6, node62, exports_select };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-0a9v6p0f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./state-r9yctxmr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./state-2a6rn6yr.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service59
|
|
16
|
+
} from "./state-r1cv1102.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-1nhqthzg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service47;
|
|
45
45
|
const database = yield* Service86;
|
|
46
|
-
const bus = yield*
|
|
46
|
+
const bus = yield* Service85;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service59;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID8.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service47;
|
|
77
|
+
const bus = yield* Service85;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service59;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID8.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID8.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./state-r9yctxmr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service40,
|
|
7
|
+
node43
|
|
8
|
+
} from "./state-yk343m11.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node56
|
|
12
|
+
} from "./state-ewwfdr8f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node50
|
|
16
|
+
} from "./state-1xxyjdwj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer16,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service40;
|
|
42
|
+
const tools = yield* Service48;
|
|
43
|
+
const bus = yield* Service85;
|
|
44
|
+
const permission = yield* Service54;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: { input: input ?? {} },
|
|
@@ -105,7 +105,7 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node40 = makeLocationNode({
|
|
124
|
+
service: Service37,
|
|
125
|
+
layer: layer16,
|
|
126
|
+
deps: [node50, node43, node89, node56]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service37, layer16, node40, exports_mcp3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./state-2a6rn6yr.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-by5v678g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-1nhqthzg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./state-0jb86j0j.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./state-nezvftw4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./state-2kzmk4xx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -33,11 +33,11 @@ __export(exports_filesystem, {
|
|
|
33
33
|
Match: () => Match2,
|
|
34
34
|
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service14,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node16
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
107
107
|
}
|
|
108
108
|
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service82;
|
|
115
|
+
const search = yield* Service15;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -131,7 +131,7 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
131
131
|
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service14.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node16 = makeLocationNode({
|
|
175
|
+
service: Service14,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node86, node17]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info24 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./state-g9wmmzt4.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID9.make("gpt-5-chat-latest"), ID9.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./state-nezvftw4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./state-qxvxcxx4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./state-c7h7h1sa.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin38 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service63;
|
|
34
|
+
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin6 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin38, exports_worktree };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./state-r9yctxmr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node75
|
|
8
|
+
} from "./state-byqfybbv.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
20
|
Event: () => Event7,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service29,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node32
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
@@ -38,19 +38,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
-
var
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service29 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service85;
|
|
70
|
+
const kv = yield* Service72;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service29.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node32 = makeLocationNode({
|
|
188
|
+
service: Service29,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node89, node75]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service29, node32, exports_websearch3, Event7 };
|