@opencode/core 0.0.0-dev-20209 → 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 +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{variant-jdsft36f.js → job-0drmdkyh.js} +10 -10
- package/dist/chunks/{variant-x5zt6h23.js → job-0fv0qy7b.js} +36 -36
- package/dist/chunks/{variant-fv859wdb.js → job-0kc3x97y.js} +16 -16
- package/dist/chunks/{variant-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-510m7gjw.js → job-0r7yqxbf.js} +5 -5
- package/dist/chunks/{variant-k29g14mz.js → job-0ryj21ga.js} +17 -17
- package/dist/chunks/{variant-t1dawjzh.js → job-0xezjjjn.js} +8 -8
- package/dist/chunks/{variant-ntt2cs0y.js → job-10x16gxy.js} +11 -11
- package/dist/chunks/{variant-shy5dzg8.js → job-1343pa1y.js} +11 -11
- package/dist/chunks/{variant-x3ec03mt.js → job-13erj274.js} +12 -12
- package/dist/chunks/{variant-m2yrt49e.js → job-14ff1ded.js} +13 -13
- package/dist/chunks/{variant-np80prs1.js → job-14ykpj39.js} +16 -16
- package/dist/chunks/{variant-yp2x3t23.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{variant-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-32x1f6kv.js → job-1gy9hngk.js} +15 -15
- package/dist/chunks/{variant-n4fxfccf.js → job-1jrc3gj1.js} +15 -15
- package/dist/chunks/{variant-cz6e2qjm.js → job-1q14zccx.js} +1 -1
- package/dist/chunks/{variant-tnebbm27.js → job-1x05k9qq.js} +33 -33
- package/dist/chunks/{variant-2a4z7ddb.js → job-1yq8j3yd.js} +20 -20
- package/dist/chunks/{variant-nr9qr2eb.js → job-1zwczg0r.js} +16 -16
- package/dist/chunks/{variant-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{variant-9a912s85.js → job-24dd53tp.js} +9 -9
- package/dist/chunks/{variant-mymm0e2f.js → job-28545xhh.js} +4 -4
- package/dist/chunks/{variant-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-knfry2jd.js → job-2cm1a0kt.js} +1 -1
- package/dist/chunks/{variant-acp7khxw.js → job-2hwxdyne.js} +11 -11
- package/dist/chunks/{variant-g5563x6j.js → job-2mzh8hrt.js} +8 -8
- package/dist/chunks/job-2s7bdhjr.js +252 -0
- package/dist/chunks/{variant-2mys97dh.js → job-2wntsv1w.js} +3 -3
- package/dist/chunks/{variant-0fffybbe.js → job-2ws671pd.js} +4 -4
- package/dist/chunks/{variant-006gzmcp.js → job-31kwwysy.js} +9 -9
- package/dist/chunks/{variant-3h15n8ab.js → job-35cxvtv3.js} +3 -3
- package/dist/chunks/{variant-ky8txnzt.js → job-37r0wmkx.js} +15 -15
- package/dist/chunks/{variant-ddeke8gp.js → job-3an519z3.js} +20 -20
- package/dist/chunks/{variant-tvb98hhr.js → job-3bw57w1b.js} +3 -3
- package/dist/chunks/{variant-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-wkhafbt7.js → job-3g8d2v0w.js} +4 -4
- package/dist/chunks/{variant-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-jdd6wg6z.js → job-3sn7ekwb.js} +9 -9
- package/dist/chunks/{variant-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-dqmwfghx.js → job-3w0fmcng.js} +5 -5
- package/dist/chunks/{variant-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-h6r3nrb9.js → job-4dgbcxzg.js} +4 -4
- package/dist/chunks/{variant-57ahwxrm.js → job-4xwv19st.js} +12 -12
- package/dist/chunks/{variant-wys0gfh1.js → job-52ng8kkh.js} +5 -5
- package/dist/chunks/{variant-10kfxkxq.js → job-53942j2r.js} +21 -21
- package/dist/chunks/{variant-cpp8qekp.js → job-547pgejx.js} +12 -12
- package/dist/chunks/{variant-33w4ejhs.js → job-56gdpj1q.js} +6 -6
- package/dist/chunks/{variant-4jk0qxj4.js → job-5bdbc12f.js} +6 -6
- package/dist/chunks/{variant-zw4pk1bw.js → job-5d17xbav.js} +5 -5
- package/dist/chunks/{variant-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-bbqwkccp.js → job-5ndvcd67.js} +8 -8
- package/dist/chunks/{variant-e3qxr5gk.js → job-5qd3pb7m.js} +2 -2
- package/dist/chunks/{variant-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-xgncj314.js → job-5tk144n8.js} +9 -9
- package/dist/chunks/{variant-n1ka8r9d.js → job-5xpznt2d.js} +4 -4
- package/dist/chunks/job-619r8v3y.js +18 -0
- package/dist/chunks/{variant-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{variant-s38fyqmm.js → job-6aa1rjav.js} +47 -47
- package/dist/chunks/{variant-45f1zsm2.js → job-6c9qq78q.js} +2 -2
- package/dist/chunks/{variant-v0a4hd06.js → job-6dt4630h.js} +33 -33
- package/dist/chunks/{variant-2402vzrj.js → job-6h73sxmp.js} +5 -5
- package/dist/chunks/{variant-wk5z6jzv.js → job-6hjx5zpb.js} +9 -9
- package/dist/chunks/{variant-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-bw18pvzk.js → job-6n8v16q2.js} +11 -11
- package/dist/chunks/{variant-jmnr6fqx.js → job-6nd3htfv.js} +4 -4
- package/dist/chunks/{variant-mwymfxjt.js → job-6rqzwf0n.js} +24 -24
- package/dist/chunks/{variant-1s91arz0.js → job-6z4cnkya.js} +8 -8
- package/dist/chunks/{variant-mgmaefw5.js → job-768gsh1v.js} +3 -3
- package/dist/chunks/{variant-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-rhdvpysa.js → job-7dd82eqh.js} +18 -18
- package/dist/chunks/{variant-m65tv3j8.js → job-7heb496c.js} +7 -7
- package/dist/chunks/{variant-ncqv441z.js → job-7jqn706d.js} +28 -28
- package/dist/chunks/{variant-pt6tvevz.js → job-7qbjqedm.js} +17 -17
- package/dist/chunks/{variant-57ez7d0k.js → job-81swgkk7.js} +7 -7
- package/dist/chunks/{variant-7rng3awb.js → job-8b72xfd1.js} +17 -17
- package/dist/chunks/{variant-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-kr9gxfxf.js → job-8ghjp222.js} +35 -35
- package/dist/chunks/{variant-n7d88tpn.js → job-8jmaqybk.js} +3 -3
- package/dist/chunks/{variant-vvqe7qbw.js → job-8k4618b3.js} +15 -15
- package/dist/chunks/{variant-a5hgy1x9.js → job-8qpctcxn.js} +13 -13
- package/dist/chunks/{variant-9f2rwe55.js → job-8sh38725.js} +24 -24
- package/dist/chunks/{variant-1p07q0wb.js → job-8sze2n9a.js} +8 -8
- package/dist/chunks/{variant-13mxgpx4.js → job-8vma3r3k.js} +10 -10
- package/dist/chunks/{variant-7fh4jsep.js → job-8vw4v1te.js} +1 -1
- package/dist/chunks/{variant-hv215hsq.js → job-8xww58rf.js} +7 -7
- package/dist/chunks/{variant-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{variant-ezffav4v.js → job-957wwfqx.js} +17 -17
- package/dist/chunks/{variant-frdw0cx9.js → job-978ncbbz.js} +24 -24
- package/dist/chunks/{variant-bpvf8gea.js → job-9acrxks8.js} +22 -22
- package/dist/chunks/{variant-6dah7td7.js → job-9cwx2qq2.js} +9 -9
- package/dist/chunks/{variant-tc1ptmkh.js → job-9fa1mkat.js} +18 -18
- package/dist/chunks/{variant-dv1qgsyq.js → job-9hn6k4tm.js} +4 -4
- package/dist/chunks/{variant-w0z0ceg7.js → job-9vc0mejb.js} +11 -11
- package/dist/chunks/{variant-322g38fb.js → job-9we5n95t.js} +5 -5
- package/dist/chunks/{variant-a6mhrw7d.js → job-9xddp7te.js} +24 -24
- package/dist/chunks/{variant-843zxkxv.js → job-a2gm1mv5.js} +16 -16
- package/dist/chunks/{variant-a86jpv5t.js → job-a5xx7ant.js} +21 -21
- package/dist/chunks/{variant-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-vx2adbmk.js → job-aebr1ta1.js} +15 -15
- package/dist/chunks/{variant-91d8qp83.js → job-aqbq18k2.js} +9 -9
- package/dist/chunks/{variant-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-hff5bnmj.js → job-bb14fzgd.js} +10 -10
- package/dist/chunks/{variant-jjnxkmnf.js → job-bgtewcg7.js} +19 -19
- package/dist/chunks/{variant-dmfxr9mr.js → job-bngjp4be.js} +22 -22
- package/dist/chunks/{variant-p94ag4a4.js → job-bqfwjv9h.js} +11 -11
- package/dist/chunks/{variant-r0ndcq4z.js → job-bs0f62dk.js} +26 -26
- package/dist/chunks/{variant-nv7da23b.js → job-bv8zds13.js} +84 -84
- package/dist/chunks/{variant-69822sff.js → job-bxfb5bg5.js} +33 -33
- package/dist/chunks/{variant-2nxxjbx2.js → job-c9dpx44c.js} +8 -8
- package/dist/chunks/{variant-qvgr7s7h.js → job-cf0fq14p.js} +18 -18
- package/dist/chunks/{variant-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{variant-qmqgtz8f.js → job-cwa6csj7.js} +9 -9
- package/dist/chunks/{variant-ccnfj4js.js → job-d0a4v0ct.js} +26 -26
- package/dist/chunks/{variant-8her2kyv.js → job-d83ryp58.js} +20 -20
- package/dist/chunks/{variant-xwpj6gda.js → job-dft456gf.js} +22 -22
- package/dist/chunks/{variant-p57dvf2n.js → job-dg5bcj4q.js} +4 -4
- package/dist/chunks/{variant-bc3s68p5.js → job-dkrhnrq4.js} +15 -15
- package/dist/chunks/{variant-xkntkrq7.js → job-dmqcgk4z.js} +5 -5
- package/dist/chunks/{variant-ft3q6q9x.js → job-e0cgw72e.js} +18 -18
- package/dist/chunks/{variant-gw10sec1.js → job-e5kh355a.js} +10 -10
- package/dist/chunks/{variant-hnxvpgpc.js → job-ebq3h4yd.js} +12 -12
- package/dist/chunks/{variant-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{variant-cct903s2.js → job-ecxz23p6.js} +19 -19
- package/dist/chunks/{variant-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-cew83tm7.js → job-ewv4ae0j.js} +1 -1
- package/dist/chunks/{variant-1yxhj252.js → job-f0nqeq20.js} +13 -13
- package/dist/chunks/{variant-5dkn69vz.js → job-f29mbr7f.js} +4 -4
- package/dist/chunks/{variant-4cgpaxn1.js → job-f4dwtasv.js} +35 -35
- package/dist/chunks/{variant-5yr5amn4.js → job-f8xnqqh3.js} +14 -14
- package/dist/chunks/{variant-hz59w1dt.js → job-fdjyeynq.js} +6 -6
- package/dist/chunks/{variant-0mq3g4wy.js → job-ffk8r55d.js} +41 -41
- package/dist/chunks/{variant-zh9cm31s.js → job-ftzt5cte.js} +3 -3
- package/dist/chunks/{variant-cgb0hc8a.js → job-fv3ebhsn.js} +24 -24
- package/dist/chunks/{variant-1bevtps4.js → job-fwn2g96e.js} +13 -13
- package/dist/chunks/{variant-kk00bynn.js → job-g190xswt.js} +21 -21
- package/dist/chunks/{variant-3an7cx9y.js → job-g4xcc82p.js} +1 -1
- package/dist/chunks/{variant-wczb1h4t.js → job-g5r4qgc2.js} +20 -20
- package/dist/chunks/{variant-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-zkg6dyaf.js → job-gjb16vxp.js} +22 -22
- package/dist/chunks/{variant-afed7ext.js → job-gmjq4p6e.js} +5 -5
- package/dist/chunks/{variant-scw7ae32.js → job-gn2py1ay.js} +16 -16
- package/dist/chunks/{variant-kp02xwx0.js → job-gnn736cp.js} +15 -15
- package/dist/chunks/{variant-1216knkj.js → job-gr30ndaa.js} +14 -14
- package/dist/chunks/{variant-1fkaw0c0.js → job-gsr79xf9.js} +3 -3
- package/dist/chunks/{variant-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-993wp0s6.js → job-gv816y8e.js} +29 -29
- package/dist/chunks/{variant-reg6q42h.js → job-h4z1mxff.js} +5 -5
- package/dist/chunks/{variant-car1xg61.js → job-h5pgt8jh.js} +8 -8
- package/dist/chunks/{variant-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-a9ancp6v.js → job-hgp21dcb.js} +3 -3
- package/dist/chunks/{variant-qqq22zj2.js → job-hm9y2x57.js} +90 -90
- package/dist/chunks/{variant-h7xesq4k.js → job-hvaxh0b1.js} +3 -3
- package/dist/chunks/{variant-8zdryj0g.js → job-hvjnd6hm.js} +315 -315
- package/dist/chunks/{variant-ankdd3t7.js → job-hx8r9kdf.js} +28 -28
- package/dist/chunks/job-j49d814m.js +26 -0
- package/dist/chunks/{variant-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-j6j34g5j.js → job-jby43akg.js} +3 -3
- package/dist/chunks/{variant-wpy37268.js → job-jebeayyr.js} +41 -41
- package/dist/chunks/{variant-xrknn25j.js → job-jf686a98.js} +15 -15
- package/dist/chunks/{variant-cgjbwm1c.js → job-jfwwdmsc.js} +48 -48
- package/dist/chunks/{variant-2n295dmf.js → job-jn0tk1mz.js} +8 -8
- package/dist/chunks/{variant-53d3spjh.js → job-jsnjy73j.js} +8 -8
- package/dist/chunks/{variant-3barqjkg.js → job-jt7zp34y.js} +32 -32
- package/dist/chunks/{variant-1g8as6dj.js → job-jtqp7c73.js} +4 -4
- package/dist/chunks/{variant-5x3y3mcs.js → job-jvrs05gg.js} +36 -36
- package/dist/chunks/{variant-kd5xcy86.js → job-jwkcatbt.js} +2 -2
- package/dist/chunks/{variant-5fnr1b7x.js → job-k31j43wh.js} +19 -19
- package/dist/chunks/{variant-nzks3jc8.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-grxamm6e.js → job-k6ax5z2x.js} +30 -30
- package/dist/chunks/{variant-6vd4kaba.js → job-kdmvy9cz.js} +16 -16
- package/dist/chunks/{variant-1g3tr656.js → job-kgqdx8zs.js} +24 -24
- package/dist/chunks/{variant-erktkvjt.js → job-kjwn2v4e.js} +27 -27
- package/dist/chunks/{variant-yj71kavs.js → job-kpqh9wnj.js} +43 -43
- package/dist/chunks/{variant-rp8jz6x1.js → job-kxpygcw9.js} +4 -4
- package/dist/chunks/{variant-m4ra2cwg.js → job-m0f7y1px.js} +14 -14
- package/dist/chunks/{variant-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-4hxy0fms.js → job-m4pjqh6c.js} +8 -8
- package/dist/chunks/{variant-wwcjmkyb.js → job-m7vj2550.js} +28 -28
- package/dist/chunks/{variant-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-a4yxatsy.js → job-mbsnnz35.js} +3 -3
- package/dist/chunks/{variant-tc4djsvn.js → job-mdxh86cq.js} +10 -10
- package/dist/chunks/{variant-eq1pz5kg.js → job-mvfsc1pv.js} +3 -3
- package/dist/chunks/{variant-vz7d5c1g.js → job-mw934p8z.js} +8 -8
- package/dist/chunks/{variant-5smxac05.js → job-mzw2e9qg.js} +32 -32
- package/dist/chunks/{variant-80dfhc41.js → job-n5yfqx6v.js} +4 -4
- package/dist/chunks/{variant-2pv4rh4q.js → job-n8m5nh13.js} +4 -4
- package/dist/chunks/{variant-2j00d0td.js → job-ndambtf7.js} +54 -54
- package/dist/chunks/{variant-9pq8dkc8.js → job-nqgkhp46.js} +12 -12
- package/dist/chunks/{variant-qgq4js5g.js → job-nywdy0yp.js} +11 -11
- package/dist/chunks/{variant-46dwjrk1.js → job-p05m48ny.js} +4 -4
- package/dist/chunks/{variant-7jqmn2rn.js → job-p0j0r5fc.js} +18 -18
- package/dist/chunks/{variant-yvq5xc5x.js → job-p2bk3c6r.js} +3 -3
- package/dist/chunks/{variant-epk4gxbx.js → job-pch1g4ac.js} +6 -6
- package/dist/chunks/{variant-g2042726.js → job-pe41p6e6.js} +9 -9
- package/dist/chunks/{variant-ebsqswat.js → job-pjpazjht.js} +6 -6
- package/dist/chunks/{variant-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{variant-6n4b0dsb.js → job-q0raz0xt.js} +9 -9
- package/dist/chunks/{variant-325yzx8r.js → job-q5n448r2.js} +10 -10
- package/dist/chunks/{variant-wpktt7zp.js → job-q6yer3qa.js} +9 -9
- package/dist/chunks/{variant-yakn32g5.js → job-q7qtmvne.js} +33 -33
- package/dist/chunks/{variant-hghmkfv7.js → job-q7zmh1kg.js} +9 -9
- package/dist/chunks/{variant-06s9r4jw.js → job-qa4sdnym.js} +10 -10
- package/dist/chunks/{variant-m6f3t844.js → job-qagkqpcw.js} +8 -8
- package/dist/chunks/{variant-9eea5nhh.js → job-qceksfss.js} +35 -35
- package/dist/chunks/{variant-fcrkznn8.js → job-qgn6gcr1.js} +5 -5
- package/dist/chunks/{variant-mxp5rs3t.js → job-qks92hm5.js} +6 -6
- package/dist/chunks/{variant-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-43qzdzsm.js → job-r1k8a8z1.js} +19 -19
- package/dist/chunks/{variant-an7cqtb7.js → job-r98e92ep.js} +4 -4
- package/dist/chunks/{variant-hz7kx0ky.js → job-rcpdffc0.js} +11 -11
- package/dist/chunks/{variant-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-h5w29vws.js → job-rk1r2hx8.js} +1 -1
- package/dist/chunks/{variant-ywxndyv1.js → job-rk7s9xkn.js} +4 -4
- package/dist/chunks/{variant-r7p85s6p.js → job-rre5esgr.js} +38 -38
- package/dist/chunks/{variant-0sdyee2g.js → job-rs6b8fwf.js} +20 -20
- package/dist/chunks/{variant-hfxe0xvw.js → job-rvgx0646.js} +9 -9
- package/dist/chunks/{variant-n10b1cqk.js → job-s55zt9mc.js} +24 -24
- package/dist/chunks/{variant-np1n792r.js → job-s69tt9zj.js} +18 -18
- package/dist/chunks/{variant-stk5d99z.js → job-s7qwf8qj.js} +18 -18
- package/dist/chunks/{variant-t550f9t1.js → job-s8d7rejh.js} +4 -4
- package/dist/chunks/{variant-2fcxegej.js → job-t6njkpan.js} +140 -140
- package/dist/chunks/{variant-2vs2nh1n.js → job-t7n9q6bq.js} +4 -4
- package/dist/chunks/{variant-9k8zkttx.js → job-t7wf0ws2.js} +13 -13
- package/dist/chunks/{variant-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-dj68pnee.js → job-tbmac1c7.js} +4 -4
- package/dist/chunks/{variant-sxzvkvgj.js → job-tcay1cqt.js} +6 -6
- package/dist/chunks/{variant-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{variant-99zv16x0.js → job-th3380bd.js} +7 -7
- package/dist/chunks/{variant-j7dj255x.js → job-tp2qz1bq.js} +14 -14
- package/dist/chunks/{variant-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-my8fpfzf.js → job-tx3vnm0q.js} +22 -22
- package/dist/chunks/{variant-4eq8w0dz.js → job-tx92n959.js} +4 -4
- package/dist/chunks/{variant-bvjxhr2y.js → job-v15917pe.js} +6 -6
- package/dist/chunks/{variant-9ha23cwc.js → job-v56fncnw.js} +9 -9
- package/dist/chunks/{variant-a2ew8a62.js → job-v5dkyp31.js} +4 -4
- package/dist/chunks/{variant-3jf8m3x6.js → job-v8h8vdjc.js} +33 -33
- package/dist/chunks/{variant-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-srs6escw.js → job-verd1hm5.js} +18 -18
- package/dist/chunks/{variant-c9jasf7t.js → job-vpzapvb5.js} +20 -20
- package/dist/chunks/{variant-14dsqrrw.js → job-vrbe9prn.js} +9 -9
- package/dist/chunks/{variant-5emgw8fp.js → job-vw3va140.js} +55 -55
- package/dist/chunks/{variant-gb8wxy1h.js → job-vwtp53vr.js} +11 -11
- package/dist/chunks/{variant-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-fkjzd9k8.js → job-w3htpn6g.js} +10 -10
- package/dist/chunks/{variant-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-kfmedsns.js → job-w7r1fegx.js} +5 -5
- package/dist/chunks/{variant-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{variant-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{variant-gt9qpba6.js → job-wfnf3276.js} +27 -27
- package/dist/chunks/{variant-n6rt2nkv.js → job-wgrherjk.js} +11 -11
- package/dist/chunks/{variant-1t1dwkwe.js → job-wt0yp3m9.js} +26 -26
- package/dist/chunks/{variant-sqsf5w9p.js → job-wt2q2j9d.js} +24 -24
- package/dist/chunks/{variant-e9t82wt6.js → job-wwx8h3qn.js} +18 -18
- package/dist/chunks/{variant-kbegyq1c.js → job-x0600czv.js} +2 -2
- package/dist/chunks/{variant-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-mb4h6z5f.js → job-x9g2ccv7.js} +8 -8
- package/dist/chunks/{variant-yfgbyakr.js → job-xedkpscs.js} +13 -13
- package/dist/chunks/{variant-57b9ws8p.js → job-xfkkasph.js} +7 -7
- package/dist/chunks/{variant-2prgc4m7.js → job-xpgth3pd.js} +26 -26
- package/dist/chunks/{variant-f6dc7cqr.js → job-xrmrachj.js} +8 -8
- package/dist/chunks/{variant-b1jnz19g.js → job-xrxk1b88.js} +3 -3
- package/dist/chunks/{variant-z3ca2px9.js → job-xzfz3f2s.js} +19 -19
- package/dist/chunks/{variant-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{variant-epq0xpmg.js → job-ycs6syzp.js} +22 -22
- package/dist/chunks/{variant-24q7r30e.js → job-ym806pd6.js} +10 -10
- package/dist/chunks/{variant-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-rqkw632w.js → job-yrz1vnd3.js} +43 -43
- package/dist/chunks/{variant-s4enseaf.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-809q4hne.js → job-yt0fqk68.js} +5 -5
- package/dist/chunks/{variant-qbeg8x4k.js → job-yzmmhre7.js} +13 -13
- package/dist/chunks/{variant-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{variant-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-29x78va6.js → job-z63w68vq.js} +6 -6
- package/dist/chunks/{variant-czwh8hre.js → job-zbcjma9b.js} +67 -67
- package/dist/chunks/{variant-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-za7e63wv.js → job-zvhtp6e1.js} +18 -18
- package/dist/chunks/{variant-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- 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 +132 -132
- 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 +123 -123
- 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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +84 -84
- 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 +98 -98
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- 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 +3 -3
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +122 -122
- 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 +94 -94
- 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 +122 -122
- 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 +72 -72
- 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 +352 -352
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +112 -112
- package/dist/session/runner/step.js +126 -126
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- 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 +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- 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 +215 -215
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +219 -219
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/variant-5rzfd5bc.js +0 -26
- package/dist/chunks/variant-9zdhvgqs.js +0 -18
- package/dist/chunks/variant-kn62raq2.js +0 -252
- /package/dist/chunks/{variant-0mesazry.js → job-0mesazry.js} +0 -0
- /package/dist/chunks/{variant-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-bs0f62dk.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-k6ax5z2x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service77,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node81,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service77 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 resolve4(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,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ 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(Service77, 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(Service68, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service77.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service77, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node81 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service77, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node81, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-n5yfqx6v.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-xzfz3f2s.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError11,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service76,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured10,
|
|
25
|
+
layer: () => layer25,
|
|
26
|
+
node: () => node80
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError11 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service76 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError11({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service76.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer25 = makeLayer();
|
|
259
|
+
var configured10 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service76,
|
|
261
|
+
layer: options === undefined ? layer25 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node80 = configured10();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError11, Service76, layer25, configured10, node80, exports_persistent_pty, Handoff2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-bs0f62dk.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service57
|
|
8
|
+
} from "./job-jebeayyr.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-xrxk1b88.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin31
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin31 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service57;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin31, exports_provider };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./job-jebeayyr.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./job-8sh38725.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./job-8b72xfd1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./job-vw3va140.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service64,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-7dd82eqh.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service77,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-xzfz3f2s.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service55
|
|
37
|
+
} from "./job-6aa1rjav.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service28
|
|
40
|
+
} from "./job-hm9y2x57.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-3g8d2v0w.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./job-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin9,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin9 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service28;
|
|
123
|
+
const jobs = yield* Service63;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service60;
|
|
126
|
+
const access = yield* Service64;
|
|
127
|
+
const shell = yield* Service55;
|
|
128
|
+
const shellSelect = yield* Service77;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service65;
|
|
131
|
+
const config = yield* Service57;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin12 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name8,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin12 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name8,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input8,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -206,7 +206,7 @@ var Plugin12 = {
|
|
|
206
206
|
const run = Effect.gen(function* () {
|
|
207
207
|
const result = yield* shell.result(info);
|
|
208
208
|
if (!result.capture)
|
|
209
|
-
return yield* new
|
|
209
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
210
210
|
const output = output2(result);
|
|
211
211
|
return {
|
|
212
212
|
...output,
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name8,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name8];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin9, exports_shell };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./job-1zwczg0r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./job-jebeayyr.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-hx8r9kdf.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin24
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin24 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service57;
|
|
35
|
+
const location = yield* Service74;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin24, exports_reference };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|