@opencode/core 0.0.0-dev-19358 → 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 +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{command-zg7s7pjs.js → snapshot-00d8bk2c.js} +15 -15
- package/dist/chunks/{command-r98e92ep.js → snapshot-00z3vp5f.js} +4 -4
- package/dist/chunks/{command-s8d7rejh.js → snapshot-02nrjc1r.js} +8 -8
- package/dist/chunks/{command-snt4nv2a.js → snapshot-02x4p606.js} +13 -13
- package/dist/chunks/{command-w2q9x1k3.js → snapshot-08z5qwsn.js} +8 -8
- package/dist/chunks/{command-tknkg6rx.js → snapshot-09pt2xwc.js} +26 -26
- package/dist/chunks/{command-jva4mgym.js → snapshot-0gr7cw0d.js} +4 -4
- package/dist/chunks/{command-qxnh841b.js → snapshot-0kx8fr81.js} +12 -12
- package/dist/chunks/{command-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-pt50yj7n.js → snapshot-101mmrps.js} +15 -15
- package/dist/chunks/{command-jm23p7wd.js → snapshot-115zm06g.js} +21 -21
- package/dist/chunks/{command-s8adj76m.js → snapshot-11krw4sv.js} +6 -6
- package/dist/chunks/{command-f2n192rq.js → snapshot-1acjjqhc.js} +4 -4
- package/dist/chunks/{command-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-1dfhrqqs.js → snapshot-1dfhrqqs.js} +2 -2
- package/dist/chunks/{command-de8rrxbc.js → snapshot-1hmd9bvy.js} +7 -7
- package/dist/chunks/{command-s8x2ny25.js → snapshot-1n5w6kky.js} +33 -33
- package/dist/chunks/snapshot-1tm0r3ht.js +4 -0
- package/dist/chunks/{command-56gdpj1q.js → snapshot-1ygqh575.js} +9 -9
- package/dist/chunks/{command-z9g6acw9.js → snapshot-1yy0zkw2.js} +6 -6
- package/dist/chunks/{command-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{command-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/{command-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-gsx0ryk4.js → snapshot-2bt6bea8.js} +9 -9
- package/dist/chunks/{command-0btf9jkj.js → snapshot-2ghe8nap.js} +4 -4
- package/dist/chunks/{command-nfhmz961.js → snapshot-2hmhrvhr.js} +9 -9
- package/dist/chunks/{command-4a54se45.js → snapshot-2k2547xr.js} +46 -46
- package/dist/chunks/{command-nmxjcnz2.js → snapshot-2nr6jjjb.js} +4 -4
- package/dist/chunks/{command-hdt6myfc.js → snapshot-2pe4ka75.js} +16 -16
- package/dist/chunks/{command-19av3p62.js → snapshot-2pmqj7wm.js} +5 -5
- package/dist/chunks/{command-sqbb0ctm.js → snapshot-2xwkyk0m.js} +5 -5
- package/dist/chunks/{command-cpj6a2aa.js → snapshot-2zy5fz4d.js} +43 -43
- package/dist/chunks/{command-pbtsv70y.js → snapshot-34463xm6.js} +9 -9
- package/dist/chunks/{command-9td3nvch.js → snapshot-349ds58m.js} +3 -3
- package/dist/chunks/{command-se0tgtr4.js → snapshot-37kxf6gx.js} +18 -18
- package/dist/chunks/{command-2qp6y8xf.js → snapshot-37s12vcn.js} +5 -5
- package/dist/chunks/{command-nsk5ybg9.js → snapshot-38gny86z.js} +13 -13
- package/dist/chunks/{command-3kpvh92z.js → snapshot-3dzx0bmr.js} +24 -24
- package/dist/chunks/{command-gdvy8fx6.js → snapshot-3fc6dm20.js} +4 -4
- package/dist/chunks/{command-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-azw47gg7.js → snapshot-3k48j7jk.js} +49 -49
- package/dist/chunks/{command-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-gt0cxfk7.js → snapshot-3trbxeqx.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-anbsab5w.js → snapshot-4bdqb0ph.js} +32 -32
- package/dist/chunks/{command-3m9dzf4r.js → snapshot-4bvp8d2x.js} +1 -1
- package/dist/chunks/{command-bjy2htfa.js → snapshot-4y3r3zty.js} +30 -30
- package/dist/chunks/{command-vcxc4q3p.js → snapshot-519xp98s.js} +4 -4
- package/dist/chunks/{command-w6a1w976.js → snapshot-529nsjat.js} +18 -18
- package/dist/chunks/{command-gfc9zyvq.js → snapshot-5b9tbt2k.js} +20 -20
- package/dist/chunks/{command-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{command-dcf26w67.js → snapshot-5eb8yymx.js} +18 -18
- package/dist/chunks/{command-39q35cms.js → snapshot-5q82yaq7.js} +17 -17
- package/dist/chunks/{command-qm7jrdpz.js → snapshot-5r1zsdx9.js} +8 -8
- package/dist/chunks/{command-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-vd8e5h8f.js → snapshot-63zpyxq9.js} +24 -24
- package/dist/chunks/{command-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{command-qn2q96g0.js → snapshot-6d1mrjjf.js} +26 -26
- package/dist/chunks/{command-4da4ndpv.js → snapshot-6fdj6kdr.js} +4 -4
- package/dist/chunks/{command-7qse0qpb.js → snapshot-6g6jts1x.js} +26 -26
- package/dist/chunks/{command-xnk8ss56.js → snapshot-6hk5x7ez.js} +36 -36
- package/dist/chunks/{command-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-vragf7xq.js → snapshot-6tbdecdx.js} +11 -11
- package/dist/chunks/{command-71q4at8m.js → snapshot-71q4at8m.js} +1 -1
- package/dist/chunks/{command-d6gjw5d8.js → snapshot-75nqwj0x.js} +24 -24
- package/dist/chunks/{command-jxpa08fn.js → snapshot-78ajecy8.js} +20 -20
- package/dist/chunks/{command-kbmmzrfa.js → snapshot-7b15y959.js} +8 -8
- package/dist/chunks/{command-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-7dqw4kz8.js → snapshot-7dqw4kz8.js} +1 -1
- package/dist/chunks/{command-kd4mv8p1.js → snapshot-7svvcbaf.js} +22 -22
- package/dist/chunks/{command-xzja1t39.js → snapshot-7tv8t8mr.js} +5 -5
- package/dist/chunks/{command-68xpwqwy.js → snapshot-81swgkk7.js} +9 -9
- package/dist/chunks/{command-fer3tpfm.js → snapshot-82zcy4t3.js} +8 -8
- package/dist/chunks/{command-c7ecgrk6.js → snapshot-84tssp1s.js} +6 -6
- package/dist/chunks/{command-45d0vtt8.js → snapshot-86gs4b4n.js} +6 -6
- package/dist/chunks/{command-kqvbfj3r.js → snapshot-89qa4cte.js} +8 -8
- package/dist/chunks/{command-dt88errb.js → snapshot-8ccwdb76.js} +9 -9
- package/dist/chunks/{command-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-axfg0z4e.js → snapshot-8jag5tmq.js} +15 -15
- package/dist/chunks/{command-8p4f9s12.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-mzfawknz.js → snapshot-8rm1ec1q.js} +20 -20
- package/dist/chunks/{command-04rtynqt.js → snapshot-92fwv7vx.js} +17 -17
- package/dist/chunks/{command-s1hyvedr.js → snapshot-93h9an80.js} +20 -20
- package/dist/chunks/{command-5epte933.js → snapshot-93hpb89x.js} +3 -3
- package/dist/chunks/{command-13mzqdtz.js → snapshot-9agj1zkk.js} +14 -14
- package/dist/chunks/{command-ehzj4vhg.js → snapshot-9brmd523.js} +15 -15
- package/dist/chunks/{command-wfbxv8er.js → snapshot-9cjzrre0.js} +3 -3
- package/dist/chunks/{command-15n42rft.js → snapshot-9hedhqmq.js} +34 -34
- package/dist/chunks/{command-5nsrms9d.js → snapshot-9k2v62xn.js} +1 -1
- package/dist/chunks/{command-qq9xggvz.js → snapshot-9red0dmk.js} +6 -6
- package/dist/chunks/{command-43t6csf6.js → snapshot-9vzdkta2.js} +15 -15
- package/dist/chunks/snapshot-9zdhvgqs.js +18 -0
- package/dist/chunks/{command-454ap3be.js → snapshot-9zp8dvnp.js} +9 -9
- package/dist/chunks/{command-a1bz86dw.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{command-msjfgnq6.js → snapshot-a9v6c2ed.js} +9 -9
- package/dist/chunks/{command-d5ze1g7q.js → snapshot-a9y4ktr3.js} +22 -22
- package/dist/chunks/{command-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{command-gepnxnka.js → snapshot-ajfz2a8b.js} +11 -11
- package/dist/chunks/{command-s6c8tzhk.js → snapshot-ar6rxhny.js} +30 -30
- package/dist/chunks/{command-j5208yae.js → snapshot-awaee7qt.js} +6 -6
- package/dist/chunks/{command-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-hm0hsyzs.js → snapshot-bcz0sv4a.js} +42 -42
- package/dist/chunks/{command-8n2avc0p.js → snapshot-bjshqm23.js} +6 -6
- package/dist/chunks/{command-farf7nq9.js → snapshot-bmagwj8n.js} +11 -11
- package/dist/chunks/{command-8ezz0qpe.js → snapshot-bsg2q6fa.js} +13 -13
- package/dist/chunks/{command-z1f4gy9p.js → snapshot-bv56xrks.js} +8 -8
- package/dist/chunks/{command-3eg94j8w.js → snapshot-c3k1sbgz.js} +41 -41
- package/dist/chunks/{command-kh9gj6fg.js → snapshot-c6g5rpt9.js} +2 -2
- package/dist/chunks/{command-a70vfxwz.js → snapshot-c8p1gka0.js} +27 -27
- package/dist/chunks/{command-kzxpw37x.js → snapshot-c96c98e8.js} +25 -25
- package/dist/chunks/{command-xe22fbq9.js → snapshot-ca0yk38n.js} +12 -12
- package/dist/chunks/{command-2pnhn36q.js → snapshot-cavr175a.js} +21 -21
- package/dist/chunks/{command-rryqg9dq.js → snapshot-ce521gfx.js} +11 -11
- package/dist/chunks/{command-cfpkc3c9.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-a72wxtdj.js → snapshot-cmwscdkx.js} +27 -27
- package/dist/chunks/{command-ygtg2ex0.js → snapshot-csf08ar7.js} +24 -24
- package/dist/chunks/{command-6tqsccrn.js → snapshot-cvevtrj6.js} +74 -74
- package/dist/chunks/{command-spwgk4wz.js → snapshot-cy3qn85b.js} +16 -16
- package/dist/chunks/{command-az9ecw0v.js → snapshot-cyypf3cn.js} +11 -11
- package/dist/chunks/{command-zc36c13q.js → snapshot-d6ftfa8w.js} +32 -32
- package/dist/chunks/{command-f4pamck6.js → snapshot-dkg4b3ak.js} +15 -15
- package/dist/chunks/{command-jz5y6dvz.js → snapshot-dqswtwmf.js} +22 -22
- package/dist/chunks/{command-7nwrad04.js → snapshot-dy9e6qbk.js} +25 -25
- package/dist/chunks/{command-9t5zm95t.js → snapshot-e073scxd.js} +6 -6
- package/dist/chunks/{command-vpt86awd.js → snapshot-e379cr0y.js} +12 -12
- package/dist/chunks/{command-7ebn0nc0.js → snapshot-e6hd9jay.js} +6 -6
- package/dist/chunks/{command-hxvm7zmc.js → snapshot-e93m34en.js} +4 -4
- package/dist/chunks/{command-9hkkgm6z.js → snapshot-e9x29tk8.js} +8 -8
- package/dist/chunks/{command-59zahvaa.js → snapshot-eb98qtgn.js} +18 -18
- package/dist/chunks/{command-j052dg5b.js → snapshot-en16xh3q.js} +19 -19
- package/dist/chunks/{command-1wxb385z.js → snapshot-esdnemd6.js} +1 -1
- package/dist/chunks/{command-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-f828m53h.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{command-z7vtm5t9.js → snapshot-f8zyszaj.js} +81 -81
- package/dist/chunks/{command-qx4eckdq.js → snapshot-feh7twvr.js} +26 -26
- package/dist/chunks/{command-jh9frvw6.js → snapshot-fj9bg4at.js} +10 -10
- package/dist/chunks/{command-jhetwysa.js → snapshot-fq1h1v14.js} +3 -3
- package/dist/chunks/{command-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-hfdr1yjj.js → snapshot-fxqygnfa.js} +4 -4
- package/dist/chunks/{command-zx4qqgq6.js → snapshot-fyjrpq2n.js} +11 -11
- package/dist/chunks/{command-r5zgsrw8.js → snapshot-g0cp98zm.js} +44 -44
- package/dist/chunks/{command-yrwypdbr.js → snapshot-g5vjq8fe.js} +22 -22
- package/dist/chunks/{command-19vf66h0.js → snapshot-g8d3gcyj.js} +7 -7
- package/dist/chunks/{command-2femdq6k.js → snapshot-g8jasmdt.js} +8 -8
- package/dist/chunks/{command-ygakqxjr.js → snapshot-g9mzfft5.js} +20 -20
- package/dist/chunks/{command-v07j1kge.js → snapshot-gb21ff2a.js} +55 -55
- package/dist/chunks/{command-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-4bj5xf3m.js → snapshot-gsp6qkg9.js} +22 -22
- package/dist/chunks/{command-th5km1p3.js → snapshot-gv6a8nnw.js} +5 -5
- package/dist/chunks/{command-h03wrkyp.js → snapshot-h03wrkyp.js} +2 -2
- package/dist/chunks/{command-t8mcaem5.js → snapshot-h2gyv3sg.js} +1 -1
- package/dist/chunks/{command-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-kyrc5g5p.js → snapshot-hcm8p4tp.js} +3 -3
- package/dist/chunks/{command-33xc6zn2.js → snapshot-hgrrqy5m.js} +7 -7
- package/dist/chunks/{command-e82z9tr0.js → snapshot-hjt4xg1x.js} +7 -7
- package/dist/chunks/{command-vmq7ehpy.js → snapshot-hnr5yq9h.js} +5 -5
- package/dist/chunks/{command-4pre3909.js → snapshot-hv0ksaq5.js} +13 -13
- package/dist/chunks/{command-be4a9pdg.js → snapshot-hwr0a3rr.js} +20 -20
- package/dist/chunks/{command-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{command-89t020sf.js → snapshot-jba4ne0c.js} +36 -36
- package/dist/chunks/{command-hgdt9556.js → snapshot-jcg763h6.js} +17 -17
- package/dist/chunks/{command-48q4dgm3.js → snapshot-jefma2gq.js} +10 -10
- package/dist/chunks/{command-31wrjn3h.js → snapshot-jfqe7dk4.js} +12 -12
- package/dist/chunks/{command-06wjbj88.js → snapshot-jg2rwpv8.js} +16 -16
- package/dist/chunks/{command-y22f4a62.js → snapshot-jgqv5ygv.js} +19 -19
- package/dist/chunks/{command-ebc7h8jh.js → snapshot-jrrn2k62.js} +4 -4
- package/dist/chunks/{command-w17k3rsr.js → snapshot-kfa05030.js} +17 -17
- package/dist/chunks/{command-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
- package/dist/chunks/{command-4e7426jc.js → snapshot-kk8h1mek.js} +8 -8
- package/dist/chunks/{command-afvn2d8y.js → snapshot-kv2xqjs7.js} +22 -22
- package/dist/chunks/snapshot-kxcfzgnc.js +22 -0
- package/dist/chunks/{command-qkwnakvm.js → snapshot-m31nzfwy.js} +15 -15
- package/dist/chunks/{command-dx63s7w1.js → snapshot-m5y0j72z.js} +8 -8
- package/dist/chunks/{command-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-rwatm0mm.js → snapshot-mdb0jx6b.js} +10 -10
- package/dist/chunks/{command-r5x6zcsm.js → snapshot-mhkvc446.js} +3 -3
- package/dist/chunks/{command-mkcjrzeh.js → snapshot-mkcjrzeh.js} +1 -1
- package/dist/chunks/{command-2xe896hw.js → snapshot-mmhgfdrw.js} +290 -290
- package/dist/chunks/{command-j9vx3v9v.js → snapshot-mn7ptjg0.js} +24 -24
- package/dist/chunks/{command-yg5c8d2j.js → snapshot-mpbnhf35.js} +30 -30
- package/dist/chunks/{command-en74w496.js → snapshot-mrw4weg4.js} +5 -5
- package/dist/chunks/{command-j7nbk787.js → snapshot-n0ex7z4z.js} +32 -32
- package/dist/chunks/{command-138p5ddt.js → snapshot-n7cwy4ts.js} +17 -17
- package/dist/chunks/{command-h113rvhb.js → snapshot-n7xd9v9r.js} +46 -46
- package/dist/chunks/{command-hh0vmts5.js → snapshot-nct4q8hy.js} +11 -11
- package/dist/chunks/{command-v8k1872w.js → snapshot-nf72sq40.js} +8 -8
- package/dist/chunks/{command-jjc29zvc.js → snapshot-ng30yqt0.js} +24 -24
- package/dist/chunks/{command-070a9e04.js → snapshot-nnxwq6q8.js} +36 -36
- package/dist/chunks/{command-keyg98zt.js → snapshot-nx4935gj.js} +9 -9
- package/dist/chunks/{command-tqnq6q5q.js → snapshot-ny6m7teq.js} +20 -20
- package/dist/chunks/{command-cmfpwhr1.js → snapshot-p1nm2f90.js} +10 -10
- package/dist/chunks/{command-8w9tvb25.js → snapshot-p1wf2k30.js} +9 -9
- package/dist/chunks/{command-86g4d0kj.js → snapshot-p6wfwqgr.js} +57 -57
- package/dist/chunks/{command-j935v87r.js → snapshot-paphc93g.js} +2 -2
- package/dist/chunks/{command-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{command-0w6bwpjx.js → snapshot-pqpy3q1r.js} +36 -36
- package/dist/chunks/{command-tc265fkx.js → snapshot-psjz8x58.js} +5 -5
- package/dist/chunks/{command-2a7hagjp.js → snapshot-pxhak851.js} +6 -6
- package/dist/chunks/{command-ztzqvfjg.js → snapshot-q9vsnyvc.js} +24 -24
- package/dist/chunks/{command-4e5nbqbj.js → snapshot-qcg7q1qx.js} +60 -60
- package/dist/chunks/{command-2rfrcgce.js → snapshot-qm2cqxj6.js} +24 -24
- package/dist/chunks/{command-dvqsfc3k.js → snapshot-qmp86zrc.js} +9 -9
- package/dist/chunks/{command-rf1gapgg.js → snapshot-qpftxpy6.js} +35 -35
- package/dist/chunks/{command-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{command-49grzd0n.js → snapshot-r05jw633.js} +9 -9
- package/dist/chunks/{command-zfsxp10c.js → snapshot-r0bce1hn.js} +5 -5
- package/dist/chunks/{command-sxyb6qad.js → snapshot-rbxck1h9.js} +4 -4
- package/dist/chunks/{command-hzcxg4q9.js → snapshot-rmxhmhg8.js} +12 -12
- package/dist/chunks/{command-dzcz3c2s.js → snapshot-rs0gvcfd.js} +36 -36
- package/dist/chunks/{command-4mkcvr19.js → snapshot-rs226bz6.js} +5 -5
- package/dist/chunks/{command-88sz8qcd.js → snapshot-rsdf2nvv.js} +4 -4
- package/dist/chunks/{command-e7sdhxas.js → snapshot-rvcnra5q.js} +23 -23
- package/dist/chunks/{command-st4t0jjg.js → snapshot-s7731dqm.js} +2 -2
- package/dist/chunks/{command-q3e3pxrn.js → snapshot-s7bdwsnr.js} +2 -2
- package/dist/chunks/{command-jym9kedx.js → snapshot-s7x6vrr8.js} +13 -13
- package/dist/chunks/{command-cwj87dc4.js → snapshot-s94m8at0.js} +20 -20
- package/dist/chunks/{command-3nc90kmd.js → snapshot-sf2ypkf0.js} +3 -3
- package/dist/chunks/{command-v48pvb4n.js → snapshot-sf39fd8a.js} +11 -11
- package/dist/chunks/{command-9rqme4wv.js → snapshot-shjsn7xn.js} +22 -22
- package/dist/chunks/{command-naqvy1vc.js → snapshot-sj9fhhwe.js} +15 -15
- package/dist/chunks/snapshot-stc4xhje.js +247 -0
- package/dist/chunks/{command-4wn6b914.js → snapshot-t5azzxfh.js} +33 -33
- package/dist/chunks/{command-qx3fns1j.js → snapshot-t6dcge0a.js} +32 -32
- package/dist/chunks/{command-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-9maaan9b.js → snapshot-tbb2sw7y.js} +14 -14
- package/dist/chunks/{command-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{command-dmmjs2b8.js → snapshot-thfmt3bs.js} +8 -8
- package/dist/chunks/{command-bhgdfcz0.js → snapshot-tmd72s4c.js} +11 -11
- package/dist/chunks/{command-493vsnxm.js → snapshot-tn9v33n2.js} +17 -17
- package/dist/chunks/{command-rz527k5r.js → snapshot-ttqfmzkf.js} +2 -2
- package/dist/chunks/{command-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{command-6c1g49x3.js → snapshot-tzajjpqe.js} +9 -9
- package/dist/chunks/{command-h9nzt5cp.js → snapshot-v3g5t2je.js} +17 -17
- package/dist/chunks/{command-zxwpk2nb.js → snapshot-vabb23s0.js} +1 -1
- package/dist/chunks/{command-hwe7x4em.js → snapshot-ve6nm2s5.js} +6 -6
- package/dist/chunks/{command-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{command-zy3h4kss.js → snapshot-vgcbppkc.js} +11 -11
- package/dist/chunks/{command-nedyw519.js → snapshot-vphahk7x.js} +14 -14
- package/dist/chunks/{command-83x6p9kd.js → snapshot-vypqtakx.js} +1 -1
- package/dist/chunks/{command-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-tkzgmprh.js → snapshot-vzf6z18d.js} +21 -21
- package/dist/chunks/{command-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-24w00f77.js → snapshot-w7svezrn.js} +29 -29
- package/dist/chunks/{command-fgxdmbj2.js → snapshot-w8zj78b6.js} +159 -159
- package/dist/chunks/{command-sp31zz3t.js → snapshot-wcbtnmq4.js} +29 -29
- package/dist/chunks/{command-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{command-hcxgcq81.js → snapshot-wgz0ckwp.js} +7 -7
- package/dist/chunks/{command-k0nnq3t9.js → snapshot-wpm2rk0p.js} +6 -6
- package/dist/chunks/{command-ksdnvjw1.js → snapshot-ws1bd0dv.js} +16 -16
- package/dist/chunks/{command-vmysjhj7.js → snapshot-wwv5xkyh.js} +8 -8
- package/dist/chunks/{command-b3wkxfg9.js → snapshot-wx9wy1qm.js} +1 -1
- package/dist/chunks/{command-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-x43y2vfs.js → snapshot-x43y2vfs.js} +2 -2
- package/dist/chunks/{command-tjsj89dc.js → snapshot-xhmq8qgk.js} +9 -9
- package/dist/chunks/{command-5xp4z8zk.js → snapshot-xj2v2q7r.js} +9 -9
- package/dist/chunks/{command-xj439p2s.js → snapshot-xj584aw0.js} +11 -11
- package/dist/chunks/{command-pbe99m00.js → snapshot-xmqpyxma.js} +43 -43
- package/dist/chunks/{command-8jdy407s.js → snapshot-xppyyh5j.js} +34 -34
- package/dist/chunks/{command-9139jgcd.js → snapshot-xvxaergc.js} +14 -14
- package/dist/chunks/{command-fwcwebn7.js → snapshot-xy89vkcb.js} +6 -6
- package/dist/chunks/{command-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-vxwzppst.js → snapshot-y2rgym3m.js} +9 -9
- package/dist/chunks/{command-y71avatq.js → snapshot-y71avatq.js} +1 -1
- package/dist/chunks/{command-n4fdf33j.js → snapshot-yafnhyz9.js} +9 -9
- package/dist/chunks/{command-m3wyk9nc.js → snapshot-yd7mnj1e.js} +5 -5
- package/dist/chunks/{command-8r7f04jj.js → snapshot-ye17gee8.js} +15 -15
- package/dist/chunks/{command-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-s4enseaf.js → snapshot-yrznvahk.js} +2 -2
- package/dist/chunks/{command-avm8jn6n.js → snapshot-yt0fqk68.js} +5 -5
- package/dist/chunks/{command-b11rdt3w.js → snapshot-ywaf962r.js} +11 -11
- package/dist/chunks/{command-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-a02rj634.js → snapshot-z0zjnsxh.js} +16 -16
- package/dist/chunks/{command-29x78va6.js → snapshot-z63w68vq.js} +6 -6
- package/dist/chunks/{command-jvf3yq6v.js → snapshot-zcrspsvn.js} +4 -4
- package/dist/chunks/{command-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-qpt82rvw.js → snapshot-zxtrmm35.js} +4 -4
- package/dist/chunks/{command-m9tpa25m.js → snapshot-zy2hbrj4.js} +24 -24
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +126 -126
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- 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 +115 -115
- 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 +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- 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 +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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- 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 +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +7 -7
- 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 +74 -74
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +82 -82
- 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 +127 -127
- package/dist/session/context.js +147 -147
- 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 +213 -213
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- 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 +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- 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 +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 +1 -1
- 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 +76 -76
- 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/command-619r8v3y.js +0 -18
- package/dist/chunks/command-6kdq0pjd.js +0 -4
- package/dist/chunks/command-d3ggx689.js +0 -247
- package/dist/chunks/command-rq3zbgk8.js +0 -22
- /package/dist/chunks/{command-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{command-hrnqkpcd.js → snapshot-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-e93m34en.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node72
|
|
9
|
+
} from "./snapshot-mdb0jx6b.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service56,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node59,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service56 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service68;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service56.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event11.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event11.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node59 = makeGlobalNode({ service: Service56, layer, deps: [httpClient, node72, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service56, Event11, inspect2, resolve2, node59, exports_wellknown };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-e93m34en.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./snapshot-mdb0jx6b.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service30,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9zdhvgqs.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-w8zj78b6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service30,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service68;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service30.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service30,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-e93m34en.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./snapshot-t5azzxfh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./snapshot-ng30yqt0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./snapshot-e379cr0y.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-xj2v2q7r.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-rbxck1h9.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-xy89vkcb.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service67;
|
|
58
|
+
const toolOutput = yield* Service53;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin5,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin5 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin35 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin5, exports_exa };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
7
|
ID15
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-nx4935gj.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-e93m34en.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event14
|
|
15
|
+
} from "./snapshot-mpbnhf35.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID4,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-4y3r3zty.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service47
|
|
22
|
+
} from "./snapshot-c96c98e8.js";
|
|
23
23
|
import {
|
|
24
24
|
get3
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-e9x29tk8.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-82zcy4t3.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: ID4.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ 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*
|
|
158
|
+
const catalog = yield* Service47;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ 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(ID16.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,7 +187,7 @@ 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(ID16.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
@@ -214,10 +214,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.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 !== ID16.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 !== ID16.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: ID16.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID16.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: ID16.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID16.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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-e93m34en.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event13,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID5,
|
|
20
|
+
Info: () => Info19,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError5,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service59,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node62,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event13 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID5 = Form.ID;
|
|
39
|
+
var Info19 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID5
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID5
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID5
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID5,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service59 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer23 = Layer.effect(Service59, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError5({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID5.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service59.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node62 = makeLocationNode({ service: Service59, layer: layer23, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID5, Info19, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError5, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service59, layer23, node62, validateAnswer2, validateFields2, exports_form, Event13 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-84tssp1s.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-nx4935gj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|