@opencode/core 0.0.0-dev-19360 → 0.0.0-dev-19362
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{kv-596b0gqg.js → snapshot-00d8bk2c.js} +11 -11
- package/dist/chunks/{kv-0v53mg2y.js → snapshot-00z3vp5f.js} +4 -4
- package/dist/chunks/{kv-t550f9t1.js → snapshot-02nrjc1r.js} +8 -8
- package/dist/chunks/{kv-b6haqpd9.js → snapshot-02x4p606.js} +13 -13
- package/dist/chunks/{kv-bby00dsd.js → snapshot-08z5qwsn.js} +8 -8
- package/dist/chunks/{kv-fy056mg1.js → snapshot-09pt2xwc.js} +23 -23
- package/dist/chunks/{kv-keat3kjn.js → snapshot-0gr7cw0d.js} +4 -4
- package/dist/chunks/{kv-sefzmpgj.js → snapshot-0kx8fr81.js} +9 -9
- package/dist/chunks/{kv-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-0w81t5sb.js → snapshot-101mmrps.js} +13 -13
- package/dist/chunks/{kv-k0w2nq2k.js → snapshot-115zm06g.js} +21 -21
- package/dist/chunks/{kv-6mtjdhp0.js → snapshot-11krw4sv.js} +8 -8
- package/dist/chunks/{kv-1acjjqhc.js → snapshot-1acjjqhc.js} +1 -1
- package/dist/chunks/{kv-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-1dfhrqqs.js → snapshot-1dfhrqqs.js} +2 -2
- package/dist/chunks/{kv-ajqrbvev.js → snapshot-1hmd9bvy.js} +7 -7
- package/dist/chunks/{kv-e9ne7566.js → snapshot-1n5w6kky.js} +33 -33
- package/dist/chunks/snapshot-1tm0r3ht.js +4 -0
- package/dist/chunks/{kv-33w4ejhs.js → snapshot-1ygqh575.js} +6 -6
- package/dist/chunks/{kv-avmjt9n5.js → snapshot-1yy0zkw2.js} +4 -4
- package/dist/chunks/{kv-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{kv-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-h7ygw6q4.js → snapshot-2bt6bea8.js} +9 -9
- package/dist/chunks/{kv-3nd5cs90.js → snapshot-2ghe8nap.js} +4 -4
- package/dist/chunks/{kv-2jjcr86y.js → snapshot-2hmhrvhr.js} +9 -9
- package/dist/chunks/{kv-zmbz8hcx.js → snapshot-2k2547xr.js} +43 -43
- package/dist/chunks/{kv-nx4sh7k4.js → snapshot-2nr6jjjb.js} +4 -4
- package/dist/chunks/{kv-erf53p6a.js → snapshot-2pe4ka75.js} +25 -25
- package/dist/chunks/{kv-ryhwgtxa.js → snapshot-2pmqj7wm.js} +8 -8
- package/dist/chunks/{kv-9w4ppqge.js → snapshot-2xwkyk0m.js} +5 -5
- package/dist/chunks/{kv-gn188skn.js → snapshot-2zy5fz4d.js} +42 -42
- package/dist/chunks/{kv-erkhkr0k.js → snapshot-34463xm6.js} +11 -11
- package/dist/chunks/{kv-5y0nzxc1.js → snapshot-349ds58m.js} +3 -3
- package/dist/chunks/{kv-cp1smhp7.js → snapshot-37kxf6gx.js} +18 -18
- package/dist/chunks/{kv-3cfzdc8e.js → snapshot-37s12vcn.js} +5 -5
- package/dist/chunks/{kv-m1nxg7xt.js → snapshot-38gny86z.js} +11 -11
- package/dist/chunks/{kv-6qgsb3f2.js → snapshot-3dzx0bmr.js} +23 -23
- package/dist/chunks/{kv-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-p1hfkb2a.js → snapshot-3k48j7jk.js} +47 -47
- package/dist/chunks/{kv-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-n1qcxzd8.js → snapshot-3trbxeqx.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-hf2pbrtn.js → snapshot-4bdqb0ph.js} +30 -30
- package/dist/chunks/{kv-vbtttdfc.js → snapshot-4bvp8d2x.js} +1 -1
- package/dist/chunks/{kv-3mx0y1ht.js → snapshot-4y3r3zty.js} +30 -30
- package/dist/chunks/{kv-ygm3k6pt.js → snapshot-519xp98s.js} +4 -4
- package/dist/chunks/{kv-nmgx7778.js → snapshot-529nsjat.js} +18 -18
- package/dist/chunks/{kv-1m7hx97q.js → snapshot-5b9tbt2k.js} +20 -20
- package/dist/chunks/{kv-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-zeq506h1.js → snapshot-5eb8yymx.js} +18 -18
- package/dist/chunks/{kv-506x7411.js → snapshot-5q82yaq7.js} +15 -15
- package/dist/chunks/{kv-64s65d1n.js → snapshot-5r1zsdx9.js} +8 -8
- package/dist/chunks/{kv-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-cbhba7e7.js → snapshot-63zpyxq9.js} +28 -28
- package/dist/chunks/{kv-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{kv-6y25d0ac.js → snapshot-6d1mrjjf.js} +26 -26
- package/dist/chunks/{kv-75sr1xqr.js → snapshot-6fdj6kdr.js} +4 -4
- package/dist/chunks/{kv-kktgha0p.js → snapshot-6g6jts1x.js} +26 -26
- package/dist/chunks/{kv-fy69466f.js → snapshot-6hk5x7ez.js} +36 -36
- package/dist/chunks/{kv-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-f77b4gg8.js → snapshot-6tbdecdx.js} +11 -11
- package/dist/chunks/{kv-71q4at8m.js → snapshot-71q4at8m.js} +1 -1
- package/dist/chunks/{kv-wk17m56v.js → snapshot-75nqwj0x.js} +20 -20
- package/dist/chunks/{kv-fxd4av11.js → snapshot-78ajecy8.js} +17 -17
- package/dist/chunks/{kv-x3et2xth.js → snapshot-7b15y959.js} +8 -8
- package/dist/chunks/{kv-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-qgn6gcr1.js → snapshot-7dqw4kz8.js} +5 -5
- package/dist/chunks/{kv-rjg8g7fv.js → snapshot-7svvcbaf.js} +15 -15
- package/dist/chunks/{kv-hvbfygy7.js → snapshot-7tv8t8mr.js} +5 -5
- package/dist/chunks/{kv-81swgkk7.js → snapshot-81swgkk7.js} +2 -2
- package/dist/chunks/{kv-bq6p2e81.js → snapshot-82zcy4t3.js} +11 -11
- package/dist/chunks/{kv-6by2q13s.js → snapshot-84tssp1s.js} +6 -6
- package/dist/chunks/{kv-1r42e7ty.js → snapshot-86gs4b4n.js} +6 -6
- package/dist/chunks/{kv-2bkjbnp9.js → snapshot-89qa4cte.js} +10 -10
- package/dist/chunks/{kv-bmfzpfj9.js → snapshot-8ccwdb76.js} +9 -9
- package/dist/chunks/{kv-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-w1738nfv.js → snapshot-8jag5tmq.js} +15 -15
- package/dist/chunks/{kv-8p4f9s12.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-8pp9vwy8.js → snapshot-8rm1ec1q.js} +11 -11
- package/dist/chunks/{kv-pbewafnk.js → snapshot-92fwv7vx.js} +15 -15
- package/dist/chunks/{kv-wzp3jkbn.js → snapshot-93h9an80.js} +16 -16
- package/dist/chunks/{kv-vjnb44yt.js → snapshot-93hpb89x.js} +3 -3
- package/dist/chunks/{kv-wwjt80m9.js → snapshot-9agj1zkk.js} +9 -9
- package/dist/chunks/{kv-f6j4trmm.js → snapshot-9brmd523.js} +17 -17
- package/dist/chunks/{kv-231cp38k.js → snapshot-9cjzrre0.js} +3 -3
- package/dist/chunks/{kv-r7ns69j1.js → snapshot-9hedhqmq.js} +30 -30
- package/dist/chunks/{kv-d7wm60v1.js → snapshot-9k2v62xn.js} +1 -1
- package/dist/chunks/{kv-kcadhap2.js → snapshot-9red0dmk.js} +6 -6
- package/dist/chunks/{kv-3w5w3nh8.js → snapshot-9vzdkta2.js} +11 -11
- package/dist/chunks/snapshot-9zdhvgqs.js +18 -0
- package/dist/chunks/{kv-xvj1r6w1.js → snapshot-9zp8dvnp.js} +9 -9
- package/dist/chunks/{kv-a1bz86dw.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-rnn5ab1a.js → snapshot-a9v6c2ed.js} +9 -9
- package/dist/chunks/{kv-802tcqey.js → snapshot-a9y4ktr3.js} +15 -15
- package/dist/chunks/{kv-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-6nrp97vg.js → snapshot-ajfz2a8b.js} +11 -11
- package/dist/chunks/{kv-q9h0epwa.js → snapshot-ar6rxhny.js} +23 -23
- package/dist/chunks/{kv-m9wy7qrr.js → snapshot-awaee7qt.js} +6 -6
- package/dist/chunks/{kv-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-fpayzr53.js → snapshot-bcz0sv4a.js} +35 -35
- package/dist/chunks/{kv-46s06qcm.js → snapshot-bjshqm23.js} +6 -6
- package/dist/chunks/{kv-8ycz0j3c.js → snapshot-bmagwj8n.js} +11 -11
- package/dist/chunks/{kv-k9ngkg1e.js → snapshot-bsg2q6fa.js} +13 -13
- package/dist/chunks/{kv-gj9xpvv3.js → snapshot-bv56xrks.js} +6 -6
- package/dist/chunks/{kv-gemkfa67.js → snapshot-c3k1sbgz.js} +8 -8
- package/dist/chunks/{kv-h455ysgm.js → snapshot-c6g5rpt9.js} +2 -2
- package/dist/chunks/{kv-r5d1dmqg.js → snapshot-c8p1gka0.js} +24 -24
- package/dist/chunks/{kv-0mfzvwpr.js → snapshot-c96c98e8.js} +25 -25
- package/dist/chunks/{kv-er9grmn7.js → snapshot-ca0yk38n.js} +10 -10
- package/dist/chunks/{kv-a8bn8zg0.js → snapshot-cavr175a.js} +4 -4
- package/dist/chunks/{kv-ftd5gews.js → snapshot-ce521gfx.js} +11 -11
- package/dist/chunks/{kv-cfpkc3c9.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-k0x38na5.js → snapshot-cmwscdkx.js} +26 -26
- package/dist/chunks/{kv-gz5d2c22.js → snapshot-csf08ar7.js} +24 -24
- package/dist/chunks/{kv-w721cga8.js → snapshot-cvevtrj6.js} +82 -82
- package/dist/chunks/{kv-8354z59m.js → snapshot-cy3qn85b.js} +16 -16
- package/dist/chunks/{kv-7g7s010y.js → snapshot-cyypf3cn.js} +8 -8
- package/dist/chunks/{kv-j3ac5q50.js → snapshot-d6ftfa8w.js} +30 -30
- package/dist/chunks/{kv-6c6rf3hd.js → snapshot-dkg4b3ak.js} +13 -13
- package/dist/chunks/{kv-xkmffr67.js → snapshot-dqswtwmf.js} +22 -22
- package/dist/chunks/{kv-x0jtbjg2.js → snapshot-dy9e6qbk.js} +28 -28
- package/dist/chunks/{kv-70d43s4v.js → snapshot-e073scxd.js} +6 -6
- package/dist/chunks/{kv-n68r2zkb.js → snapshot-e379cr0y.js} +12 -12
- package/dist/chunks/{kv-23pqda6t.js → snapshot-e6hd9jay.js} +4 -4
- package/dist/chunks/{kv-2r1rtg3e.js → snapshot-e93m34en.js} +4 -4
- package/dist/chunks/{kv-aky46mj0.js → snapshot-e9x29tk8.js} +11 -11
- package/dist/chunks/{kv-y5bhkzgm.js → snapshot-eb98qtgn.js} +15 -15
- package/dist/chunks/{kv-vtek68tq.js → snapshot-en16xh3q.js} +16 -16
- package/dist/chunks/{kv-q2yy3qv3.js → snapshot-esdnemd6.js} +1 -1
- package/dist/chunks/{kv-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-f828m53h.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{kv-4bxkgwjc.js → snapshot-f8zyszaj.js} +85 -85
- package/dist/chunks/{kv-zdfagqyp.js → snapshot-feh7twvr.js} +26 -26
- package/dist/chunks/{kv-vgegbj1j.js → snapshot-fj9bg4at.js} +10 -10
- package/dist/chunks/{kv-fgbvkaq8.js → snapshot-fq1h1v14.js} +3 -3
- package/dist/chunks/{kv-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-bajakh74.js → snapshot-fxqygnfa.js} +4 -4
- package/dist/chunks/{kv-2m10wfgt.js → snapshot-fyjrpq2n.js} +9 -9
- package/dist/chunks/{kv-4mx2b0k8.js → snapshot-g0cp98zm.js} +43 -43
- package/dist/chunks/{kv-ggg9gqgj.js → snapshot-g5vjq8fe.js} +22 -22
- package/dist/chunks/{kv-6hh8tjw2.js → snapshot-g8d3gcyj.js} +7 -7
- package/dist/chunks/{kv-63zbbs1j.js → snapshot-g8jasmdt.js} +8 -8
- package/dist/chunks/{kv-77echfzz.js → snapshot-g9mzfft5.js} +24 -24
- package/dist/chunks/{kv-k79xn9em.js → snapshot-gb21ff2a.js} +50 -50
- package/dist/chunks/{kv-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-4hbkt23j.js → snapshot-gsp6qkg9.js} +17 -17
- package/dist/chunks/{kv-th5km1p3.js → snapshot-gv6a8nnw.js} +5 -5
- package/dist/chunks/{kv-h03wrkyp.js → snapshot-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-8vhsavsz.js → snapshot-h2gyv3sg.js} +1 -1
- package/dist/chunks/{kv-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-4305953a.js → snapshot-hcm8p4tp.js} +3 -3
- package/dist/chunks/{kv-qptq4a97.js → snapshot-hgrrqy5m.js} +7 -7
- package/dist/chunks/{kv-nhy5jxhy.js → snapshot-hjt4xg1x.js} +4 -4
- package/dist/chunks/{kv-bgxcxs0p.js → snapshot-hnr5yq9h.js} +5 -5
- package/dist/chunks/{kv-p8mfetr7.js → snapshot-hv0ksaq5.js} +13 -13
- package/dist/chunks/{kv-9e7hbcg6.js → snapshot-hwr0a3rr.js} +20 -20
- package/dist/chunks/{kv-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-t3tk0kdt.js → snapshot-jba4ne0c.js} +36 -36
- package/dist/chunks/{kv-wpd1p932.js → snapshot-jcg763h6.js} +2 -2
- package/dist/chunks/{kv-jefma2gq.js → snapshot-jefma2gq.js} +3 -3
- package/dist/chunks/{kv-cy6y2h87.js → snapshot-jfqe7dk4.js} +12 -12
- package/dist/chunks/{kv-tmh6rfkz.js → snapshot-jg2rwpv8.js} +16 -16
- package/dist/chunks/{kv-838refjp.js → snapshot-jgqv5ygv.js} +21 -21
- package/dist/chunks/{kv-zfznrpx1.js → snapshot-jrrn2k62.js} +4 -4
- package/dist/chunks/{kv-rqp4wsb9.js → snapshot-kfa05030.js} +17 -17
- package/dist/chunks/{kv-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-0h54jqbs.js → snapshot-kk8h1mek.js} +8 -8
- package/dist/chunks/{kv-8mvvvh03.js → snapshot-kv2xqjs7.js} +22 -22
- package/dist/chunks/snapshot-kxcfzgnc.js +22 -0
- package/dist/chunks/{kv-59r9wywc.js → snapshot-m31nzfwy.js} +12 -12
- package/dist/chunks/{kv-7khkw86z.js → snapshot-m5y0j72z.js} +12 -12
- package/dist/chunks/{kv-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-p85616da.js → snapshot-mdb0jx6b.js} +10 -10
- package/dist/chunks/{kv-mhkvc446.js → snapshot-mhkvc446.js} +1 -1
- package/dist/chunks/{kv-mkcjrzeh.js → snapshot-mkcjrzeh.js} +1 -1
- package/dist/chunks/{kv-d85t2vjv.js → snapshot-mmhgfdrw.js} +296 -296
- package/dist/chunks/{kv-jge6stq5.js → snapshot-mn7ptjg0.js} +22 -22
- package/dist/chunks/{kv-dn72drj9.js → snapshot-mpbnhf35.js} +30 -30
- package/dist/chunks/{kv-brrng35t.js → snapshot-mrw4weg4.js} +5 -5
- package/dist/chunks/{kv-wqc1s1gd.js → snapshot-n0ex7z4z.js} +32 -32
- package/dist/chunks/{kv-2b2mnr53.js → snapshot-n7cwy4ts.js} +24 -24
- package/dist/chunks/{kv-vmtnrby3.js → snapshot-n7xd9v9r.js} +46 -46
- package/dist/chunks/{kv-6xp89fzc.js → snapshot-nct4q8hy.js} +11 -11
- package/dist/chunks/{kv-017vzha0.js → snapshot-nf72sq40.js} +5 -5
- package/dist/chunks/{kv-bbcxt5nx.js → snapshot-ng30yqt0.js} +24 -24
- package/dist/chunks/{kv-dhgwjg8a.js → snapshot-nnxwq6q8.js} +41 -41
- package/dist/chunks/{kv-ddn28z7g.js → snapshot-nx4935gj.js} +12 -12
- package/dist/chunks/{kv-4haz999q.js → snapshot-ny6m7teq.js} +17 -17
- package/dist/chunks/{kv-kja4r8qp.js → snapshot-p1nm2f90.js} +9 -9
- package/dist/chunks/{kv-5kptn8c0.js → snapshot-p1wf2k30.js} +9 -9
- package/dist/chunks/{kv-9vwhk7mz.js → snapshot-p6wfwqgr.js} +49 -49
- package/dist/chunks/{kv-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{kv-53bzy8z6.js → snapshot-pqpy3q1r.js} +28 -28
- package/dist/chunks/{kv-t6gyap4y.js → snapshot-psjz8x58.js} +5 -5
- package/dist/chunks/{kv-xfjax5kj.js → snapshot-pxhak851.js} +6 -6
- package/dist/chunks/{kv-wbx57ajf.js → snapshot-q9vsnyvc.js} +24 -24
- package/dist/chunks/{kv-3wheaa1t.js → snapshot-qcg7q1qx.js} +61 -61
- package/dist/chunks/{kv-439qq586.js → snapshot-qm2cqxj6.js} +27 -27
- package/dist/chunks/{kv-vbptb2xn.js → snapshot-qmp86zrc.js} +9 -9
- package/dist/chunks/{kv-b9nc7df5.js → snapshot-qpftxpy6.js} +32 -32
- package/dist/chunks/{kv-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-2z2qjkd3.js → snapshot-r05jw633.js} +7 -7
- package/dist/chunks/{kv-4sm1ktk0.js → snapshot-r0bce1hn.js} +5 -5
- package/dist/chunks/{kv-bkskf6gp.js → snapshot-rbxck1h9.js} +4 -4
- package/dist/chunks/{kv-09a5a0fp.js → snapshot-rmxhmhg8.js} +16 -16
- package/dist/chunks/{kv-7gjp1kwb.js → snapshot-rs0gvcfd.js} +41 -41
- package/dist/chunks/{kv-ce9cy9tn.js → snapshot-rs226bz6.js} +5 -5
- package/dist/chunks/{kv-06dxphr1.js → snapshot-rsdf2nvv.js} +4 -4
- package/dist/chunks/{kv-pgm7azv9.js → snapshot-rvcnra5q.js} +20 -20
- package/dist/chunks/{kv-t2w3xr5a.js → snapshot-s7731dqm.js} +2 -2
- package/dist/chunks/{kv-75y5tx4d.js → snapshot-s7bdwsnr.js} +2 -2
- package/dist/chunks/{kv-4gr0a549.js → snapshot-s7x6vrr8.js} +10 -10
- package/dist/chunks/{kv-exfbp3cy.js → snapshot-s94m8at0.js} +20 -20
- package/dist/chunks/{kv-0wab6ted.js → snapshot-sf2ypkf0.js} +3 -3
- package/dist/chunks/{kv-htxwfwhk.js → snapshot-sf39fd8a.js} +11 -11
- package/dist/chunks/{kv-gqc5bnj8.js → snapshot-shjsn7xn.js} +24 -24
- package/dist/chunks/{kv-egqspz5t.js → snapshot-sj9fhhwe.js} +13 -13
- package/dist/chunks/snapshot-stc4xhje.js +247 -0
- package/dist/chunks/{kv-8xf24hrn.js → snapshot-t5azzxfh.js} +26 -26
- package/dist/chunks/{kv-qa6ppnwe.js → snapshot-t6dcge0a.js} +35 -35
- package/dist/chunks/{kv-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-ypcjrsbr.js → snapshot-tbb2sw7y.js} +14 -14
- package/dist/chunks/{kv-89znhe33.js → snapshot-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{kv-3w9yc7a7.js → snapshot-thfmt3bs.js} +10 -10
- package/dist/chunks/{kv-yp13aqkf.js → snapshot-tmd72s4c.js} +11 -11
- package/dist/chunks/{kv-1r0d1kr4.js → snapshot-tn9v33n2.js} +13 -13
- package/dist/chunks/{kv-76gk4s10.js → snapshot-ttqfmzkf.js} +4 -4
- package/dist/chunks/{kv-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-nr4qfx73.js → snapshot-tzajjpqe.js} +9 -9
- package/dist/chunks/{kv-dcrp08f6.js → snapshot-v3g5t2je.js} +17 -17
- package/dist/chunks/{kv-9njzw40h.js → snapshot-vabb23s0.js} +1 -1
- package/dist/chunks/{kv-ecrv93z9.js → snapshot-ve6nm2s5.js} +6 -6
- package/dist/chunks/{kv-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-4ze7kxrr.js → snapshot-vgcbppkc.js} +11 -11
- package/dist/chunks/{kv-k0a960a7.js → snapshot-vphahk7x.js} +16 -16
- package/dist/chunks/{kv-h80adbj4.js → snapshot-vypqtakx.js} +1 -1
- package/dist/chunks/{kv-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-396mvtqj.js → snapshot-vzf6z18d.js} +24 -24
- package/dist/chunks/{kv-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-ybnhfehy.js → snapshot-w7svezrn.js} +25 -25
- package/dist/chunks/{kv-mpqhg696.js → snapshot-w8zj78b6.js} +156 -156
- package/dist/chunks/{kv-x5rrbr66.js → snapshot-wcbtnmq4.js} +27 -27
- package/dist/chunks/{kv-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{kv-h235cfqb.js → snapshot-wgz0ckwp.js} +7 -7
- package/dist/chunks/{kv-e844176y.js → snapshot-wpm2rk0p.js} +6 -6
- package/dist/chunks/{kv-5nmbd4v9.js → snapshot-ws1bd0dv.js} +12 -12
- package/dist/chunks/{kv-twc0z75m.js → snapshot-wwv5xkyh.js} +10 -10
- package/dist/chunks/{kv-d50f2zf5.js → snapshot-wx9wy1qm.js} +1 -1
- package/dist/chunks/{kv-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-x43y2vfs.js → snapshot-x43y2vfs.js} +2 -2
- package/dist/chunks/{kv-9zswys26.js → snapshot-xhmq8qgk.js} +9 -9
- package/dist/chunks/{kv-fezr930q.js → snapshot-xj2v2q7r.js} +6 -6
- package/dist/chunks/{kv-pe4se4ke.js → snapshot-xj584aw0.js} +11 -11
- package/dist/chunks/{kv-waez83j4.js → snapshot-xmqpyxma.js} +38 -38
- package/dist/chunks/{kv-ztatr4as.js → snapshot-xppyyh5j.js} +31 -31
- package/dist/chunks/{kv-exfw471h.js → snapshot-xvxaergc.js} +11 -11
- package/dist/chunks/{kv-h5vr5j79.js → snapshot-xy89vkcb.js} +6 -6
- package/dist/chunks/{kv-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-av4fg7kg.js → snapshot-y2rgym3m.js} +9 -9
- package/dist/chunks/{kv-y71avatq.js → snapshot-y71avatq.js} +1 -1
- package/dist/chunks/{kv-2h6x17mq.js → snapshot-yafnhyz9.js} +7 -7
- package/dist/chunks/{kv-j2m1sh4m.js → snapshot-yd7mnj1e.js} +8 -8
- package/dist/chunks/{kv-1sn8gmqj.js → snapshot-ye17gee8.js} +17 -17
- package/dist/chunks/{kv-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → snapshot-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-yt0fqk68.js → snapshot-yt0fqk68.js} +2 -2
- package/dist/chunks/{kv-0n7epq16.js → snapshot-ywaf962r.js} +8 -8
- package/dist/chunks/{kv-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-j5ysm35j.js → snapshot-z0zjnsxh.js} +16 -16
- package/dist/chunks/{kv-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-ckf8nxjz.js → snapshot-zcrspsvn.js} +4 -4
- package/dist/chunks/{kv-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-8aevjsfj.js → snapshot-zxtrmm35.js} +4 -4
- package/dist/chunks/{kv-hmavm4jw.js → snapshot-zy2hbrj4.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +3 -3
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/kv-0mesazry.js +0 -4
- package/dist/chunks/kv-1vbpvncb.js +0 -22
- package/dist/chunks/kv-pgbvw7vb.js +0 -247
- package/dist/chunks/kv-vnkjks7b.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-hrnqkpcd.js → snapshot-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-paphc93g.js → snapshot-paphc93g.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-84tssp1s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./snapshot-c96c98e8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./snapshot-2zy5fz4d.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service47;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service54);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-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: () => make21,
|
|
14
|
+
node: () => node80,
|
|
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 make21 = (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 node80 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node80, exports_driver };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76,
|
|
3
3
|
node81
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-jcg763h6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service30
|
|
7
|
+
} from "./snapshot-9zdhvgqs.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service14,
|
|
10
|
+
node18
|
|
11
|
+
} from "./snapshot-bcz0sv4a.js";
|
|
12
12
|
import {
|
|
13
13
|
node17
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-5eb8yymx.js";
|
|
15
15
|
import {
|
|
16
16
|
node6
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9hedhqmq.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -29,8 +29,8 @@ import { Effect, Layer } from "effect";
|
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
31
|
const location = yield* Service76;
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
32
|
+
const plugins = yield* Service30;
|
|
33
|
+
const worktrees = yield* Service14;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node5 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node18, node81, node17, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node5, exports_refresh };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-nx4935gj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./snapshot-2zy5fz4d.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-wgz0ckwp.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service54;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID15.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node8, exports_update };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-93hpb89x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service37.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node41 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service37, makeLayer2, layer16, node41, exports_model_transport };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info13
|
|
7
|
+
} from "./snapshot-cavr175a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info12
|
|
10
|
+
} from "./snapshot-g8jasmdt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info10
|
|
13
|
+
} from "./snapshot-37s12vcn.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info15
|
|
16
|
+
} from "./snapshot-g8d3gcyj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info14
|
|
19
|
+
} from "./snapshot-awaee7qt.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info11
|
|
25
|
+
} from "./snapshot-e6hd9jay.js";
|
|
26
26
|
import {
|
|
27
27
|
Info17
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-yt0fqk68.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info16
|
|
34
|
+
} from "./snapshot-hnr5yq9h.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./snapshot-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info9
|
|
40
|
+
} from "./snapshot-00z3vp5f.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
@@ -68,10 +68,10 @@ var Info8 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info9).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info8 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info12),
|
|
119
|
+
build: Schema.optional(Info12),
|
|
120
|
+
general: Schema.optional(Info12),
|
|
121
|
+
explore: Schema.optional(Info12),
|
|
122
|
+
title: Schema.optional(Info12),
|
|
123
|
+
summary: Schema.optional(Info12),
|
|
124
|
+
compaction: Schema.optional(Info12)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
129
|
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info17, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
-
formatter: Schema.optional(
|
|
130
|
+
formatter: Schema.optional(Info14).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info11).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info13),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info10).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-e93m34en.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-jcg763h6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID7
|
|
11
|
+
} from "./snapshot-1tm0r3ht.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service65,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node69
|
|
16
|
+
} from "./snapshot-jgqv5ygv.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput3,
|
|
28
|
+
Event: () => Event16,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info22,
|
|
31
|
+
NotFoundError: () => NotFoundError7,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service64,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node68
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event16 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info22 = Pty.Info;
|
|
45
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID7
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID7
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service64 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
62
|
const location = yield* Service76;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service65;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID7.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service64.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node68 = makeLocationNode({
|
|
274
|
+
service: Service64,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84, node81,
|
|
276
|
+
deps: [node84, node81, node69]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info22, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service64, node68, exports_pty, Event16 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./snapshot-2zy5fz4d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./snapshot-jgqv5ygv.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin43
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin43 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
|
+
const shell = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin30 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin43, exports_shell2 };
|