@opencode/core 0.0.0-dev-153 → 0.0.0-dev-156
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{shell-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{shell-8yhc7zrg.js → bus-0anyt1n6.js} +9 -9
- package/dist/chunks/{shell-4jx7bqwq.js → bus-0b5bk359.js} +7 -7
- package/dist/chunks/{shell-4tyq8y1q.js → bus-0d6fyknv.js} +22 -22
- package/dist/chunks/{shell-6401x61d.js → bus-0kwc83wc.js} +6 -6
- package/dist/chunks/{shell-raw26vjr.js → bus-0vngay7z.js} +8 -8
- package/dist/chunks/{shell-xs7y4ztn.js → bus-115favz0.js} +31 -31
- package/dist/chunks/{shell-162cz2jq.js → bus-11g23rvp.js} +3 -3
- package/dist/chunks/{shell-269nwj75.js → bus-12vfgjr7.js} +24 -24
- package/dist/chunks/{shell-ep0dae8k.js → bus-145v42dh.js} +3 -3
- package/dist/chunks/{shell-cf7530z0.js → bus-1d0dfj83.js} +5 -5
- package/dist/chunks/{shell-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-bkcatkhe.js → bus-1exzjqhg.js} +10 -10
- package/dist/chunks/{shell-5wckmg8r.js → bus-1g7c6e54.js} +29 -29
- package/dist/chunks/{shell-kckw12eh.js → bus-1ge64ajd.js} +23 -23
- package/dist/chunks/{shell-eq4xjegx.js → bus-1mnh31fd.js} +28 -28
- package/dist/chunks/{shell-xxtgb6sa.js → bus-1vjx8yj7.js} +19 -19
- package/dist/chunks/{shell-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-h0ppebc3.js → bus-202bxvr4.js} +8 -8
- package/dist/chunks/{shell-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{shell-0vryy1hg.js → bus-26p0bz8p.js} +4 -4
- package/dist/chunks/{shell-4cqhw4ty.js → bus-28pxs2mp.js} +9 -9
- package/dist/chunks/{shell-6tcavvge.js → bus-2awfp899.js} +25 -25
- package/dist/chunks/{shell-a5b1kfw3.js → bus-2h7ns30t.js} +13 -13
- package/dist/chunks/{shell-emq6awqh.js → bus-2mbjfaxd.js} +4 -4
- package/dist/chunks/{shell-br25aqqg.js → bus-2q05k1q4.js} +1 -1
- package/dist/chunks/{shell-0xebh2q0.js → bus-2yv57mdk.js} +37 -37
- package/dist/chunks/{shell-hqxkkta1.js → bus-2zp5a6yg.js} +3 -3
- package/dist/chunks/{shell-j4qx96r0.js → bus-318j3scp.js} +15 -15
- package/dist/chunks/{shell-skyj9te4.js → bus-392vc6at.js} +18 -18
- package/dist/chunks/{shell-46y7bs25.js → bus-3a094sm8.js} +4 -4
- package/dist/chunks/{shell-ksrpc66y.js → bus-3g9btxms.js} +20 -20
- package/dist/chunks/{shell-8t8csh0d.js → bus-3ghe7v75.js} +11 -11
- package/dist/chunks/{shell-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-cyav8ryr.js → bus-3j964yrr.js} +6 -6
- package/dist/chunks/{shell-xx8a12fb.js → bus-3naygyk9.js} +54 -54
- package/dist/chunks/{shell-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-rfk8s4cm.js → bus-3nxj7ahj.js} +8 -8
- package/dist/chunks/{shell-yvf7qmnn.js → bus-3pyfgsed.js} +5 -5
- package/dist/chunks/{shell-nrbaxs48.js → bus-3sbn3sz9.js} +35 -35
- package/dist/chunks/{shell-b07p3ys3.js → bus-3y9dj9y0.js} +9 -9
- package/dist/chunks/{shell-40za9wsf.js → bus-40za9wsf.js} +2 -2
- package/dist/chunks/{shell-9qavyryr.js → bus-41v2khpa.js} +15 -15
- package/dist/chunks/{shell-m18v8hsy.js → bus-4mvq7p36.js} +9 -9
- package/dist/chunks/{shell-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-a43zn68e.js → bus-4tw0vbcd.js} +21 -21
- package/dist/chunks/{shell-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-pmp7dhvf.js → bus-4vm076ke.js} +11 -11
- package/dist/chunks/{shell-amxh6r7z.js → bus-50abynqw.js} +11 -11
- package/dist/chunks/{shell-eztbr3va.js → bus-55hqm2w5.js} +12 -12
- package/dist/chunks/{shell-msp1dkg1.js → bus-58avzxmh.js} +8 -8
- package/dist/chunks/{shell-maw7rkdj.js → bus-5jkfxevk.js} +1 -1
- package/dist/chunks/{shell-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-61ennm6n.js → bus-61ennm6n.js} +1 -1
- package/dist/chunks/{shell-x15qb8kb.js → bus-69we6tgm.js} +24 -24
- package/dist/chunks/{shell-anbzqb0m.js → bus-6a8sgxfm.js} +18 -18
- package/dist/chunks/{shell-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{shell-mcx8r17s.js → bus-6ka7bmw9.js} +21 -21
- package/dist/chunks/{shell-f79nty4s.js → bus-6s5ywbch.js} +10 -10
- package/dist/chunks/{shell-hkm78mpc.js → bus-70ysbda5.js} +8 -8
- package/dist/chunks/{shell-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{shell-jckbhz5s.js → bus-7bbbm94a.js} +4 -4
- package/dist/chunks/{shell-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-3vk87jbh.js → bus-7bn21fbf.js} +11 -11
- package/dist/chunks/{shell-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-k3xx3egj.js → bus-80tdcfqk.js} +22 -22
- package/dist/chunks/{shell-77s6ecga.js → bus-8dsbdaxx.js} +8 -8
- package/dist/chunks/{shell-vyk3hhz8.js → bus-8ggvj0t6.js} +14 -14
- package/dist/chunks/{shell-qjgzc4b4.js → bus-8jztxfpf.js} +4 -4
- package/dist/chunks/{shell-me8fy6y3.js → bus-8tr79gj6.js} +11 -11
- package/dist/chunks/{shell-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{shell-kgfzpkjk.js → bus-91ptfphb.js} +6 -6
- package/dist/chunks/{shell-7jxxb4xt.js → bus-92cc6t8x.js} +24 -24
- package/dist/chunks/{shell-j1qkt8n9.js → bus-9bd53j63.js} +17 -17
- package/dist/chunks/{shell-wze3726t.js → bus-9f4wf6j5.js} +16 -16
- package/dist/chunks/{shell-q178967a.js → bus-9jc8095f.js} +10 -10
- package/dist/chunks/{shell-y8dyt59y.js → bus-9xdmq0rj.js} +1 -1
- package/dist/chunks/{shell-px414y6d.js → bus-a2rnws1g.js} +7 -7
- package/dist/chunks/{shell-ff5993x1.js → bus-aca3fdkj.js} +27 -27
- package/dist/chunks/{shell-4k62cac0.js → bus-aes50vde.js} +4 -4
- package/dist/chunks/{shell-1atk681z.js → bus-aqn39phr.js} +9 -9
- package/dist/chunks/{shell-tgmjaqw5.js → bus-arz3ggyk.js} +70 -70
- package/dist/chunks/{shell-s6pwsjdm.js → bus-asdq5w3j.js} +4 -4
- package/dist/chunks/{shell-sj7n0b4y.js → bus-axtmazh5.js} +5 -5
- package/dist/chunks/{shell-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-z34kcv4r.js → bus-ayzfzkn7.js} +15 -15
- package/dist/chunks/{shell-qvv8erx6.js → bus-b0pq4gs1.js} +2 -2
- package/dist/chunks/{shell-zq6xckqc.js → bus-b27pwksx.js} +30 -30
- package/dist/chunks/{shell-ygy6krf6.js → bus-b2sk618g.js} +33 -33
- package/dist/chunks/{shell-4wnskdgw.js → bus-b6rd9qx0.js} +16 -16
- package/dist/chunks/{shell-5nnwax6m.js → bus-b6vsg801.js} +5 -5
- package/dist/chunks/{shell-r6mk3rd0.js → bus-bf1yga48.js} +12 -12
- package/dist/chunks/{shell-bstexjd6.js → bus-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-7s9zy64f.js → bus-bxx0c1dy.js} +11 -11
- package/dist/chunks/{shell-4hgx5c06.js → bus-c0qzg0ns.js} +9 -9
- package/dist/chunks/{shell-q9fk8jkx.js → bus-c1x0s21d.js} +9 -9
- package/dist/chunks/{shell-qsee9sfb.js → bus-c2sed5cq.js} +2 -2
- package/dist/chunks/{shell-1k9brye2.js → bus-c7vhk5p1.js} +2 -2
- package/dist/chunks/{shell-e6hdst2b.js → bus-cggra6hh.js} +13 -13
- package/dist/chunks/{shell-pf5an99m.js → bus-cj06yg0x.js} +19 -19
- package/dist/chunks/{shell-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-rgqe5ej8.js → bus-cyh1m4bh.js} +29 -29
- package/dist/chunks/{shell-yqh7p5wn.js → bus-d09bby1r.js} +23 -23
- package/dist/chunks/{shell-sfqj7d5v.js → bus-d0jq61v3.js} +7 -7
- package/dist/chunks/{shell-m0932hwt.js → bus-d407mc82.js} +30 -30
- package/dist/chunks/{shell-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-hswehyeg.js → bus-d7tcj48j.js} +6 -6
- package/dist/chunks/{shell-yzdtg5md.js → bus-daedf1v4.js} +11 -11
- package/dist/chunks/{shell-1y1zjdjp.js → bus-dd3g87t8.js} +30 -30
- package/dist/chunks/{shell-j47j5mgf.js → bus-dd60zzyr.js} +9 -9
- package/dist/chunks/bus-dkzb616j.js +257 -0
- package/dist/chunks/{shell-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{shell-hk4zn3tm.js → bus-dvqbgpt5.js} +36 -36
- package/dist/chunks/{shell-pkcxvk95.js → bus-dxktja5e.js} +4 -4
- package/dist/chunks/{shell-51czaex0.js → bus-e15nhmy1.js} +10 -10
- package/dist/chunks/{shell-89wmm6hc.js → bus-e4qxz956.js} +10 -10
- package/dist/chunks/{shell-8ghpkh2b.js → bus-e7rs1ym5.js} +7 -7
- package/dist/chunks/{shell-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{shell-yrvatxy0.js → bus-eb1az9va.js} +5 -5
- package/dist/chunks/{shell-784x34jv.js → bus-eh53sddq.js} +14 -14
- package/dist/chunks/{shell-ya0ebpe6.js → bus-f4ytg5tz.js} +16 -16
- package/dist/chunks/{shell-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-ezh5wcvr.js → bus-fjrrbk94.js} +8 -8
- package/dist/chunks/{shell-ysbx8q5e.js → bus-fqt3dxq8.js} +17 -17
- package/dist/chunks/{shell-117why0g.js → bus-ftcx6fze.js} +22 -22
- package/dist/chunks/{shell-c26d8adj.js → bus-fxew75b5.js} +2 -2
- package/dist/chunks/{shell-wr3re1en.js → bus-fznmdakp.js} +4 -4
- package/dist/chunks/{shell-fyanp2px.js → bus-g47j0eyn.js} +24 -24
- package/dist/chunks/{shell-9er8jkga.js → bus-g9p8xacw.js} +17 -17
- package/dist/chunks/{shell-46q6xmy6.js → bus-gfrhbt09.js} +32 -32
- package/dist/chunks/{shell-gg8p9cgs.js → bus-gg8p9cgs.js} +3 -3
- package/dist/chunks/{shell-7h8dsyqx.js → bus-gh72g965.js} +17 -17
- package/dist/chunks/{shell-pwrd9m1k.js → bus-hb5by4mw.js} +2 -2
- package/dist/chunks/{shell-hdfrs5mg.js → bus-hdfrs5mg.js} +2 -2
- package/dist/chunks/{shell-7x1m1x8m.js → bus-hkha4f9a.js} +32 -32
- package/dist/chunks/{shell-g4y5gz37.js → bus-hpfdwx7h.js} +6 -6
- package/dist/chunks/{shell-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shell-h21gmg7t.js → bus-hpp5z55g.js} +18 -18
- package/dist/chunks/{shell-scmk72rv.js → bus-hr4y9snp.js} +7 -7
- package/dist/chunks/{shell-7h3tx6qb.js → bus-htz9s8nk.js} +3 -3
- package/dist/chunks/{shell-e1075q1h.js → bus-hwwdr0w7.js} +13 -13
- package/dist/chunks/{shell-jet1weyh.js → bus-hyz0p7s3.js} +40 -40
- package/dist/chunks/{shell-5jnzytm1.js → bus-j1c7w7ee.js} +23 -23
- package/dist/chunks/{shell-s7xmnr8t.js → bus-j81g92s0.js} +4 -4
- package/dist/chunks/{shell-7m9azgke.js → bus-j8q0s4xc.js} +17 -17
- package/dist/chunks/{shell-mb5r60m7.js → bus-jbwye8vs.js} +84 -84
- package/dist/chunks/{shell-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{shell-yekwrh4t.js → bus-jks5nrr0.js} +21 -21
- package/dist/chunks/{shell-9sqzj7jg.js → bus-jnexj6w3.js} +9 -9
- package/dist/chunks/{shell-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{shell-bc8d4apc.js → bus-jyse5na0.js} +17 -17
- package/dist/chunks/{shell-x8hqx8dn.js → bus-jyzwec4f.js} +7 -7
- package/dist/chunks/{shell-50cfs487.js → bus-k16jq3jq.js} +11 -11
- package/dist/chunks/{shell-e3d240b5.js → bus-k43xtnnt.js} +34 -34
- package/dist/chunks/{shell-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{shell-jfmjz42h.js → bus-k9zkdd2y.js} +9 -9
- package/dist/chunks/{shell-47p99bkc.js → bus-kc5j4g2a.js} +12 -12
- package/dist/chunks/{shell-08b3necq.js → bus-kmfd77se.js} +305 -305
- package/dist/chunks/{shell-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-sqzgab9t.js → bus-kz1rnmfp.js} +80 -80
- package/dist/chunks/{shell-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{shell-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-9rp5n8cg.js → bus-mctkcdhf.js} +8 -8
- package/dist/chunks/bus-me0dhgxs.js +18 -0
- package/dist/chunks/{shell-xvme4r16.js → bus-mfgqvf60.js} +24 -24
- package/dist/chunks/{shell-v0t96s7a.js → bus-mmx1mfjr.js} +4 -4
- package/dist/chunks/{shell-t5jqs5j7.js → bus-mn6tycs6.js} +2 -2
- package/dist/chunks/{shell-wj6zyh3r.js → bus-mq5mk61w.js} +9 -9
- package/dist/chunks/{shell-xq08wx7b.js → bus-mqwfd4qy.js} +16 -16
- package/dist/chunks/{shell-mxdjbcy9.js → bus-mtta6bjz.js} +3 -3
- package/dist/chunks/{shell-6y263vp8.js → bus-n6v2b7cw.js} +5 -5
- package/dist/chunks/{shell-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{shell-32ycv80d.js → bus-npk3kpff.js} +1 -1
- package/dist/chunks/{shell-8aaaanvb.js → bus-nq9yeqc2.js} +5 -5
- package/dist/chunks/{shell-0bzca2g5.js → bus-nwxgvres.js} +3 -3
- package/dist/chunks/{shell-xnwcn394.js → bus-nxvcq4k6.js} +1 -1
- package/dist/chunks/{shell-vctgxjx6.js → bus-nz8nyvy3.js} +34 -34
- package/dist/chunks/{shell-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{shell-8k18663a.js → bus-p95v73xf.js} +11 -11
- package/dist/chunks/{shell-vc4sk86e.js → bus-pake3c8t.js} +11 -11
- package/dist/chunks/{shell-t1xktr6n.js → bus-pbbktnbz.js} +4 -4
- package/dist/chunks/{shell-e3a69e85.js → bus-pbdpbvt7.js} +11 -11
- package/dist/chunks/{shell-96qm6qre.js → bus-pgccxgxx.js} +5 -5
- package/dist/chunks/{shell-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{shell-fq6gcjfj.js → bus-pkxcfm9w.js} +15 -15
- package/dist/chunks/{shell-39b50xdn.js → bus-pqbgj65r.js} +6 -6
- package/dist/chunks/{shell-fg62papv.js → bus-pqtyhvbg.js} +32 -32
- package/dist/chunks/{shell-fg9p65nk.js → bus-prq7xxp2.js} +6 -6
- package/dist/chunks/{shell-rqsc6n82.js → bus-pvyyw61m.js} +12 -12
- package/dist/chunks/{shell-shj34wgv.js → bus-px66bgmz.js} +13 -13
- package/dist/chunks/{shell-q63cb7ap.js → bus-q63cb7ap.js} +3 -3
- package/dist/chunks/{shell-em2zp6t2.js → bus-q68sayk5.js} +26 -26
- package/dist/chunks/{shell-fhhqgzg1.js → bus-q8xgfnz9.js} +4 -4
- package/dist/chunks/{shell-9qfd9ctj.js → bus-qdbka4b1.js} +43 -43
- package/dist/chunks/{shell-frmj6gvz.js → bus-qfr9hezr.js} +8 -8
- package/dist/chunks/{shell-j78xp39n.js → bus-qgts2pf7.js} +12 -12
- package/dist/chunks/{shell-cwntgy3b.js → bus-qjmkmgef.js} +2 -2
- package/dist/chunks/{shell-b3mxrt5b.js → bus-qp096xn7.js} +3 -3
- package/dist/chunks/{shell-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{shell-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{shell-98maaxm0.js → bus-rabz4gbz.js} +138 -138
- package/dist/chunks/{shell-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/bus-rhsf7eaj.js +26 -0
- package/dist/chunks/{shell-gcjdgkn2.js → bus-rjnacbrz.js} +9 -9
- package/dist/chunks/{shell-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-sts537v3.js → bus-rx70pj7b.js} +3 -3
- package/dist/chunks/{shell-3h1zggnh.js → bus-s9y69kg7.js} +16 -16
- package/dist/chunks/{shell-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shell-665g4qxs.js → bus-sbt0ppt2.js} +4 -4
- package/dist/chunks/{shell-sjsa0xxp.js → bus-sdw7df28.js} +11 -11
- package/dist/chunks/{shell-6g0c3wkb.js → bus-smgwq7yn.js} +11 -11
- package/dist/chunks/{shell-6jjnvdfj.js → bus-sp8z89es.js} +21 -21
- package/dist/chunks/{shell-hvvf9qw8.js → bus-sq4s6wq1.js} +6 -6
- package/dist/chunks/{shell-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{shell-mtkfycnh.js → bus-ssfehs1z.js} +4 -4
- package/dist/chunks/{shell-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-fg9cer97.js → bus-t2ghqwsf.js} +6 -6
- package/dist/chunks/{shell-t2z71z34.js → bus-t2z71z34.js} +2 -2
- package/dist/chunks/{shell-cpvd08na.js → bus-t8nkzmzj.js} +7 -7
- package/dist/chunks/{shell-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-04ek7h9y.js → bus-tem644mg.js} +21 -21
- package/dist/chunks/{shell-kmzgegqq.js → bus-tg1vr1qt.js} +8 -8
- package/dist/chunks/{shell-chmzr73b.js → bus-trhfn8g8.js} +22 -22
- package/dist/chunks/{shell-78ga7vnq.js → bus-ttbnswcg.js} +46 -46
- package/dist/chunks/{shell-wtjv999x.js → bus-tw8176pt.js} +32 -32
- package/dist/chunks/{shell-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-af2rs3qt.js → bus-tx88d9rw.js} +9 -9
- package/dist/chunks/{shell-r4etkjb4.js → bus-v1mvcyvz.js} +12 -12
- package/dist/chunks/{shell-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-31avdb49.js → bus-v8xpr2tt.js} +11 -11
- package/dist/chunks/{shell-1yq9hg58.js → bus-v9ez2kgh.js} +5 -5
- package/dist/chunks/{shell-9sb4zbwh.js → bus-vape2eed.js} +5 -5
- package/dist/chunks/{shell-gyd37gqd.js → bus-vdpte8t6.js} +9 -9
- package/dist/chunks/{shell-rbb6zq01.js → bus-vdszap64.js} +13 -13
- package/dist/chunks/{shell-gzdbztqx.js → bus-vfpqjtjs.js} +7 -7
- package/dist/chunks/{shell-mpe6qr53.js → bus-vq1ppevj.js} +8 -8
- package/dist/chunks/{shell-ter8ckgk.js → bus-vrbg0dwy.js} +50 -50
- package/dist/chunks/{shell-fnsd8pja.js → bus-vrj8ew2c.js} +4 -4
- package/dist/chunks/{shell-j3atvk4p.js → bus-vv3msfxn.js} +13 -13
- package/dist/chunks/{shell-x6hvwx4s.js → bus-vxe31t1e.js} +4 -4
- package/dist/chunks/{shell-98tqkwke.js → bus-w11ey1wa.js} +11 -11
- package/dist/chunks/{shell-2a1sbzpd.js → bus-w3g0gy4q.js} +6 -6
- package/dist/chunks/{shell-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-m0xc4m67.js → bus-w64yv1ej.js} +12 -12
- package/dist/chunks/{shell-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{shell-y1xa8t1k.js → bus-wese96kb.js} +11 -11
- package/dist/chunks/{shell-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{shell-cff7ambb.js → bus-wpz3wcrg.js} +28 -28
- package/dist/chunks/{shell-bqwdyg2t.js → bus-wrd39zd3.js} +9 -9
- package/dist/chunks/{shell-sf2d3txg.js → bus-wryn09gb.js} +42 -42
- package/dist/chunks/{shell-2zafeey0.js → bus-x0zbzfsq.js} +11 -11
- package/dist/chunks/{shell-0rnawqs8.js → bus-xejvhz9r.js} +6 -6
- package/dist/chunks/{shell-sekby2qt.js → bus-xfgzn115.js} +18 -18
- package/dist/chunks/{shell-8jrf95k0.js → bus-xgqp9xjz.js} +27 -27
- package/dist/chunks/{shell-8q36sknh.js → bus-xmcjg19r.js} +21 -21
- package/dist/chunks/{shell-vmfhgzt5.js → bus-xnh55p1t.js} +7 -7
- package/dist/chunks/{shell-1r8mtbrn.js → bus-xp5sds52.js} +34 -34
- package/dist/chunks/{shell-qqpbcr2p.js → bus-xt0z8zst.js} +4 -4
- package/dist/chunks/{shell-k4m195bg.js → bus-xvspzben.js} +21 -21
- package/dist/chunks/{shell-8ryk0bb9.js → bus-xw8eq9f1.js} +5 -5
- package/dist/chunks/{shell-fqggg14e.js → bus-xwjtqyd6.js} +2 -2
- package/dist/chunks/{shell-vc4tfmhw.js → bus-xyr09rm8.js} +12 -12
- package/dist/chunks/{shell-jr33ggp4.js → bus-y3d08psh.js} +9 -9
- package/dist/chunks/{shell-3me98kyh.js → bus-y75mjge0.js} +18 -18
- package/dist/chunks/{shell-yara3q77.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{shell-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-3any6fts.js → bus-yf318key.js} +16 -16
- package/dist/chunks/{shell-k1nxv3dt.js → bus-ymz7p2c9.js} +3 -3
- package/dist/chunks/{shell-dftfjzw5.js → bus-yp1da822.js} +22 -22
- package/dist/chunks/{shell-wyn38t1n.js → bus-yqxh7jnf.js} +18 -18
- package/dist/chunks/{shell-rs81f4k4.js → bus-yrxm5vjq.js} +2 -2
- package/dist/chunks/{shell-ke8rev0c.js → bus-yx414ezz.js} +25 -25
- package/dist/chunks/{shell-7e58bfad.js → bus-yxp0z5jy.js} +25 -25
- package/dist/chunks/{shell-x7ygks9b.js → bus-z2fce490.js} +30 -30
- package/dist/chunks/{shell-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/{shell-anhkzmhg.js → bus-zccp9y9w.js} +18 -18
- package/dist/chunks/{shell-jfdfpeeg.js → bus-zf6pcqjf.js} +4 -4
- package/dist/chunks/{shell-jkhrt0qh.js → bus-zft044xm.js} +17 -17
- package/dist/chunks/{shell-d77k1mxa.js → bus-zfyb5tr4.js} +4 -4
- package/dist/chunks/{shell-26x8chrq.js → bus-zg0jbn27.js} +6 -6
- package/dist/chunks/{shell-xms0g0j8.js → bus-zndqqzj0.js} +11 -11
- package/dist/chunks/{shell-dbw0hcg3.js → bus-zy3ny4fv.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +7 -7
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +72 -72
- 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.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +368 -368
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +128 -128
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +92 -92
- package/dist/plugin/vcs/hg.js +92 -92
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- 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 +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +139 -139
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +97 -97
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +141 -141
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- 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 +89 -89
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +100 -100
- 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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +90 -90
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- 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 +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/shell-2dkjcnxp.js +0 -18
- package/dist/chunks/shell-rq62mxtf.js +0 -257
- package/dist/chunks/shell-srxj8zvh.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1jakw16s.js → bus-1jakw16s.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4m86bj6y.js → bus-4m86bj6y.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node72
|
|
5
|
+
} from "./bus-zndqqzj0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./bus-202bxvr4.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-2yv57mdk.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-bf1yga48.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error5
|
|
18
|
+
} from "./bus-yxp0z5jy.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service37,
|
|
24
|
+
node40
|
|
25
|
+
} from "./bus-bxx0c1dy.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make15
|
|
28
|
+
} from "./bus-xnh55p1t.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-b0pq4gs1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service36,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer16,
|
|
44
|
+
node: () => node39,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
|
|
|
77
77
|
return {
|
|
78
78
|
providerMetadataKey,
|
|
79
79
|
system: [
|
|
80
|
-
input.agent.system ? input.agent.system :
|
|
80
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
81
81
|
input.initial
|
|
82
82
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
83
83
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer16 = Layer.effect(Service36, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service62;
|
|
165
|
+
const transport = yield* Service37;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -170,7 +170,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
170
170
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
171
171
|
const tools = input.tools ?? {
|
|
172
172
|
definitions: [],
|
|
173
|
-
execute: () => new
|
|
173
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
174
174
|
};
|
|
175
175
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
176
176
|
const shaped = yield* shape({
|
|
@@ -261,17 +261,17 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
263
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
264
|
-
return
|
|
264
|
+
return Service36.of({
|
|
265
265
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
266
266
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
267
267
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
268
268
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
269
269
|
});
|
|
270
270
|
}));
|
|
271
|
-
var
|
|
272
|
-
service:
|
|
273
|
-
layer:
|
|
274
|
-
deps: [
|
|
271
|
+
var node39 = makeLocationNode({
|
|
272
|
+
service: Service36,
|
|
273
|
+
layer: layer16,
|
|
274
|
+
deps: [node65, node40, node72]
|
|
275
275
|
});
|
|
276
276
|
|
|
277
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
277
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service36, layer16, node39, exports_model_request };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/stored.ts
|
|
9
9
|
var exports_stored = {};
|
|
10
10
|
__export(exports_stored, {
|
|
11
|
-
File: () =>
|
|
11
|
+
File: () => File2,
|
|
12
12
|
FileRef: () => FileRef2,
|
|
13
13
|
Ref: () => Ref2,
|
|
14
14
|
SessionStored: () => exports_stored,
|
|
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
|
|
|
28
28
|
var ref2 = (hash) => `media:${hash}`;
|
|
29
29
|
var { data: _, ...attachment } = FileAttachment.fields;
|
|
30
30
|
var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
|
|
31
|
-
var
|
|
31
|
+
var File2 = Schema.Union([FileAttachment, FileRef2]);
|
|
32
32
|
var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
|
|
33
|
-
var files = Schema.Array(
|
|
33
|
+
var files = Schema.Array(File2).pipe(optional);
|
|
34
34
|
var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
|
|
35
35
|
var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
|
|
36
36
|
|
|
37
|
-
export { Ref2, refHash2, ref2, FileRef2,
|
|
37
|
+
export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./bus-xp5sds52.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info9,
|
|
9
|
+
ID6,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-1ge64ajd.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
@@ -435,15 +435,15 @@ var Plugin12 = define({
|
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info9.make({
|
|
439
|
+
id: ID6.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info9.make({
|
|
446
|
+
id: ID6.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service55;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
node59
|
|
7
|
+
} from "./bus-6ka7bmw9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service17,
|
|
17
|
+
node: () => node19,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service17 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service57;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service17.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node19 = makeLocationNode({ service: Service17, layer, deps: [node59] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-1jakw16s.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-jfaecv01.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-p015t6z3.js";
|
|
5
|
+
import {
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./bus-xyr09rm8.js";
|
|
5
9
|
import {
|
|
6
10
|
Service75,
|
|
7
11
|
node79
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service41,
|
|
11
|
-
node43
|
|
12
|
-
} from "./shell-dftfjzw5.js";
|
|
12
|
+
} from "./bus-yp1da822.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
21
|
var exports_generate = {};
|
|
@@ -25,11 +25,11 @@ __export(exports_generate, {
|
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service23,
|
|
29
|
+
UnavailableError: () => UnavailableError5,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer12,
|
|
32
|
+
node: () => node26
|
|
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 UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service75;
|
|
89
|
+
const models = yield* Service77;
|
|
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 layer11 = Layer.effect(Service20, 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 UnavailableError5({ 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 UnavailableError5({ 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 layer11 = Layer.effect(Service20, 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 UnavailableError5({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service23.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -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 node26 = makeLocationNode({
|
|
219
|
+
service: Service23,
|
|
220
|
+
layer: layer12,
|
|
221
|
+
deps: [node79, node81, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service23, layer12, node26, exports_generate };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./bus-6ka7bmw9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service57;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-zy3ny4fv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-c7vhk5p1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node59
|
|
12
|
+
} from "./bus-6ka7bmw9.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service64,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node67
|
|
20
|
+
} from "./bus-1vjx8yj7.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service62,
|
|
23
|
+
node65
|
|
24
|
+
} from "./bus-202bxvr4.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service39,
|
|
27
|
+
node42
|
|
28
|
+
} from "./bus-vq1ppevj.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-c2sed5cq.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service55,
|
|
35
|
+
node57
|
|
36
|
+
} from "./bus-xp5sds52.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-w11ey1wa.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service38,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node41
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service38 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service85;
|
|
92
92
|
const location = yield* Service82;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service64;
|
|
95
|
+
const environment = yield* Service57;
|
|
96
|
+
const hooks = yield* Service62;
|
|
97
|
+
const environments = yield* Service39;
|
|
98
|
+
const config = yield* Service55;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError5({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service38.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node41 = makeLocationNode({
|
|
342
|
+
service: Service38,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node89,
|
|
346
346
|
node86,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
node67,
|
|
349
|
+
node59,
|
|
350
|
+
node65,
|
|
351
|
+
node42,
|
|
352
|
+
node57,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service38, cleanup2, node41, exports_shell4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-3j964yrr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./bus-xyr09rm8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin9 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service77;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin9, exports_verbosity };
|