@opencode/core 0.0.0-dev-20355 → 0.0.0-dev-20356
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 +75 -75
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{config-ycmgt2y6.js → project-01b2nk25.js} +9 -9
- package/dist/chunks/{config-bakv4saz.js → project-072d3ke0.js} +32 -32
- package/dist/chunks/{config-2b3v10ng.js → project-0878msad.js} +11 -11
- package/dist/chunks/{config-7vr7a34q.js → project-0aqwtw9c.js} +13 -13
- package/dist/chunks/{config-eaj1djv9.js → project-0gdmqesm.js} +8 -8
- package/dist/chunks/{config-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-v5hpcsb0.js → project-0r7yqxbf.js} +2 -2
- package/dist/chunks/{config-ww0d9pr3.js → project-0s7psmf3.js} +1 -1
- package/dist/chunks/{config-rc05v628.js → project-0yzz1bpd.js} +27 -27
- package/dist/chunks/{config-sj42vzd6.js → project-14pjqsw5.js} +35 -35
- package/dist/chunks/{config-dvxev2r4.js → project-17s5n6t0.js} +86 -86
- package/dist/chunks/{config-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-qcgjm0wy.js → project-1enaff33.js} +3 -3
- package/dist/chunks/{config-hw2pg0yt.js → project-1hzm83a3.js} +13 -13
- package/dist/chunks/{config-10ta830h.js → project-1qpfrbew.js} +8 -8
- package/dist/chunks/{config-gz4c6301.js → project-1shstth8.js} +15 -15
- package/dist/chunks/{config-9wkrrryx.js → project-1tyxkk7v.js} +40 -40
- package/dist/chunks/{config-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{config-ve3nfm4c.js → project-29qm0wq5.js} +21 -21
- package/dist/chunks/{config-gwydwvmj.js → project-2a4f6v5q.js} +8 -8
- package/dist/chunks/{config-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-qdjv5azd.js → project-2d8g41z0.js} +5 -5
- package/dist/chunks/{config-9vthwn7z.js → project-2tb6ny1p.js} +32 -32
- package/dist/chunks/{config-9g1ap5hr.js → project-3856nbqk.js} +16 -16
- package/dist/chunks/{config-zejb8zb5.js → project-395kcsa0.js} +9 -9
- package/dist/chunks/{config-py78efw1.js → project-39nh3gac.js} +11 -11
- package/dist/chunks/{config-acmtdz4s.js → project-3bxd3j1q.js} +6 -6
- package/dist/chunks/{config-sfqkah5g.js → project-3ca0bmfd.js} +29 -29
- package/dist/chunks/{config-7bmx80wk.js → project-3cfzdc8e.js} +5 -5
- package/dist/chunks/{config-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-k8t93mz4.js → project-3j6fv4nn.js} +15 -15
- package/dist/chunks/{config-rff1fyms.js → project-3s53nyp7.js} +26 -26
- package/dist/chunks/{config-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-943aygxv.js → project-40ctg4xk.js} +23 -23
- package/dist/chunks/{config-g9baqw06.js → project-4qg7k24a.js} +11 -11
- package/dist/chunks/{config-esws4yc1.js → project-4qqqe9ph.js} +40 -40
- package/dist/chunks/{config-twm3e32h.js → project-4sg0qqqr.js} +12 -12
- package/dist/chunks/{config-mjfyzmpn.js → project-4ytqk5q0.js} +34 -34
- package/dist/chunks/{config-eyz64kwr.js → project-52d0evsq.js} +6 -6
- package/dist/chunks/{config-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{config-1ygqh575.js → project-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-7d2xgerr.js → project-57dkzzcj.js} +10 -10
- package/dist/chunks/{config-d9s573fh.js → project-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-2vtmp13x.js → project-5cks982w.js} +6 -6
- package/dist/chunks/{config-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{config-1p8j1n52.js → project-5kmj8a77.js} +17 -17
- package/dist/chunks/{config-jxv8j2py.js → project-5m8wngbv.js} +20 -20
- package/dist/chunks/{config-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-7dqw4kz8.js → project-607tc6va.js} +5 -5
- package/dist/chunks/{config-75my1bc5.js → project-64mbz47k.js} +6 -6
- package/dist/chunks/{config-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{config-9yxvdnkq.js → project-6a90sj0r.js} +20 -20
- package/dist/chunks/{config-vzm910sv.js → project-6c2v4ws9.js} +22 -22
- package/dist/chunks/{config-wwkjqs8e.js → project-6d6xcght.js} +6 -6
- package/dist/chunks/{config-vappnkcy.js → project-6de9kzwx.js} +20 -20
- package/dist/chunks/{config-z7j0b7x5.js → project-6f50nh7r.js} +7 -7
- package/dist/chunks/{config-8em9bzzy.js → project-6j2q8pwq.js} +5 -5
- package/dist/chunks/{config-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-2tzr0bja.js → project-6r8gf4vt.js} +10 -10
- package/dist/chunks/{config-vk05pa3r.js → project-6v6z346v.js} +3 -3
- package/dist/chunks/{config-fszqq5v7.js → project-6xfxz08t.js} +22 -22
- package/dist/chunks/{config-fkvwhn5v.js → project-6xzdaz95.js} +10 -10
- package/dist/chunks/{config-2avywn8b.js → project-6zkzrtmg.js} +27 -27
- package/dist/chunks/{config-5b5ps9v8.js → project-77vbs49e.js} +22 -22
- package/dist/chunks/{config-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-p3k34w4t.js → project-7fywwnp8.js} +5 -5
- package/dist/chunks/{config-d1cshys9.js → project-7k5g5h3h.js} +11 -11
- package/dist/chunks/{config-q6aktynx.js → project-7kzmyqxz.js} +20 -20
- package/dist/chunks/{config-9ttkv238.js → project-7maxm005.js} +34 -34
- package/dist/chunks/{config-7tqntkc3.js → project-7zdfjpaf.js} +8 -8
- package/dist/chunks/{config-3edhtdw1.js → project-7zhqx0r2.js} +17 -17
- package/dist/chunks/{config-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{config-bep6646j.js → project-8ay87enk.js} +13 -13
- package/dist/chunks/{config-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-ahd542yp.js → project-8n69n882.js} +8 -8
- package/dist/chunks/{config-dd5x4v6f.js → project-8p1n5kzm.js} +1 -1
- package/dist/chunks/{config-r6y07db7.js → project-8t1g6eyt.js} +33 -33
- package/dist/chunks/{config-k8cz140w.js → project-8y61pqpd.js} +7 -7
- package/dist/chunks/{config-gfvb90ym.js → project-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-p9kt6re1.js → project-9bf000qt.js} +11 -11
- package/dist/chunks/{config-h74m16ec.js → project-9tef4xa6.js} +25 -25
- package/dist/chunks/{config-d9sgy5v4.js → project-9x77fmbz.js} +4 -4
- package/dist/chunks/{config-3gwkw8np.js → project-9y2xma3b.js} +20 -20
- package/dist/chunks/{config-jywpbkd4.js → project-9ybqhkdr.js} +4 -4
- package/dist/chunks/project-9zdhvgqs.js +18 -0
- package/dist/chunks/{config-4xz89tjk.js → project-a1a50ys5.js} +5 -5
- package/dist/chunks/{config-6hjx5zpb.js → project-a3ftg8j6.js} +9 -9
- package/dist/chunks/{config-tdpndm1c.js → project-a694798e.js} +5 -5
- package/dist/chunks/{config-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{config-s2ynmxvy.js → project-afed7ext.js} +5 -5
- package/dist/chunks/{config-616rnhbn.js → project-ag37rm3p.js} +12 -12
- package/dist/chunks/project-agjs0zsw.js +26 -0
- package/dist/chunks/{config-gvhsxvct.js → project-amfjbzn6.js} +8 -8
- package/dist/chunks/{config-88q60gsj.js → project-avb1xd8t.js} +13 -13
- package/dist/chunks/{config-x2rw7g36.js → project-axs6pdy0.js} +5 -5
- package/dist/chunks/{config-2jbk0za2.js → project-b2bq2q2h.js} +13 -13
- package/dist/chunks/{config-t09twmyv.js → project-b4cd6zbv.js} +39 -39
- package/dist/chunks/{config-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-9fw5nwrv.js → project-b6z5kj38.js} +28 -28
- package/dist/chunks/{config-xxxym934.js → project-bacyadyn.js} +4 -4
- package/dist/chunks/{config-spcmba9v.js → project-bekm1yvf.js} +4 -4
- package/dist/chunks/{config-s5ep9pgt.js → project-bkhdt41m.js} +12 -12
- package/dist/chunks/{config-njdgr89h.js → project-bkjffg37.js} +24 -24
- package/dist/chunks/{config-yvn3f1cv.js → project-bkr283zm.js} +34 -34
- package/dist/chunks/{config-zg51sg0n.js → project-c2pegpsk.js} +10 -10
- package/dist/chunks/{config-qj8eh1ht.js → project-cavr175a.js} +4 -4
- package/dist/chunks/{config-jqz3tc2a.js → project-cfebf2b3.js} +18 -18
- package/dist/chunks/{config-nff2xnmx.js → project-cg278hgw.js} +11 -11
- package/dist/chunks/{config-54tcyq79.js → project-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-y8s41nnw.js → project-cmet8kw7.js} +22 -22
- package/dist/chunks/{config-xsgk3b13.js → project-csmvz898.js} +9 -9
- package/dist/chunks/{config-xwr95ks0.js → project-cyaky418.js} +3 -3
- package/dist/chunks/{config-hwnecj10.js → project-cz67tnsk.js} +21 -21
- package/dist/chunks/{config-tcay1cqt.js → project-d1mtykxg.js} +6 -6
- package/dist/chunks/{config-d94e4xtm.js → project-d7fjbfjm.js} +4 -4
- package/dist/chunks/{config-ctsjrx6d.js → project-dbqhdgwa.js} +9 -9
- package/dist/chunks/{config-nfkqadef.js → project-dc8a0e4c.js} +30 -30
- package/dist/chunks/{config-t7n9q6bq.js → project-ddt2bs9e.js} +4 -4
- package/dist/chunks/{config-qqeeq2t9.js → project-drwq78ky.js} +7 -7
- package/dist/chunks/{config-2cn5yk36.js → project-dzgh9fhm.js} +16 -16
- package/dist/chunks/{config-5srq2jph.js → project-e72d9hmz.js} +12 -12
- package/dist/chunks/{config-kxt3why0.js → project-easxsp29.js} +2 -2
- package/dist/chunks/{config-bc7ekn7c.js → project-eatefz1s.js} +11 -11
- package/dist/chunks/{config-ecfe7b91.js → project-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-ta36bvhe.js → project-erdet7sg.js} +10 -10
- package/dist/chunks/{config-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-162srmwc.js → project-ev5h5ydt.js} +16 -16
- package/dist/chunks/{config-kparprvv.js → project-ezzzks3g.js} +15 -15
- package/dist/chunks/{config-g0jbxjrg.js → project-f2k3y3vz.js} +14 -14
- package/dist/chunks/{config-f2n192rq.js → project-f2n192rq.js} +1 -1
- package/dist/chunks/{config-7k5facj4.js → project-f2vmp4t1.js} +5 -5
- package/dist/chunks/{config-b2wbrq12.js → project-f322zf8a.js} +10 -10
- package/dist/chunks/{config-yf10kn3d.js → project-f7rj482f.js} +8 -8
- package/dist/chunks/{config-pcxypjb1.js → project-fad6j005.js} +8 -8
- package/dist/chunks/{config-bn0s77k4.js → project-fcbbx3j9.js} +17 -17
- package/dist/chunks/{config-wkpys4ba.js → project-fep3pdp6.js} +323 -323
- package/dist/chunks/{config-e6s5dmrj.js → project-fjw551ks.js} +17 -17
- package/dist/chunks/{config-4k6z9pjw.js → project-fmj8bsa7.js} +50 -50
- package/dist/chunks/{config-x0azedwb.js → project-fqjdsq6b.js} +28 -28
- package/dist/chunks/{config-w0p1bkhd.js → project-fzq9b8e0.js} +4 -4
- package/dist/chunks/{config-319ksv5t.js → project-g0shecj4.js} +26 -26
- package/dist/chunks/{config-dcsrwca8.js → project-g2xem7mq.js} +15 -15
- package/dist/chunks/{config-cwa6csj7.js → project-g6q9qykm.js} +9 -9
- package/dist/chunks/{config-ratrq7cm.js → project-g8d3gcyj.js} +5 -5
- package/dist/chunks/{config-vqexsrzk.js → project-gcvekh3w.js} +11 -11
- package/dist/chunks/{config-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-7yw5590a.js → project-gec46073.js} +16 -16
- package/dist/chunks/{config-tx9w5tca.js → project-gs3s1a1g.js} +8 -8
- package/dist/chunks/{config-yyb7tjpc.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-x1cxck2x.js → project-gycsprcg.js} +20 -20
- package/dist/chunks/{config-q3t37ft6.js → project-gynv5cx7.js} +3 -3
- package/dist/chunks/{config-xvp1j2dc.js → project-h6b02349.js} +5 -5
- package/dist/chunks/{config-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-7k8511dc.js → project-h6wyq11a.js} +17 -17
- package/dist/chunks/{config-3yn68g8e.js → project-hqe4fdw9.js} +20 -20
- package/dist/chunks/{config-rwm97vnv.js → project-hstednbn.js} +8 -8
- package/dist/chunks/{config-kbyvr83t.js → project-htevdsp6.js} +16 -16
- package/dist/chunks/{config-jh23s5s4.js → project-hx9j0tnp.js} +35 -35
- package/dist/chunks/{config-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{config-t6g6kcnx.js → project-j8xxef54.js} +4 -4
- package/dist/chunks/{config-ta9yw25j.js → project-jaqv1zgp.js} +8 -8
- package/dist/chunks/{config-bm8pzper.js → project-je116bp6.js} +22 -22
- package/dist/chunks/{config-7kjz6mzj.js → project-jhkpzm07.js} +16 -16
- package/dist/chunks/{config-5tcj83g5.js → project-jj9pxt8a.js} +2 -2
- package/dist/chunks/{config-mhz751dn.js → project-jrc6xc47.js} +37 -37
- package/dist/chunks/{config-c5c2gpas.js → project-jwv1tpse.js} +23 -23
- package/dist/chunks/{config-nzks3jc8.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{config-jca4demv.js → project-kbwf032e.js} +2 -2
- package/dist/chunks/{config-tsr8fc0r.js → project-kpt1qdq7.js} +6 -6
- package/dist/chunks/{config-hsjjhsgv.js → project-kxeqqz93.js} +17 -17
- package/dist/chunks/{config-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-g1r7w4ks.js → project-m6m7f38k.js} +4 -4
- package/dist/chunks/{config-sejwdkef.js → project-m9ty708k.js} +11 -11
- package/dist/chunks/{config-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-8yap2z1s.js → project-mcdwv36b.js} +8 -8
- package/dist/chunks/{config-sh7eas6r.js → project-mhhs4gcd.js} +43 -43
- package/dist/chunks/{config-e9z3mbyr.js → project-mqp59dgv.js} +30 -30
- package/dist/chunks/{config-972w6esq.js → project-mv21s43e.js} +26 -26
- package/dist/chunks/{config-2pr397y0.js → project-mwhk2m9m.js} +3 -3
- package/dist/chunks/{config-gqfjb3jf.js → project-mwx6kxq6.js} +14 -14
- package/dist/chunks/{config-j6665ac3.js → project-n1gphgks.js} +52 -52
- package/dist/chunks/{config-9e53y001.js → project-n6ay0naj.js} +48 -48
- package/dist/chunks/{config-h6btmnmt.js → project-n9cj0wre.js} +29 -29
- package/dist/chunks/{config-hekxc47r.js → project-ncnm8wen.js} +1 -1
- package/dist/chunks/{config-gvge6fyn.js → project-nt9whnnx.js} +20 -20
- package/dist/chunks/{config-wh5k880y.js → project-nz3ky2x1.js} +5 -5
- package/dist/chunks/{config-fnw7qhq3.js → project-nzep5kp0.js} +43 -43
- package/dist/chunks/{config-bbnkg0gp.js → project-pe58eyng.js} +9 -9
- package/dist/chunks/{config-0gaj4617.js → project-pf2hb43r.js} +6 -6
- package/dist/chunks/{config-83g341n7.js → project-pfvk3f1h.js} +10 -10
- package/dist/chunks/{config-9hn6k4tm.js → project-phstrbs2.js} +8 -8
- package/dist/chunks/{config-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{config-jc520kcq.js → project-pnv527nz.js} +9 -9
- package/dist/chunks/{config-6csmb8tf.js → project-px6qakvs.js} +25 -25
- package/dist/chunks/{config-jac1nddy.js → project-pykhz9mf.js} +5 -5
- package/dist/chunks/{config-zhmq0md4.js → project-q5ny0xm2.js} +8 -8
- package/dist/chunks/{config-nbs4d3ze.js → project-q6ffwytb.js} +26 -26
- package/dist/chunks/{config-pf8rdz4g.js → project-q6r2g4xj.js} +20 -20
- package/dist/chunks/project-qgym36w0.js +252 -0
- package/dist/chunks/{config-scetc9yh.js → project-qm4097qr.js} +3 -3
- package/dist/chunks/{config-cb7fn0dy.js → project-qnmpdahd.js} +48 -48
- package/dist/chunks/{config-zh2v5ckm.js → project-qq9nedxw.js} +17 -17
- package/dist/chunks/{config-5p2qc7sm.js → project-qrj3wnkg.js} +12 -12
- package/dist/chunks/{config-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{config-j5208yae.js → project-qsxf26yz.js} +6 -6
- package/dist/chunks/{config-c0ddf2f2.js → project-qt41wyaw.js} +5 -5
- package/dist/chunks/{config-n341z0m1.js → project-qwz4cyrr.js} +18 -18
- package/dist/chunks/{config-4ry3n659.js → project-qxbk3bdb.js} +17 -17
- package/dist/chunks/{config-fh3xdd54.js → project-r0xrbqbv.js} +6 -6
- package/dist/chunks/{config-emcmr64k.js → project-r2tk4372.js} +17 -17
- package/dist/chunks/{config-rd3m0h4h.js → project-r3knsq37.js} +44 -44
- package/dist/chunks/{config-fc4rny0x.js → project-r4czcqfh.js} +8 -8
- package/dist/chunks/{config-73tb2d7t.js → project-r5x6zcsm.js} +3 -3
- package/dist/chunks/{config-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-vs2s4k4a.js → project-re3t6z20.js} +10 -10
- package/dist/chunks/{config-mcqx6cxj.js → project-rjb06q8w.js} +70 -70
- package/dist/chunks/{config-7fkffz83.js → project-rkprpv83.js} +4 -4
- package/dist/chunks/{config-bd6kjdv5.js → project-snw098qj.js} +8 -8
- package/dist/chunks/{config-kw76cvvq.js → project-sr67wv65.js} +43 -43
- package/dist/chunks/{config-gc85nk87.js → project-t503hra4.js} +11 -11
- package/dist/chunks/{config-shdcsder.js → project-t5p73v1q.js} +27 -27
- package/dist/chunks/{config-dfe8djrf.js → project-t9zs3egg.js} +4 -4
- package/dist/chunks/{config-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-wpwj4s2y.js → project-tazp3vs0.js} +4 -4
- package/dist/chunks/{config-dmds1qg6.js → project-tcdk566h.js} +22 -22
- package/dist/chunks/{config-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{config-0txs8bjp.js → project-tf6f15mf.js} +27 -27
- package/dist/chunks/{config-ey1pyqkw.js → project-tfb7wsn7.js} +11 -11
- package/dist/chunks/{config-keg5m478.js → project-tj25kyyd.js} +6 -6
- package/dist/chunks/{config-0nrzv7mn.js → project-tj4fg8zh.js} +7 -7
- package/dist/chunks/{config-8k7613hp.js → project-tkmktw5m.js} +13 -13
- package/dist/chunks/{config-hbkf5vp5.js → project-tnj7w1ns.js} +80 -80
- package/dist/chunks/{config-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{config-p1g1bd5b.js → project-v28mczge.js} +20 -20
- package/dist/chunks/{config-7gvbvycy.js → project-v6t56ak3.js} +7 -7
- package/dist/chunks/{config-88y9tsxz.js → project-vdzkh65a.js} +15 -15
- package/dist/chunks/{config-ecssg2x3.js → project-veknk6k5.js} +9 -9
- package/dist/chunks/{config-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{config-zmx684ze.js → project-vj6g15k9.js} +24 -24
- package/dist/chunks/{config-k7ygaa38.js → project-vme540ew.js} +3 -3
- package/dist/chunks/{config-axthvv5m.js → project-vz3kzhcq.js} +23 -23
- package/dist/chunks/{config-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-fz6pp08f.js → project-w010rjay.js} +25 -25
- package/dist/chunks/{config-h9p0vmeg.js → project-w099a06a.js} +9 -9
- package/dist/chunks/{config-3dbk1ny7.js → project-w0gv56zd.js} +15 -15
- package/dist/chunks/{config-84txncab.js → project-w1eejvng.js} +5 -5
- package/dist/chunks/{config-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-7mrdz8js.js → project-w8p5fr4d.js} +26 -26
- package/dist/chunks/{config-psazpmmj.js → project-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{config-r0ydeprc.js → project-wgekj4qb.js} +6 -6
- package/dist/chunks/{config-rbpcvdrh.js → project-wh0hmwac.js} +19 -19
- package/dist/chunks/{config-d8dhtf3t.js → project-ws2zt9bt.js} +11 -11
- package/dist/chunks/{config-dce9mh7m.js → project-wt0nnffb.js} +35 -35
- package/dist/chunks/{config-0g10vfc5.js → project-wx196b1m.js} +23 -23
- package/dist/chunks/{config-e2myrb2c.js → project-x04bbqq1.js} +21 -21
- package/dist/chunks/{config-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-0br3sbwn.js → project-x3gqap9d.js} +4 -4
- package/dist/chunks/{config-xkntkrq7.js → project-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-5700x16n.js → project-xs98p9c0.js} +3 -3
- package/dist/chunks/{config-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-y6bex35g.js → project-y6bex35g.js} +1 -1
- package/dist/chunks/{config-y71avatq.js → project-y71avatq.js} +1 -1
- package/dist/chunks/{config-n45k7n27.js → project-ybkv2jt6.js} +11 -11
- package/dist/chunks/{config-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{config-ma59zj1p.js → project-ysyj05xv.js} +26 -26
- package/dist/chunks/{config-qrgezcgk.js → project-yw5zhsjr.js} +6 -6
- package/dist/chunks/{config-bjtzbw4r.js → project-z07pqspn.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-a487dyjh.js → project-z59whknb.js} +172 -172
- package/dist/chunks/{config-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{config-7xr0zv6b.js → project-z88ew3v7.js} +11 -11
- package/dist/chunks/{config-es2rve70.js → project-zb4gqkjh.js} +21 -21
- package/dist/chunks/{config-rq775frq.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-2wcrr15b.js → project-zg5102wc.js} +25 -25
- package/dist/chunks/{config-v4m0f3qj.js → project-zke1m8at.js} +22 -22
- package/dist/chunks/{config-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-p6wxjpka.js → project-zsr4wwhv.js} +4 -4
- package/dist/chunks/{config-zxq2ej10.js → project-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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- 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 +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- 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 +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +4 -4
- 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 +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/config-dxj72tfx.js +0 -18
- package/dist/chunks/config-fg2j47vv.js +0 -252
- package/dist/chunks/config-mfmx3rdh.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-9ybqhkdr.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node63
|
|
9
|
+
} from "./project-6r8gf4vt.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event7,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service47,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node49,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service47 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event7 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service60;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event7.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service47.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event7.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event7.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node49 = makeGlobalNode({ service: Service47, layer, deps: [httpClient, node63, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service47, Event7, inspect2, resolve2, node49, exports_wellknown };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options5,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options5 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options5]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options5, Spec2, exports_plugin3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-afed7ext.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service60,
|
|
16
|
+
node63
|
|
17
|
+
} from "./project-6r8gf4vt.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service59,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node62,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service59 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service60;
|
|
110
|
+
return Service59.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node62 = makeGlobalNode({
|
|
171
|
+
service: Service59,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node63]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node62, exports_repository_cache };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-9ybqhkdr.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-ezzzks3g.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured6,
|
|
25
|
+
layer: () => layer18,
|
|
26
|
+
node: () => node55
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service53 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service53.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer18 = makeLayer();
|
|
259
|
+
var configured6 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service53,
|
|
261
|
+
layer: options === undefined ? layer18 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node55 = configured6();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options7, UnavailableError2, NotFoundError7, Service53, layer18, configured6, node55, exports_persistent_pty, Handoff2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node79,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node79 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node79, exports_driver };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-ysyj05xv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-q6ffwytb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID10.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -97,7 +97,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
97
97
|
return Info22.make({
|
|
98
98
|
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID10.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./project-nzep5kp0.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin44,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin44 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin16 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin44, exports_warming };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-mv21s43e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-0yzz1bpd.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID12.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-6v6z346v.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service60,
|
|
17
|
+
node: () => node63
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service60 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service60.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node63 = makeGlobalNode({ service: Service60, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service60, node63, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-1enaff33.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-qm4097qr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|