@opencode/core 0.0.0-dev-286 → 0.0.0-dev-289
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 +91 -91
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{worktree-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{worktree-8nt2cb5r.js → bus-035gwyrd.js} +21 -21
- package/dist/chunks/{worktree-wyeqency.js → bus-03tkxxad.js} +7 -7
- package/dist/chunks/{worktree-sqjzf8x2.js → bus-0j7gp832.js} +4 -4
- package/dist/chunks/{worktree-4pn94wwk.js → bus-0ng08tej.js} +44 -44
- package/dist/chunks/{worktree-p65b0w7p.js → bus-0rxmz96k.js} +17 -17
- package/dist/chunks/{worktree-0yrht1zy.js → bus-0wbhgcbg.js} +27 -27
- package/dist/chunks/{worktree-xyg4a4db.js → bus-12hm338z.js} +5 -5
- package/dist/chunks/{worktree-1aqsckx4.js → bus-1aqsckx4.js} +1 -1
- package/dist/chunks/{worktree-excj9cfq.js → bus-1c5h7qx9.js} +33 -33
- package/dist/chunks/{worktree-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{worktree-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{worktree-djd49kbm.js → bus-29x0cc93.js} +2 -2
- package/dist/chunks/{worktree-kfkfrd1x.js → bus-2a3k1wv5.js} +16 -16
- package/dist/chunks/{worktree-tm1e699v.js → bus-2cm6e4d9.js} +9 -9
- package/dist/chunks/{worktree-e324kbrg.js → bus-2ekpsjrd.js} +8 -8
- package/dist/chunks/{worktree-fmvebq1c.js → bus-2fp4k9wp.js} +4 -4
- package/dist/chunks/{worktree-mqcm7x31.js → bus-2h0p855r.js} +21 -21
- package/dist/chunks/{worktree-bda28c86.js → bus-2m3n8trw.js} +21 -21
- package/dist/chunks/{worktree-spf8w817.js → bus-2nhtnnqc.js} +5 -5
- package/dist/chunks/{worktree-hc4wny2n.js → bus-2r3850vs.js} +11 -11
- package/dist/chunks/{worktree-yxcs01xt.js → bus-2r961k25.js} +24 -24
- package/dist/chunks/{worktree-2zp5a6yg.js → bus-2zp5a6yg.js} +1 -1
- package/dist/chunks/{worktree-pgkwnhrk.js → bus-31c2mw6w.js} +30 -34
- package/dist/chunks/{worktree-33e37e6x.js → bus-3ab4thcb.js} +17 -17
- package/dist/chunks/{worktree-d4qb2rc3.js → bus-3bgf9gas.js} +4 -4
- package/dist/chunks/{worktree-z4ex9h9e.js → bus-3cdb6jh7.js} +11 -11
- package/dist/chunks/{worktree-3m85peyv.js → bus-3gtbytbs.js} +32 -32
- package/dist/chunks/{worktree-nxw21s73.js → bus-3hcdh98k.js} +21 -21
- package/dist/chunks/{worktree-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{worktree-4pw98qd4.js → bus-3p57dcxh.js} +4 -4
- package/dist/chunks/{worktree-xrpfz6f8.js → bus-40hpa6ae.js} +9 -9
- package/dist/chunks/{worktree-hp6wkjcv.js → bus-46g4z5g0.js} +30 -30
- package/dist/chunks/{worktree-3ndyf3yw.js → bus-48w6hcnx.js} +54 -54
- package/dist/chunks/{worktree-neary136.js → bus-49csh3aq.js} +8 -8
- package/dist/chunks/{worktree-cbcbsb56.js → bus-4bwthz3m.js} +6 -6
- package/dist/chunks/{worktree-4dx1dgte.js → bus-4dx1dgte.js} +1 -1
- package/dist/chunks/{worktree-rbndg51d.js → bus-4e0wk5h0.js} +6 -6
- package/dist/chunks/{worktree-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{worktree-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-1y6cskgh.js → bus-4ymxdy0q.js} +39 -39
- package/dist/chunks/{worktree-jedcwhf5.js → bus-51eb7mjh.js} +27 -27
- package/dist/chunks/{worktree-f7n1ssex.js → bus-52a7vhz9.js} +9 -9
- package/dist/chunks/{worktree-c1sj1bpn.js → bus-55g8rfra.js} +3 -3
- package/dist/chunks/{worktree-0ex9mpwx.js → bus-575z11gq.js} +91 -91
- package/dist/chunks/{worktree-s4d4pvet.js → bus-5bh17wth.js} +4 -4
- package/dist/chunks/{worktree-3wq0w81j.js → bus-5m1vxyv7.js} +22 -22
- package/dist/chunks/{worktree-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-9t20sdzg.js → bus-5pqt1ves.js} +6 -6
- package/dist/chunks/{worktree-1yq9hg58.js → bus-5zrxpy3q.js} +5 -5
- package/dist/chunks/{worktree-w2g8c1h4.js → bus-65qft472.js} +45 -45
- package/dist/chunks/{worktree-scmk72rv.js → bus-67zhfnr5.js} +5 -5
- package/dist/chunks/{worktree-dgjy22zw.js → bus-69qaetne.js} +10 -10
- package/dist/chunks/{worktree-7fz6tcfs.js → bus-6asry735.js} +20 -20
- package/dist/chunks/{worktree-2a9pjh68.js → bus-6drawnv9.js} +4 -4
- package/dist/chunks/{worktree-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{worktree-nnx8h4m9.js → bus-6hwszbb1.js} +10 -10
- package/dist/chunks/{worktree-ja63h2sr.js → bus-6xqtcmxs.js} +5 -5
- package/dist/chunks/{worktree-wp5xvy6f.js → bus-76484c78.js} +34 -34
- package/dist/chunks/{worktree-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-t2cdwvq5.js → bus-7c67ap9y.js} +22 -22
- package/dist/chunks/{worktree-zwrzbpfr.js → bus-7cen1ph9.js} +18 -18
- package/dist/chunks/{worktree-7kr66rt3.js → bus-7kr66rt3.js} +1 -1
- package/dist/chunks/{worktree-w59ytyqq.js → bus-7qgpgca8.js} +9 -9
- package/dist/chunks/{worktree-7n4tbjx2.js → bus-7t2s76wb.js} +21 -21
- package/dist/chunks/{worktree-b85szd7h.js → bus-7w2fvyx3.js} +8 -8
- package/dist/chunks/{worktree-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-cb1dvkmt.js → bus-7y699k02.js} +18 -18
- package/dist/chunks/bus-7yv5xa0k.js +18 -0
- package/dist/chunks/{worktree-ec3b2sgd.js → bus-84dshbdw.js} +8 -8
- package/dist/chunks/{worktree-25h84942.js → bus-8b3vzgkx.js} +4 -4
- package/dist/chunks/{worktree-qjgzc4b4.js → bus-8jztxfpf.js} +4 -4
- package/dist/chunks/{worktree-rjdkgttt.js → bus-8qdv48w6.js} +18 -18
- package/dist/chunks/{worktree-cgqrqfdd.js → bus-8sykf8qj.js} +11 -11
- package/dist/chunks/{worktree-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{worktree-kgh589a5.js → bus-92xfmazx.js} +13 -13
- package/dist/chunks/{worktree-9gmxhkaz.js → bus-97kyzmq9.js} +16 -16
- package/dist/chunks/{worktree-ava6h5x1.js → bus-9gw8ma18.js} +6 -6
- package/dist/chunks/{worktree-pqv6jrxt.js → bus-a2cs3nkj.js} +26 -26
- package/dist/chunks/{worktree-h4yv4fhz.js → bus-a3abfedh.js} +191 -191
- package/dist/chunks/{worktree-e239qjg7.js → bus-a8xhnh8r.js} +7 -7
- package/dist/chunks/{worktree-2japvek7.js → bus-akbqzhz4.js} +2 -2
- package/dist/chunks/{worktree-d08zvrj3.js → bus-awcvvmmh.js} +14 -14
- package/dist/chunks/{worktree-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{worktree-xj8tbvnx.js → bus-ays56k31.js} +34 -34
- package/dist/chunks/{worktree-tf0tk0fq.js → bus-b2zx6heh.js} +23 -23
- package/dist/chunks/{worktree-07fp8s5y.js → bus-b3jxbtnx.js} +29 -29
- package/dist/chunks/{worktree-zay1k5wv.js → bus-b3tzc6nv.js} +15 -15
- package/dist/chunks/{worktree-b6vsg801.js → bus-b6vsg801.js} +2 -2
- package/dist/chunks/{worktree-9yke2vdy.js → bus-bffjwd0h.js} +11 -11
- package/dist/chunks/{worktree-xmx7xj34.js → bus-br0kkpnn.js} +7 -7
- package/dist/chunks/{worktree-bstexjd6.js → bus-bstexjd6.js} +1 -1
- package/dist/chunks/{worktree-ssfehs1z.js → bus-c9t2ty9q.js} +4 -4
- package/dist/chunks/{worktree-pjb3r7bt.js → bus-cpq36wag.js} +7 -7
- package/dist/chunks/{worktree-ezgss49s.js → bus-cpzqp2fy.js} +26 -26
- package/dist/chunks/{worktree-jxvtabbt.js → bus-cs03zenh.js} +23 -23
- package/dist/chunks/{worktree-4gwbv0ae.js → bus-cthv9wj3.js} +4 -4
- package/dist/chunks/{worktree-rg0cxenw.js → bus-cvdbenw8.js} +2 -2
- package/dist/chunks/{worktree-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{worktree-8jne4ghb.js → bus-d01pvx5j.js} +30 -30
- package/dist/chunks/{worktree-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{worktree-650ewqdt.js → bus-d77s9pbc.js} +3 -3
- package/dist/chunks/{worktree-8d99dfzw.js → bus-dak0tad4.js} +13 -13
- package/dist/chunks/{worktree-yegyxjwk.js → bus-de541ebn.js} +47 -47
- package/dist/chunks/{worktree-m89858wj.js → bus-dgma0v0g.js} +3 -3
- package/dist/chunks/{worktree-k1xjwggj.js → bus-dpv800ng.js} +13 -13
- package/dist/chunks/{worktree-dr3d1mr5.js → bus-drnpqen8.js} +19 -19
- package/dist/chunks/{worktree-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{worktree-81db11mx.js → bus-e2hnaftq.js} +13 -13
- package/dist/chunks/{worktree-x46kzsvj.js → bus-e2tz7wpg.js} +20 -20
- package/dist/chunks/{worktree-5w6mnkbc.js → bus-e6eh7vrv.js} +11 -11
- package/dist/chunks/{worktree-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{worktree-vjmsebym.js → bus-e8jekyry.js} +9 -9
- package/dist/chunks/{worktree-tc90wnbk.js → bus-ebc9sjza.js} +44 -44
- package/dist/chunks/{worktree-923ftqyh.js → bus-eez5fkq7.js} +8 -8
- package/dist/chunks/{worktree-s88qfkmz.js → bus-ef57czcv.js} +4 -4
- package/dist/chunks/{worktree-m7fyhed3.js → bus-ep9jv767.js} +20 -20
- package/dist/chunks/{worktree-vmfhgzt5.js → bus-eqmd2tfz.js} +7 -7
- package/dist/chunks/{worktree-n6jhfx9n.js → bus-eqsxy33h.js} +28 -28
- package/dist/chunks/{worktree-7dtjcr74.js → bus-etdqq0cw.js} +19 -19
- package/dist/chunks/{worktree-x5xpvpef.js → bus-ezxqpfxm.js} +23 -23
- package/dist/chunks/{worktree-45dn5ykg.js → bus-f4d37vpd.js} +21 -21
- package/dist/chunks/{worktree-0v2kj0w9.js → bus-f7vg2spm.js} +19 -19
- package/dist/chunks/{worktree-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{worktree-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{worktree-k536nnb8.js → bus-fhgnjd8f.js} +3 -3
- package/dist/chunks/{worktree-bgg6fpfq.js → bus-fny70jpy.js} +8 -8
- package/dist/chunks/{worktree-tmt7mk16.js → bus-fnzf6hh4.js} +36 -36
- package/dist/chunks/{worktree-hf8dhk55.js → bus-fq6jwnpn.js} +14 -14
- package/dist/chunks/{worktree-qqpbcr2p.js → bus-frqt40cp.js} +4 -4
- package/dist/chunks/{worktree-6h85yzk8.js → bus-fs5n14ns.js} +5 -5
- package/dist/chunks/{worktree-sqx6yyec.js → bus-fx9j3hb4.js} +8 -8
- package/dist/chunks/{worktree-7c9g9s0q.js → bus-fyet71y6.js} +13 -13
- package/dist/chunks/{worktree-qk8rxpda.js → bus-fzc03kzf.js} +8 -8
- package/dist/chunks/{worktree-t4zc915k.js → bus-g0c8njd6.js} +17 -17
- package/dist/chunks/{worktree-0q1r2kjj.js → bus-g1wftvqf.js} +20 -20
- package/dist/chunks/{worktree-gnm090bx.js → bus-g4fxxdad.js} +11 -11
- package/dist/chunks/{worktree-18g90bpv.js → bus-gcjdgkn2.js} +9 -9
- package/dist/chunks/{worktree-cnj75yzs.js → bus-h0rg6s60.js} +4 -4
- package/dist/chunks/{worktree-c1nvaaxv.js → bus-h1qqpagn.js} +4 -4
- package/dist/chunks/{worktree-6sayp01d.js → bus-h3z5mgtw.js} +25 -25
- package/dist/chunks/{worktree-mj3htrn7.js → bus-h4dxcp4f.js} +17 -17
- package/dist/chunks/{worktree-860029p8.js → bus-h9mbsjx4.js} +11 -11
- package/dist/chunks/{worktree-hndjt1e9.js → bus-hcysmks0.js} +11 -11
- package/dist/chunks/{worktree-7a1k840q.js → bus-hdmjpy1q.js} +17 -17
- package/dist/chunks/{worktree-2f5kzt4v.js → bus-hfvb93vm.js} +7 -7
- package/dist/chunks/{worktree-hgfegmhz.js → bus-hgfegmhz.js} +3 -3
- package/dist/chunks/{worktree-qq6sz745.js → bus-hgkk61tq.js} +18 -18
- package/dist/chunks/{worktree-hh7kjqtw.js → bus-hh7kjqtw.js} +1 -1
- package/dist/chunks/{worktree-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{worktree-w8ps3wcc.js → bus-hpzmd9sp.js} +20 -20
- package/dist/chunks/{worktree-2j819t2x.js → bus-hvj4yv7n.js} +23 -23
- package/dist/chunks/{worktree-160yv0cs.js → bus-hw621kav.js} +8 -8
- package/dist/chunks/{worktree-33e1kph9.js → bus-jf9mttxe.js} +15 -15
- package/dist/chunks/{worktree-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{worktree-97p996b3.js → bus-jfeae8gq.js} +11 -11
- package/dist/chunks/{worktree-yx3jcsf5.js → bus-jgb4byfw.js} +36 -36
- package/dist/chunks/{worktree-97jk9fzp.js → bus-jh0n380r.js} +35 -35
- package/dist/chunks/{worktree-rjtdrb56.js → bus-jh77bd4v.js} +9 -9
- package/dist/chunks/{worktree-q2nqdedq.js → bus-jns8hwea.js} +9 -9
- package/dist/chunks/{worktree-n6jcsk88.js → bus-jpspt4jx.js} +9 -9
- package/dist/chunks/{worktree-9k2mwdeg.js → bus-jpvcj0cc.js} +6 -6
- package/dist/chunks/{worktree-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{worktree-g0zebgfm.js → bus-k0a6q0yn.js} +22 -22
- package/dist/chunks/{worktree-gfhpa9gk.js → bus-k4xj7eng.js} +42 -42
- package/dist/chunks/{worktree-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{worktree-ts8fcpse.js → bus-k8awy0q8.js} +12 -12
- package/dist/chunks/{worktree-kcg78dnn.js → bus-kcg78dnn.js} +2 -2
- package/dist/chunks/{worktree-w66j29kr.js → bus-kcvnx629.js} +15 -15
- package/dist/chunks/{worktree-erny1hp5.js → bus-kep337bh.js} +30 -30
- package/dist/chunks/{worktree-211v3ywx.js → bus-kjtxyeth.js} +31 -31
- package/dist/chunks/{worktree-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{worktree-df3kbw4d.js → bus-ktbdp5sq.js} +16 -16
- package/dist/chunks/{worktree-2mh92g0w.js → bus-kwd8c3vr.js} +11 -11
- package/dist/chunks/{worktree-09fe5ez7.js → bus-kxycnn0n.js} +11 -11
- package/dist/chunks/{worktree-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{worktree-wacb14vy.js → bus-m2gbvgsm.js} +7 -7
- package/dist/chunks/{worktree-0b8vrwjw.js → bus-m543aemt.js} +36 -36
- package/dist/chunks/{worktree-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-mb7mbhnz.js → bus-mb7mbhnz.js} +3 -3
- package/dist/chunks/{worktree-fkc1f79k.js → bus-mckw022z.js} +43 -43
- package/dist/chunks/{worktree-gcye4jv7.js → bus-mf08p8w6.js} +4 -4
- package/dist/chunks/{worktree-hk7hszd6.js → bus-mg78vh23.js} +29 -29
- package/dist/chunks/{worktree-4m8q87vh.js → bus-mkxsbdpa.js} +12 -12
- package/dist/chunks/{worktree-hyns4byn.js → bus-mq74yj6v.js} +26 -26
- package/dist/chunks/{worktree-chfqv0dp.js → bus-mrghrmjv.js} +8 -8
- package/dist/chunks/{worktree-2rar789x.js → bus-mv9srazj.js} +11 -11
- package/dist/chunks/{worktree-666ta36x.js → bus-mvnn004m.js} +16 -16
- package/dist/chunks/{worktree-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{worktree-3776k8q5.js → bus-nbb711pz.js} +11 -11
- package/dist/chunks/{worktree-wm1vm6w0.js → bus-ngqtdgwj.js} +11 -11
- package/dist/chunks/{worktree-xr8j28en.js → bus-nxkdkrxs.js} +45 -45
- package/dist/chunks/{worktree-gg4yr8n1.js → bus-ny5rdk5x.js} +21 -21
- package/dist/chunks/{worktree-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{worktree-x8mt7ajg.js → bus-p7xmw0vp.js} +32 -32
- package/dist/chunks/{worktree-gvnfypps.js → bus-pcg52kfg.js} +14 -14
- package/dist/chunks/{worktree-1ktbs3mv.js → bus-pftwp2vv.js} +85 -85
- package/dist/chunks/{worktree-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-71ygcs51.js → bus-pt50s3rp.js} +17 -17
- package/dist/chunks/{worktree-c325tjb6.js → bus-pvky507n.js} +16 -16
- package/dist/chunks/{worktree-532k8p5d.js → bus-q1fzghr8.js} +5 -5
- package/dist/chunks/{worktree-e1s0q7va.js → bus-q4tyq9ws.js} +5 -5
- package/dist/chunks/{worktree-rp6wgn9y.js → bus-q6jcx9v8.js} +17 -17
- package/dist/chunks/{worktree-5knxw5zw.js → bus-q7etwwh3.js} +350 -346
- package/dist/chunks/{worktree-0b2ad458.js → bus-qcejv4vs.js} +12 -12
- package/dist/chunks/{worktree-m7zsfgfm.js → bus-qen3sb0r.js} +21 -21
- package/dist/chunks/{worktree-6xk3x19f.js → bus-qhpag1je.js} +84 -84
- package/dist/chunks/{worktree-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{worktree-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
- package/dist/chunks/{worktree-wh471sqx.js → bus-qzp5va9j.js} +5 -5
- package/dist/chunks/{worktree-y7rptanb.js → bus-r13t3b9j.js} +8 -8
- package/dist/chunks/{worktree-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{worktree-b7wjnj3v.js → bus-ra8788f1.js} +16 -16
- package/dist/chunks/{worktree-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{worktree-360wd41x.js → bus-rbhxwcn9.js} +29 -29
- package/dist/chunks/{worktree-zn3yprmb.js → bus-rea9cvrf.js} +13 -13
- package/dist/chunks/{worktree-7dvsg837.js → bus-rg3ak8wp.js} +12 -12
- package/dist/chunks/{worktree-f9201ej8.js → bus-rn70abkx.js} +25 -25
- package/dist/chunks/{worktree-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{worktree-d6cs52tr.js → bus-s1ahy3nk.js} +25 -25
- package/dist/chunks/{worktree-95sp4hdf.js → bus-s6h2s3rz.js} +4 -4
- package/dist/chunks/{worktree-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{worktree-7dwprhna.js → bus-sdvwnsbz.js} +43 -43
- package/dist/chunks/{worktree-zgntrsrs.js → bus-sf2xpkzh.js} +11 -11
- package/dist/chunks/{worktree-v8vd993n.js → bus-sj7nrpyn.js} +8 -8
- package/dist/chunks/{worktree-tx8ht019.js → bus-sn9h79g5.js} +15 -15
- package/dist/chunks/{worktree-d1r5081s.js → bus-sqbb0ctm.js} +5 -5
- package/dist/chunks/{worktree-b3mzhchz.js → bus-sstzxn5v.js} +30 -30
- package/dist/chunks/{worktree-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{worktree-qzm6q9ch.js → bus-t1ncm3sw.js} +6 -6
- package/dist/chunks/{worktree-37kqz87b.js → bus-t8jxhxf0.js} +6 -6
- package/dist/chunks/{worktree-zy2d75w1.js → bus-tah5h4rf.js} +29 -29
- package/dist/chunks/{worktree-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-nn94syh7.js → bus-tgq44zsz.js} +42 -42
- package/dist/chunks/{worktree-qr9qsn55.js → bus-tjpr2y5p.js} +32 -32
- package/dist/chunks/{worktree-5w72mvse.js → bus-tk3aqx3r.js} +5 -5
- package/dist/chunks/{worktree-mnsxfp09.js → bus-tk6xpnq1.js} +14 -14
- package/dist/chunks/{worktree-45hyrqvj.js → bus-tpgbm1m3.js} +6 -6
- package/dist/chunks/{worktree-2mnk3cpz.js → bus-tqqfg69e.js} +4 -4
- package/dist/chunks/{worktree-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{worktree-mf3y8h86.js → bus-v2870mkz.js} +58 -58
- package/dist/chunks/{worktree-sy53apyv.js → bus-v2j1w0x8.js} +27 -27
- package/dist/chunks/{worktree-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{worktree-ag4vvxdv.js → bus-v8tswgn5.js} +5 -5
- package/dist/chunks/{worktree-82h3a1kw.js → bus-vbye706w.js} +22 -22
- package/dist/chunks/{worktree-2xfesqhp.js → bus-vh504zcn.js} +26 -26
- package/dist/chunks/{worktree-bq56hyj9.js → bus-vk9zw07y.js} +8 -8
- package/dist/chunks/{worktree-jr92mdzz.js → bus-vn19g02f.js} +11 -11
- package/dist/chunks/{worktree-n73q7gnv.js → bus-vngmfa0y.js} +23 -23
- package/dist/chunks/{worktree-rj9j3as3.js → bus-vqy5ky1c.js} +55 -55
- package/dist/chunks/{worktree-thj7mhbr.js → bus-vt4e1yq1.js} +18 -18
- package/dist/chunks/{worktree-4pzvwjr2.js → bus-vyba483h.js} +4 -4
- package/dist/chunks/{worktree-7q0y7xkk.js → bus-w169zm22.js} +11 -11
- package/dist/chunks/{worktree-w2eysc6j.js → bus-w2eysc6j.js} +2 -2
- package/dist/chunks/{worktree-v0t96s7a.js → bus-w35wzz9x.js} +4 -4
- package/dist/chunks/{worktree-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-6nyhrb0p.js → bus-w544y36y.js} +33 -33
- package/dist/chunks/{worktree-9t9nbwt3.js → bus-w5tfs3xv.js} +38 -38
- package/dist/chunks/{worktree-s7xmnr8t.js → bus-w67s4ywc.js} +4 -4
- package/dist/chunks/{worktree-0h8y3ex8.js → bus-w687dnns.js} +4 -4
- package/dist/chunks/{worktree-76cb1hcw.js → bus-w8qtt4th.js} +4 -4
- package/dist/chunks/{worktree-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-wegkxhrn.js → bus-wegkxhrn.js} +2 -2
- package/dist/chunks/{worktree-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{worktree-wa49e47f.js → bus-x98gaemw.js} +10 -10
- package/dist/chunks/{worktree-dyk9s1ne.js → bus-xcax8ehy.js} +4 -4
- package/dist/chunks/{worktree-ynq9889m.js → bus-xekbftp9.js} +33 -33
- package/dist/chunks/{worktree-1yhff8da.js → bus-xn1nx1d0.js} +12 -12
- package/dist/chunks/{worktree-d5k5mzsn.js → bus-xqy8bnpk.js} +32 -32
- package/dist/chunks/{worktree-4bzxpxbh.js → bus-xx90gxeb.js} +5 -5
- package/dist/chunks/{worktree-z14rfht5.js → bus-xxpp7b8h.js} +10 -10
- package/dist/chunks/{worktree-dq4stdtd.js → bus-y13v0twb.js} +4 -4
- package/dist/chunks/{worktree-2db5r0en.js → bus-yajc3msk.js} +5 -5
- package/dist/chunks/{worktree-yara3q77.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{worktree-c9n14t9e.js → bus-yawcbgfa.js} +9 -9
- package/dist/chunks/{worktree-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{worktree-k0jpvv7x.js → bus-yerc3n1d.js} +20 -20
- package/dist/chunks/{worktree-eyq3zjg1.js → bus-yhbr98pk.js} +1 -1
- package/dist/chunks/{worktree-8yazd8jn.js → bus-yjrvtctt.js} +33 -33
- package/dist/chunks/{worktree-80kgc7k1.js → bus-ykcfw5aj.js} +38 -38
- package/dist/chunks/bus-ywk8mg2g.js +257 -0
- package/dist/chunks/{worktree-jpnvh877.js → bus-z4bv03nd.js} +8 -8
- package/dist/chunks/{worktree-2sctd9r8.js → bus-zdtacmaj.js} +13 -13
- package/dist/chunks/{worktree-qnqasnye.js → bus-zg0jbn27.js} +6 -6
- package/dist/chunks/{worktree-7w11hwx0.js → bus-zg8ezejd.js} +26 -26
- package/dist/chunks/{worktree-abbaypxx.js → bus-zjrxxzj0.js} +18 -18
- package/dist/chunks/{worktree-sfmvmqfk.js → bus-zjsk2z5z.js} +3 -3
- package/dist/chunks/{worktree-b9bzekrm.js → bus-zks02zyq.js} +26 -26
- package/dist/chunks/{worktree-1wvf0ff0.js → bus-zp9gm7r4.js} +7 -7
- package/dist/chunks/{worktree-vqqftvvv.js → bus-zr86xb8x.js} +11 -11
- package/dist/chunks/{worktree-chw17fk3.js → bus-zs176x18.js} +16 -16
- package/dist/chunks/{worktree-gf7njwar.js → bus-zv45q5yw.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +95 -95
- package/dist/config/discovery.js +96 -96
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +226 -226
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +82 -82
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +82 -82
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- package/dist/git.js +9 -9
- 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 +111 -111
- 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/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +171 -171
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +175 -175
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -111
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +98 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -179
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +146 -146
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +371 -371
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +96 -96
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +94 -94
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +195 -195
- package/dist/session/diff.js +100 -100
- 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 +241 -241
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +197 -197
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +162 -162
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -246
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +199 -199
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +234 -234
- package/dist/session/usage.js +1 -1
- package/dist/session.js +230 -230
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +105 -105
- 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 +174 -174
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +228 -228
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +228 -228
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- 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/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +84 -84
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +112 -112
- package/package.json +8 -8
- package/dist/chunks/worktree-f8ma18fn.js +0 -18
- package/dist/chunks/worktree-vnp0me3e.js +0 -257
- /package/dist/chunks/{worktree-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kah00gy.js → bus-1kah00gy.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-7stb81gk.js → bus-7stb81gk.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ean2d8b5.js → bus-ean2d8b5.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{worktree-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-stkk57rt.js → bus-stkk57rt.js} +0 -0
- /package/dist/chunks/{worktree-t03h4f5z.js → bus-t03h4f5z.js} +0 -0
- /package/dist/chunks/{worktree-ty7weeps.js → bus-ty7weeps.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-p015t6z3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node69
|
|
8
|
+
} from "./bus-kjtxyeth.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./bus-nxkdkrxs.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service19,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer10,
|
|
32
|
+
node: () => node22
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service19 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer10 = Layer.effect(Service19, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service50;
|
|
89
|
+
const models = yield* Service67;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(LLM.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service19.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node22 = makeLocationNode({
|
|
219
|
+
service: Service19,
|
|
220
|
+
layer: layer10,
|
|
221
|
+
deps: [node52, node69, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service19, layer10, node22, exports_generate };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref3,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./bus-kjtxyeth.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./bus-48w6hcnx.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./bus-k0a6q0yn.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-gftt206x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service53
|
|
19
|
+
} from "./bus-ebc9sjza.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service15
|
|
22
|
+
} from "./bus-ezxqpfxm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service19
|
|
25
|
+
} from "./bus-jgb4byfw.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
text2
|
|
28
|
+
} from "./bus-8b3vzgkx.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service70
|
|
31
|
+
} from "./bus-pcg52kfg.js";
|
|
32
32
|
import {
|
|
33
33
|
detect2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-4pyp9zr9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service25
|
|
37
|
+
} from "./bus-575z11gq.js";
|
|
38
38
|
import {
|
|
39
39
|
collectBoundedResponseBody2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-3v8g72cx.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/image-generate.ts
|
|
46
46
|
var exports_image_generate = {};
|
|
@@ -49,7 +49,7 @@ __export(exports_image_generate, {
|
|
|
49
49
|
Input: () => Input14,
|
|
50
50
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
51
51
|
Output: () => Output10,
|
|
52
|
-
Plugin: () =>
|
|
52
|
+
Plugin: () => Plugin19,
|
|
53
53
|
defaultModel: () => defaultModel2,
|
|
54
54
|
description: () => description6,
|
|
55
55
|
name: () => name14
|
|
@@ -99,20 +99,20 @@ var Output10 = Schema.Struct({
|
|
|
99
99
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
100
100
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var Plugin19 = {
|
|
103
103
|
id: "opencode.tool.image-generate",
|
|
104
104
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
105
|
-
const access = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const generate = yield*
|
|
105
|
+
const access = yield* Service15;
|
|
106
|
+
const environment = yield* Service80;
|
|
107
|
+
const generate = yield* Service19;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const http = yield* HttpClient.HttpClient;
|
|
110
|
-
const config = yield*
|
|
111
|
-
const jobs = yield*
|
|
110
|
+
const config = yield* Service60;
|
|
111
|
+
const jobs = yield* Service70;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
|
-
const sessions = yield*
|
|
114
|
-
const models = yield*
|
|
115
|
-
const permission = yield*
|
|
113
|
+
const sessions = yield* Service25;
|
|
114
|
+
const models = yield* Service67;
|
|
115
|
+
const permission = yield* Service53;
|
|
116
116
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
117
117
|
const available = yield* models.available(["image"]);
|
|
118
118
|
if (!input) {
|
|
@@ -188,7 +188,7 @@ var Plugin34 = {
|
|
|
188
188
|
id: input.notificationID,
|
|
189
189
|
sessionID: input.sessionID,
|
|
190
190
|
description: "Image generation",
|
|
191
|
-
text:
|
|
191
|
+
text: text2({
|
|
192
192
|
id: input.id,
|
|
193
193
|
state: info.status,
|
|
194
194
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
@@ -333,4 +333,4 @@ function acceptsImages(model) {
|
|
|
333
333
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
export { name14, MAX_INPUT_BYTES2, description6, Input14, Output10,
|
|
336
|
+
export { name14, MAX_INPUT_BYTES2, description6, Input14, Output10, Plugin19, defaultModel2, exports_image_generate };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-bffjwd0h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-cpq36wag.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service33
|
|
10
|
+
} from "./bus-k4xj7eng.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin51
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin51 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service83;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service33;
|
|
201
201
|
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin51, exports_command2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-4e0wk5h0.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read4
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-frqt40cp.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2,
|
|
13
13
|
SessionPartTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-mb7mbhnz.js";
|
|
15
15
|
import {
|
|
16
16
|
initial2,
|
|
17
17
|
preview3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-mf08p8w6.js";
|
|
19
19
|
import {
|
|
20
20
|
User3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-fg9p65nk.js";
|
|
22
22
|
import {
|
|
23
23
|
hydrate2,
|
|
24
24
|
keepRefs2,
|
|
25
25
|
describe3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-5pqt1ves.js";
|
|
27
27
|
import {
|
|
28
28
|
messageToText2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-v2r1d0zg.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/session/history.ts
|
|
35
35
|
var exports_history = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-nbb711pz.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-w2eysc6j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin38 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin40 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin40 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin38, exports_firecrawl };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./bus-tah5h4rf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./bus-48w6hcnx.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service68;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service60);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2,
|
|
6
6
|
exists2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-svcy3p9a.js";
|
|
8
8
|
import {
|
|
9
9
|
execDefaults2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-jtnps1zs.js";
|
|
11
11
|
import {
|
|
12
12
|
makeLocalDriver2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-cwrgdav8.js";
|
|
14
14
|
import {
|
|
15
15
|
makeMemoryDriver2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-twssxy5n.js";
|
|
17
17
|
import {
|
|
18
18
|
Service83,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node87
|
|
20
|
+
} from "./bus-cpq36wag.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service81,
|
|
23
|
+
node84
|
|
24
|
+
} from "./bus-b3jxbtnx.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/environment/environment.ts
|
|
30
30
|
var exports_environment2 = {};
|
|
31
31
|
__export(exports_environment2, {
|
|
32
32
|
EnvironmentService: () => exports_environment2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
|
+
node: () => node83
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// src/environment/index.ts
|
|
@@ -40,14 +40,14 @@ __export(exports_environment3, {
|
|
|
40
40
|
Environment: () => exports_environment3,
|
|
41
41
|
Failed: () => Failed2,
|
|
42
42
|
NotFound: () => NotFound3,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
WrongKind: () => WrongKind2,
|
|
45
45
|
execDefaults: () => execDefaults2,
|
|
46
46
|
exists: () => exists2,
|
|
47
47
|
makeFiles: () => makeFiles2,
|
|
48
48
|
makeLocalDriver: () => makeLocalDriver2,
|
|
49
49
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node83,
|
|
51
51
|
typeFollowing: () => typeFollowing2
|
|
52
52
|
});
|
|
53
53
|
|
|
@@ -63,19 +63,19 @@ var makeFiles2 = (driver) => ({
|
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
// src/environment/environment.ts
|
|
66
|
-
class
|
|
66
|
+
class Service80 extends Context.Service()("@opencode/Environment") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
69
69
|
const spawner = yield* ChildProcessSpawner;
|
|
70
70
|
const location = yield* Service83;
|
|
71
|
-
const workspace = yield*
|
|
71
|
+
const workspace = yield* Service81;
|
|
72
72
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
73
|
-
return
|
|
73
|
+
return Service80.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
75
|
+
var node83 = makeLocationNode({
|
|
76
|
+
service: Service80,
|
|
77
77
|
layer,
|
|
78
|
-
deps: [CrossSpawnSpawner.node,
|
|
78
|
+
deps: [CrossSpawnSpawner.node, node87, node84]
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service80, node83, exports_environment2, makeFiles2, exports_environment3 };
|