@opencode/core 0.0.0-dev-153 → 0.0.0-dev-154
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 +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{shell-034tev2y.js → app-034tev2y.js} +2 -2
- package/dist/chunks/{shell-1atk681z.js → app-07jak3sf.js} +9 -9
- package/dist/chunks/{shell-9er8jkga.js → app-0de7abqf.js} +13 -13
- package/dist/chunks/{shell-xq08wx7b.js → app-0n5d8qw9.js} +16 -16
- package/dist/chunks/{shell-fg62papv.js → app-0pxwvsqb.js} +27 -27
- package/dist/chunks/{shell-amxh6r7z.js → app-0s7dzr9x.js} +11 -11
- package/dist/chunks/{shell-8ryk0bb9.js → app-0t098hqn.js} +5 -5
- package/dist/chunks/{shell-96qm6qre.js → app-0yepvbfh.js} +5 -5
- package/dist/chunks/{shell-sf2d3txg.js → app-0ykya879.js} +40 -40
- package/dist/chunks/{shell-cff7ambb.js → app-1e7btjy7.js} +26 -26
- package/dist/chunks/{shell-1ep2p91f.js → app-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-q9fk8jkx.js → app-1keh6edx.js} +9 -9
- package/dist/chunks/{shell-qqpbcr2p.js → app-1kn6jdkn.js} +4 -4
- package/dist/chunks/{shell-yekwrh4t.js → app-1s0v3afe.js} +21 -21
- package/dist/chunks/{shell-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-ysbx8q5e.js → app-1x45b3zs.js} +17 -17
- package/dist/chunks/{shell-204s3925.js → app-204s3925.js} +1 -1
- package/dist/chunks/{shell-e3a69e85.js → app-21wfq1mc.js} +11 -11
- package/dist/chunks/{shell-j1qkt8n9.js → app-27hfenyq.js} +17 -17
- package/dist/chunks/{shell-kckw12eh.js → app-2ae1t5g1.js} +19 -19
- package/dist/chunks/{shell-fg9cer97.js → app-2ew5z7b1.js} +6 -6
- package/dist/chunks/{shell-9rp5n8cg.js → app-2fw7yy1m.js} +20 -20
- package/dist/chunks/{shell-shj34wgv.js → app-2x53phk9.js} +13 -13
- package/dist/chunks/{shell-mb5r60m7.js → app-2xef4nz5.js} +72 -72
- package/dist/chunks/{shell-rq62mxtf.js → app-2xfnk94a.js} +147 -147
- package/dist/chunks/{shell-hqxkkta1.js → app-2zp5a6yg.js} +3 -3
- package/dist/chunks/{shell-ff5993x1.js → app-2zsvneh4.js} +27 -27
- package/dist/chunks/{shell-5jnzytm1.js → app-30hfv7eh.js} +18 -18
- package/dist/chunks/{shell-mxdjbcy9.js → app-31hh79mt.js} +3 -3
- package/dist/chunks/{shell-qvv8erx6.js → app-33p2et1z.js} +2 -2
- package/dist/chunks/{shell-q178967a.js → app-3fkaq49n.js} +12 -12
- package/dist/chunks/{shell-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-scmk72rv.js → app-3j1m3tq4.js} +6 -6
- package/dist/chunks/{shell-cf7530z0.js → app-3j3pngsv.js} +28 -28
- package/dist/chunks/{shell-gyd37gqd.js → app-3ms0cx1v.js} +9 -9
- package/dist/chunks/{shell-3nnrz6f6.js → app-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-skyj9te4.js → app-3qn2g3vw.js} +21 -21
- package/dist/chunks/{shell-wtjv999x.js → app-3y09gzcd.js} +30 -30
- package/dist/chunks/{shell-40za9wsf.js → app-40za9wsf.js} +2 -2
- package/dist/chunks/{shell-af2rs3qt.js → app-4htfa8b4.js} +9 -9
- package/dist/chunks/{shell-4pyp9zr9.js → app-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-ep0dae8k.js → app-4qs1r5ye.js} +8 -8
- package/dist/chunks/{shell-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-7s9zy64f.js → app-55pbqef1.js} +11 -11
- package/dist/chunks/{shell-h0ppebc3.js → app-5cgamgw5.js} +8 -8
- package/dist/chunks/{shell-hk4zn3tm.js → app-5dz02hsn.js} +33 -33
- package/dist/chunks/{shell-jet1weyh.js → app-5e0jccqk.js} +25 -25
- package/dist/chunks/{shell-k4m195bg.js → app-5egkm6n4.js} +21 -21
- package/dist/chunks/{shell-8k18663a.js → app-5g6ryekv.js} +8 -8
- package/dist/chunks/{shell-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-4k62cac0.js → app-5nqa02xf.js} +4 -4
- package/dist/chunks/{shell-1k9brye2.js → app-5x0df2c7.js} +2 -2
- package/dist/chunks/{shell-t1xktr6n.js → app-5x26af84.js} +4 -4
- package/dist/chunks/{shell-8q36sknh.js → app-63w42kdm.js} +15 -15
- package/dist/chunks/{shell-xs7y4ztn.js → app-6bjafys9.js} +36 -36
- package/dist/chunks/{shell-2a1sbzpd.js → app-6cqtc0z1.js} +6 -6
- package/dist/chunks/{shell-ksrpc66y.js → app-6dqz8pz2.js} +18 -18
- package/dist/chunks/{shell-6esdw8yj.js → app-6esdw8yj.js} +1 -1
- package/dist/chunks/{shell-784x34jv.js → app-6gcbxqy3.js} +14 -14
- package/dist/chunks/{shell-yzdtg5md.js → app-6jyensvk.js} +11 -11
- package/dist/chunks/{shell-dftfjzw5.js → app-6skzthee.js} +45 -45
- package/dist/chunks/{shell-9qfd9ctj.js → app-6wvd3f7f.js} +43 -43
- package/dist/chunks/{shell-31avdb49.js → app-704d1ccs.js} +8 -8
- package/dist/chunks/{shell-4jx7bqwq.js → app-74aceyyx.js} +12 -12
- package/dist/chunks/{shell-117why0g.js → app-7b3xb549.js} +16 -16
- package/dist/chunks/{shell-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-ygy6krf6.js → app-7mgk0w6k.js} +33 -33
- package/dist/chunks/{shell-0vryy1hg.js → app-7rgpc39j.js} +4 -4
- package/dist/chunks/{shell-ya0ebpe6.js → app-7tmb88t2.js} +16 -16
- package/dist/chunks/{shell-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-ter8ckgk.js → app-7zjq4229.js} +46 -46
- package/dist/chunks/{shell-8jrf95k0.js → app-82wwwf0v.js} +22 -22
- package/dist/chunks/{shell-t2z71z34.js → app-8ctydw00.js} +5 -5
- package/dist/chunks/{shell-qjgzc4b4.js → app-8jztxfpf.js} +4 -4
- package/dist/chunks/{shell-vc4tfmhw.js → app-8m9rkatr.js} +29 -29
- package/dist/chunks/{shell-qsee9sfb.js → app-8n9x2wf6.js} +3 -3
- package/dist/chunks/{shell-sts537v3.js → app-8njn90az.js} +5 -5
- package/dist/chunks/{shell-bc8d4apc.js → app-8vr744sr.js} +17 -17
- package/dist/chunks/{shell-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-90zstvax.js → app-90zstvax.js} +1 -1
- package/dist/chunks/{shell-e3d240b5.js → app-93kc9x3v.js} +34 -34
- package/dist/chunks/{shell-c26d8adj.js → app-93r13ete.js} +4 -4
- package/dist/chunks/{shell-39b50xdn.js → app-9ck2cvgd.js} +6 -6
- package/dist/chunks/{shell-eq4xjegx.js → app-9fkg6669.js} +25 -25
- package/dist/chunks/{shell-yrvatxy0.js → app-9hz2y3zt.js} +5 -5
- package/dist/chunks/{shell-vc4sk86e.js → app-9py9hrxf.js} +9 -9
- package/dist/chunks/{shell-bqwdyg2t.js → app-9r0x1bva.js} +2 -2
- package/dist/chunks/{shell-chmzr73b.js → app-9rc2701h.js} +22 -22
- package/dist/chunks/{shell-9sqzj7jg.js → app-9sqzj7jg.js} +2 -2
- package/dist/chunks/{shell-xx8a12fb.js → app-a1psyh0e.js} +54 -54
- package/dist/chunks/{shell-7e58bfad.js → app-a23dk102.js} +19 -19
- package/dist/chunks/{shell-t5jqs5j7.js → app-a5g15581.js} +2 -2
- package/dist/chunks/{shell-8ghpkh2b.js → app-ab9bg942.js} +7 -7
- package/dist/chunks/{shell-m0932hwt.js → app-ake2hqrg.js} +23 -23
- package/dist/chunks/{shell-yqh7p5wn.js → app-akkk1sdk.js} +21 -21
- package/dist/chunks/{shell-ayjs7tqn.js → app-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-x8hqx8dn.js → app-b3zct85d.js} +15 -15
- package/dist/chunks/{shell-5nnwax6m.js → app-b6vsg801.js} +5 -5
- package/dist/chunks/{shell-wr3re1en.js → app-b6z35kmf.js} +4 -4
- package/dist/chunks/{shell-9qavyryr.js → app-b7wk06bj.js} +15 -15
- package/dist/chunks/{shell-wj6zyh3r.js → app-bbr79q9y.js} +21 -21
- package/dist/chunks/{shell-me8fy6y3.js → app-bgt8033q.js} +22 -22
- package/dist/chunks/{shell-61ennm6n.js → app-bjhzkqyk.js} +4 -4
- package/dist/chunks/{shell-a5b1kfw3.js → app-bkbcgtea.js} +13 -13
- package/dist/chunks/{shell-bstexjd6.js → app-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-b07p3ys3.js → app-c1r1st4g.js} +9 -9
- package/dist/chunks/{shell-47p99bkc.js → app-c1vn5m0x.js} +5 -5
- package/dist/chunks/{shell-mtkfycnh.js → app-c9t2ty9q.js} +4 -4
- package/dist/chunks/{shell-46q6xmy6.js → app-cf803178.js} +44 -44
- package/dist/chunks/{shell-cwrgdav8.js → app-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-78ga7vnq.js → app-cx53cxfp.js} +44 -44
- package/dist/chunks/{shell-mcx8r17s.js → app-cz5kb1g3.js} +21 -21
- package/dist/chunks/{shell-8t8csh0d.js → app-d0fmer5r.js} +11 -11
- package/dist/chunks/{shell-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-b3mxrt5b.js → app-d5cb15dn.js} +3 -3
- package/dist/chunks/{shell-wze3726t.js → app-dmcgdv1e.js} +19 -19
- package/dist/chunks/{shell-dt77769w.js → app-dt77769w.js} +1 -1
- package/dist/chunks/{shell-em2zp6t2.js → app-e56je643.js} +21 -21
- package/dist/chunks/{shell-j78xp39n.js → app-e5eg64a5.js} +36 -36
- package/dist/chunks/{shell-8aaaanvb.js → app-e60gsjm8.js} +5 -5
- package/dist/chunks/{shell-e834z07m.js → app-e834z07m.js} +1 -1
- package/dist/chunks/{shell-4hgx5c06.js → app-e8tkz5dw.js} +9 -9
- package/dist/chunks/{shell-7m9azgke.js → app-ea33c2qg.js} +14 -14
- package/dist/chunks/{shell-08b3necq.js → app-egbbp34j.js} +316 -316
- package/dist/chunks/{shell-jkhrt0qh.js → app-etdr2v1n.js} +17 -17
- package/dist/chunks/{shell-bkcatkhe.js → app-ez2q85hn.js} +10 -10
- package/dist/chunks/{shell-xvme4r16.js → app-f6t2q3wp.js} +24 -24
- package/dist/chunks/{shell-g4y5gz37.js → app-f7ma11rg.js} +6 -6
- package/dist/chunks/{shell-6401x61d.js → app-fbpx3b1j.js} +6 -6
- package/dist/chunks/{shell-eztbr3va.js → app-fergjrqy.js} +45 -45
- package/dist/chunks/{shell-fffv3p7h.js → app-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-ezh5wcvr.js → app-fjrrbk94.js} +8 -8
- package/dist/chunks/{shell-fnsd8pja.js → app-g1nmrsk3.js} +4 -4
- package/dist/chunks/{shell-3me98kyh.js → app-g4dya9hf.js} +18 -18
- package/dist/chunks/{shell-7jxxb4xt.js → app-g643egj3.js} +27 -27
- package/dist/chunks/{shell-vmfhgzt5.js → app-g7esga4v.js} +5 -5
- package/dist/chunks/{shell-fhhqgzg1.js → app-g82he7b4.js} +4 -4
- package/dist/chunks/{shell-d77k1mxa.js → app-g9ndtp1p.js} +4 -4
- package/dist/chunks/{shell-gcjdgkn2.js → app-gcjdgkn2.js} +2 -2
- package/dist/chunks/{shell-gg8p9cgs.js → app-gg8p9cgs.js} +3 -3
- package/dist/chunks/{shell-pmp7dhvf.js → app-gtjpp1bw.js} +11 -11
- package/dist/chunks/{shell-s6pwsjdm.js → app-h0j4kxab.js} +4 -4
- package/dist/chunks/{shell-1y1zjdjp.js → app-h8dtgpmt.js} +30 -30
- package/dist/chunks/{shell-sfqj7d5v.js → app-ha4346mp.js} +17 -17
- package/dist/chunks/{shell-hdfrs5mg.js → app-hdfrs5mg.js} +2 -2
- package/dist/chunks/{shell-maw7rkdj.js → app-hev7bgb4.js} +1 -1
- package/dist/chunks/{shell-sjsa0xxp.js → app-hf2bt1yf.js} +11 -11
- package/dist/chunks/{shell-hpg1pkwy.js → app-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shell-jfdfpeeg.js → app-hxfttvn6.js} +18 -18
- package/dist/chunks/{shell-gzdbztqx.js → app-j2hdxfca.js} +7 -7
- package/dist/chunks/{shell-msp1dkg1.js → app-jarjxtv9.js} +10 -10
- package/dist/chunks/{shell-32ycv80d.js → app-jcfw09eb.js} +5 -5
- package/dist/chunks/{shell-jfaecv01.js → app-jfaecv01.js} +1 -1
- package/dist/chunks/{shell-x6hvwx4s.js → app-jtmc5z9s.js} +4 -4
- package/dist/chunks/{shell-jtnps1zs.js → app-jtnps1zs.js} +2 -2
- package/dist/chunks/{shell-cyav8ryr.js → app-jvng8k19.js} +27 -27
- package/dist/chunks/{shell-5wckmg8r.js → app-jyb2x45z.js} +27 -27
- package/dist/chunks/{shell-98maaxm0.js → app-k32rv71p.js} +176 -176
- package/dist/chunks/{shell-anbzqb0m.js → app-k4b19tjg.js} +22 -22
- package/dist/chunks/{shell-k3xx3egj.js → app-k5yr6s7c.js} +26 -26
- package/dist/chunks/{shell-k814nvkf.js → app-k814nvkf.js} +1 -1
- package/dist/chunks/{shell-y8dyt59y.js → app-k9theajj.js} +3 -3
- package/dist/chunks/{shell-jfmjz42h.js → app-k9zkdd2y.js} +9 -9
- package/dist/chunks/{shell-kmzgegqq.js → app-kmzgegqq.js} +1 -1
- package/dist/chunks/{shell-tgmjaqw5.js → app-kr871z6k.js} +62 -62
- package/dist/chunks/{shell-frmj6gvz.js → app-kszcj8bj.js} +8 -8
- package/dist/chunks/{shell-kt3bjfbg.js → app-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-f79nty4s.js → app-kzfxa4f3.js} +10 -10
- package/dist/chunks/{shell-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{shell-04ek7h9y.js → app-m41qe238.js} +21 -21
- package/dist/chunks/{shell-j4qx96r0.js → app-m5ke421k.js} +13 -13
- package/dist/chunks/{shell-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/app-n3r3rt18.js +18 -0
- package/dist/chunks/{shell-0rnawqs8.js → app-n50am6bm.js} +17 -17
- package/dist/chunks/{shell-a43zn68e.js → app-n5xgg07e.js} +32 -32
- package/dist/chunks/{shell-rgqe5ej8.js → app-n67wscdr.js} +29 -29
- package/dist/chunks/{shell-6y263vp8.js → app-n6v2b7cw.js} +5 -5
- package/dist/chunks/{shell-nah043kf.js → app-nah043kf.js} +1 -1
- package/dist/chunks/{shell-4tyq8y1q.js → app-ng55e7tz.js} +19 -19
- package/dist/chunks/{shell-9sb4zbwh.js → app-nhq4513k.js} +5 -5
- package/dist/chunks/{shell-hswehyeg.js → app-np7r7vht.js} +6 -6
- package/dist/chunks/{shell-j47j5mgf.js → app-nrqtba0r.js} +6 -6
- package/dist/chunks/{shell-665g4qxs.js → app-ntdydndm.js} +6 -6
- package/dist/chunks/{shell-x7ygks9b.js → app-nv63jqdq.js} +23 -23
- package/dist/chunks/{shell-p015t6z3.js → app-p015t6z3.js} +2 -2
- package/dist/chunks/{shell-cwntgy3b.js → app-p3enh426.js} +2 -2
- package/dist/chunks/{shell-pf5an99m.js → app-p6v0ch0k.js} +16 -16
- package/dist/chunks/{shell-s7xmnr8t.js → app-p745vxmt.js} +4 -4
- package/dist/chunks/{shell-1yq9hg58.js → app-p7vhpwh8.js} +5 -5
- package/dist/chunks/{shell-pkcxvk95.js → app-pbprwcf6.js} +11 -11
- package/dist/chunks/{shell-vyk3hhz8.js → app-pcqp6bgf.js} +14 -14
- package/dist/chunks/{shell-pwrd9m1k.js → app-pg22rdv8.js} +4 -4
- package/dist/chunks/{shell-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{shell-sekby2qt.js → app-pp3hsmtd.js} +18 -18
- package/dist/chunks/{shell-xnwcn394.js → app-pp4t1k5p.js} +4 -4
- package/dist/chunks/{shell-fg9p65nk.js → app-prq7xxp2.js} +6 -6
- package/dist/chunks/{shell-50cfs487.js → app-ptddvd2h.js} +25 -25
- package/dist/chunks/{shell-jr33ggp4.js → app-ptyqyypb.js} +9 -9
- package/dist/chunks/{shell-q63cb7ap.js → app-q63cb7ap.js} +3 -3
- package/dist/chunks/{shell-e6hdst2b.js → app-qh8rr487.js} +13 -13
- package/dist/chunks/{shell-qp7r0hxv.js → app-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-cpvd08na.js → app-qqg9c0kv.js} +4 -4
- package/dist/chunks/{shell-77s6ecga.js → app-qshvmas0.js} +8 -8
- package/dist/chunks/{shell-sqzgab9t.js → app-qvey4sm2.js} +64 -64
- package/dist/chunks/{shell-r0yr0wbs.js → app-r0yr0wbs.js} +1 -1
- package/dist/chunks/{shell-r542h3bh.js → app-r542h3bh.js} +1 -1
- package/dist/chunks/{shell-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-emq6awqh.js → app-rcbjwvze.js} +4 -4
- package/dist/chunks/{shell-2zafeey0.js → app-re7t88nn.js} +11 -11
- package/dist/chunks/{shell-7h8dsyqx.js → app-rfnyhrr9.js} +29 -29
- package/dist/chunks/{shell-4wnskdgw.js → app-rfrp6wb4.js} +18 -18
- package/dist/chunks/{shell-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-7h3tx6qb.js → app-rtmt0ker.js} +22 -22
- package/dist/chunks/{shell-v0t96s7a.js → app-s7kyse9r.js} +4 -4
- package/dist/chunks/{shell-sa3fpqfw.js → app-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shell-rqsc6n82.js → app-sbgaw1e4.js} +12 -12
- package/dist/chunks/{shell-px414y6d.js → app-sc8rteay.js} +7 -7
- package/dist/chunks/{shell-z34kcv4r.js → app-sjtbvs9h.js} +15 -15
- package/dist/chunks/{shell-7x1m1x8m.js → app-skghdyp9.js} +26 -26
- package/dist/chunks/{shell-sqjzf8x2.js → app-sqjzf8x2.js} +1 -1
- package/dist/chunks/{shell-wyn38t1n.js → app-srr6m1ec.js} +14 -14
- package/dist/chunks/{shell-kgfzpkjk.js → app-srvevd21.js} +6 -6
- package/dist/chunks/{shell-svcy3p9a.js → app-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-fyanp2px.js → app-sx0ham9j.js} +26 -26
- package/dist/chunks/{shell-nrbaxs48.js → app-t4shvcfr.js} +25 -25
- package/dist/chunks/{shell-r6mk3rd0.js → app-t7zke5ff.js} +7 -7
- package/dist/chunks/{shell-162cz2jq.js → app-ta9v9zr8.js} +23 -23
- package/dist/chunks/{shell-zq6xckqc.js → app-tcbq9mp3.js} +30 -30
- package/dist/chunks/{shell-h21gmg7t.js → app-tcwjgpz8.js} +18 -18
- package/dist/chunks/{shell-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-46y7bs25.js → app-tqn3p9pj.js} +10 -10
- package/dist/chunks/{shell-xxtgb6sa.js → app-tvdj5ey7.js} +22 -22
- package/dist/chunks/{shell-twssxy5n.js → app-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-ke8rev0c.js → app-v2g26xr4.js} +25 -25
- package/dist/chunks/{shell-v2r1d0zg.js → app-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-jckbhz5s.js → app-v4zhf7xj.js} +4 -4
- package/dist/chunks/{shell-anhkzmhg.js → app-v7nt063j.js} +16 -16
- package/dist/chunks/{shell-26x8chrq.js → app-vaq1yek0.js} +6 -6
- package/dist/chunks/{shell-89wmm6hc.js → app-vhpwchdg.js} +12 -12
- package/dist/chunks/{shell-dbw0hcg3.js → app-vkd40qe4.js} +4 -4
- package/dist/chunks/{shell-mpe6qr53.js → app-vq1ppevj.js} +8 -8
- package/dist/chunks/{shell-fqggg14e.js → app-vv0642pf.js} +12 -12
- package/dist/chunks/{shell-98tqkwke.js → app-w11ey1wa.js} +11 -11
- package/dist/chunks/{shell-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-rbb6zq01.js → app-w6ncc5qr.js} +20 -20
- package/dist/chunks/{shell-76cb1hcw.js → app-w8qtt4th.js} +4 -4
- package/dist/chunks/{shell-1r8mtbrn.js → app-w9hhvpm8.js} +45 -45
- package/dist/chunks/{shell-hvvf9qw8.js → app-wa8k00xj.js} +6 -6
- package/dist/chunks/{shell-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wnhgecwx.js → app-wnhgecwx.js} +1 -1
- package/dist/chunks/{shell-sj7n0b4y.js → app-wrtc07rs.js} +5 -5
- package/dist/chunks/{shell-xms0g0j8.js → app-wstnt05x.js} +10 -10
- package/dist/chunks/{shell-r4etkjb4.js → app-wvdezepv.js} +10 -10
- package/dist/chunks/{shell-6g0c3wkb.js → app-wyaqkzkb.js} +11 -11
- package/dist/chunks/{shell-3h1zggnh.js → app-x5zq306v.js} +14 -14
- package/dist/chunks/{shell-rs81f4k4.js → app-x6rhjf1k.js} +5 -5
- package/dist/chunks/{shell-6tcavvge.js → app-x7p9x0b3.js} +23 -23
- package/dist/chunks/{shell-269nwj75.js → app-xa6mtbaa.js} +21 -21
- package/dist/chunks/{shell-raw26vjr.js → app-xaz3vqte.js} +6 -6
- package/dist/chunks/{shell-y1xa8t1k.js → app-xenncx96.js} +11 -11
- package/dist/chunks/{shell-srxj8zvh.js → app-xj018m1c.js} +13 -13
- package/dist/chunks/{shell-j3atvk4p.js → app-xnzy99m9.js} +13 -13
- package/dist/chunks/{shell-0bzca2g5.js → app-xsjrgk20.js} +3 -3
- package/dist/chunks/{shell-yvf7qmnn.js → app-xw0s36x8.js} +5 -5
- package/dist/chunks/{shell-6jjnvdfj.js → app-xy7qnd38.js} +19 -19
- package/dist/chunks/{shell-yara3q77.js → app-yara3q77.js} +2 -2
- package/dist/chunks/{shell-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-rfk8s4cm.js → app-ydsh7nqv.js} +8 -8
- package/dist/chunks/{shell-m18v8hsy.js → app-yhjvxxnz.js} +9 -9
- package/dist/chunks/{shell-3any6fts.js → app-ym65bfmj.js} +16 -16
- package/dist/chunks/{shell-k1nxv3dt.js → app-ymz7p2c9.js} +3 -3
- package/dist/chunks/{shell-3vk87jbh.js → app-yt5g2b2x.js} +11 -11
- package/dist/chunks/{shell-hkm78mpc.js → app-yvktvmpy.js} +19 -19
- package/dist/chunks/{shell-z38nccrw.js → app-z38nccrw.js} +1 -1
- package/dist/chunks/{shell-0xebh2q0.js → app-z7hqcxr0.js} +38 -38
- package/dist/chunks/{shell-m0xc4m67.js → app-z842wknd.js} +12 -12
- package/dist/chunks/{shell-fq6gcjfj.js → app-za5w90np.js} +15 -15
- package/dist/chunks/{shell-8yhc7zrg.js → app-zh7bbm8x.js} +9 -9
- package/dist/chunks/{shell-x15qb8kb.js → app-zkcytb3h.js} +17 -17
- package/dist/chunks/{shell-4cqhw4ty.js → app-zx8we4fz.js} +9 -9
- package/dist/chunks/{shell-e1075q1h.js → app-zz5wm9x4.js} +13 -13
- package/dist/chunks/{shell-51czaex0.js → app-zz7z36z7.js} +29 -29
- package/dist/chunks/{shell-vctgxjx6.js → app-zzgj63p1.js} +32 -32
- package/dist/chunks/{shell-br25aqqg.js → app-zznqf8tz.js} +5 -5
- 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 +89 -89
- package/dist/config/discovery.js +92 -92
- 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 +217 -217
- 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 +89 -89
- 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 +101 -101
- 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 +232 -232
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +109 -109
- 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 +107 -107
- 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 +2 -2
- 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 +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +160 -160
- 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 +115 -115
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- 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 +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- 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 +145 -145
- 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 +1 -1
- 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 +130 -130
- 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 +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +8 -8
- package/dist/plugin.js +234 -234
- 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 +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- 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 +162 -162
- package/dist/session/context.js +184 -184
- 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 +222 -222
- 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 +140 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- 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 +5 -5
- 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 +129 -129
- 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 +3 -3
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +137 -137
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +95 -95
- 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 +161 -161
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +154 -154
- 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 +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +145 -145
- package/dist/tool/plugin/websearch.js +141 -141
- package/dist/tool/plugin/write.js +154 -154
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +93 -93
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- 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 +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- 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 +104 -104
- package/package.json +8 -8
- package/dist/chunks/shell-2dkjcnxp.js +0 -18
- /package/dist/chunks/{shell-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1jakw16s.js → app-1jakw16s.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4m86bj6y.js → app-4m86bj6y.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → app-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a058387c.js → app-a058387c.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → app-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → app-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → app-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → app-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → app-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-ncqqe42p.js → app-ncqqe42p.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → app-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service59
|
|
4
|
+
} from "./app-w9hhvpm8.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./app-z7hqcxr0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
Output: () => Output8,
|
|
21
|
+
Plugin: () => Plugin29,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name12,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name12 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input12 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output8 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin29 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service59;
|
|
68
|
+
const permission = yield* Service55;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name12,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin44 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name12, Info2, Input12, Output8, summarize2, Plugin29, exports_todo };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-xsjrgk20.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-gg8p9cgs.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service25,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service25 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service25.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node28 = makeGlobalNode({ service: Service25, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node28, exports_instruction_entry };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service23,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service23 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service23, awaitActivation2, exports_service };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-vkd40qe4.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-bjhzkqyk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./app-3j3pngsv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./app-zz7z36z7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service72
|
|
16
|
+
} from "./app-jvng8k19.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./app-ta9v9zr8.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service72;
|
|
30
30
|
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-wstnt05x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-vkd40qe4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event17
|
|
11
|
+
} from "./app-3j3pngsv.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-zz7z36z7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID12
|
|
22
|
+
} from "./app-jvng8k19.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service59
|
|
25
|
+
} from "./app-w9hhvpm8.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Remote2,
|
|
28
28
|
Document2,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
make11
|
|
30
|
+
} from "./app-k9zkdd2y.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-sjtbvs9h.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID10,
|
|
41
41
|
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-x7p9x0b3.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID13.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service85;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service59;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,13 +195,13 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID13.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID13.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
203
|
-
integrationID:
|
|
204
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
202
|
+
yield* integrate(next.remote && next.connection && make11({
|
|
203
|
+
integrationID: ID13.make("opencode"),
|
|
204
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID14.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
207
207
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID12.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID12.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID10.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID12.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(
|
|
331
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|
|
@@ -350,7 +350,7 @@ function fetchConfig(http, value) {
|
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
352
|
const body = yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap((ok) => ok.json));
|
|
353
|
-
return yield* Schema.decodeUnknownEffect(
|
|
353
|
+
return yield* Schema.decodeUnknownEffect(Remote2)(body);
|
|
354
354
|
})), Effect.scoped);
|
|
355
355
|
}
|
|
356
356
|
function ssoUrl(server, connectionID) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-vkd40qe4.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-tvdj5ey7.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured3,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
node: () => node22
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -34,25 +34,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service19 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service85;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service19.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
261
|
+
var layer12 = makeLayer();
|
|
262
|
+
var configured3 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service19,
|
|
264
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
265
265
|
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node22 = configured3();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options3, UnavailableError4, NotFoundError2, Service19, layer12, configured3, node22, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info14 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info16 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info14, exports_provider2 };
|