@opencode/core 0.0.0-dev-19514 → 0.0.0-dev-19517
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{file-0gsjhwbw.js → model-00pw3h10.js} +27 -27
- package/dist/chunks/{file-1dgfjwgv.js → model-01ebgy6x.js} +25 -25
- package/dist/chunks/{file-0a423ajn.js → model-01zqne1p.js} +43 -43
- package/dist/chunks/{file-fs5r8wpj.js → model-0393spk4.js} +23 -23
- package/dist/chunks/{file-m3krncyp.js → model-08y7zr51.js} +15 -15
- package/dist/chunks/{file-4y66k410.js → model-0ajdgxne.js} +5 -5
- package/dist/chunks/{file-cn02216x.js → model-0dbz5dpj.js} +3 -3
- package/dist/chunks/{file-0gdmqesm.js → model-0gdmqesm.js} +1 -1
- package/dist/chunks/{file-tm7zr4pr.js → model-0gr7cw0d.js} +4 -4
- package/dist/chunks/{file-rjjwk750.js → model-0hw9gmp4.js} +56 -56
- package/dist/chunks/model-0mesazry.js +4 -0
- package/dist/chunks/{file-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → model-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-bvr7grfh.js → model-0qbfsv0x.js} +4 -4
- package/dist/chunks/{file-fdma6z5m.js → model-11qz0t8e.js} +8 -8
- package/dist/chunks/{file-j2xqzd67.js → model-18ercc3f.js} +45 -45
- package/dist/chunks/{file-b27vhd2z.js → model-19vf66h0.js} +4 -4
- package/dist/chunks/{file-nxer0yad.js → model-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-j028xdjb.js → model-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-0dzcdmmm.js → model-1d13423j.js} +9 -9
- package/dist/chunks/{file-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-qr42g2ex.js → model-1mty6vw9.js} +12 -12
- package/dist/chunks/{file-t3v0vag8.js → model-1wtaecq5.js} +7 -7
- package/dist/chunks/{file-56gdpj1q.js → model-1ygqh575.js} +9 -9
- package/dist/chunks/{file-21r38tys.js → model-21r38tys.js} +1 -1
- package/dist/chunks/{file-2402vzrj.js → model-2402vzrj.js} +1 -1
- package/dist/chunks/{file-kym9c2x0.js → model-25yd6z24.js} +9 -9
- package/dist/chunks/{file-9khdf5s3.js → model-2653mqwd.js} +10 -10
- package/dist/chunks/{file-msq0jde0.js → model-26ym7a2d.js} +4 -4
- package/dist/chunks/{file-z63w68vq.js → model-29x78va6.js} +6 -6
- package/dist/chunks/{file-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-m6cttsv8.js → model-2eknmf3c.js} +12 -12
- package/dist/chunks/{file-3w0fmcng.js → model-2f0bjgcj.js} +5 -5
- package/dist/chunks/{file-fqtt6ran.js → model-2g4vvh0x.js} +17 -17
- package/dist/chunks/{file-2scwh29m.js → model-33r7arbr.js} +39 -39
- package/dist/chunks/{file-21tk25ps.js → model-34ytdzas.js} +1 -1
- package/dist/chunks/{file-gdvy8fx6.js → model-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-xz25bmqh.js → model-3j9mgshd.js} +24 -24
- package/dist/chunks/{file-br4mb8ra.js → model-3q7h00b9.js} +27 -27
- package/dist/chunks/{file-v1sethzn.js → model-3qtwe70s.js} +20 -20
- package/dist/chunks/{file-0rymwcrg.js → model-3skdg1nm.js} +32 -32
- package/dist/chunks/{file-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-pw6rbwyw.js → model-427hzfby.js} +6 -6
- package/dist/chunks/{file-7n50n386.js → model-47ms443m.js} +7 -7
- package/dist/chunks/{file-gy7w27zy.js → model-47th8ec4.js} +11 -11
- package/dist/chunks/{file-zvsn794g.js → model-49dhn78k.js} +10 -10
- package/dist/chunks/{file-xx4ze2dw.js → model-4crb2xwh.js} +9 -9
- package/dist/chunks/{file-hv3f10xw.js → model-4f5d4waw.js} +15 -15
- package/dist/chunks/{file-fzthsjy4.js → model-4fq18jmq.js} +18 -18
- package/dist/chunks/{file-3jrr9nrh.js → model-4s650q2q.js} +4 -4
- package/dist/chunks/{file-fg1gh0c9.js → model-4wbg1ywa.js} +35 -35
- package/dist/chunks/{file-qjrh95de.js → model-4wdant8n.js} +4 -4
- package/dist/chunks/{file-8j5k38c8.js → model-5bs4txnv.js} +8 -8
- package/dist/chunks/{file-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{file-5vpje3g0.js → model-5j19hd5e.js} +16 -16
- package/dist/chunks/{file-q6vwf3nd.js → model-5m0dtv2d.js} +6 -6
- package/dist/chunks/{file-e6hd9jay.js → model-5mdrv3hm.js} +6 -6
- package/dist/chunks/{file-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-t0r7fcbn.js → model-5vtpc8vp.js} +27 -27
- package/dist/chunks/{file-8secz49e.js → model-61jhnvfj.js} +32 -32
- package/dist/chunks/{file-3kwdbmfv.js → model-64bd1qya.js} +21 -21
- package/dist/chunks/{file-669tq793.js → model-669tq793.js} +1 -1
- package/dist/chunks/{file-6d9mz4vp.js → model-6ck2t1rv.js} +9 -9
- package/dist/chunks/{file-71eqg07f.js → model-6fcggqzm.js} +17 -17
- package/dist/chunks/{file-mtjmqs8n.js → model-6h7ssv2c.js} +16 -16
- package/dist/chunks/{file-qmj11y7g.js → model-6hdpz7r5.js} +20 -20
- package/dist/chunks/{file-6msgmcgs.js → model-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-8g5hs4np.js → model-6ra2j2vw.js} +41 -41
- package/dist/chunks/{file-30f1x3mc.js → model-6s4by8s0.js} +13 -13
- package/dist/chunks/{file-td8ytyxd.js → model-6ten4jdj.js} +11 -11
- package/dist/chunks/{file-71q4at8m.js → model-71q4at8m.js} +1 -1
- package/dist/chunks/{file-ekkfxm1b.js → model-7925xp00.js} +15 -15
- package/dist/chunks/{file-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-h6f2rjkg.js → model-7mv990wx.js} +13 -13
- package/dist/chunks/{file-y2rgym3m.js → model-7qq57c1m.js} +9 -9
- package/dist/chunks/{file-pxt4kznk.js → model-7wdjtyr9.js} +3 -3
- package/dist/chunks/{file-t2mvn8e2.js → model-7ydv0qnt.js} +16 -16
- package/dist/chunks/{file-dwvzh0g2.js → model-7yqnf43w.js} +6 -6
- package/dist/chunks/{file-detsjsfs.js → model-89z7vhwa.js} +37 -37
- package/dist/chunks/{file-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{file-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-1j388zrc.js → model-8gt682ks.js} +27 -27
- package/dist/chunks/{file-8p4f9s12.js → model-8p4f9s12.js} +2 -2
- package/dist/chunks/model-91t0qgnn.js +22 -0
- package/dist/chunks/{file-xte6ahy5.js → model-95a4nxen.js} +15 -15
- package/dist/chunks/{file-q19rd6y7.js → model-970yf2am.js} +9 -9
- package/dist/chunks/{file-fh5t8s2q.js → model-9c2qq6zd.js} +1 -1
- package/dist/chunks/{file-fjszsmnf.js → model-9p7k60b1.js} +4 -4
- package/dist/chunks/{file-skmtrd5n.js → model-9qbkfj45.js} +26 -26
- package/dist/chunks/{file-jm6kzkv1.js → model-9wc403zm.js} +5 -5
- package/dist/chunks/{file-v9me9bjc.js → model-9wt1dgrq.js} +15 -15
- package/dist/chunks/model-9zdhvgqs.js +18 -0
- package/dist/chunks/{file-a1bz86dw.js → model-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-40bxqg89.js → model-a5fqa70n.js} +11 -11
- package/dist/chunks/{file-qvb3nf84.js → model-a5xy8rps.js} +8 -8
- package/dist/chunks/{file-nv4467mr.js → model-a8hpxnmk.js} +13 -13
- package/dist/chunks/{file-pdy8tdap.js → model-aa9jsfqg.js} +294 -294
- package/dist/chunks/{file-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{file-v1gbks79.js → model-af350n58.js} +40 -40
- package/dist/chunks/{file-mj63ee6j.js → model-afw0evk7.js} +23 -23
- package/dist/chunks/{file-dfe8djrf.js → model-an7cqtb7.js} +4 -4
- package/dist/chunks/{file-3g5458vk.js → model-aqtmwthd.js} +37 -37
- package/dist/chunks/{file-jwadv04f.js → model-av9b8y59.js} +32 -32
- package/dist/chunks/{file-hkfg6fzm.js → model-avm8jn6n.js} +5 -5
- package/dist/chunks/{file-p33ejz0k.js → model-b10jyp57.js} +1 -1
- package/dist/chunks/{file-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-jzzy94zk.js → model-bda9rjxj.js} +9 -9
- package/dist/chunks/{file-t4fqcf9n.js → model-bev58rz9.js} +24 -24
- package/dist/chunks/{file-hy7ma9dc.js → model-bjgvxsns.js} +23 -23
- package/dist/chunks/{file-cyfhm506.js → model-bwmrk78f.js} +17 -17
- package/dist/chunks/{file-ba5k2znj.js → model-bzfw32px.js} +9 -9
- package/dist/chunks/{file-6h539xbt.js → model-c11jf028.js} +8 -8
- package/dist/chunks/{file-akrnn5pm.js → model-c23d720g.js} +11 -11
- package/dist/chunks/{file-6h09v0nk.js → model-ca43bk3t.js} +28 -28
- package/dist/chunks/{file-d9s96shc.js → model-cdf4b59p.js} +49 -49
- package/dist/chunks/{file-g6fqja2m.js → model-cdxne2ts.js} +10 -10
- package/dist/chunks/{file-cfpkc3c9.js → model-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-yb2a0x4v.js → model-cgtmrgbf.js} +10 -10
- package/dist/chunks/{file-vbz5sa67.js → model-cmm96jj5.js} +36 -36
- package/dist/chunks/{file-tpw6cwsb.js → model-cmwkp3r5.js} +8 -8
- package/dist/chunks/{file-52hm8910.js → model-cnkpq623.js} +9 -9
- package/dist/chunks/{file-msprhwgy.js → model-d0dbw1j5.js} +22 -22
- package/dist/chunks/{file-s8b69be9.js → model-d5c48xqa.js} +8 -8
- package/dist/chunks/{file-jj3qxa52.js → model-ddt2bs9e.js} +4 -4
- package/dist/chunks/{file-5ppegk2h.js → model-dw1xw5kf.js} +5 -5
- package/dist/chunks/{file-pv06hj7d.js → model-dwax96b2.js} +2 -2
- package/dist/chunks/{file-dkkjpy3x.js → model-e09967m1.js} +15 -15
- package/dist/chunks/{file-pxs9g58w.js → model-e3mczv1f.js} +47 -47
- package/dist/chunks/{file-ar7nfc0b.js → model-e4dz0fmv.js} +24 -24
- package/dist/chunks/{file-f6x64a2f.js → model-emy07np5.js} +21 -21
- package/dist/chunks/{file-fbgw5egt.js → model-ennqj48b.js} +88 -88
- package/dist/chunks/{file-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-ky6wt9x3.js → model-evy1cf6y.js} +8 -8
- package/dist/chunks/{file-gyaee7jp.js → model-f33hbkq0.js} +20 -20
- package/dist/chunks/{file-f828m53h.js → model-f828m53h.js} +2 -2
- package/dist/chunks/{file-n01rjve2.js → model-f8ndr4p9.js} +19 -19
- package/dist/chunks/{file-84zt2byv.js → model-fhs97t90.js} +9 -9
- package/dist/chunks/{file-g02cz0vt.js → model-fnnbcqtc.js} +18 -18
- package/dist/chunks/{file-7hkbksc5.js → model-frrmzkpb.js} +17 -17
- package/dist/chunks/{file-da2m7fje.js → model-fs6bp36w.js} +5 -5
- package/dist/chunks/{file-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-vm34h1x5.js → model-fxd0s1jx.js} +8 -8
- package/dist/chunks/{file-mvdg3mfe.js → model-g2y161wv.js} +8 -8
- package/dist/chunks/{file-6kb1ngvr.js → model-g500fjm7.js} +1 -1
- package/dist/chunks/{file-g7hhbneb.js → model-g5p9v76r.js} +18 -18
- package/dist/chunks/{file-hy9khhh5.js → model-g8bpgwc7.js} +4 -4
- package/dist/chunks/{file-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-715w4jb6.js → model-gdkxy9zr.js} +9 -9
- package/dist/chunks/{file-v6v8ttny.js → model-ggcxy6ha.js} +25 -25
- package/dist/chunks/{file-048xp89v.js → model-ggtjpswj.js} +15 -15
- package/dist/chunks/{file-0kenkm4y.js → model-gmnnjgny.js} +5 -5
- package/dist/chunks/{file-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-qtptnsh1.js → model-gy4p1xkh.js} +1 -1
- package/dist/chunks/{file-h03wrkyp.js → model-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-x4fh1qwh.js → model-h378ch1a.js} +26 -26
- package/dist/chunks/{file-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-1288mpm8.js → model-hacxhjzv.js} +58 -58
- package/dist/chunks/{file-0r7yqxbf.js → model-hcz3zddy.js} +5 -5
- package/dist/chunks/{file-858qdcc3.js → model-hdbg4dz4.js} +12 -12
- package/dist/chunks/{file-26m15rn7.js → model-hk6wyp9w.js} +32 -32
- package/dist/chunks/{file-rfkfgx1j.js → model-hm6af37m.js} +2 -2
- package/dist/chunks/{file-wd6ep4mh.js → model-hy1g3bgf.js} +1 -1
- package/dist/chunks/{file-mbpbw8jh.js → model-j11b5gx2.js} +13 -13
- package/dist/chunks/{file-kt5w8vxh.js → model-j55g5gc5.js} +10 -10
- package/dist/chunks/{file-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{file-sv08ktng.js → model-j8hv5r0n.js} +13 -13
- package/dist/chunks/{file-paphc93g.js → model-j935v87r.js} +2 -2
- package/dist/chunks/{file-92vqf0gg.js → model-jg0hsq4w.js} +14 -14
- package/dist/chunks/{file-g83qpwmz.js → model-jvz76js5.js} +3 -3
- package/dist/chunks/{file-dpkg50ah.js → model-jwcy2c2z.js} +4 -4
- package/dist/chunks/{file-40p7j5ff.js → model-jwvj9vdn.js} +19 -19
- package/dist/chunks/{file-h6t3ct0z.js → model-k5jh3d8v.js} +46 -46
- package/dist/chunks/{file-365b2wx5.js → model-k9scmdec.js} +173 -173
- package/dist/chunks/{file-t7f26a2p.js → model-kfchwe9z.js} +24 -24
- package/dist/chunks/{file-kg06axw8.js → model-kg06axw8.js} +1 -1
- package/dist/chunks/{file-jsa2395n.js → model-kjcjq4b3.js} +26 -26
- package/dist/chunks/{file-37yfqsb0.js → model-km3xepye.js} +11 -11
- package/dist/chunks/{file-v8xrsrn8.js → model-kn2e7a30.js} +6 -6
- package/dist/chunks/{file-rny9rhyh.js → model-kx7xa2sp.js} +4 -4
- package/dist/chunks/{file-tjr0drtg.js → model-kyf2eze9.js} +12 -12
- package/dist/chunks/{file-c0n50874.js → model-m3j98nth.js} +11 -11
- package/dist/chunks/{file-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-07ch4k8a.js → model-mtgrzfqg.js} +27 -27
- package/dist/chunks/{file-nw0z258d.js → model-n5wh41er.js} +15 -15
- package/dist/chunks/{file-903gnre9.js → model-n6zxgjsd.js} +11 -11
- package/dist/chunks/{file-jrpprbm6.js → model-ndaxx38h.js} +16 -16
- package/dist/chunks/{file-xy0cewe0.js → model-ng8mejvs.js} +11 -11
- package/dist/chunks/{file-p6yzb5ay.js → model-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-rqnks7rh.js → model-njr1pezb.js} +4 -4
- package/dist/chunks/{file-eg10bheh.js → model-nq6g47t1.js} +23 -23
- package/dist/chunks/{file-hh50gg05.js → model-nsexsark.js} +5 -5
- package/dist/chunks/{file-23mbrqv5.js → model-nv5vn7qx.js} +2 -2
- package/dist/chunks/{file-mv3cm7pe.js → model-nwywsssq.js} +16 -16
- package/dist/chunks/model-p57y74xn.js +247 -0
- package/dist/chunks/{file-4we3c2am.js → model-pagpqc31.js} +19 -19
- package/dist/chunks/{file-25nfakxt.js → model-pfhdynjr.js} +29 -29
- package/dist/chunks/{file-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{file-pef5zs3s.js → model-pnsrke6y.js} +19 -19
- package/dist/chunks/{file-qeden6pr.js → model-pw609sjz.js} +23 -23
- package/dist/chunks/{file-h9n27kr1.js → model-px95k3y4.js} +59 -59
- package/dist/chunks/{file-r8vf1f61.js → model-q0awa4pk.js} +6 -6
- package/dist/chunks/{file-kmv05cyx.js → model-qf49agjw.js} +31 -31
- package/dist/chunks/{file-7dqw4kz8.js → model-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-hhzb4w78.js → model-qkevazrs.js} +9 -9
- package/dist/chunks/{file-e5y2w16d.js → model-qqmmpd78.js} +13 -13
- package/dist/chunks/{file-mpvjdhq3.js → model-qqt871ed.js} +38 -38
- package/dist/chunks/{file-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{file-f49kx7ec.js → model-r08zwg3r.js} +18 -18
- package/dist/chunks/{file-v1h457r3.js → model-r608fp9k.js} +9 -9
- package/dist/chunks/{file-wpm2rk0p.js → model-r7nsrefv.js} +6 -6
- package/dist/chunks/{file-r9mregkx.js → model-r9mregkx.js} +2 -2
- package/dist/chunks/{file-g9t7qa9y.js → model-rbzvkf7k.js} +32 -32
- package/dist/chunks/{file-znf35ddy.js → model-rfxdn812.js} +43 -43
- package/dist/chunks/{file-ep6qz3j5.js → model-rsb1fe67.js} +5 -5
- package/dist/chunks/{file-81swgkk7.js → model-rsym84ch.js} +7 -7
- package/dist/chunks/{file-h3fx38h7.js → model-rtrzf183.js} +28 -28
- package/dist/chunks/{file-jxyz68eg.js → model-rwdp7x1n.js} +9 -9
- package/dist/chunks/{file-aw9hkdyd.js → model-s437nttj.js} +27 -27
- package/dist/chunks/{file-yrznvahk.js → model-s4enseaf.js} +2 -2
- package/dist/chunks/{file-r4aah319.js → model-s77a7x78.js} +14 -14
- package/dist/chunks/{file-qj8eh1ht.js → model-s8j6jbjj.js} +21 -21
- package/dist/chunks/{file-frwpyczr.js → model-s9yxznb6.js} +4 -4
- package/dist/chunks/{file-edqnm9wa.js → model-sd864pem.js} +13 -13
- package/dist/chunks/{file-np6jr823.js → model-sn1q4jhb.js} +14 -14
- package/dist/chunks/{file-9z0v2yqn.js → model-sp4p9hk5.js} +22 -22
- package/dist/chunks/{file-0bcfzsmy.js → model-sqetbg69.js} +7 -7
- package/dist/chunks/{file-779r4x49.js → model-stbyfcvy.js} +17 -17
- package/dist/chunks/{file-4p6bmny6.js → model-sypghty7.js} +10 -10
- package/dist/chunks/{file-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{file-h2fpsr6d.js → model-tj0j24wc.js} +8 -8
- package/dist/chunks/{file-rzmkrbvb.js → model-trn0ebkj.js} +2 -2
- package/dist/chunks/{file-tvtrv512.js → model-tvtrv512.js} +1 -1
- package/dist/chunks/{file-7rxw70p2.js → model-tyhtmtb1.js} +13 -13
- package/dist/chunks/{file-jfahe5dm.js → model-v2bqrexr.js} +7 -7
- package/dist/chunks/{file-1vtz46z8.js → model-v5w9803s.js} +8 -8
- package/dist/chunks/{file-wywpfvj8.js → model-v8bbbck7.js} +24 -24
- package/dist/chunks/{file-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{file-fhqc3h92.js → model-vj40030b.js} +30 -30
- package/dist/chunks/{file-epd1fg1b.js → model-vkxpz7g2.js} +4 -4
- package/dist/chunks/{file-hn612hq8.js → model-vnk050b0.js} +87 -87
- package/dist/chunks/{file-5n5g9tme.js → model-vs57cc1w.js} +13 -13
- package/dist/chunks/{file-b7kmpk6t.js → model-vstdng3x.js} +51 -51
- package/dist/chunks/{file-ee39sspt.js → model-vvqyasfx.js} +37 -37
- package/dist/chunks/{file-embs9rr0.js → model-vvx5a9vg.js} +21 -21
- package/dist/chunks/{file-vzcthcp8.js → model-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-pfq1ksym.js → model-w8xr7nv8.js} +5 -5
- package/dist/chunks/{file-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{file-915t83ht.js → model-wn601hgc.js} +8 -8
- package/dist/chunks/{file-xc694gh7.js → model-wtbqz04z.js} +6 -6
- package/dist/chunks/{file-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-sj50v99f.js → model-x5wa15pd.js} +21 -21
- package/dist/chunks/{file-96v5c2p5.js → model-xb43fy6r.js} +23 -23
- package/dist/chunks/{file-3yqybkx7.js → model-xcs774s4.js} +15 -15
- package/dist/chunks/{file-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-3ec5gh45.js → model-y5aw8mtm.js} +12 -12
- package/dist/chunks/{file-bj61hnyg.js → model-yn2b00qa.js} +17 -17
- package/dist/chunks/{file-gmmhsxfs.js → model-yqbkvtfa.js} +32 -32
- package/dist/chunks/{file-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-dedq8wa1.js → model-ysj42rak.js} +11 -11
- package/dist/chunks/{file-gmprtwsb.js → model-yyfky2bj.js} +1 -1
- package/dist/chunks/{file-ye1tt27n.js → model-yzf6cb4v.js} +37 -37
- package/dist/chunks/{file-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-7rd885s9.js → model-z1bp4kmj.js} +24 -24
- package/dist/chunks/{file-nrafk414.js → model-z1cqpf8w.js} +29 -29
- package/dist/chunks/{file-8a2qdx2a.js → model-zcqf6png.js} +6 -6
- package/dist/chunks/{file-ma9yb35x.js → model-zde5750y.js} +9 -9
- package/dist/chunks/{file-zeh9ct20.js → model-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-a3rvyvck.js → model-zfcp8yb0.js} +3 -3
- package/dist/chunks/{file-m6qbstta.js → model-znfzvn2k.js} +3 -3
- package/dist/chunks/{file-g67wee21.js → model-zpn9qnw3.js} +4 -4
- package/dist/chunks/{file-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-rgy7ctyq.js → model-zrs7pmt3.js} +6 -6
- package/dist/chunks/{file-9cfgjn1d.js → model-zs4k4bm4.js} +15 -15
- package/dist/chunks/{file-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-bm7vyjfb.js → model-zzsqbm8r.js} +11 -11
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +81 -81
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +3 -3
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +73 -73
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- 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 +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +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 +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/file-1x11rq2a.js +0 -18
- package/dist/chunks/file-86de9m55.js +0 -22
- package/dist/chunks/file-qtvmxc8s.js +0 -4
- package/dist/chunks/file-zb4ha1kd.js +0 -247
- /package/dist/chunks/{file-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → model-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → model-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → model-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → model-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-njr1pezb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID13
|
|
8
|
+
} from "./model-tj0j24wc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./model-y5aw8mtm.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
14
|
Event18
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-pagpqc31.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-mtgrzfqg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service53
|
|
22
|
+
} from "./model-pw609sjz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get2
|
|
25
|
+
} from "./model-xcs774s4.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-2653mqwd.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID10.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service53;
|
|
159
|
+
const bus = yield* Service77;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID14.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID14.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID14.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID13.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
217
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID14.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID14.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-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: () => Options7,
|
|
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 Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./model-y5aw8mtm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
Event17
|
|
7
|
+
} from "./model-3qtwe70s.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -20,8 +20,8 @@ import { Effect, Stream } from "effect";
|
|
|
20
20
|
var Plugin44 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service77;
|
|
24
|
+
const wellknown = yield* Service63;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin44 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node82
|
|
5
|
+
} from "./model-y5aw8mtm.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node6
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service77;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node6 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node82] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer4, node6, exports_sdk };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-znfzvn2k.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node82
|
|
11
|
+
} from "./model-y5aw8mtm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service76,
|
|
14
|
+
node81
|
|
15
|
+
} from "./model-j55g5gc5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-rsym84ch.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info31,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service75 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,11 +94,11 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service76;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service77;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID16.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID16.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID16.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID16.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID16.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service75.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node80 = makeGlobalNode({
|
|
277
|
+
service: Service75,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node85, FSUtil.node, node81, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service75, node80, exports_project };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-rtrzf183.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service61
|
|
11
|
+
} from "./model-18ercc3f.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin11,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin11 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
430
|
-
id:
|
|
429
|
+
editor.add(Info7.make({
|
|
430
|
+
id: ID6.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
437
|
-
id:
|
|
436
|
+
editor.add(Info7.make({
|
|
437
|
+
id: ID6.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
440
440
|
slash: true,
|
|
@@ -463,7 +463,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
463
463
|
`);
|
|
464
464
|
});
|
|
465
465
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
466
|
-
const config = yield*
|
|
466
|
+
const config = yield* Service61;
|
|
467
467
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
468
468
|
});
|
|
469
469
|
function terminal() {
|
|
@@ -477,4 +477,4 @@ function shell() {
|
|
|
477
477
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
480
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-njr1pezb.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service61
|
|
8
|
+
} from "./model-18ercc3f.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin19
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin19 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service61;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin19, exports_provider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-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: () => node78,
|
|
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 node78 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node78, exports_driver };
|