@opencode/core 0.0.0-dev-20113 → 0.0.0-dev-20114
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 +73 -73
- package/dist/chunks/{image-ctmr8zqa.js → workspace-06x8he3q.js} +4 -4
- package/dist/chunks/{image-53yvyx9v.js → workspace-0dp24jhc.js} +19 -19
- package/dist/chunks/{image-qpj9km4b.js → workspace-0e0z5yt4.js} +11 -11
- package/dist/chunks/{image-h5af1y13.js → workspace-0e81x99y.js} +6 -6
- package/dist/chunks/{image-j3mggexs.js → workspace-0g0t9165.js} +4 -4
- package/dist/chunks/{image-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-sf6zrh50.js → workspace-0qfaha1m.js} +3 -3
- package/dist/chunks/{image-e6hmchc5.js → workspace-0r7yqxbf.js} +5 -5
- package/dist/chunks/{image-3776wdme.js → workspace-0spbe0cp.js} +30 -30
- package/dist/chunks/{image-3r4a67rj.js → workspace-0yeq2kq4.js} +173 -173
- package/dist/chunks/{image-634rmh9x.js → workspace-0za9f44n.js} +1 -1
- package/dist/chunks/{image-skhxta5r.js → workspace-13q1kvsh.js} +6 -6
- package/dist/chunks/{image-ba7d3swx.js → workspace-1816vhxd.js} +4 -4
- package/dist/chunks/{image-pxwf7x3g.js → workspace-183dvndp.js} +9 -9
- package/dist/chunks/{image-xhbqsxyx.js → workspace-18gvgcyb.js} +38 -38
- package/dist/chunks/{image-xw8skkg7.js → workspace-1cxs6ddq.js} +28 -28
- package/dist/chunks/{image-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-166kng33.js → workspace-1gfgk62c.js} +8 -8
- package/dist/chunks/{image-kbqaqrep.js → workspace-1qx820s6.js} +20 -20
- package/dist/chunks/{image-33w4ejhs.js → workspace-1ygqh575.js} +6 -6
- package/dist/chunks/{image-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{image-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{image-5t31c093.js → workspace-27za9r5g.js} +48 -48
- package/dist/chunks/{image-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-7dqw4kz8.js → workspace-2k8khapm.js} +5 -5
- package/dist/chunks/{image-4sn99hha.js → workspace-2w6fc0zt.js} +7 -7
- package/dist/chunks/{image-c0m28p3w.js → workspace-2wy0jzng.js} +9 -9
- package/dist/chunks/{image-f9kxw7ch.js → workspace-2xn6s27p.js} +47 -47
- package/dist/chunks/{image-cntg9czn.js → workspace-2yqk5d2g.js} +11 -11
- package/dist/chunks/{image-7gmr5zjm.js → workspace-2z54xyv0.js} +28 -28
- package/dist/chunks/{image-5gshzgwa.js → workspace-30a43rch.js} +48 -48
- package/dist/chunks/{image-4f22rktn.js → workspace-357vwvaw.js} +13 -13
- package/dist/chunks/{image-h5crbhmb.js → workspace-37sfe3bm.js} +15 -15
- package/dist/chunks/{image-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-sbw74b5r.js → workspace-3mdqjwjq.js} +75 -75
- package/dist/chunks/{image-22e5vd5e.js → workspace-3pbxz7sh.js} +20 -20
- package/dist/chunks/{image-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-eh3wnq3n.js → workspace-3zvpgha1.js} +22 -22
- package/dist/chunks/{image-ta055kay.js → workspace-438c5wf5.js} +30 -30
- package/dist/chunks/{image-gfr393vr.js → workspace-45d0fyve.js} +18 -18
- package/dist/chunks/{image-6c5w8k1k.js → workspace-466thwct.js} +15 -15
- package/dist/chunks/{image-jp4k4cwe.js → workspace-4jk4wxge.js} +29 -29
- package/dist/chunks/{image-zy43x3f1.js → workspace-4v7ngy20.js} +4 -4
- package/dist/chunks/{image-rxx8w1cp.js → workspace-4zetm0jd.js} +9 -9
- package/dist/chunks/{image-5b4stqbr.js → workspace-505kak1q.js} +10 -10
- package/dist/chunks/{image-ckecvw8r.js → workspace-54tcyq79.js} +2 -2
- package/dist/chunks/{image-mmjsk5hc.js → workspace-55q8s0tq.js} +15 -15
- package/dist/chunks/{image-k9d40v1y.js → workspace-56dkfrzf.js} +4 -4
- package/dist/chunks/{image-k8dasee7.js → workspace-56m60q16.js} +5 -5
- package/dist/chunks/{image-1zdkxdab.js → workspace-583w8zzc.js} +3 -3
- package/dist/chunks/{image-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5ekn9679.js → workspace-5ekn9679.js} +1 -1
- package/dist/chunks/{image-w4r87ktx.js → workspace-5ksqsxw4.js} +24 -24
- package/dist/chunks/{image-gt1j80n6.js → workspace-5mqgys5q.js} +33 -33
- package/dist/chunks/{image-js0d1agj.js → workspace-5rg82yfa.js} +12 -12
- package/dist/chunks/{image-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-cmwkp3r5.js → workspace-5yzzbxa7.js} +8 -8
- package/dist/chunks/{image-d2w632g8.js → workspace-5z6rwdjk.js} +3 -3
- package/dist/chunks/{image-t1gfjrf3.js → workspace-60an1160.js} +17 -17
- package/dist/chunks/{image-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{image-4gxz2kx8.js → workspace-6bwbzvbk.js} +28 -28
- package/dist/chunks/{image-xy39rfb7.js → workspace-6f51hy00.js} +9 -9
- package/dist/chunks/workspace-6kdq0pjd.js +4 -0
- package/dist/chunks/{image-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-hpagaahd.js → workspace-6p5b6z32.js} +6 -6
- package/dist/chunks/{image-72dyagzw.js → workspace-6qrmzyn8.js} +21 -21
- package/dist/chunks/{image-ftdzjz2b.js → workspace-6wg7wrda.js} +4 -4
- package/dist/chunks/{image-dga71q50.js → workspace-6x6zqcbs.js} +41 -41
- package/dist/chunks/{image-gf58v98r.js → workspace-6xhyt350.js} +5 -5
- package/dist/chunks/{image-ewpp5e7n.js → workspace-71f1cn11.js} +39 -39
- package/dist/chunks/{image-8q279wwj.js → workspace-78hnnhxt.js} +11 -11
- package/dist/chunks/{image-w7mqkfhb.js → workspace-791jfm05.js} +11 -11
- package/dist/chunks/{image-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-wfzvfztp.js → workspace-7gc9qn53.js} +27 -27
- package/dist/chunks/{image-s2b1gttb.js → workspace-7hxn90bs.js} +42 -42
- package/dist/chunks/{image-1m26q0f9.js → workspace-7kq06j26.js} +18 -18
- package/dist/chunks/{image-pr3detqk.js → workspace-7m8xajth.js} +25 -25
- package/dist/chunks/{image-jv4eadh7.js → workspace-7tp3f5r3.js} +5 -5
- package/dist/chunks/{image-r1b1h9p2.js → workspace-7wc442ye.js} +5 -5
- package/dist/chunks/{image-ntwexnb4.js → workspace-8076am3r.js} +43 -43
- package/dist/chunks/{image-akrnn5pm.js → workspace-818pfwc9.js} +8 -8
- package/dist/chunks/{image-h0j2nr32.js → workspace-83me60hv.js} +11 -11
- package/dist/chunks/{image-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-8vn671xv.js → workspace-8mjagv5b.js} +13 -13
- package/dist/chunks/{image-a0bpa5q3.js → workspace-91e2qxf2.js} +33 -33
- package/dist/chunks/{image-774cd9f1.js → workspace-975r8ezm.js} +34 -34
- package/dist/chunks/{image-x4h4af76.js → workspace-9a5xrdm0.js} +15 -15
- package/dist/chunks/{image-m376s9bv.js → workspace-9bysvk2w.js} +13 -13
- package/dist/chunks/{image-2yzp2mzj.js → workspace-9c463c3v.js} +21 -21
- package/dist/chunks/{image-5bkn97b7.js → workspace-9cdcmxar.js} +13 -13
- package/dist/chunks/{image-dh1b120n.js → workspace-9n3yh9qe.js} +19 -19
- package/dist/chunks/{image-av8qn4q0.js → workspace-9q0fe16k.js} +10 -10
- package/dist/chunks/{image-av8mxqza.js → workspace-9ted079k.js} +29 -29
- package/dist/chunks/{image-yz5517fk.js → workspace-9vb8s0ef.js} +32 -32
- package/dist/chunks/{image-nyt6jjzz.js → workspace-9x5r1zhq.js} +8 -8
- package/dist/chunks/{image-n775cbrb.js → workspace-9z7cfjnw.js} +26 -26
- package/dist/chunks/{image-xkydw24q.js → workspace-9zbzdfgd.js} +28 -28
- package/dist/chunks/{image-1mcf8axt.js → workspace-a09v9r2j.js} +11 -11
- package/dist/chunks/workspace-a9862w5q.js +26 -0
- package/dist/chunks/{image-r5y57ggj.js → workspace-a9qpy9ng.js} +22 -22
- package/dist/chunks/{image-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{image-jg9t1rv4.js → workspace-aahyy29f.js} +79 -79
- package/dist/chunks/{image-tcdyfre7.js → workspace-ae72ha8b.js} +25 -25
- package/dist/chunks/{image-qxc8r00e.js → workspace-aesn9jmf.js} +11 -11
- package/dist/chunks/{image-9hwzc92f.js → workspace-akzjf690.js} +9 -9
- package/dist/chunks/{image-r105h9b1.js → workspace-asrf6d4d.js} +32 -32
- package/dist/chunks/{image-zg5a92pj.js → workspace-az1ye58n.js} +30 -30
- package/dist/chunks/{image-jxyjvaaf.js → workspace-az5cyybe.js} +3 -3
- package/dist/chunks/{image-y843p43y.js → workspace-b23ngztz.js} +10 -10
- package/dist/chunks/{image-y9b84fnk.js → workspace-b601atsc.js} +12 -12
- package/dist/chunks/{image-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-p8rb0j6p.js → workspace-b7vpt2tp.js} +18 -18
- package/dist/chunks/{image-jc0ts2h3.js → workspace-b8xr8rbz.js} +14 -14
- package/dist/chunks/{image-z07pqspn.js → workspace-bjtzbw4r.js} +3 -3
- package/dist/chunks/{image-wgtcm0m7.js → workspace-bk7jaeqh.js} +4 -4
- package/dist/chunks/{image-pe8nenhf.js → workspace-bqxbmhwc.js} +11 -11
- package/dist/chunks/{image-fmjrtwa9.js → workspace-bxhncv17.js} +8 -8
- package/dist/chunks/{image-kh02fzyq.js → workspace-bxkg3gdp.js} +28 -28
- package/dist/chunks/{image-ma6vedv2.js → workspace-bzbmha14.js} +10 -10
- package/dist/chunks/{image-6szrdwa0.js → workspace-c4cdms68.js} +17 -17
- package/dist/chunks/{image-ayc4106j.js → workspace-c5c81y3p.js} +4 -4
- package/dist/chunks/{image-58v8j9r6.js → workspace-c67sf3ms.js} +9 -9
- package/dist/chunks/{image-1ewy1br2.js → workspace-ca8b9jkw.js} +4 -4
- package/dist/chunks/workspace-cm00fmja.js +252 -0
- package/dist/chunks/{image-rey4n0wx.js → workspace-cy02d2xc.js} +9 -9
- package/dist/chunks/{image-p1f33w0k.js → workspace-ddevztyh.js} +30 -30
- package/dist/chunks/{image-jwcy2c2z.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{image-1waqhqgx.js → workspace-dwyehvxd.js} +15 -15
- package/dist/chunks/{image-3s216tfs.js → workspace-e0rvhg7q.js} +2 -2
- package/dist/chunks/{image-c620ddxt.js → workspace-e13yqjz3.js} +51 -51
- package/dist/chunks/{image-7wz9shf8.js → workspace-e57pv4wg.js} +70 -70
- package/dist/chunks/{image-xvpsxfft.js → workspace-e62vcbxn.js} +5 -5
- package/dist/chunks/{image-qa7075pb.js → workspace-e89xj288.js} +5 -5
- package/dist/chunks/{image-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-pd3h1bmn.js → workspace-em664rth.js} +20 -20
- package/dist/chunks/{image-73tb2d7t.js → workspace-eq1pz5kg.js} +3 -3
- package/dist/chunks/{image-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{image-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-tw8a8mq4.js → workspace-fds0942a.js} +28 -28
- package/dist/chunks/{image-k2trz52r.js → workspace-fhwjz7ks.js} +25 -25
- package/dist/chunks/{image-vyqn3nqs.js → workspace-fjvydvzm.js} +4 -4
- package/dist/chunks/{image-2e3htp8t.js → workspace-ft8my87t.js} +11 -11
- package/dist/chunks/{image-qj8eh1ht.js → workspace-g190xswt.js} +4 -4
- package/dist/chunks/{image-qxrkxshc.js → workspace-g44g4t6r.js} +17 -17
- package/dist/chunks/{image-3qagm8yh.js → workspace-g9177ymk.js} +7 -7
- package/dist/chunks/{image-em3h5ktn.js → workspace-gc4fb455.js} +4 -4
- package/dist/chunks/{image-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-94ek1h2f.js → workspace-gfvb90ym.js} +2 -2
- package/dist/chunks/{image-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-nzyhnfxz.js → workspace-h6r3nrb9.js} +4 -4
- package/dist/chunks/{image-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-aemd976n.js → workspace-h747f910.js} +38 -38
- package/dist/chunks/{image-770exhkv.js → workspace-h7e5g0tn.js} +6 -6
- package/dist/chunks/{image-tdgdhk1e.js → workspace-h9ssxcjg.js} +8 -8
- package/dist/chunks/{image-6apv16q4.js → workspace-hccbp3fd.js} +11 -11
- package/dist/chunks/{image-jqt8mqsr.js → workspace-hgazxmwb.js} +20 -20
- package/dist/chunks/{image-663rft7j.js → workspace-hvf24zfz.js} +9 -9
- package/dist/chunks/{image-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{image-0y0j53mb.js → workspace-ja6mtjvc.js} +17 -17
- package/dist/chunks/{image-xphjvb0e.js → workspace-jhte7jv1.js} +11 -11
- package/dist/chunks/{image-sz613scp.js → workspace-jt0ae3x5.js} +16 -16
- package/dist/chunks/{image-bh79aq3p.js → workspace-k1qrnqst.js} +8 -8
- package/dist/chunks/{image-5z7kcmm3.js → workspace-k2wyf9h9.js} +41 -41
- package/dist/chunks/{image-nzks3jc8.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{image-256nx13v.js → workspace-k6yq57aq.js} +3 -3
- package/dist/chunks/{image-p1xmed22.js → workspace-kb9jw9za.js} +8 -8
- package/dist/chunks/{image-85tvp9fd.js → workspace-kd2jg7wg.js} +12 -12
- package/dist/chunks/{image-zvwz45r0.js → workspace-kgen349b.js} +9 -9
- package/dist/chunks/{image-vf6k9qc2.js → workspace-khmhvwbd.js} +22 -22
- package/dist/chunks/{image-edmj9df8.js → workspace-kkvt8xjw.js} +17 -17
- package/dist/chunks/{image-gmmv7n6h.js → workspace-knht3pjq.js} +5 -5
- package/dist/chunks/{image-4qtrgqz0.js → workspace-kr59axht.js} +1 -1
- package/dist/chunks/{image-gkj51nnj.js → workspace-ksytkaze.js} +27 -27
- package/dist/chunks/{image-nq7qbqzc.js → workspace-m2d0j7c0.js} +9 -9
- package/dist/chunks/{image-k8c62mcw.js → workspace-m2tre556.js} +44 -44
- package/dist/chunks/{image-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-yhgwf81s.js → workspace-mcyzx8fc.js} +11 -11
- package/dist/chunks/{image-mpbb34q8.js → workspace-msnexz9t.js} +29 -29
- package/dist/chunks/{image-2mcvh2n3.js → workspace-mxrrxz3e.js} +12 -12
- package/dist/chunks/{image-9wfqyrmt.js → workspace-myfy8bwe.js} +3 -3
- package/dist/chunks/{image-nbrsdxg4.js → workspace-n0xkpwp9.js} +25 -25
- package/dist/chunks/{image-ybv07nhy.js → workspace-n6f91730.js} +8 -8
- package/dist/chunks/{image-5jvc3mjr.js → workspace-ncfym1m4.js} +14 -14
- package/dist/chunks/{image-z30vtyeh.js → workspace-nn09g6m5.js} +21 -21
- package/dist/chunks/{image-r33ff4dw.js → workspace-p0b4ytnr.js} +4 -4
- package/dist/chunks/{image-9p5nya9r.js → workspace-p1anhhew.js} +22 -22
- package/dist/chunks/{image-10xqw9ew.js → workspace-p9pz7yr4.js} +10 -10
- package/dist/chunks/{image-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-8ysa277v.js → workspace-pkaafs0j.js} +11 -11
- package/dist/chunks/{image-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{image-9atd0qg2.js → workspace-pkzcwsw4.js} +23 -23
- package/dist/chunks/{image-t38hgp9c.js → workspace-pnkd16h0.js} +3 -3
- package/dist/chunks/{image-18tvb9ms.js → workspace-pqt57qxs.js} +30 -30
- package/dist/chunks/{image-p88md3q8.js → workspace-prq7hedt.js} +9 -9
- package/dist/chunks/{image-wd3x2cqz.js → workspace-psazpmmj.js} +2 -2
- package/dist/chunks/{image-myr9sre4.js → workspace-pw8h7q9e.js} +31 -31
- package/dist/chunks/{image-w92k2e0p.js → workspace-py3kkmfq.js} +8 -8
- package/dist/chunks/{image-sp7nseq3.js → workspace-pyp5frad.js} +19 -19
- package/dist/chunks/{image-5ymhfyg0.js → workspace-pztc22em.js} +17 -17
- package/dist/chunks/{image-7b3690ew.js → workspace-q53vqx2z.js} +16 -16
- package/dist/chunks/{image-52n3ytht.js → workspace-q60sw46r.js} +29 -29
- package/dist/chunks/{image-yq14pbr7.js → workspace-qdbakdjh.js} +5 -5
- package/dist/chunks/{image-cc1kzkvd.js → workspace-qec8xvn0.js} +325 -325
- package/dist/chunks/{image-djszqvmq.js → workspace-qmqgtz8f.js} +9 -9
- package/dist/chunks/{image-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{image-07s8m1z6.js → workspace-r4b24f36.js} +11 -11
- package/dist/chunks/{image-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-0xqf1fvw.js → workspace-re06hfb4.js} +29 -29
- package/dist/chunks/{image-efzf9zk4.js → workspace-red9fndq.js} +5 -5
- package/dist/chunks/{image-9jbdt4qb.js → workspace-rhj3j0xw.js} +6 -6
- package/dist/chunks/{image-02nrjc1r.js → workspace-rhjbct0v.js} +6 -6
- package/dist/chunks/{image-0jksg60z.js → workspace-rhr7kre3.js} +13 -13
- package/dist/chunks/{image-yd1zya46.js → workspace-rmj3p531.js} +5 -5
- package/dist/chunks/{image-f207cexx.js → workspace-rv3ajkkz.js} +25 -25
- package/dist/chunks/{image-x27w9g4p.js → workspace-s30pz1fr.js} +18 -18
- package/dist/chunks/{image-qjv8nf6r.js → workspace-s8x1qprv.js} +7 -7
- package/dist/chunks/{image-s8zy8myc.js → workspace-s8zy8myc.js} +2 -2
- package/dist/chunks/{image-tjj5s44w.js → workspace-schrbh41.js} +16 -16
- package/dist/chunks/{image-8rv81xk8.js → workspace-sfcb33kz.js} +15 -15
- package/dist/chunks/{image-sqy4ahhk.js → workspace-sfntmzm9.js} +1 -1
- package/dist/chunks/{image-htjccydj.js → workspace-sg1hzg94.js} +44 -44
- package/dist/chunks/{image-nqaq94vp.js → workspace-swfc4c09.js} +55 -55
- package/dist/chunks/{image-qa3qhgw8.js → workspace-sxz6gkc3.js} +7 -7
- package/dist/chunks/{image-ry00nx84.js → workspace-sz8868xq.js} +7 -7
- package/dist/chunks/{image-3cfzdc8e.js → workspace-t0fxg8b9.js} +5 -5
- package/dist/chunks/{image-fx3wk6a3.js → workspace-t5rx070x.js} +31 -31
- package/dist/chunks/{image-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-e05xq2f0.js → workspace-td0mb8yv.js} +20 -20
- package/dist/chunks/{image-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{image-p9nxns17.js → workspace-tka7gdsf.js} +36 -36
- package/dist/chunks/{image-pyfvkh5e.js → workspace-tnkedzgy.js} +5 -5
- package/dist/chunks/{image-appc3a7v.js → workspace-tq2sjk2m.js} +26 -26
- package/dist/chunks/{image-f6007f9y.js → workspace-tvj5t05b.js} +7 -7
- package/dist/chunks/{image-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{image-bmtfvb6n.js → workspace-ty6tacf3.js} +5 -5
- package/dist/chunks/{image-7x2nsmvk.js → workspace-v0qyj49f.js} +32 -32
- package/dist/chunks/workspace-v1faaxn9.js +18 -0
- package/dist/chunks/{image-tch7083r.js → workspace-v7bxjhmx.js} +7 -7
- package/dist/chunks/{image-0v53mg2y.js → workspace-ve4pfa0n.js} +4 -4
- package/dist/chunks/{image-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{image-xhtm5rzq.js → workspace-vj0qrmre.js} +19 -19
- package/dist/chunks/{image-kzc3h1h3.js → workspace-vkfdnwpx.js} +4 -4
- package/dist/chunks/{image-fd69q2ca.js → workspace-vmmqyyr9.js} +5 -5
- package/dist/chunks/{image-2myva995.js → workspace-vqfzq50h.js} +6 -6
- package/dist/chunks/{image-z4dhzm7f.js → workspace-vs560t14.js} +13 -13
- package/dist/chunks/{image-rqqqmm2x.js → workspace-vwpcpzep.js} +8 -8
- package/dist/chunks/{image-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{image-mqzwmgjk.js → workspace-wg0qqct4.js} +24 -24
- package/dist/chunks/{image-y4pq5snz.js → workspace-wjds8tjc.js} +25 -25
- package/dist/chunks/{image-m7va1g8x.js → workspace-wqc6684y.js} +2 -2
- package/dist/chunks/{image-wjh3vg4b.js → workspace-ww89ca1r.js} +17 -17
- package/dist/chunks/{image-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-tpx0gc93.js → workspace-xa8fzrz4.js} +25 -25
- package/dist/chunks/{image-57b9ws8p.js → workspace-xfkkasph.js} +7 -7
- package/dist/chunks/{image-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
- package/dist/chunks/{image-npamt89n.js → workspace-xm9ad1cr.js} +20 -20
- package/dist/chunks/{image-5vbx7n99.js → workspace-xmpfc1gs.js} +12 -12
- package/dist/chunks/{image-ewbnfzy6.js → workspace-xv6wg3rm.js} +11 -11
- package/dist/chunks/{image-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-ntwebah5.js → workspace-y4b1sr7g.js} +15 -15
- package/dist/chunks/{image-a3ffqj26.js → workspace-yd89mvd7.js} +8 -8
- package/dist/chunks/{image-p4y5km0g.js → workspace-ydq9gdxv.js} +10 -10
- package/dist/chunks/{image-yydg9xbw.js → workspace-ygb2gymn.js} +29 -29
- package/dist/chunks/{image-1acjjqhc.js → workspace-yp2x3t23.js} +4 -4
- package/dist/chunks/{image-e23w9d35.js → workspace-ypzhfwa9.js} +12 -12
- package/dist/chunks/{image-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{image-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{image-ybmae93c.js → workspace-z873mpyh.js} +11 -11
- package/dist/chunks/{image-9c8gxprz.js → workspace-z92dbfgq.js} +4 -4
- package/dist/chunks/{image-bc0yk3ga.js → workspace-z97kzzt3.js} +6 -6
- package/dist/chunks/{image-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-c3parjrz.js → workspace-zh0w19mw.js} +10 -10
- package/dist/chunks/{image-8ayafdqn.js → workspace-zm1yvs5r.js} +12 -12
- package/dist/chunks/{image-6tbabvvx.js → workspace-zpser4p9.js} +7 -7
- package/dist/chunks/{image-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +88 -88
- package/dist/config/plugin/location-watcher.js +123 -123
- 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 +126 -126
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +79 -79
- 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 +3 -3
- 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 +74 -74
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +85 -85
- 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 +135 -135
- 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 +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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/compaction.js +131 -131
- 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 +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 +93 -93
- 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 +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 +160 -160
- 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 +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/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- 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 +82 -82
- 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 +94 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +134 -134
- package/dist/session/context.js +148 -148
- 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 +220 -220
- 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 +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 +2 -2
- 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 +126 -126
- package/dist/session/projector.js +84 -84
- 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 +170 -170
- 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 +75 -75
- 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 +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 +214 -214
- 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 +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- 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 +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- 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 +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +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 +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- 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/image-0j3d6amx.js +0 -26
- package/dist/chunks/image-93k530h5.js +0 -252
- package/dist/chunks/image-phz3h32g.js +0 -18
- package/dist/chunks/image-qapv375x.js +0 -4
- /package/dist/chunks/{image-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./workspace-3pbxz7sh.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-tnkedzgy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./workspace-k2wyf9h9.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./workspace-1cxs6ddq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service7
|
|
20
|
+
} from "./workspace-m2d0j7c0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-6p5b6z32.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin23
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin23 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service52;
|
|
43
|
+
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service78;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service53;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin48 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin48 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin48 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin48 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin48 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin23, exports_skill2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./workspace-ypzhfwa9.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service84;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./workspace-9vb8s0ef.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service75;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID13.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service65
|
|
4
|
+
} from "./workspace-wg0qqct4.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service73
|
|
8
|
+
} from "./workspace-0spbe0cp.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./workspace-k2wyf9h9.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-k6yq57aq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service48
|
|
18
|
+
} from "./workspace-g44g4t6r.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service62
|
|
22
|
+
} from "./workspace-swfc4c09.js";
|
|
23
23
|
import {
|
|
24
24
|
Service18
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./workspace-aahyy29f.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./workspace-6f51hy00.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-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: () => Input7,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin43,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name7
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name7 = "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 Input7 = 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,12 +72,12 @@ var Input12 = 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 Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin43 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
92
|
const sessions = yield* Service18;
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
93
|
+
const jobs = yield* Service48;
|
|
94
|
+
const agents = yield* Service65;
|
|
95
|
+
const config = yield* Service52;
|
|
96
|
+
const permission = yield* Service62;
|
|
97
|
+
const models = yield* Service73;
|
|
98
|
+
const subagents = yield* make10;
|
|
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 Plugin14 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output6,
|
|
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 Plugin14 = {
|
|
|
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: name7,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin14 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.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 !== name7 || !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[name7];
|
|
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(name7, 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 { name7, Input7, Output6, description3, Plugin43, exports_subagent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./workspace-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service52
|
|
4
|
+
} from "./workspace-k2wyf9h9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./workspace-xmpfc1gs.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin24
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin24 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service52;
|
|
27
|
+
const output = yield* Service54;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin44 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin24, exports_tool_output };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service71,
|
|
9
|
+
node75
|
|
10
|
+
} from "./workspace-sg1hzg94.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-k6yq57aq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service42,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node44,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service42 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service71;
|
|
77
|
+
return Service42.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node44 = makeLocationNode({ service: Service42, layer, deps: [node75] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service42, resolved2, node44, exports_model };
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-5z6rwdjk.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-ae72ha8b.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
CloudflareAIGatewayPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-6xhyt350.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareWorkersAIPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-red9fndq.js";
|
|
16
16
|
import {
|
|
17
17
|
CoherePlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-z0bkrqjs.js";
|
|
19
19
|
import {
|
|
20
20
|
DigitalOceanPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-pztc22em.js";
|
|
22
22
|
import {
|
|
23
23
|
DynamicProviderPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-vzcthcp8.js";
|
|
25
25
|
import {
|
|
26
26
|
GatewayPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-669tq793.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-6bwbzvbk.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-p1anhhew.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./workspace-knht3pjq.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./workspace-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./workspace-7wc442ye.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./workspace-tvj5t05b.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./workspace-dwyehvxd.js";
|
|
49
49
|
import {
|
|
50
50
|
NvidiaPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./workspace-24dcb14g.js";
|
|
52
52
|
import {
|
|
53
53
|
OllamaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./workspace-ydq9gdxv.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
OpenAIPlugin2
|
|
57
|
+
} from "./workspace-vj0qrmre.js";
|
|
58
58
|
import {
|
|
59
59
|
SnowflakeCortexPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./workspace-9n3yh9qe.js";
|
|
61
61
|
import {
|
|
62
62
|
OpencodePlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./workspace-a9qpy9ng.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenRouterPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./workspace-myfy8bwe.js";
|
|
67
67
|
import {
|
|
68
68
|
PerplexityPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./workspace-veqvce7d.js";
|
|
70
70
|
import {
|
|
71
71
|
PoePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./workspace-e62vcbxn.js";
|
|
73
73
|
import {
|
|
74
74
|
PromptCacheKeyPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./workspace-583w8zzc.js";
|
|
76
76
|
import {
|
|
77
77
|
SapAICorePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./workspace-rmj3p531.js";
|
|
79
79
|
import {
|
|
80
80
|
VercelPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./workspace-kr59axht.js";
|
|
82
82
|
import {
|
|
83
83
|
VenicePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./workspace-yrhqyw5v.js";
|
|
85
85
|
import {
|
|
86
86
|
VLLMPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./workspace-bzbmha14.js";
|
|
88
88
|
import {
|
|
89
89
|
XAIPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./workspace-r4b24f36.js";
|
|
91
91
|
import {
|
|
92
92
|
ZenmuxPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./workspace-jjkms2e6.js";
|
|
94
94
|
|
|
95
95
|
// src/plugin/provider.ts
|
|
96
96
|
var ProviderPlugins2 = [
|
|
@@ -113,7 +113,7 @@ var ProviderPlugins2 = [
|
|
|
113
113
|
OllamaPlugin2,
|
|
114
114
|
OpencodePlugin2,
|
|
115
115
|
SnowflakeCortexPlugin2,
|
|
116
|
-
|
|
116
|
+
OpenAIPlugin2,
|
|
117
117
|
OpenRouterPlugin2,
|
|
118
118
|
PerplexityPlugin2,
|
|
119
119
|
PoePlugin2,
|