@opencode/core 0.0.0-dev-20208 → 0.0.0-dev-20210
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-8xxde4qy.js → job-0drmdkyh.js} +10 -10
- package/dist/chunks/{ripgrep-gptkyj0y.js → job-0fv0qy7b.js} +39 -39
- package/dist/chunks/{ripgrep-m6f5ghys.js → job-0kc3x97y.js} +12 -12
- package/dist/chunks/job-0mesazry.js +4 -0
- package/dist/chunks/{ripgrep-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-510m7gjw.js → job-0r7yqxbf.js} +5 -5
- package/dist/chunks/{ripgrep-qk1bfebt.js → job-0ryj21ga.js} +15 -15
- package/dist/chunks/{ripgrep-a2qe2ev9.js → job-0xezjjjn.js} +8 -8
- package/dist/chunks/{ripgrep-fb2wt6fa.js → job-10x16gxy.js} +11 -11
- package/dist/chunks/{ripgrep-fhty9aym.js → job-1343pa1y.js} +11 -11
- package/dist/chunks/{ripgrep-dxczsaw9.js → job-13erj274.js} +12 -12
- package/dist/chunks/{ripgrep-nw11vmr7.js → job-14ff1ded.js} +19 -19
- package/dist/chunks/{ripgrep-4zx5xh11.js → job-14ykpj39.js} +16 -16
- package/dist/chunks/{ripgrep-yp2x3t23.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{ripgrep-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-jczp48x9.js → job-1gy9hngk.js} +20 -20
- package/dist/chunks/{ripgrep-0ahxpr47.js → job-1jrc3gj1.js} +15 -15
- package/dist/chunks/{ripgrep-r3hbvp2n.js → job-1q14zccx.js} +3 -3
- package/dist/chunks/{ripgrep-9penf6tv.js → job-1x05k9qq.js} +35 -35
- package/dist/chunks/{ripgrep-2cdfzw0z.js → job-1yq8j3yd.js} +20 -20
- package/dist/chunks/{ripgrep-sptth8gd.js → job-1zwczg0r.js} +16 -16
- package/dist/chunks/{ripgrep-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-3pe7sts8.js → job-24dd53tp.js} +9 -9
- package/dist/chunks/{ripgrep-j2sfdfbt.js → job-28545xhh.js} +2 -2
- package/dist/chunks/{ripgrep-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-sn71vbdz.js → job-2cm1a0kt.js} +1 -1
- package/dist/chunks/{ripgrep-tdhe5xga.js → job-2hwxdyne.js} +8 -8
- package/dist/chunks/{ripgrep-98h2hpj2.js → job-2mzh8hrt.js} +6 -6
- package/dist/chunks/job-2s7bdhjr.js +252 -0
- package/dist/chunks/{ripgrep-v3zreyn7.js → job-2wntsv1w.js} +3 -3
- package/dist/chunks/{ripgrep-5nsg3879.js → job-2ws671pd.js} +6 -6
- package/dist/chunks/{ripgrep-5c8b91wp.js → job-31kwwysy.js} +9 -9
- package/dist/chunks/{ripgrep-w0mmn6kc.js → job-35cxvtv3.js} +6 -6
- package/dist/chunks/{ripgrep-j32h1066.js → job-37r0wmkx.js} +15 -15
- package/dist/chunks/{ripgrep-s0fytse5.js → job-3an519z3.js} +9 -9
- package/dist/chunks/{ripgrep-4ndvwbzn.js → job-3bw57w1b.js} +3 -3
- package/dist/chunks/{ripgrep-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-2wyx13rv.js → job-3g8d2v0w.js} +4 -4
- package/dist/chunks/{ripgrep-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-9xgggab3.js → job-3sn7ekwb.js} +9 -9
- package/dist/chunks/{ripgrep-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3cfzdc8e.js → job-3w0fmcng.js} +5 -5
- package/dist/chunks/{ripgrep-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-nzyhnfxz.js → job-4dgbcxzg.js} +4 -4
- package/dist/chunks/{ripgrep-zdn4gb0j.js → job-4xwv19st.js} +13 -13
- package/dist/chunks/{ripgrep-54j2g604.js → job-52ng8kkh.js} +8 -8
- package/dist/chunks/{ripgrep-64n4gtmn.js → job-53942j2r.js} +34 -34
- package/dist/chunks/{ripgrep-12ex7h85.js → job-547pgejx.js} +18 -18
- package/dist/chunks/{ripgrep-mfqp6xfm.js → job-56gdpj1q.js} +6 -6
- package/dist/chunks/{ripgrep-jj72jhew.js → job-5bdbc12f.js} +6 -6
- package/dist/chunks/{ripgrep-r4yqrmdq.js → job-5d17xbav.js} +5 -5
- package/dist/chunks/{ripgrep-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-aqshan78.js → job-5ndvcd67.js} +16 -16
- package/dist/chunks/{ripgrep-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-0w792yr2.js → job-5tk144n8.js} +6 -6
- package/dist/chunks/{ripgrep-wq4mmp7m.js → job-5xpznt2d.js} +4 -4
- package/dist/chunks/job-619r8v3y.js +18 -0
- package/dist/chunks/{ripgrep-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-vr3nny2d.js → job-6aa1rjav.js} +45 -45
- package/dist/chunks/{ripgrep-f8yxf6yh.js → job-6c9qq78q.js} +2 -2
- package/dist/chunks/{ripgrep-nmtrt2bh.js → job-6dt4630h.js} +33 -33
- package/dist/chunks/{ripgrep-2402vzrj.js → job-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-bzgcn0jp.js → job-6hjx5zpb.js} +9 -9
- package/dist/chunks/{ripgrep-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-mx7pd35q.js → job-6n8v16q2.js} +18 -18
- package/dist/chunks/{ripgrep-gb3evf1k.js → job-6nd3htfv.js} +6 -6
- package/dist/chunks/{ripgrep-peqw7khj.js → job-6rqzwf0n.js} +22 -22
- package/dist/chunks/{ripgrep-z34yb1mg.js → job-6z4cnkya.js} +23 -23
- package/dist/chunks/{ripgrep-8d0p2m37.js → job-768gsh1v.js} +3 -3
- package/dist/chunks/{ripgrep-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-w8tgkp2m.js → job-7dd82eqh.js} +18 -18
- package/dist/chunks/{ripgrep-zswjw54r.js → job-7heb496c.js} +7 -7
- package/dist/chunks/{ripgrep-g8ynzfkw.js → job-7jqn706d.js} +28 -28
- package/dist/chunks/{ripgrep-mngbseg8.js → job-7qbjqedm.js} +17 -17
- package/dist/chunks/{ripgrep-57ez7d0k.js → job-81swgkk7.js} +7 -7
- package/dist/chunks/{ripgrep-9j8vss6m.js → job-8b72xfd1.js} +17 -17
- package/dist/chunks/{ripgrep-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-a7p5y4dd.js → job-8ghjp222.js} +33 -33
- package/dist/chunks/{ripgrep-5cmxdwv8.js → job-8jmaqybk.js} +3 -3
- package/dist/chunks/{ripgrep-1qvbyjth.js → job-8k4618b3.js} +15 -15
- package/dist/chunks/{ripgrep-vgsamq7t.js → job-8qpctcxn.js} +13 -13
- package/dist/chunks/{ripgrep-3tfwac8j.js → job-8sh38725.js} +16 -16
- package/dist/chunks/{ripgrep-8sze2n9a.js → job-8sze2n9a.js} +2 -2
- package/dist/chunks/{ripgrep-3my6sg7q.js → job-8vma3r3k.js} +10 -10
- package/dist/chunks/{ripgrep-zs34p7rh.js → job-8vw4v1te.js} +5 -5
- package/dist/chunks/{ripgrep-dqx57jvk.js → job-8xww58rf.js} +7 -7
- package/dist/chunks/{ripgrep-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-xbsd7fdx.js → job-957wwfqx.js} +17 -17
- package/dist/chunks/{ripgrep-c4er40t9.js → job-978ncbbz.js} +25 -25
- package/dist/chunks/{ripgrep-acvtchx0.js → job-9acrxks8.js} +29 -29
- package/dist/chunks/{ripgrep-vmwh049b.js → job-9cwx2qq2.js} +6 -6
- package/dist/chunks/{ripgrep-0n0m8a3f.js → job-9fa1mkat.js} +31 -31
- package/dist/chunks/{ripgrep-czfptnv9.js → job-9hn6k4tm.js} +8 -8
- package/dist/chunks/{ripgrep-hmhm0cn6.js → job-9vc0mejb.js} +17 -17
- package/dist/chunks/{ripgrep-dkbcejsd.js → job-9we5n95t.js} +5 -5
- package/dist/chunks/{ripgrep-yc748dnc.js → job-9xddp7te.js} +26 -26
- package/dist/chunks/{ripgrep-qgc2t3bc.js → job-a2gm1mv5.js} +20 -20
- package/dist/chunks/{ripgrep-3jmrct4k.js → job-a5xx7ant.js} +9 -9
- package/dist/chunks/{ripgrep-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-eaz2r2r7.js → job-aebr1ta1.js} +15 -15
- package/dist/chunks/{ripgrep-gke1gaw3.js → job-aqbq18k2.js} +9 -9
- package/dist/chunks/{ripgrep-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-fy185n8r.js → job-bb14fzgd.js} +7 -7
- package/dist/chunks/{ripgrep-v1hcbdp0.js → job-bgtewcg7.js} +19 -19
- package/dist/chunks/{ripgrep-cskmpdg7.js → job-bngjp4be.js} +27 -27
- package/dist/chunks/{ripgrep-42050xq7.js → job-bqfwjv9h.js} +11 -11
- package/dist/chunks/{ripgrep-zeksq1vy.js → job-bs0f62dk.js} +32 -32
- package/dist/chunks/{ripgrep-dsgyqgn7.js → job-bv8zds13.js} +89 -89
- package/dist/chunks/{ripgrep-1ngy2a1q.js → job-bxfb5bg5.js} +37 -37
- package/dist/chunks/{ripgrep-ne587evb.js → job-c9dpx44c.js} +5 -5
- package/dist/chunks/{ripgrep-px5knkzc.js → job-cf0fq14p.js} +23 -23
- package/dist/chunks/{ripgrep-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-rey5gbxv.js → job-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-vm2bxx9x.js → job-d0a4v0ct.js} +26 -26
- package/dist/chunks/{ripgrep-kgsbr495.js → job-d83ryp58.js} +20 -20
- package/dist/chunks/{ripgrep-d334d6fa.js → job-dft456gf.js} +22 -22
- package/dist/chunks/{ripgrep-2y34zzjz.js → job-dg5bcj4q.js} +6 -6
- package/dist/chunks/{ripgrep-ga6490wn.js → job-dkrhnrq4.js} +15 -15
- package/dist/chunks/{ripgrep-xkntkrq7.js → job-dmqcgk4z.js} +5 -5
- package/dist/chunks/{ripgrep-7fx79kx0.js → job-e0cgw72e.js} +21 -21
- package/dist/chunks/{ripgrep-cn6jgx1z.js → job-e5kh355a.js} +10 -10
- package/dist/chunks/{ripgrep-4hj33adv.js → job-ebq3h4yd.js} +12 -12
- package/dist/chunks/{ripgrep-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-4cynn25j.js → job-ecxz23p6.js} +21 -21
- package/dist/chunks/{ripgrep-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-mxfbfm56.js → job-ewv4ae0j.js} +1 -1
- package/dist/chunks/{ripgrep-h134x250.js → job-f0nqeq20.js} +20 -20
- package/dist/chunks/{ripgrep-s30fyz93.js → job-f29mbr7f.js} +4 -4
- package/dist/chunks/{ripgrep-k4s7esk4.js → job-f4dwtasv.js} +44 -44
- package/dist/chunks/{ripgrep-h46vtd2a.js → job-f8xnqqh3.js} +24 -24
- package/dist/chunks/{ripgrep-za77p82n.js → job-fdjyeynq.js} +6 -6
- package/dist/chunks/{ripgrep-eb9pgxhh.js → job-ffk8r55d.js} +42 -42
- package/dist/chunks/{ripgrep-n4m8a7d6.js → job-ftzt5cte.js} +5 -5
- package/dist/chunks/{ripgrep-m6xj40dh.js → job-fv3ebhsn.js} +14 -14
- package/dist/chunks/{ripgrep-dfp96c79.js → job-fwn2g96e.js} +13 -13
- package/dist/chunks/{ripgrep-mjymc32g.js → job-g190xswt.js} +4 -4
- package/dist/chunks/{ripgrep-tnzk64ta.js → job-g4xcc82p.js} +3 -3
- package/dist/chunks/{ripgrep-3fj6qvgg.js → job-g5r4qgc2.js} +20 -20
- package/dist/chunks/{ripgrep-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-ajr7rvj8.js → job-gjb16vxp.js} +23 -23
- package/dist/chunks/{ripgrep-dq0v80fr.js → job-gmjq4p6e.js} +5 -5
- package/dist/chunks/{ripgrep-bvnzkxjc.js → job-gn2py1ay.js} +30 -30
- package/dist/chunks/{ripgrep-f6cx8hw8.js → job-gnn736cp.js} +13 -13
- package/dist/chunks/{ripgrep-r63vjjdx.js → job-gr30ndaa.js} +14 -14
- package/dist/chunks/{ripgrep-5x15qns5.js → job-gsr79xf9.js} +3 -3
- package/dist/chunks/{ripgrep-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-5ypma9ks.js → job-gv816y8e.js} +30 -30
- package/dist/chunks/{ripgrep-84zcxbc9.js → job-h4z1mxff.js} +5 -5
- package/dist/chunks/{ripgrep-cjvaq67s.js → job-h5pgt8jh.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-aj930q3s.js → job-hgp21dcb.js} +3 -3
- package/dist/chunks/{ripgrep-csbx136w.js → job-hm9y2x57.js} +89 -89
- package/dist/chunks/{ripgrep-6szrap79.js → job-hvaxh0b1.js} +5 -5
- package/dist/chunks/{ripgrep-5dcbbbm6.js → job-hvjnd6hm.js} +322 -322
- package/dist/chunks/{ripgrep-3cn1ssxv.js → job-hx8r9kdf.js} +28 -28
- package/dist/chunks/job-j49d814m.js +26 -0
- package/dist/chunks/{ripgrep-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-mayc1q7t.js → job-jby43akg.js} +3 -3
- package/dist/chunks/{ripgrep-qx9b7nxy.js → job-jebeayyr.js} +41 -41
- package/dist/chunks/{ripgrep-a2pmyfka.js → job-jf686a98.js} +7 -7
- package/dist/chunks/{ripgrep-w3an97nd.js → job-jfwwdmsc.js} +48 -48
- package/dist/chunks/{ripgrep-4c2df9zx.js → job-jn0tk1mz.js} +8 -8
- package/dist/chunks/{ripgrep-rnntqgmf.js → job-jsnjy73j.js} +11 -11
- package/dist/chunks/{ripgrep-bts96xta.js → job-jt7zp34y.js} +30 -30
- package/dist/chunks/{ripgrep-dy0x8zhs.js → job-jtqp7c73.js} +4 -4
- package/dist/chunks/{ripgrep-s45mxgy4.js → job-jvrs05gg.js} +34 -34
- package/dist/chunks/{ripgrep-tnc1pm62.js → job-jwkcatbt.js} +5 -5
- package/dist/chunks/{ripgrep-vbvzqspv.js → job-k31j43wh.js} +20 -20
- package/dist/chunks/{ripgrep-k3c624dm.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-npqb0cgz.js → job-k6ax5z2x.js} +29 -29
- package/dist/chunks/{ripgrep-c2p9jgdj.js → job-kdmvy9cz.js} +16 -16
- package/dist/chunks/{ripgrep-p83yf1cx.js → job-kgqdx8zs.js} +26 -26
- package/dist/chunks/{ripgrep-q2v7jffc.js → job-kjwn2v4e.js} +27 -27
- package/dist/chunks/{ripgrep-9tca1jv6.js → job-kpqh9wnj.js} +41 -41
- package/dist/chunks/{ripgrep-ab9238g2.js → job-kxpygcw9.js} +6 -6
- package/dist/chunks/{ripgrep-zk8nm55g.js → job-m0f7y1px.js} +11 -11
- package/dist/chunks/{ripgrep-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-89etmhv5.js → job-m4pjqh6c.js} +11 -11
- package/dist/chunks/{ripgrep-crdcv09r.js → job-m7vj2550.js} +22 -22
- package/dist/chunks/{ripgrep-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-1zd8jyw5.js → job-mbsnnz35.js} +5 -5
- package/dist/chunks/{ripgrep-g9x4v4td.js → job-mdxh86cq.js} +20 -20
- package/dist/chunks/{ripgrep-1bbkgx8g.js → job-mvfsc1pv.js} +3 -3
- package/dist/chunks/{ripgrep-2wts5qzq.js → job-mw934p8z.js} +5 -5
- package/dist/chunks/{ripgrep-sxxekahb.js → job-mzw2e9qg.js} +30 -30
- package/dist/chunks/{ripgrep-4zsftp3p.js → job-n5yfqx6v.js} +4 -4
- package/dist/chunks/{ripgrep-wv4ktw8j.js → job-n8m5nh13.js} +4 -4
- package/dist/chunks/{ripgrep-fnq7f60k.js → job-ndambtf7.js} +54 -54
- package/dist/chunks/{ripgrep-j5mm8q72.js → job-nqgkhp46.js} +12 -12
- package/dist/chunks/{ripgrep-b2kz5m05.js → job-nywdy0yp.js} +9 -9
- package/dist/chunks/{ripgrep-2tts1rbt.js → job-p05m48ny.js} +4 -4
- package/dist/chunks/{ripgrep-g61gwje2.js → job-p0j0r5fc.js} +18 -18
- package/dist/chunks/{ripgrep-v13kfdwm.js → job-p2bk3c6r.js} +5 -5
- package/dist/chunks/{ripgrep-29jfjc42.js → job-pch1g4ac.js} +11 -11
- package/dist/chunks/{ripgrep-r0nczmem.js → job-pe41p6e6.js} +9 -9
- package/dist/chunks/{ripgrep-6p19cha5.js → job-pjpazjht.js} +6 -6
- package/dist/chunks/{ripgrep-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-7v81x33d.js → job-q0raz0xt.js} +9 -9
- package/dist/chunks/{ripgrep-97amtrvq.js → job-q5n448r2.js} +7 -7
- package/dist/chunks/{ripgrep-7wh335xe.js → job-q6yer3qa.js} +15 -15
- package/dist/chunks/{ripgrep-222jz6em.js → job-q7qtmvne.js} +33 -33
- package/dist/chunks/{ripgrep-613jmpvb.js → job-q7zmh1kg.js} +12 -12
- package/dist/chunks/{ripgrep-45jbahag.js → job-qa4sdnym.js} +10 -10
- package/dist/chunks/{ripgrep-k1qrnqst.js → job-qagkqpcw.js} +8 -8
- package/dist/chunks/{ripgrep-wf70wxe0.js → job-qceksfss.js} +33 -33
- package/dist/chunks/{ripgrep-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
- package/dist/chunks/{ripgrep-ez62b8nj.js → job-qks92hm5.js} +6 -6
- package/dist/chunks/{ripgrep-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-5gmd8n57.js → job-r1k8a8z1.js} +16 -16
- package/dist/chunks/{ripgrep-0v53mg2y.js → job-r98e92ep.js} +4 -4
- package/dist/chunks/{ripgrep-7q7gzags.js → job-rcpdffc0.js} +8 -8
- package/dist/chunks/{ripgrep-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-0bfcnrg1.js → job-rk1r2hx8.js} +1 -1
- package/dist/chunks/{ripgrep-cp937pt4.js → job-rk7s9xkn.js} +4 -4
- package/dist/chunks/{ripgrep-5k1e7mf5.js → job-rre5esgr.js} +37 -37
- package/dist/chunks/{ripgrep-jk94ewr9.js → job-rs6b8fwf.js} +20 -20
- package/dist/chunks/{ripgrep-rwsbt5n6.js → job-rvgx0646.js} +9 -9
- package/dist/chunks/{ripgrep-6982ny1p.js → job-s55zt9mc.js} +37 -37
- package/dist/chunks/{ripgrep-dhp284ad.js → job-s69tt9zj.js} +18 -18
- package/dist/chunks/{ripgrep-gh70s58z.js → job-s7qwf8qj.js} +18 -18
- package/dist/chunks/{ripgrep-eaj1djv9.js → job-s8d7rejh.js} +6 -6
- package/dist/chunks/{ripgrep-zdnjak7e.js → job-t6njkpan.js} +176 -176
- package/dist/chunks/{ripgrep-rpg9c19m.js → job-t7n9q6bq.js} +4 -4
- package/dist/chunks/{ripgrep-59v0df5r.js → job-t7wf0ws2.js} +10 -10
- package/dist/chunks/{ripgrep-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-80scg3y3.js → job-tbmac1c7.js} +4 -4
- package/dist/chunks/{ripgrep-0jkw1j53.js → job-tcay1cqt.js} +6 -6
- package/dist/chunks/{ripgrep-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-qgsvjgde.js → job-th3380bd.js} +7 -7
- package/dist/chunks/{ripgrep-phmevcvr.js → job-tp2qz1bq.js} +16 -16
- package/dist/chunks/{ripgrep-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-a05wftvw.js → job-tx3vnm0q.js} +24 -24
- package/dist/chunks/{ripgrep-kb6vbnxp.js → job-tx92n959.js} +4 -4
- package/dist/chunks/{ripgrep-bf8qrrce.js → job-v15917pe.js} +11 -11
- package/dist/chunks/{ripgrep-19wg5z72.js → job-v56fncnw.js} +11 -11
- package/dist/chunks/{ripgrep-v5dkyp31.js → job-v5dkyp31.js} +1 -1
- package/dist/chunks/{ripgrep-d51p1snd.js → job-v8h8vdjc.js} +31 -31
- package/dist/chunks/{ripgrep-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-1jj73053.js → job-verd1hm5.js} +17 -17
- package/dist/chunks/{ripgrep-hvv7vc5p.js → job-vpzapvb5.js} +24 -24
- package/dist/chunks/{ripgrep-avzdjs5z.js → job-vrbe9prn.js} +9 -9
- package/dist/chunks/{ripgrep-kv3szn4m.js → job-vw3va140.js} +57 -57
- package/dist/chunks/{ripgrep-8wcympts.js → job-vwtp53vr.js} +14 -14
- package/dist/chunks/{ripgrep-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-cxkbgxve.js → job-w3htpn6g.js} +7 -7
- package/dist/chunks/{ripgrep-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-5zabxtne.js → job-w7r1fegx.js} +5 -5
- package/dist/chunks/{ripgrep-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-wgve64nz.js → job-wfnf3276.js} +25 -25
- package/dist/chunks/{ripgrep-jvzajy3h.js → job-wgrherjk.js} +11 -11
- package/dist/chunks/{ripgrep-64bb9vvw.js → job-wt0yp3m9.js} +16 -16
- package/dist/chunks/{ripgrep-dnwg479b.js → job-wt2q2j9d.js} +20 -20
- package/dist/chunks/{ripgrep-q826ync2.js → job-wwx8h3qn.js} +11 -11
- package/dist/chunks/{ripgrep-vmgq4x8b.js → job-x0600czv.js} +2 -2
- package/dist/chunks/{ripgrep-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-1qgpawzy.js → job-x9g2ccv7.js} +9 -9
- package/dist/chunks/{ripgrep-bzpt0j1a.js → job-xedkpscs.js} +11 -11
- package/dist/chunks/{ripgrep-xfkkasph.js → job-xfkkasph.js} +1 -1
- package/dist/chunks/{ripgrep-x4myat66.js → job-xpgth3pd.js} +26 -26
- package/dist/chunks/{ripgrep-9jgayhyn.js → job-xrmrachj.js} +11 -11
- package/dist/chunks/{ripgrep-7kmx613t.js → job-xrxk1b88.js} +6 -6
- package/dist/chunks/{ripgrep-wbd0sh62.js → job-xzfz3f2s.js} +22 -22
- package/dist/chunks/{ripgrep-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-mz0a5xtr.js → job-ycs6syzp.js} +27 -27
- package/dist/chunks/{ripgrep-aznc6x47.js → job-ym806pd6.js} +12 -12
- package/dist/chunks/{ripgrep-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-9wrdw65j.js → job-yrz1vnd3.js} +44 -44
- package/dist/chunks/{ripgrep-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-d2aac7k2.js → job-yt0fqk68.js} +5 -5
- package/dist/chunks/{ripgrep-a488z9aq.js → job-yzmmhre7.js} +13 -13
- package/dist/chunks/{ripgrep-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-ap55p1nx.js → job-zbcjma9b.js} +65 -65
- package/dist/chunks/{ripgrep-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-8fng9cdc.js → job-zvhtp6e1.js} +17 -17
- package/dist/chunks/{ripgrep-zxq2ej10.js → job-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 +73 -73
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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/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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/ripgrep-4pwcxzf5.js +0 -252
- package/dist/chunks/ripgrep-hxa7m5za.js +0 -4
- package/dist/chunks/ripgrep-k840h17t.js +0 -26
- package/dist/chunks/ripgrep-q509s3k3.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-n5yfqx6v.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-vw3va140.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service43,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node46,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service43.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node46 = makeLocationNode({
|
|
112
|
+
service: Service43,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID6, Name2, available2, toModelOutput3, prepare3, Service43, node46, exports_skill5, Event9 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service68
|
|
4
|
+
} from "./job-e0cgw72e.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service62
|
|
8
|
+
} from "./job-k6ax5z2x.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./job-jebeayyr.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-8jmaqybk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service63
|
|
18
|
+
} from "./job-8b72xfd1.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./job-vw3va140.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service28
|
|
25
|
+
} from "./job-hm9y2x57.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./job-m4pjqh6c.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./job-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin5,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description4,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input5 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin5 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service28;
|
|
93
|
+
const jobs = yield* Service63;
|
|
94
|
+
const agents = yield* Service68;
|
|
95
|
+
const config = yield* Service57;
|
|
96
|
+
const permission = yield* Service65;
|
|
97
|
+
const models = yield* Service62;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin44 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description4,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin44 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name5,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin44 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name5 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name5];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name5, Input5, Output3, description4, Plugin5, exports_subagent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./job-bs0f62dk.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-pjpazjht.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node78
|
|
7
|
+
} from "./job-1zwczg0r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service16,
|
|
10
|
+
node18
|
|
11
|
+
} from "./job-tp2qz1bq.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
@@ -59,8 +59,8 @@ function search(index, input) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service16;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -113,7 +113,7 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
115
|
var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
116
|
-
const location = yield*
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,7 +183,7 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service: Service15, layer: layer8(options), deps: [
|
|
186
|
+
return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node78, node18] });
|
|
187
187
|
}
|
|
188
188
|
var node17 = configured2();
|
|
189
189
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service49,
|
|
3
|
+
node51,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-31kwwysy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node50
|
|
9
|
+
} from "./job-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./job-q7qtmvne.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-2s7bdhjr.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service49, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service19);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node50.replace(Layer.succeed(Service48, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node51.replace(Layer.succeed(Service49, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = 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, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./job-bs0f62dk.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-n5yfqx6v.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./job-1zwczg0r.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service24,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node27
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service24 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service24.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node27 = makeLocationNode({
|
|
168
|
+
service: Service24,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node78, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service24, node27, exports_vcs };
|