@opencode/core 0.0.0-dev-150 → 0.0.0-dev-153
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{file-mutation-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{file-mutation-wrnggakg.js → shell-04ek7h9y.js} +21 -21
- package/dist/chunks/shell-08b3necq.js +511 -0
- package/dist/chunks/{file-mutation-pwqzey69.js → shell-0bzca2g5.js} +11 -11
- package/dist/chunks/{file-mutation-bwj0e09a.js → shell-0rnawqs8.js} +12 -12
- package/dist/chunks/{file-mutation-qcmchz52.js → shell-0vryy1hg.js} +4 -4
- package/dist/chunks/{file-mutation-y9f9p42a.js → shell-0xebh2q0.js} +50 -50
- package/dist/chunks/{file-mutation-y369bsvk.js → shell-117why0g.js} +22 -22
- package/dist/chunks/{file-mutation-n0dfvze1.js → shell-162cz2jq.js} +3 -3
- package/dist/chunks/{file-mutation-5cwfc2ka.js → shell-1atk681z.js} +13 -13
- package/dist/chunks/{file-mutation-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-mutation-3mth2z3s.js → shell-1k9brye2.js} +14 -14
- package/dist/chunks/{file-mutation-84q6t6ac.js → shell-1r8mtbrn.js} +43 -43
- package/dist/chunks/{file-mutation-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-mutation-yj2b5f3h.js → shell-1y1zjdjp.js} +32 -44
- package/dist/chunks/{file-mutation-1yq9hg58.js → shell-1yq9hg58.js} +1 -1
- package/dist/chunks/{file-mutation-204s3925.js → shell-204s3925.js} +1 -1
- package/dist/chunks/{file-mutation-n7bhcchc.js → shell-269nwj75.js} +20 -20
- package/dist/chunks/{file-mutation-26x8chrq.js → shell-26x8chrq.js} +3 -3
- package/dist/chunks/{file-mutation-66vehr1c.js → shell-2a1sbzpd.js} +6 -6
- package/dist/chunks/shell-2dkjcnxp.js +18 -0
- package/dist/chunks/{file-mutation-89rmqxc6.js → shell-2zafeey0.js} +11 -11
- package/dist/chunks/{file-mutation-31avdb49.js → shell-31avdb49.js} +3 -3
- package/dist/chunks/{file-mutation-f6egh6v0.js → shell-32ycv80d.js} +3 -3
- package/dist/chunks/{file-mutation-e6197nkp.js → shell-39b50xdn.js} +6 -6
- package/dist/chunks/{file-mutation-b9tvtgtk.js → shell-3any6fts.js} +16 -16
- package/dist/chunks/{file-mutation-yggcq3r2.js → shell-3h1zggnh.js} +18 -18
- package/dist/chunks/{file-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-q9z0p7gh.js → shell-3me98kyh.js} +16 -16
- package/dist/chunks/{file-mutation-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-mutation-dbj4j4p0.js → shell-3vk87jbh.js} +11 -11
- package/dist/chunks/{file-mutation-r41sfy63.js → shell-40za9wsf.js} +6 -6
- package/dist/chunks/{file-mutation-xav8p412.js → shell-46q6xmy6.js} +46 -46
- package/dist/chunks/{file-mutation-qqve4v8g.js → shell-46y7bs25.js} +8 -8
- package/dist/chunks/{file-mutation-sqc0p8sq.js → shell-47p99bkc.js} +15 -15
- package/dist/chunks/{file-mutation-gawyv5h6.js → shell-4cqhw4ty.js} +26 -26
- package/dist/chunks/{file-mutation-6cn2mxvv.js → shell-4hgx5c06.js} +9 -9
- package/dist/chunks/{file-mutation-v7sj5brm.js → shell-4jx7bqwq.js} +9 -9
- package/dist/chunks/{file-mutation-2em4q09y.js → shell-4k62cac0.js} +7 -7
- package/dist/chunks/{file-mutation-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-mutation-8bmfs902.js → shell-4tyq8y1q.js} +25 -25
- package/dist/chunks/{file-mutation-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{file-mutation-h4n5s0gm.js → shell-4wnskdgw.js} +19 -19
- package/dist/chunks/{file-mutation-nwbbxj2q.js → shell-50cfs487.js} +17 -17
- package/dist/chunks/{file-mutation-t07kmxgp.js → shell-51czaex0.js} +24 -24
- package/dist/chunks/{file-mutation-dvrysxe9.js → shell-5jnzytm1.js} +23 -23
- package/dist/chunks/{file-mutation-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-b6vsg801.js → shell-5nnwax6m.js} +5 -5
- package/dist/chunks/{file-mutation-cpsrm9kz.js → shell-5wckmg8r.js} +32 -32
- package/dist/chunks/{file-mutation-61ennm6n.js → shell-61ennm6n.js} +1 -1
- package/dist/chunks/{file-mutation-mgxf3nw1.js → shell-6401x61d.js} +8 -8
- package/dist/chunks/{file-mutation-zzj2xcr4.js → shell-665g4qxs.js} +6 -6
- package/dist/chunks/{file-mutation-6esdw8yj.js → shell-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-mutation-rz6zznan.js → shell-6g0c3wkb.js} +11 -11
- package/dist/chunks/{file-mutation-8441pj9h.js → shell-6jjnvdfj.js} +30 -30
- package/dist/chunks/{file-mutation-mbv7k5zt.js → shell-6tcavvge.js} +24 -24
- package/dist/chunks/{file-mutation-6xqtcmxs.js → shell-6y263vp8.js} +5 -5
- package/dist/chunks/{file-mutation-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-mutation-n1650mfh.js → shell-77s6ecga.js} +5 -5
- package/dist/chunks/{file-mutation-tvhsqegv.js → shell-784x34jv.js} +11 -11
- package/dist/chunks/{file-mutation-44s5ds88.js → shell-78ga7vnq.js} +46 -46
- package/dist/chunks/{file-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-jb168mmq.js → shell-7e58bfad.js} +25 -25
- package/dist/chunks/{file-mutation-0qaf62d8.js → shell-7h3tx6qb.js} +3 -3
- package/dist/chunks/{file-mutation-488y184h.js → shell-7h8dsyqx.js} +15 -15
- package/dist/chunks/{file-mutation-02jpp536.js → shell-7jxxb4xt.js} +33 -33
- package/dist/chunks/{file-mutation-zdvvded9.js → shell-7m9azgke.js} +22 -22
- package/dist/chunks/{file-mutation-ct7725a2.js → shell-7s9zy64f.js} +11 -11
- package/dist/chunks/{file-mutation-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-mutation-jzk4jfxk.js → shell-7x1m1x8m.js} +32 -32
- package/dist/chunks/{file-mutation-m05gm3xd.js → shell-89wmm6hc.js} +12 -12
- package/dist/chunks/{file-mutation-1t3qy2r0.js → shell-8aaaanvb.js} +5 -5
- package/dist/chunks/{file-mutation-tfnfgxqy.js → shell-8ghpkh2b.js} +7 -7
- package/dist/chunks/{file-mutation-gam5pswh.js → shell-8jrf95k0.js} +32 -32
- package/dist/chunks/{file-mutation-g5vc4awh.js → shell-8k18663a.js} +8 -8
- package/dist/chunks/{file-mutation-zy3tpbx7.js → shell-8q36sknh.js} +17 -17
- package/dist/chunks/{file-mutation-sykc9y4a.js → shell-8ryk0bb9.js} +5 -5
- package/dist/chunks/{file-mutation-f6a72pnd.js → shell-8t8csh0d.js} +11 -11
- package/dist/chunks/{file-mutation-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-mutation-9z9tayqc.js → shell-8yhc7zrg.js} +9 -9
- package/dist/chunks/{file-mutation-90zstvax.js → shell-90zstvax.js} +1 -1
- package/dist/chunks/{file-mutation-hzw8faeh.js → shell-96qm6qre.js} +5 -5
- package/dist/chunks/{file-mutation-pxbzzzzm.js → shell-98maaxm0.js} +149 -149
- package/dist/chunks/{file-mutation-bgtvwfds.js → shell-98tqkwke.js} +11 -11
- package/dist/chunks/{file-mutation-291261ha.js → shell-9er8jkga.js} +20 -20
- package/dist/chunks/{file-mutation-55mnpje1.js → shell-9qavyryr.js} +15 -15
- package/dist/chunks/{file-mutation-w6c5q4g8.js → shell-9qfd9ctj.js} +51 -51
- package/dist/chunks/{file-mutation-1ck73ww0.js → shell-9rp5n8cg.js} +14 -14
- package/dist/chunks/{file-mutation-d53xcg4f.js → shell-9sb4zbwh.js} +10 -10
- package/dist/chunks/{file-mutation-4ddsgm24.js → shell-9sqzj7jg.js} +9 -9
- package/dist/chunks/{file-mutation-2ndq7hcx.js → shell-a43zn68e.js} +25 -25
- package/dist/chunks/{file-mutation-ajdh0zra.js → shell-a5b1kfw3.js} +16 -16
- package/dist/chunks/{file-mutation-tpx6dfdg.js → shell-af2rs3qt.js} +7 -7
- package/dist/chunks/{file-mutation-ga5dber3.js → shell-amxh6r7z.js} +13 -13
- package/dist/chunks/{file-mutation-kj99f3y3.js → shell-anbzqb0m.js} +25 -25
- package/dist/chunks/{file-mutation-vhc9amj9.js → shell-anhkzmhg.js} +15 -15
- package/dist/chunks/{file-mutation-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-mutation-zrm686mt.js → shell-b07p3ys3.js} +6 -6
- package/dist/chunks/{file-mutation-rr4kc3kv.js → shell-b3mxrt5b.js} +3 -3
- package/dist/chunks/{file-mutation-x46ssyqq.js → shell-bc8d4apc.js} +15 -15
- package/dist/chunks/{file-mutation-fvsxqh4k.js → shell-bkcatkhe.js} +13 -13
- package/dist/chunks/{file-mutation-wrd39zd3.js → shell-bqwdyg2t.js} +9 -9
- package/dist/chunks/{file-mutation-sawge6zb.js → shell-br25aqqg.js} +1 -1
- package/dist/chunks/{file-mutation-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{file-mutation-92smj43y.js → shell-c26d8adj.js} +2 -2
- package/dist/chunks/{file-mutation-xjxwv06c.js → shell-cf7530z0.js} +33 -33
- package/dist/chunks/{file-mutation-hcs64hj8.js → shell-cff7ambb.js} +31 -31
- package/dist/chunks/{file-mutation-fnjr23v9.js → shell-chmzr73b.js} +25 -25
- package/dist/chunks/{file-mutation-3ryz99p0.js → shell-cpvd08na.js} +4 -4
- package/dist/chunks/{file-mutation-ehpmpmqy.js → shell-cwntgy3b.js} +2 -2
- package/dist/chunks/{file-mutation-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-mutation-ch0v3cp9.js → shell-cyav8ryr.js} +22 -22
- package/dist/chunks/{file-mutation-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-mutation-d8p3t516.js → shell-d77k1mxa.js} +4 -4
- package/dist/chunks/{file-mutation-rkkrzzbq.js → shell-dbw0hcg3.js} +16 -16
- package/dist/chunks/{file-mutation-qwc0pngt.js → shell-dftfjzw5.js} +28 -28
- package/dist/chunks/{file-mutation-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{file-mutation-gxk9nqgj.js → shell-e1075q1h.js} +15 -15
- package/dist/chunks/{file-mutation-0yy582wq.js → shell-e3a69e85.js} +11 -11
- package/dist/chunks/{file-mutation-v5mw2t49.js → shell-e3d240b5.js} +36 -36
- package/dist/chunks/{file-mutation-zzwc8gnd.js → shell-e6hdst2b.js} +22 -22
- package/dist/chunks/{file-mutation-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{file-mutation-pr24arth.js → shell-em2zp6t2.js} +16 -16
- package/dist/chunks/{file-mutation-c5kjsz6q.js → shell-emq6awqh.js} +4 -4
- package/dist/chunks/{file-mutation-hte3z5j4.js → shell-ep0dae8k.js} +5 -5
- package/dist/chunks/{file-mutation-s9ynkngn.js → shell-eq4xjegx.js} +28 -28
- package/dist/chunks/{file-mutation-7rw1vw5b.js → shell-ezh5wcvr.js} +8 -8
- package/dist/chunks/{file-mutation-bb9y3cr3.js → shell-eztbr3va.js} +22 -22
- package/dist/chunks/{file-mutation-g59pth55.js → shell-f79nty4s.js} +10 -10
- package/dist/chunks/{file-mutation-vp8n94ta.js → shell-ff5993x1.js} +27 -27
- package/dist/chunks/{file-mutation-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-mutation-stj6qkja.js → shell-fg62papv.js} +30 -30
- package/dist/chunks/{file-mutation-v1bqj1yq.js → shell-fg9cer97.js} +6 -6
- package/dist/chunks/{file-mutation-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{file-mutation-vrg9pvbr.js → shell-fhhqgzg1.js} +4 -4
- package/dist/chunks/{file-mutation-7szmtnr1.js → shell-fnsd8pja.js} +4 -4
- package/dist/chunks/{file-mutation-a5hkphf1.js → shell-fq6gcjfj.js} +15 -15
- package/dist/chunks/{file-mutation-2r5550sa.js → shell-fqggg14e.js} +18 -18
- package/dist/chunks/{file-mutation-kx9nywdq.js → shell-frmj6gvz.js} +8 -8
- package/dist/chunks/{file-mutation-xktxpnft.js → shell-fyanp2px.js} +29 -29
- package/dist/chunks/{file-mutation-7hb0ye5y.js → shell-g4y5gz37.js} +6 -6
- package/dist/chunks/{file-mutation-jcqm84fr.js → shell-gcjdgkn2.js} +9 -9
- package/dist/chunks/{file-mutation-gg8p9cgs.js → shell-gg8p9cgs.js} +3 -3
- package/dist/chunks/{file-mutation-8dzwfsfj.js → shell-gyd37gqd.js} +7 -7
- package/dist/chunks/{file-mutation-y457bc3h.js → shell-gzdbztqx.js} +9 -9
- package/dist/chunks/{file-mutation-9bc1thgt.js → shell-h0ppebc3.js} +8 -8
- package/dist/chunks/{file-mutation-t30gga41.js → shell-h21gmg7t.js} +15 -15
- package/dist/chunks/{file-mutation-hdfrs5mg.js → shell-hdfrs5mg.js} +2 -2
- package/dist/chunks/{file-mutation-2xzxwh9n.js → shell-hk4zn3tm.js} +39 -39
- package/dist/chunks/{file-mutation-6vdm78sx.js → shell-hkm78mpc.js} +14 -14
- package/dist/chunks/{file-mutation-hpg1pkwy.js → shell-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-mutation-hqxkkta1.js → shell-hqxkkta1.js} +1 -1
- package/dist/chunks/{file-mutation-04mewp1n.js → shell-hswehyeg.js} +6 -6
- package/dist/chunks/{file-mutation-hvvf9qw8.js → shell-hvvf9qw8.js} +1 -1
- package/dist/chunks/{file-mutation-hmfc8wjy.js → shell-j1qkt8n9.js} +20 -20
- package/dist/chunks/{file-mutation-knsnfpmh.js → shell-j3atvk4p.js} +10 -10
- package/dist/chunks/{file-mutation-615ze5mc.js → shell-j47j5mgf.js} +13 -13
- package/dist/chunks/{file-mutation-jft4dbeh.js → shell-j4qx96r0.js} +18 -18
- package/dist/chunks/{file-mutation-wrj223sh.js → shell-j78xp39n.js} +18 -18
- package/dist/chunks/{file-mutation-jrc6mwxy.js → shell-jckbhz5s.js} +9 -9
- package/dist/chunks/{file-mutation-q110nakk.js → shell-jet1weyh.js} +38 -38
- package/dist/chunks/{file-mutation-jfaecv01.js → shell-jfaecv01.js} +1 -1
- package/dist/chunks/{file-mutation-psj7p3gy.js → shell-jfdfpeeg.js} +12 -12
- package/dist/chunks/{file-mutation-w307e9wj.js → shell-jfmjz42h.js} +9 -9
- package/dist/chunks/{file-mutation-22g4mmnz.js → shell-jkhrt0qh.js} +17 -17
- package/dist/chunks/{file-mutation-0wy96kee.js → shell-jr33ggp4.js} +9 -9
- package/dist/chunks/{file-mutation-jtnps1zs.js → shell-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-mutation-0f8tg23y.js → shell-k1nxv3dt.js} +3 -3
- package/dist/chunks/{file-mutation-q3w50k8c.js → shell-k3xx3egj.js} +28 -28
- package/dist/chunks/{file-mutation-kb4zeprx.js → shell-k4m195bg.js} +27 -27
- package/dist/chunks/{file-mutation-k814nvkf.js → shell-k814nvkf.js} +1 -1
- package/dist/chunks/{file-mutation-0qs8yesb.js → shell-kckw12eh.js} +27 -27
- package/dist/chunks/{file-mutation-cff47hc0.js → shell-ke8rev0c.js} +27 -27
- package/dist/chunks/{file-mutation-qy453c32.js → shell-kgfzpkjk.js} +6 -6
- package/dist/chunks/{file-mutation-tg1vr1qt.js → shell-kmzgegqq.js} +8 -8
- package/dist/chunks/{file-mutation-vjsahgsx.js → shell-ksrpc66y.js} +19 -19
- package/dist/chunks/{file-mutation-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-mutation-faazj2st.js → shell-m0932hwt.js} +32 -32
- package/dist/chunks/{file-mutation-4db922nk.js → shell-m0xc4m67.js} +14 -14
- package/dist/chunks/{file-mutation-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{file-mutation-a9gs869n.js → shell-m18v8hsy.js} +12 -12
- package/dist/chunks/{file-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-8wpev9de.js → shell-maw7rkdj.js} +1 -1
- package/dist/chunks/{file-mutation-6fjxz4z4.js → shell-mb5r60m7.js} +82 -82
- package/dist/chunks/{file-mutation-s3zszyzt.js → shell-mcx8r17s.js} +24 -24
- package/dist/chunks/{file-mutation-we7rx8f6.js → shell-me8fy6y3.js} +15 -15
- package/dist/chunks/{file-mutation-jc512s3p.js → shell-mpe6qr53.js} +8 -8
- package/dist/chunks/{file-mutation-g9kk5sfb.js → shell-msp1dkg1.js} +10 -10
- package/dist/chunks/{file-mutation-c9t2ty9q.js → shell-mtkfycnh.js} +4 -4
- package/dist/chunks/{file-mutation-wy6d4nzf.js → shell-mxdjbcy9.js} +3 -3
- package/dist/chunks/{file-mutation-770pw0s1.js → shell-nah043kf.js} +4 -4
- package/dist/chunks/{file-mutation-jw74caa4.js → shell-nrbaxs48.js} +38 -38
- package/dist/chunks/{file-mutation-p015t6z3.js → shell-p015t6z3.js} +2 -2
- package/dist/chunks/{file-mutation-6xks9hqy.js → shell-pf5an99m.js} +16 -16
- package/dist/chunks/{file-mutation-ccbxgw01.js → shell-pkcxvk95.js} +6 -6
- package/dist/chunks/{file-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-q2w99wmr.js → shell-pmp7dhvf.js} +11 -11
- package/dist/chunks/{file-mutation-b23hpydp.js → shell-pwrd9m1k.js} +2 -2
- package/dist/chunks/{file-mutation-m5z3tkyc.js → shell-px414y6d.js} +7 -7
- package/dist/chunks/{file-mutation-2cywgpj2.js → shell-q178967a.js} +10 -10
- package/dist/chunks/{file-mutation-q63cb7ap.js → shell-q63cb7ap.js} +3 -3
- package/dist/chunks/{file-mutation-9xzhsdnm.js → shell-q9fk8jkx.js} +9 -9
- package/dist/chunks/{file-mutation-8jztxfpf.js → shell-qjgzc4b4.js} +4 -4
- package/dist/chunks/{file-mutation-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-mutation-gtn9c16a.js → shell-qqpbcr2p.js} +4 -4
- package/dist/chunks/{file-mutation-zb5gs1ba.js → shell-qsee9sfb.js} +3 -3
- package/dist/chunks/{file-mutation-kp1vg9ss.js → shell-qvv8erx6.js} +2 -2
- package/dist/chunks/{file-mutation-r0yr0wbs.js → shell-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-mutation-nwe4qtzq.js → shell-r4etkjb4.js} +12 -12
- package/dist/chunks/{file-mutation-r542h3bh.js → shell-r542h3bh.js} +1 -1
- package/dist/chunks/{file-mutation-rc5cfkkt.js → shell-r6mk3rd0.js} +9 -9
- package/dist/chunks/{file-mutation-ez4nhay2.js → shell-raw26vjr.js} +6 -6
- package/dist/chunks/{file-mutation-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-mutation-avfx08wj.js → shell-rbb6zq01.js} +16 -16
- package/dist/chunks/{file-mutation-0tgj0enh.js → shell-rfk8s4cm.js} +6 -6
- package/dist/chunks/{file-mutation-n6wkrbw6.js → shell-rgqe5ej8.js} +26 -26
- package/dist/chunks/shell-rq62mxtf.js +257 -0
- package/dist/chunks/{file-mutation-vyeahs8y.js → shell-rqsc6n82.js} +18 -18
- package/dist/chunks/{file-mutation-n5rt61vk.js → shell-rs81f4k4.js} +2 -2
- package/dist/chunks/{file-mutation-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-mutation-9zc50dp0.js → shell-s6pwsjdm.js} +1 -1
- package/dist/chunks/{file-mutation-36qx82yz.js → shell-s7xmnr8t.js} +6 -6
- package/dist/chunks/{file-mutation-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-mutation-09bv4atg.js → shell-scmk72rv.js} +7 -7
- package/dist/chunks/{file-mutation-k6j7z2k4.js → shell-sekby2qt.js} +12 -12
- package/dist/chunks/{file-mutation-aycr4par.js → shell-sf2d3txg.js} +45 -45
- package/dist/chunks/{file-mutation-p0q2ne2s.js → shell-sfqj7d5v.js} +15 -15
- package/dist/chunks/{file-mutation-34asacga.js → shell-shj34wgv.js} +13 -13
- package/dist/chunks/{file-mutation-m91kzycp.js → shell-sj7n0b4y.js} +12 -12
- package/dist/chunks/{file-mutation-42d0kh11.js → shell-sjsa0xxp.js} +11 -11
- package/dist/chunks/{file-mutation-x9xdyhyz.js → shell-skyj9te4.js} +20 -20
- package/dist/chunks/{file-mutation-sqjzf8x2.js → shell-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-mutation-tazdrhsb.js → shell-sqzgab9t.js} +87 -87
- package/dist/chunks/shell-srxj8zvh.js +26 -0
- package/dist/chunks/{file-mutation-5hbegf98.js → shell-sts537v3.js} +3 -3
- package/dist/chunks/{file-mutation-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-mutation-nf3nsvxh.js → shell-t1xktr6n.js} +4 -4
- package/dist/chunks/{file-mutation-3n5jkvcw.js → shell-t2z71z34.js} +5 -5
- package/dist/chunks/{file-mutation-0w2jttgf.js → shell-t5jqs5j7.js} +2 -2
- package/dist/chunks/{file-mutation-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-mutation-phzz8nf6.js → shell-ter8ckgk.js} +56 -56
- package/dist/chunks/{file-mutation-vye0b1vt.js → shell-tgmjaqw5.js} +73 -73
- package/dist/chunks/{file-mutation-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{file-mutation-v0t96s7a.js → shell-v0t96s7a.js} +1 -1
- package/dist/chunks/{file-mutation-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-mutation-qv4vz01m.js → shell-vc4sk86e.js} +11 -11
- package/dist/chunks/{file-mutation-57cc6ds0.js → shell-vc4tfmhw.js} +21 -21
- package/dist/chunks/{file-mutation-y04qvqhx.js → shell-vctgxjx6.js} +37 -37
- package/dist/chunks/{file-mutation-vmfhgzt5.js → shell-vmfhgzt5.js} +1 -1
- package/dist/chunks/{file-mutation-cgfk4g4x.js → shell-vyk3hhz8.js} +14 -14
- package/dist/chunks/{file-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-w7gfejrx.js → shell-wj6zyh3r.js} +15 -15
- package/dist/chunks/{file-mutation-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-mutation-b6z35kmf.js → shell-wr3re1en.js} +4 -4
- package/dist/chunks/{file-mutation-erzzkc7h.js → shell-wtjv999x.js} +30 -30
- package/dist/chunks/{file-mutation-br0jzkw0.js → shell-wyn38t1n.js} +18 -18
- package/dist/chunks/{file-mutation-f5q6vy05.js → shell-wze3726t.js} +20 -20
- package/dist/chunks/{file-mutation-36cfnhgq.js → shell-x15qb8kb.js} +32 -32
- package/dist/chunks/{file-mutation-eyck5g6r.js → shell-x6hvwx4s.js} +4 -4
- package/dist/chunks/{file-mutation-ynkzga2v.js → shell-x7ygks9b.js} +33 -33
- package/dist/chunks/{file-mutation-xj5ejtth.js → shell-x8hqx8dn.js} +11 -11
- package/dist/chunks/{file-mutation-jpfg3bv3.js → shell-xms0g0j8.js} +11 -11
- package/dist/chunks/{file-mutation-2s3pxq91.js → shell-xnwcn394.js} +4 -4
- package/dist/chunks/{file-mutation-4cr9j35r.js → shell-xq08wx7b.js} +21 -21
- package/dist/chunks/{file-mutation-p4gp7n98.js → shell-xs7y4ztn.js} +34 -34
- package/dist/chunks/{file-mutation-cqqjw5e0.js → shell-xvme4r16.js} +19 -19
- package/dist/chunks/{file-mutation-1sfajnh7.js → shell-xx8a12fb.js} +54 -54
- package/dist/chunks/{file-mutation-nkfn7phj.js → shell-xxtgb6sa.js} +17 -17
- package/dist/chunks/{file-mutation-a72t788c.js → shell-y1xa8t1k.js} +18 -18
- package/dist/chunks/{file-mutation-xphx33pk.js → shell-y8dyt59y.js} +1 -1
- package/dist/chunks/{file-mutation-a6sanqb6.js → shell-ya0ebpe6.js} +18 -18
- package/dist/chunks/{file-mutation-yara3q77.js → shell-yara3q77.js} +2 -2
- package/dist/chunks/{file-mutation-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-mutation-3phywp6k.js → shell-yekwrh4t.js} +17 -17
- package/dist/chunks/{file-mutation-z64rkn65.js → shell-ygy6krf6.js} +35 -35
- package/dist/chunks/{file-mutation-d65zxn08.js → shell-yqh7p5wn.js} +20 -20
- package/dist/chunks/{file-mutation-1zx0pxwe.js → shell-yrvatxy0.js} +5 -5
- package/dist/chunks/{file-mutation-h8ktp5nz.js → shell-ysbx8q5e.js} +24 -24
- package/dist/chunks/{file-mutation-rcxfmvg3.js → shell-yvf7qmnn.js} +5 -5
- package/dist/chunks/{file-mutation-0m350p2y.js → shell-yzdtg5md.js} +15 -15
- package/dist/chunks/{file-mutation-2qcan4gv.js → shell-z34kcv4r.js} +15 -15
- package/dist/chunks/{file-mutation-z38nccrw.js → shell-z38nccrw.js} +1 -1
- package/dist/chunks/{file-mutation-syrgmen4.js → shell-zq6xckqc.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +121 -121
- 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 +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +120 -120
- 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 +122 -122
- 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 +76 -76
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -375
- 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 +80 -80
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +107 -107
- package/dist/git.js +11 -11
- 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 +1 -1
- package/dist/instance.js +364 -368
- package/dist/instruction-discovery.js +90 -90
- 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 +89 -89
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -369
- package/dist/location.js +93 -93
- 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 +166 -166
- 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 +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 +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- 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 +128 -128
- 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 +123 -123
- 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 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +232 -232
- 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 +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +94 -94
- 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 +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 +162 -162
- 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 +154 -154
- 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 +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- 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 +138 -138
- 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 +149 -149
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +158 -158
- 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 +16 -16
- package/dist/usage-limits.js +91 -91
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +86 -86
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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 +104 -104
- package/package.json +9 -12
- package/dist/chunks/file-mutation-301cc765.js +0 -511
- package/dist/chunks/file-mutation-6h2wa517.js +0 -257
- package/dist/chunks/file-mutation-bv5h9gn1.js +0 -32
- package/dist/chunks/file-mutation-n3r3rt18.js +0 -18
- package/dist/chunks/file-mutation-veqvce7d.js +0 -15
- package/dist/chunks/file-mutation-wm0kh7y8.js +0 -26
- package/dist/chunks/file-mutation-ym463w8f.js +0 -17
- package/dist/chunks/file-mutation-z0bkrqjs.js +0 -15
- package/dist/plugin/provider/cohere.js +0 -7
- package/dist/plugin/provider/factory.js +0 -6
- package/dist/plugin/provider/perplexity.js +0 -7
- package/dist/plugin/provider/vercel.js +0 -103
- package/dist/types/plugin/provider/cohere.d.ts +0 -1
- package/dist/types/plugin/provider/factory.d.ts +0 -6
- package/dist/types/plugin/provider/perplexity.d.ts +0 -1
- package/dist/types/plugin/provider/vercel.d.ts +0 -1
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1jakw16s.js → shell-1jakw16s.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4m86bj6y.js → shell-4m86bj6y.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a058387c.js → shell-a058387c.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-mutation-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-ncqqe42p.js → shell-ncqqe42p.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./shell-0bzca2g5.js";
|
|
1
5
|
import {
|
|
2
6
|
Service85,
|
|
3
7
|
node89
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service84,
|
|
7
|
-
node88
|
|
8
|
-
} from "./file-mutation-rkkrzzbq.js";
|
|
8
|
+
} from "./shell-dbw0hcg3.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID16,
|
|
26
|
+
Info: () => Info27,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service81,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node85
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID16 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event19 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID16,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service81 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const db = (yield*
|
|
59
|
-
const bus = yield*
|
|
57
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
58
|
+
const db = (yield* Service86).db;
|
|
59
|
+
const bus = yield* Service85;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info27({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service81.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info27({
|
|
95
|
+
id: input.id ?? ID16.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node90, node89, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID16, OAuth3, Key4, External2, Value2, Event19, Info27, Service81, node85, exports_credential };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./shell-0bzca2g5.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-qjgzc4b4.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node78
|
|
18
|
+
} from "./shell-raw26vjr.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID11,
|
|
31
|
+
Info: () => Info21,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service74,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node77
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID11 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info21 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID11,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info13 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID11,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service74 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service74,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node90, node78]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info21({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service74.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID11.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node77 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID11, Info21, NotFound2, CreateConflict2, Service74, configured11, node77, exports_workspace };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-4cqhw4ty.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service82,
|
|
13
|
+
node86
|
|
14
|
+
} from "./shell-1k9brye2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service67,
|
|
17
|
+
node70
|
|
18
|
+
} from "./shell-mcx8r17s.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service56,
|
|
21
|
+
node58
|
|
22
|
+
} from "./shell-0xebh2q0.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/file-access.ts
|
|
28
28
|
var exports_file_access = {};
|
|
@@ -30,8 +30,8 @@ __export(exports_file_access, {
|
|
|
30
30
|
FileAccess: () => exports_file_access,
|
|
31
31
|
Kind: () => Kind2,
|
|
32
32
|
ResolveInput: () => ResolveInput2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
|
+
node: () => node18,
|
|
35
35
|
resolvePath: () => resolvePath2
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -45,7 +45,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
45
45
|
kind: Kind2.pipe(Schema.optional)
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service16 extends Context.Service()("@opencode/FileAccess") {
|
|
49
49
|
}
|
|
50
50
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
51
51
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -57,11 +57,11 @@ var invocation = (context) => ({
|
|
|
57
57
|
agent: context.agent,
|
|
58
58
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
59
59
|
});
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const { files } = yield*
|
|
60
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
61
|
+
const { files } = yield* Service67;
|
|
62
62
|
const exists = (file) => exists2(files, file);
|
|
63
|
-
const location = yield*
|
|
64
|
-
const permission = yield*
|
|
63
|
+
const location = yield* Service82;
|
|
64
|
+
const permission = yield* Service56;
|
|
65
65
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
66
66
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
67
67
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -110,12 +110,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
110
110
|
});
|
|
111
111
|
return target;
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service16.of({ resolve, authorizeExternal, authorizeRead });
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node18 = makeLocationNode({
|
|
116
|
+
service: Service16,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [
|
|
118
|
+
deps: [node70, node86, node58]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { Kind2, ResolveInput2,
|
|
121
|
+
export { Kind2, ResolveInput2, Service16, resolvePath2, node18, exports_file_access };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-8ghpkh2b.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./shell-dbw0hcg3.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-61ennm6n.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
Service79,
|
|
15
|
+
node83,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-51czaex0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./shell-1k9brye2.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_provider3, {
|
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service78,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node82,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -574,7 +574,7 @@ var Transport2 = Provider.Transport;
|
|
|
574
574
|
var Settings2 = Provider.Settings;
|
|
575
575
|
var Info23 = Provider.Info;
|
|
576
576
|
|
|
577
|
-
class
|
|
577
|
+
class Service78 extends Context.Service()("@opencode/Provider") {
|
|
578
578
|
}
|
|
579
579
|
var definitions = new WeakMap;
|
|
580
580
|
function index(providerID, models) {
|
|
@@ -587,10 +587,10 @@ function index(providerID, models) {
|
|
|
587
587
|
definitions.set(models, indexes);
|
|
588
588
|
return result;
|
|
589
589
|
}
|
|
590
|
-
var layer = Layer.effect(
|
|
591
|
-
const bus = yield*
|
|
592
|
-
const integrations = yield*
|
|
593
|
-
const location = yield*
|
|
590
|
+
var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
591
|
+
const bus = yield* Service85;
|
|
592
|
+
const integrations = yield* Service79;
|
|
593
|
+
const location = yield* Service82;
|
|
594
594
|
const state = create3({
|
|
595
595
|
name: "provider",
|
|
596
596
|
initial: () => new Map,
|
|
@@ -709,7 +709,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
709
709
|
});
|
|
710
710
|
});
|
|
711
711
|
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
712
|
-
return
|
|
712
|
+
return Service78.of({
|
|
713
713
|
transform: state.transform,
|
|
714
714
|
reload: state.reload,
|
|
715
715
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
718
718
|
snapshot
|
|
719
719
|
});
|
|
720
720
|
}));
|
|
721
|
-
var
|
|
721
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
|
|
722
722
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
723
723
|
const module = yield* Effect2.tryPromise({
|
|
724
724
|
try: () => {
|
|
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
740
740
|
return module;
|
|
741
741
|
});
|
|
742
742
|
|
|
743
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23,
|
|
743
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23, Service78, node82, exports_provider3, Event16 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin5
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin5 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin31 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin5, exports_mcp_codemode_defaults };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./shell-0bzca2g5.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-qjgzc4b4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service85,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node89,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
78
78
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
79
79
|
var isDefinition = (input) => !Array.isArray(input);
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service85 extends Context.Service()("@opencode/Bus") {
|
|
82
82
|
}
|
|
83
83
|
function configured12(options) {
|
|
84
84
|
return makeGlobalNode({
|
|
85
|
-
service:
|
|
86
|
-
deps: [
|
|
87
|
-
layer: Layer.effect(
|
|
85
|
+
service: Service85,
|
|
86
|
+
deps: [node90],
|
|
87
|
+
layer: Layer.effect(Service85, Effect.gen(function* () {
|
|
88
88
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
89
89
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
90
90
|
const pubsub = {
|
|
@@ -95,7 +95,7 @@ function configured12(options) {
|
|
|
95
95
|
const projectors = new Map;
|
|
96
96
|
const listeners = new Array;
|
|
97
97
|
const durableLocks = makeUnsafe2();
|
|
98
|
-
const { db } = yield*
|
|
98
|
+
const { db } = yield* Service86;
|
|
99
99
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
100
100
|
const persist = options?.persist ?? false;
|
|
101
101
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service85.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node89 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service85, configured12, node89, exports_bus };
|