@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID9,
|
|
3
|
+
Info24,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-k6yq57aq.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./workspace-hccbp3fd.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./workspace-q53vqx2z.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-9z7cfjnw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service41,
|
|
24
|
+
node43
|
|
25
|
+
} from "./workspace-vqfzq50h.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-bjtzbw4r.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node42
|
|
34
|
+
} from "./workspace-tq2sjk2m.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./workspace-bk7jaeqh.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./workspace-45d0fyve.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
46
|
node23
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./workspace-hgazxmwb.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node73
|
|
51
|
+
} from "./workspace-aesn9jmf.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./workspace-0e81x99y.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service63,
|
|
68
|
+
node65
|
|
69
|
+
} from "./workspace-466thwct.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service48,
|
|
72
|
+
node50
|
|
73
|
+
} from "./workspace-g44g4t6r.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service38,
|
|
76
|
+
node41
|
|
77
|
+
} from "./workspace-7hxn90bs.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./workspace-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service27,
|
|
83
|
+
node30
|
|
84
|
+
} from "./workspace-hvf24zfz.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./workspace-mxrrxz3e.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./workspace-yd89mvd7.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service66,
|
|
93
|
+
node68
|
|
94
|
+
} from "./workspace-183dvndp.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
99
|
Service19,
|
|
100
100
|
node22
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./workspace-30a43rch.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service51,
|
|
104
|
+
node53
|
|
105
|
+
} from "./workspace-vwpcpzep.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./workspace-975r8ezm.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./workspace-2yqk5d2g.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./workspace-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,14 +123,14 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID9,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info24,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
135
|
Service: () => Service18,
|
|
136
136
|
Session: () => exports_session,
|
|
@@ -148,24 +148,24 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
151
|
+
var ListInput2 = ListInput4;
|
|
152
152
|
class Service18 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
154
|
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service83;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
158
|
+
const bus = yield* Service82;
|
|
159
159
|
const projects = yield* Service79;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service38;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
162
|
+
const transport = yield* Service27;
|
|
163
|
+
const store = yield* Service63;
|
|
164
|
+
const instances = yield* Service41;
|
|
165
165
|
const moves = yield* Service19;
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
166
|
+
const jobs = yield* Service48;
|
|
167
|
+
const environments = yield* Service51;
|
|
168
|
+
const locations = yield* Service66;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
171
|
const result = Service18.of({
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service41, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -331,23 +331,23 @@ var node21 = Node.makeGlobalNode({
|
|
|
331
331
|
service: Service18,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
+
node50,
|
|
335
|
+
node53,
|
|
336
|
+
node87,
|
|
334
337
|
node86,
|
|
335
|
-
node41,
|
|
336
|
-
node88,
|
|
337
|
-
node85,
|
|
338
338
|
node83,
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
node41,
|
|
340
|
+
node30,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
node65,
|
|
343
|
+
node43,
|
|
344
|
+
node42,
|
|
345
345
|
node22,
|
|
346
346
|
node23,
|
|
347
|
-
|
|
347
|
+
node68,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node73
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput2, Service18, node21, exports_session };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-aesn9jmf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./workspace-q53vqx2z.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./workspace-tka7gdsf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-9vb8s0ef.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID12
|
|
20
|
+
} from "./workspace-asrf6d4d.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-z97kzzt3.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID12.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID12.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID12.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID12.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID12.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID12.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node73,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node73 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer22, configured11, node73, exports_app };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-aesn9jmf.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin5 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin20 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin20 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin5, exports_tinyfish };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./workspace-q53vqx2z.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID13,
|
|
11
|
+
Service75,
|
|
12
|
+
node79,
|
|
13
|
+
Event17
|
|
14
|
+
} from "./workspace-9vb8s0ef.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
19
|
Service78,
|
|
20
20
|
node82
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-tnkedzgy.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event16,
|
|
41
|
+
ID: () => ID12,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node78,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
68
|
+
var ID12 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
228
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service82;
|
|
230
|
+
const integrations = yield* Service75;
|
|
231
231
|
const location = yield* Service78;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service74.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node86, node79, node82] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node78, exports_provider3, Event16 };
|