@opencode/core 0.0.0-dev-197 → 0.0.0-dev-210
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 +86 -86
- package/dist/aisdk-native.js +98 -98
- package/dist/aisdk.js +104 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{file-retention-034tev2y.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-ks3c9cqr.js → filesystem-08w4mgsv.js} +32 -32
- package/dist/chunks/{file-retention-3j1m3tq4.js → filesystem-09bv4atg.js} +5 -5
- package/dist/chunks/{file-retention-ttqtdfz1.js → filesystem-0g3nw2rk.js} +5 -5
- package/dist/chunks/{file-retention-geg17xg0.js → filesystem-0nhbejy7.js} +6 -6
- package/dist/chunks/{file-retention-7d5ng1a2.js → filesystem-0vt12t1a.js} +14 -14
- package/dist/chunks/{file-retention-11hfp36g.js → filesystem-11hfp36g.js} +1 -1
- package/dist/chunks/{file-retention-tmpm4r5r.js → filesystem-14hxjxc8.js} +6 -6
- package/dist/chunks/{file-retention-32hbtqx1.js → filesystem-14k2p94z.js} +6 -6
- package/dist/chunks/{file-retention-2eskrrsw.js → filesystem-1596dtyg.js} +8 -8
- package/dist/chunks/{file-retention-vr9ywjng.js → filesystem-15rqtvc6.js} +21 -21
- package/dist/chunks/{file-retention-p2x3qxk9.js → filesystem-18crnhyq.js} +11 -11
- package/dist/chunks/{file-retention-6twykydk.js → filesystem-18g90bpv.js} +9 -9
- package/dist/chunks/{file-retention-d76g5cnb.js → filesystem-1a6vdzep.js} +6 -6
- package/dist/chunks/{file-retention-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-24xmfd7w.js → filesystem-1hmj4y1x.js} +26 -26
- package/dist/chunks/{file-retention-1r7af8ee.js → filesystem-1r7af8ee.js} +3 -3
- package/dist/chunks/{file-retention-xwmq2dcw.js → filesystem-1vz7yhpq.js} +18 -18
- package/dist/chunks/{file-retention-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-e8ywph5q.js → filesystem-1ym1r093.js} +43 -43
- package/dist/chunks/{file-retention-1yq9hg58.js → filesystem-1yq9hg58.js} +1 -1
- package/dist/chunks/{file-retention-3s7skkh9.js → filesystem-1z5aa1s9.js} +5 -5
- package/dist/chunks/{file-retention-204s3925.js → filesystem-204s3925.js} +1 -1
- package/dist/chunks/{file-retention-vmrgyahk.js → filesystem-24c2n9k1.js} +18 -18
- package/dist/chunks/{file-retention-0t1gh2k2.js → filesystem-2ede0ce3.js} +12 -12
- package/dist/chunks/{file-retention-c7m3737k.js → filesystem-2pb4csn2.js} +37 -37
- package/dist/chunks/{file-retention-vjbmgwyr.js → filesystem-2ps4vp47.js} +55 -55
- package/dist/chunks/{file-retention-dcj312nn.js → filesystem-2vzb41ed.js} +5 -5
- package/dist/chunks/{file-retention-1024y9y6.js → filesystem-2yqf0428.js} +10 -4
- package/dist/chunks/{file-retention-neary136.js → filesystem-31avdb49.js} +6 -6
- package/dist/chunks/{file-retention-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-76z54svf.js → filesystem-3kwyfx5c.js} +13 -13
- package/dist/chunks/{file-retention-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-42x4te7c.js → filesystem-3rhjxprg.js} +10 -10
- package/dist/chunks/{file-retention-asxv01zn.js → filesystem-3ztadfm7.js} +41 -41
- package/dist/chunks/{file-retention-f7jjbss4.js → filesystem-434rvpkg.js} +9 -9
- package/dist/chunks/{file-retention-hs9c5tve.js → filesystem-444az151.js} +30 -30
- package/dist/chunks/filesystem-45wb8ppp.js +410 -0
- package/dist/chunks/{file-retention-rf0tecrn.js → filesystem-4dxkx4vc.js} +8 -8
- package/dist/chunks/{file-retention-vqe1mp4b.js → filesystem-4nyhany0.js} +20 -20
- package/dist/chunks/{file-retention-e8pm465n.js → filesystem-4pw98qd4.js} +4 -4
- package/dist/chunks/{file-retention-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-f4r5xwfc.js → filesystem-4se3fcjy.js} +22 -16
- package/dist/chunks/{file-retention-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-ztw3rrzx.js → filesystem-55y85j01.js} +11 -11
- package/dist/chunks/{file-retention-qsee9sfb.js → filesystem-5ect6tx9.js} +2 -2
- package/dist/chunks/{file-retention-1cv2vd66.js → filesystem-5jmrcfpw.js} +25 -17
- package/dist/chunks/{file-retention-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-kez5w1ys.js → filesystem-5yght9ra.js} +33 -33
- package/dist/chunks/{file-retention-7m8d3k8h.js → filesystem-60wv84he.js} +10 -10
- package/dist/chunks/{file-retention-xt6yj4t6.js → filesystem-61ee6dgv.js} +18 -18
- package/dist/chunks/{file-retention-61ennm6n.js → filesystem-61ennm6n.js} +1 -1
- package/dist/chunks/{file-retention-n810xmn2.js → filesystem-6bafzmvy.js} +123 -123
- package/dist/chunks/{file-retention-d7ezq276.js → filesystem-6cems51h.js} +9 -9
- package/dist/chunks/{file-retention-wbje33cw.js → filesystem-6easw4m5.js} +1 -1
- package/dist/chunks/{file-retention-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-fc5at3zt.js → filesystem-6r5tx5vd.js} +15 -15
- package/dist/chunks/{file-retention-76cb1hcw.js → filesystem-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-retention-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-ae8yhtn6.js → filesystem-7m5yeeqj.js} +21 -21
- package/dist/chunks/{file-retention-8sw03j0e.js → filesystem-7rct0254.js} +12 -12
- package/dist/chunks/{file-retention-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-b0hsmqv0.js → filesystem-890cq6zw.js} +19 -19
- package/dist/chunks/{file-retention-pfayv7n8.js → filesystem-89jkg93w.js} +16 -16
- package/dist/chunks/{file-retention-w8xr7nv8.js → filesystem-89vjf07m.js} +5 -5
- package/dist/chunks/{file-retention-j1ptedcn.js → filesystem-8aem79f2.js} +16 -16
- package/dist/chunks/{file-retention-cvv281km.js → filesystem-8cykdwq1.js} +17 -17
- package/dist/chunks/{file-retention-x592j5n8.js → filesystem-8hwf4h4a.js} +25 -25
- package/dist/chunks/{file-retention-8p5baybq.js → filesystem-8wc2fpae.js} +5 -5
- package/dist/chunks/{file-retention-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-hz6fz10g.js → filesystem-8z7fx9da.js} +12 -12
- package/dist/chunks/{file-retention-q6tw3efa.js → filesystem-8zh671ad.js} +33 -33
- package/dist/chunks/{file-retention-90zstvax.js → filesystem-90zstvax.js} +1 -1
- package/dist/chunks/{file-retention-q98fvpa3.js → filesystem-91bvc4ty.js} +4 -4
- package/dist/chunks/{file-retention-02zav387.js → filesystem-94wxcshz.js} +9 -9
- package/dist/chunks/{file-retention-8b5hhaf2.js → filesystem-97ctmtmy.js} +7 -7
- package/dist/chunks/{file-retention-yg021pr4.js → filesystem-9d50e9x8.js} +10 -10
- package/dist/chunks/{file-retention-aqwa35rv.js → filesystem-9wm1sbvz.js} +22 -22
- package/dist/chunks/{file-retention-qqppq1tw.js → filesystem-annen545.js} +6 -6
- package/dist/chunks/{file-retention-ft8xs19g.js → filesystem-aq96vb51.js} +18 -18
- package/dist/chunks/{file-retention-z79z9k8j.js → filesystem-armxxs9m.js} +9 -9
- package/dist/chunks/{file-retention-4xqce2n5.js → filesystem-aw4xetmc.js} +9 -9
- package/dist/chunks/{file-retention-44bpj4c9.js → filesystem-aw8sakew.js} +24 -24
- package/dist/chunks/{file-retention-6dzgygyw.js → filesystem-ax7jxbq7.js} +39 -39
- package/dist/chunks/{file-retention-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-9xnya6re.js → filesystem-b46dpqs0.js} +9 -9
- package/dist/chunks/{file-retention-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{file-retention-zptqqsqr.js → filesystem-bdf3r1gz.js} +48 -48
- package/dist/chunks/{file-retention-zzjadyyc.js → filesystem-bdpbxs8g.js} +7 -7
- package/dist/chunks/{file-retention-drerwy6v.js → filesystem-bhvs01y7.js} +6 -6
- package/dist/chunks/{file-retention-3k3wyk17.js → filesystem-bmrbft0k.js} +25 -25
- package/dist/chunks/{file-retention-z3h17q8g.js → filesystem-bprm2g42.js} +25 -25
- package/dist/chunks/{file-retention-yxdzradw.js → filesystem-bsgt82ad.js} +134 -134
- package/dist/chunks/{file-retention-mjzzxa19.js → filesystem-bsjb0v70.js} +1 -1
- package/dist/chunks/{file-retention-xd9cc171.js → filesystem-bstexjd6.js} +5 -5
- package/dist/chunks/{file-retention-pntz5nv8.js → filesystem-bw7c9nwt.js} +11 -11
- package/dist/chunks/{file-retention-05r0g2r7.js → filesystem-bwqn28c5.js} +3 -3
- package/dist/chunks/{file-retention-vnjwe8gy.js → filesystem-c34yv8jr.js} +3 -3
- package/dist/chunks/{file-retention-m80e7yhz.js → filesystem-c7xcdgb3.js} +1 -1
- package/dist/chunks/{file-retention-1kfywa72.js → filesystem-c8fxmp84.js} +4 -4
- package/dist/chunks/{file-retention-481gxrfg.js → filesystem-cj5ykkxh.js} +8 -3
- package/dist/chunks/{file-retention-as3sm64x.js → filesystem-ck72d7f2.js} +6 -6
- package/dist/chunks/{file-retention-cm18kf9d.js → filesystem-cm18kf9d.js} +3 -3
- package/dist/chunks/{file-retention-m8210qzt.js → filesystem-cnaqb1tg.js} +8 -8
- package/dist/chunks/{file-retention-c6x7d2ts.js → filesystem-cpvd08na.js} +4 -4
- package/dist/chunks/{file-retention-aqgxz88q.js → filesystem-crxr35d9.js} +31 -31
- package/dist/chunks/{file-retention-9tsn38wb.js → filesystem-csvfcyj3.js} +21 -21
- package/dist/chunks/{file-retention-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-3vxknmvb.js → filesystem-czzevw5a.js} +13 -13
- package/dist/chunks/filesystem-d3bra3vm.js +34 -0
- package/dist/chunks/{file-retention-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-xcj09269.js → filesystem-df9zz4rf.js} +6 -6
- package/dist/chunks/{file-retention-h2wv7g1z.js → filesystem-dma5n97j.js} +30 -30
- package/dist/chunks/{file-retention-69sb8681.js → filesystem-dr326g96.js} +9 -9
- package/dist/chunks/{file-retention-agqd6nxz.js → filesystem-drvbhkez.js} +2 -2
- package/dist/chunks/{file-retention-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-c9re5j8a.js → filesystem-dvaraee2.js} +20 -20
- package/dist/chunks/{file-retention-e07q2w5p.js → filesystem-e07q2w5p.js} +1 -1
- package/dist/chunks/{file-retention-zg0ggtad.js → filesystem-e3g479a6.js} +93 -62
- package/dist/chunks/{file-retention-4n32qr4v.js → filesystem-e618q6jv.js} +7 -7
- package/dist/chunks/{file-retention-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-t0yv98de.js → filesystem-emz5z3x7.js} +2 -2
- package/dist/chunks/{file-retention-n6pb4r7m.js → filesystem-esbzcf2v.js} +3 -3
- package/dist/chunks/{file-retention-6kzgetar.js → filesystem-ex5adzvz.js} +6 -6
- package/dist/chunks/{file-retention-ckfzcqz5.js → filesystem-f1g9v2n6.js} +3 -3
- package/dist/chunks/{file-retention-6fkjv1xc.js → filesystem-fcrv3p1c.js} +7 -7
- package/dist/chunks/{file-retention-97z6p5c2.js → filesystem-fe5m0zbk.js} +19 -19
- package/dist/chunks/{file-retention-m5n42v94.js → filesystem-fej4fvmz.js} +11 -11
- package/dist/chunks/{file-retention-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-jd833z4n.js → filesystem-fg2aznv6.js} +10 -10
- package/dist/chunks/{file-retention-71ffcwx2.js → filesystem-fj2tjxmw.js} +29 -29
- package/dist/chunks/{file-retention-7mfyhxd7.js → filesystem-fn2p6yf2.js} +13 -13
- package/dist/chunks/{file-retention-1vt7zj53.js → filesystem-fncrvfr8.js} +7 -7
- package/dist/chunks/{file-retention-qz087kyw.js → filesystem-fny70jpy.js} +8 -8
- package/dist/chunks/{file-retention-k09ty2nz.js → filesystem-g4pcw3ts.js} +17 -17
- package/dist/chunks/{file-retention-zrj29v3f.js → filesystem-g82fkzhe.js} +11 -11
- package/dist/chunks/{file-retention-1nke647r.js → filesystem-g8763th5.js} +11 -11
- package/dist/chunks/{file-retention-gg8p9cgs.js → filesystem-gg8p9cgs.js} +3 -3
- package/dist/chunks/{file-retention-xq7py0nk.js → filesystem-gm2f0atq.js} +16 -16
- package/dist/chunks/{file-retention-3n9k8ktf.js → filesystem-gmqegw1e.js} +10 -10
- package/dist/chunks/{file-retention-em4evt6c.js → filesystem-gsnkxft0.js} +11 -11
- package/dist/chunks/{file-retention-r564vpxy.js → filesystem-gxwtb78g.js} +16 -16
- package/dist/chunks/{file-retention-b36ttk86.js → filesystem-h01md3m8.js} +2 -2
- package/dist/chunks/{file-retention-t5jqs5j7.js → filesystem-h7gvp0tv.js} +2 -2
- package/dist/chunks/{file-retention-gp067yzn.js → filesystem-hc4wny2n.js} +11 -11
- package/dist/chunks/{file-retention-hdfrs5mg.js → filesystem-hdfrs5mg.js} +2 -2
- package/dist/chunks/{file-retention-m37sd98t.js → filesystem-hfgk9wzg.js} +4 -4
- package/dist/chunks/{file-retention-7yb883t5.js → filesystem-hjaahymy.js} +36 -36
- package/dist/chunks/{file-retention-zf274ksp.js → filesystem-hjwwwxxw.js} +21 -21
- package/dist/chunks/{file-retention-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-retention-8p4fey4p.js → filesystem-hrp7h9k8.js} +9 -9
- package/dist/chunks/{file-retention-rpgqzgsw.js → filesystem-hry4p7je.js} +9 -9
- package/dist/chunks/{file-retention-hs9b4b47.js → filesystem-hs9b4b47.js} +2 -2
- package/dist/chunks/{file-retention-bm4gstpq.js → filesystem-hx3mz2q2.js} +8 -8
- package/dist/chunks/{file-retention-cebftnbm.js → filesystem-hyyve62m.js} +19 -19
- package/dist/chunks/filesystem-j5ge61vx.js +312 -0
- package/dist/chunks/{file-retention-h3nbc66p.js → filesystem-j6fmvzx1.js} +19 -19
- package/dist/chunks/{file-retention-njkvgpzw.js → filesystem-j8b46n9s.js} +25 -25
- package/dist/chunks/{file-retention-tvps0thf.js → filesystem-jc4yfsds.js} +5 -5
- package/dist/chunks/{file-retention-jfaecv01.js → filesystem-jfaecv01.js} +1 -1
- package/dist/chunks/{file-retention-6e5dkec4.js → filesystem-jg2yb00g.js} +32 -32
- package/dist/chunks/{file-retention-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-retention-7qqd2nx3.js → filesystem-k079z09p.js} +4 -4
- package/dist/chunks/{file-retention-s99cgj3z.js → filesystem-k1txdcnn.js} +19 -19
- package/dist/chunks/{file-retention-watjt3p8.js → filesystem-k3febq9m.js} +24 -27
- package/dist/chunks/{file-retention-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{file-retention-rcdgzwjt.js → filesystem-kaaytn36.js} +20 -20
- package/dist/chunks/{file-retention-ycarv14j.js → filesystem-kj6bvb2j.js} +3 -3
- package/dist/chunks/{file-retention-mpppa3sy.js → filesystem-kjst82ar.js} +1 -1
- package/dist/chunks/{file-retention-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-z2d0yvk9.js → filesystem-m146rhxa.js} +18 -18
- package/dist/chunks/{file-retention-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-c0ycfh2w.js → filesystem-m3bdadrj.js} +9 -9
- package/dist/chunks/{file-retention-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-h6t0znmf.js → filesystem-majcfxdx.js} +9 -9
- package/dist/chunks/{file-retention-b6gbsyrt.js → filesystem-mgxqcbam.js} +10 -2
- package/dist/chunks/{file-retention-jvshpvt0.js → filesystem-n0raz6dg.js} +4 -4
- package/dist/chunks/{file-retention-bckyc6k9.js → filesystem-n1gr2kpt.js} +6 -6
- package/dist/chunks/{file-retention-fbh8zj85.js → filesystem-n2h4jtew.js} +2 -2
- package/dist/chunks/{file-retention-vfpbkdxj.js → filesystem-n61g9vyf.js} +28 -28
- package/dist/chunks/{file-retention-gw7rtptf.js → filesystem-n6v0k17x.js} +11 -11
- package/dist/chunks/{file-retention-nah043kf.js → filesystem-nah043kf.js} +1 -1
- package/dist/chunks/{file-retention-hr6qbbbj.js → filesystem-nbdtng8k.js} +25 -25
- package/dist/chunks/{file-retention-vtm22ma1.js → filesystem-nk58jtss.js} +12 -12
- package/dist/chunks/{file-retention-9zhqn0tq.js → filesystem-nkdehe09.js} +23 -23
- package/dist/chunks/{file-retention-cg3fcpn4.js → filesystem-nv9tsjma.js} +6 -6
- package/dist/chunks/{file-retention-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{file-retention-7vher5vz.js → filesystem-p6aax6q6.js} +13 -13
- package/dist/chunks/{file-retention-2mbjfaxd.js → filesystem-p76me67c.js} +4 -4
- package/dist/chunks/{file-retention-pbbktnbz.js → filesystem-pbbktnbz.js} +4 -4
- package/dist/chunks/{file-retention-qgfsr1ak.js → filesystem-pcrfxpzv.js} +23 -18
- package/dist/chunks/{file-retention-e0w63sys.js → filesystem-pd94qqs3.js} +22 -22
- package/dist/chunks/{file-retention-527s141c.js → filesystem-pgzqbqf1.js} +5 -5
- package/dist/chunks/{file-retention-gexzakpg.js → filesystem-phmgxt2f.js} +3 -3
- package/dist/chunks/{file-retention-gc8gtep9.js → filesystem-pj65rgyr.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-fg9p65nk.js → filesystem-prq7xxp2.js} +6 -6
- package/dist/chunks/{file-retention-zcd9d9xm.js → filesystem-psfkywbe.js} +14 -14
- package/dist/chunks/{file-retention-nmcr2840.js → filesystem-pvpa9p11.js} +36 -36
- package/dist/chunks/{file-retention-45nyv10h.js → filesystem-pw343ads.js} +31 -31
- package/dist/chunks/{file-retention-k9ry6nae.js → filesystem-qbhjbqdd.js} +16 -16
- package/dist/chunks/{file-retention-sg08nake.js → filesystem-qf8srjpf.js} +19 -10
- package/dist/chunks/{file-retention-ab1m5rfy.js → filesystem-qgjxsz2y.js} +13 -13
- package/dist/chunks/{file-retention-s52g94eq.js → filesystem-qmx7pqgw.js} +10 -10
- package/dist/chunks/{file-retention-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-qwpavc5r.js → filesystem-qpa23kw8.js} +28 -28
- package/dist/chunks/filesystem-qqvy8y24.js +45 -0
- package/dist/chunks/{file-retention-aqy09njx.js → filesystem-qv57zvvg.js} +298 -284
- package/dist/chunks/{file-retention-gqqeyx1x.js → filesystem-r0dsnsr8.js} +2 -2
- package/dist/chunks/{file-retention-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-retention-52hfn8qm.js → filesystem-r2rzgj46.js} +14 -14
- package/dist/chunks/{file-retention-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
- package/dist/chunks/{file-retention-zke8k14a.js → filesystem-r8m134k8.js} +9 -9
- package/dist/chunks/{file-retention-13efzyg2.js → filesystem-r98dxkx5.js} +21 -21
- package/dist/chunks/{file-retention-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-phacckca.js → filesystem-rcthcsey.js} +13 -13
- package/dist/chunks/{file-retention-ka9dq9bh.js → filesystem-rerxfbrr.js} +22 -22
- package/dist/chunks/{file-retention-5mm8f81r.js → filesystem-rfy1qsv0.js} +5 -5
- package/dist/chunks/{file-retention-rgzggw2r.js → filesystem-rgzggw2r.js} +2 -2
- package/dist/chunks/{file-retention-4pbrjawp.js → filesystem-rngmar94.js} +26 -26
- package/dist/chunks/{file-retention-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-vcyr9zvk.js → filesystem-rvp0ckfz.js} +28 -28
- package/dist/chunks/{file-retention-byk50ab2.js → filesystem-s43pka83.js} +9 -9
- package/dist/chunks/filesystem-s7ertgdh.js +26 -0
- package/dist/chunks/{file-retention-s7gmm2q3.js → filesystem-s7gmm2q3.js} +3 -3
- package/dist/chunks/{file-retention-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-pq0g1j3r.js → filesystem-sjq3mznt.js} +11 -11
- package/dist/chunks/{file-retention-yjdt6y29.js → filesystem-snfsmn1e.js} +5 -5
- package/dist/chunks/{file-retention-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-c9t2ty9q.js → filesystem-ssfehs1z.js} +4 -4
- package/dist/chunks/{file-retention-yk6ka46x.js → filesystem-stka8v7r.js} +3 -3
- package/dist/chunks/{file-retention-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-36g55jbn.js → filesystem-t1ncdzfb.js} +30 -30
- package/dist/chunks/{file-retention-bdzmqtb7.js → filesystem-t54qx1t0.js} +6 -6
- package/dist/chunks/{file-retention-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-pk1jk6nd.js → filesystem-tf83vx35.js} +8 -8
- package/dist/chunks/{file-retention-k3rsaqe1.js → filesystem-thq4q9my.js} +6 -6
- package/dist/chunks/{file-retention-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-v0t96s7a.js → filesystem-v0t96s7a.js} +1 -1
- package/dist/chunks/{file-retention-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-v5hpj9dd.js → filesystem-v5hpj9dd.js} +1 -1
- package/dist/chunks/{file-retention-d2rkekdg.js → filesystem-v7rdhf5e.js} +14 -14
- package/dist/chunks/{file-retention-hzs6scc7.js → filesystem-vdfc3vwf.js} +10 -10
- package/dist/chunks/{file-retention-vg0erq9k.js → filesystem-vg0erq9k.js} +1 -1
- package/dist/chunks/{file-retention-zzhx4wss.js → filesystem-vm40an3j.js} +9 -9
- package/dist/chunks/{file-retention-vsqvcqta.js → filesystem-vsqvcqta.js} +3 -3
- package/dist/chunks/{file-retention-81x0z535.js → filesystem-w1fms507.js} +19 -19
- package/dist/chunks/{file-retention-w2eysc6j.js → filesystem-w2eysc6j.js} +2 -2
- package/dist/chunks/{file-retention-0evwtgv8.js → filesystem-w3p04qes.js} +9 -9
- package/dist/chunks/{file-retention-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-bt45xqy1.js → filesystem-w5qh0yp9.js} +11 -11
- package/dist/chunks/{file-retention-y49ten0s.js → filesystem-w6763yes.js} +30 -30
- package/dist/chunks/{file-retention-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-kbs230cz.js → filesystem-wappnbgt.js} +6 -6
- package/dist/chunks/{file-retention-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-retention-z4efjq9s.js → filesystem-wq31c655.js} +14 -14
- package/dist/chunks/{file-retention-0h8y3ex8.js → filesystem-wr3re1en.js} +4 -4
- package/dist/chunks/{file-retention-g5swcsby.js → filesystem-ws6kh7b7.js} +5 -5
- package/dist/chunks/{file-retention-3jemhejf.js → filesystem-wxrneye3.js} +8 -8
- package/dist/chunks/{file-retention-hcjxzb33.js → filesystem-x2kwmbaj.js} +4 -4
- package/dist/chunks/{file-retention-tps1nyr3.js → filesystem-x4vrc5nf.js} +18 -18
- package/dist/chunks/{file-retention-6qazmz99.js → filesystem-x4z26120.js} +5 -5
- package/dist/chunks/{file-retention-g8wyr0p0.js → filesystem-xajgh51x.js} +7 -7
- package/dist/chunks/{file-retention-5cwy195j.js → filesystem-xarg0qdr.js} +6 -6
- package/dist/chunks/{file-retention-efer459w.js → filesystem-xbc6qp68.js} +6 -6
- package/dist/chunks/{file-retention-saw0xt7z.js → filesystem-xdkjcj8h.js} +18 -18
- package/dist/chunks/{file-retention-wczydp3b.js → filesystem-xgjn9k1a.js} +2 -2
- package/dist/chunks/{file-retention-ysjrjqrd.js → filesystem-xhesmbhs.js} +17 -17
- package/dist/chunks/{file-retention-se016j3a.js → filesystem-xptjxdz6.js} +4 -4
- package/dist/chunks/{file-retention-vfxqwymt.js → filesystem-xqx7k15x.js} +37 -37
- package/dist/chunks/{file-retention-xt0z8zst.js → filesystem-xt0z8zst.js} +1 -1
- package/dist/chunks/{file-retention-55yn0q28.js → filesystem-y20gse86.js} +9 -9
- package/dist/chunks/{file-retention-00ay3kdv.js → filesystem-y47dt2v0.js} +26 -26
- package/dist/chunks/{file-retention-g8zf12h5.js → filesystem-y5d65aff.js} +5 -5
- package/dist/chunks/{file-retention-yara3q77.js → filesystem-yara3q77.js} +2 -2
- package/dist/chunks/{file-retention-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-47r66zre.js → filesystem-ye085k5q.js} +80 -80
- package/dist/chunks/{file-retention-84hv32w5.js → filesystem-ykamt9jm.js} +20 -20
- package/dist/chunks/{file-retention-81rf7y7z.js → filesystem-ynaqhc8e.js} +6 -6
- package/dist/chunks/{file-retention-n7xzwjsb.js → filesystem-ytys4wt6.js} +21 -21
- package/dist/chunks/{file-retention-1apykrxj.js → filesystem-ywjp853w.js} +44 -42
- package/dist/chunks/{file-retention-m4bjc8bw.js → filesystem-yxy26kq2.js} +12 -12
- package/dist/chunks/filesystem-z355x5yr.js +18 -0
- package/dist/chunks/{file-retention-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{file-retention-dpbhk201.js → filesystem-z6vvjhzx.js} +10 -10
- package/dist/chunks/{file-retention-gv60x5cq.js → filesystem-zes7n4m2.js} +74 -74
- package/dist/chunks/{file-retention-0anyt1n6.js → filesystem-zgd8t41s.js} +9 -9
- package/dist/chunks/{file-retention-pehfm7w7.js → filesystem-zgtpaate.js} +15 -15
- package/dist/chunks/{file-retention-1m8zk9rp.js → filesystem-zyfw5drr.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -108
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +220 -220
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +122 -122
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +139 -139
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/database.js +73 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration.gen.js +56 -56
- package/dist/database/migration.js +58 -58
- 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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -378
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +102 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +77 -77
- package/dist/file-access.js +149 -149
- package/dist/file-mutation.js +99 -99
- 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 +80 -80
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +229 -229
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +106 -106
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +3 -3
- package/dist/filesystem.js +113 -113
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +96 -96
- package/dist/generate.js +112 -112
- 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 +108 -108
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -369
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -80
- package/dist/location-activity.js +161 -161
- package/dist/location-lifecycle.js +143 -143
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +370 -366
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -100
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +108 -108
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +144 -144
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -82
- package/dist/plugin/agent.js +81 -81
- package/dist/plugin/command.js +109 -109
- package/dist/plugin/goal.js +16 -0
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +226 -226
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +343 -339
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -106
- package/dist/plugin/module.js +122 -122
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +139 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +100 -99
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -119
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/credential-settings.js +88 -0
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -104
- package/dist/plugin/provider/gitlab.js +103 -102
- package/dist/plugin/provider/google-vertex.js +119 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -85
- package/dist/plugin/provider/lmstudio.js +131 -131
- package/dist/plugin/provider/local.js +128 -128
- package/dist/plugin/provider/modal.js +101 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +129 -129
- package/dist/plugin/provider/openai-context-caps.js +99 -99
- package/dist/plugin/provider/openai.js +122 -122
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +100 -100
- package/dist/plugin/provider/poe.js +86 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/vllm.js +129 -129
- package/dist/plugin/provider/xai.js +100 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +173 -172
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +95 -95
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +102 -102
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +237 -237
- 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 +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -106
- package/dist/rpc.js +95 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +226 -226
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +8 -0
- package/dist/session/blob.js +121 -121
- package/dist/session/command.js +81 -81
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +97 -97
- 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 +249 -228
- package/dist/session/execution.js +153 -153
- package/dist/session/generate.js +189 -189
- package/dist/session/history.js +128 -128
- package/dist/session/inbox.js +137 -137
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -133
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -156
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +135 -135
- package/dist/session/prompt.js +141 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -237
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +142 -142
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +153 -153
- package/dist/session/runner/to-llm-message.js +129 -129
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +173 -173
- package/dist/session/shell.js +136 -136
- package/dist/session/skill.js +140 -140
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +80 -80
- package/dist/session/store.js +132 -132
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +216 -216
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +187 -187
- package/dist/session/to-session-error.js +141 -141
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +222 -222
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -144
- package/dist/skill.js +145 -145
- package/dist/snapshot.js +100 -100
- 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 +168 -168
- package/dist/tool/plugin/edit.js +157 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +161 -161
- package/dist/tool/plugin/image-generate.js +237 -0
- package/dist/tool/plugin/mcp-resource.js +155 -155
- package/dist/tool/plugin/opencode.js +154 -154
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/shell.js +223 -223
- package/dist/tool/plugin/skill.js +148 -148
- package/dist/tool/plugin/subagent.js +227 -227
- package/dist/tool/plugin/todo.js +142 -142
- package/dist/tool/plugin/webfetch.js +148 -148
- package/dist/tool/plugin/websearch.js +146 -146
- package/dist/tool/plugin/write.js +159 -159
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/job.d.ts +7 -0
- package/dist/types/plugin/goal.d.ts +8 -0
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -1
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +1 -1
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +1 -1
- package/dist/types/plugin/provider/credential-settings.d.ts +33 -0
- package/dist/types/plugin/provider/gitlab.d.ts +2 -1
- package/dist/types/session/background.d.ts +40 -0
- package/dist/types/session/runner/index.d.ts +16 -0
- package/dist/types/tool/plugin/image-generate.d.ts +35 -0
- package/dist/types/tool/plugin/opencode.d.ts +1 -0
- package/dist/usage-limits.js +96 -96
- 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 +101 -101
- 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 +102 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -98
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -85
- 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 +98 -98
- package/dist/worktree.js +109 -109
- package/package.json +10 -10
- package/dist/chunks/file-retention-8x060fmy.js +0 -18
- package/dist/chunks/file-retention-hccc1d27.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1jakw16s.js → filesystem-1jakw16s.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-myztnk54.js → filesystem-myztnk54.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-ncqqe42p.js → filesystem-ncqqe42p.js} +0 -0
- /package/dist/chunks/{file-retention-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./filesystem-61ee6dgv.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./filesystem-wq31c655.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
10
|
Service73
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-8cykdwq1.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-5ect6tx9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service54
|
|
17
|
+
} from "./filesystem-4se3fcjy.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service55
|
|
21
|
+
} from "./filesystem-hjaahymy.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service27
|
|
24
|
+
} from "./filesystem-ye085k5q.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
29
|
Service10
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-w5qh0yp9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin19,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description2,
|
|
43
|
+
name: () => name2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name2 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,14 +56,14 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
63
63
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
64
64
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
65
65
|
model: Schema.optionalKey(Schema.String).annotate({
|
|
66
|
-
description:
|
|
66
|
+
description: `NEVER set this unless the user explicitly asks for a particular model or variant. It must be a chat model; image and decision models can't run subagents. The value is written as "providerID/modelID", or "providerID/modelID#variant" to include a variant. Do not guess the ID: look the model up with the models tool, filtering to your own provider first.`
|
|
67
67
|
}),
|
|
68
68
|
sessionID: Schema.optionalKey(SessionSchema2.ID).annotate({
|
|
69
69
|
description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
|
|
@@ -72,12 +72,12 @@ var Input13 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin19 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
92
|
+
const sessions = yield* Service27;
|
|
93
|
+
const jobs = yield* Service54;
|
|
94
|
+
const agents = yield* Service58;
|
|
95
95
|
const config = yield* Service73;
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
96
|
+
const permission = yield* Service55;
|
|
97
|
+
const models = yield* Service76;
|
|
98
98
|
const subagents = yield* Service10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -104,10 +104,12 @@ var Plugin33 = {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
const model = (yield* models.available()).find((model) => model.providerID === ref.providerID && model.id === ref.id);
|
|
107
|
-
if (model === undefined)
|
|
107
|
+
if (model === undefined) {
|
|
108
|
+
const other = (yield* models.available(["image", "decision"])).find((model) => model.providerID === ref.providerID && model.id === ref.id);
|
|
108
109
|
return yield* new ToolFailure({
|
|
109
|
-
message: `Model "${ref.providerID}/${ref.id}" is not available. Use the models tool to see what is available.`
|
|
110
|
+
message: other ? `Model "${ref.providerID}/${ref.id}" is ${other.type === "image" ? "an image" : "a decision"} model; subagents need a chat model. Use the models tool to find one.` : `Model "${ref.providerID}/${ref.id}" is not available. Use the models tool to see what is available.`
|
|
110
111
|
});
|
|
112
|
+
}
|
|
111
113
|
if (ref.variant !== undefined && !model.variants.some((variant) => variant.id === ref.variant))
|
|
112
114
|
return yield* new ToolFailure({
|
|
113
115
|
message: model.variants.length === 0 ? `Model "${ref.providerID}/${ref.id}" has no variants. Omit the variant.` : `Variant "${ref.variant}" is not available for "${ref.providerID}/${ref.id}". Available: ${model.variants.map((variant) => variant.id).join(", ")}.`
|
|
@@ -115,11 +117,11 @@ var Plugin33 = {
|
|
|
115
117
|
return ref;
|
|
116
118
|
});
|
|
117
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
120
|
+
name: name2,
|
|
119
121
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
122
|
+
description: description2,
|
|
123
|
+
input: Input2,
|
|
124
|
+
output: Output2,
|
|
123
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
127
|
let current = parent;
|
|
@@ -139,7 +141,7 @@ var Plugin33 = {
|
|
|
139
141
|
if (agent.mode === "primary")
|
|
140
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
143
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
144
|
+
action: name2,
|
|
143
145
|
resources: [agent.id],
|
|
144
146
|
save: [agent.id],
|
|
145
147
|
sessionID: context.sessionID,
|
|
@@ -218,7 +220,7 @@ ${output.output}
|
|
|
218
220
|
})))
|
|
219
221
|
})).pipe(Effect.orDie);
|
|
220
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
224
|
return;
|
|
223
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
226
|
return;
|
|
@@ -230,13 +232,13 @@ ${output.output}
|
|
|
230
232
|
event.input = input;
|
|
231
233
|
}));
|
|
232
234
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name2];
|
|
234
236
|
if (!tool)
|
|
235
237
|
return;
|
|
236
238
|
const selected = yield* agents.resolve(event.agent);
|
|
237
239
|
if (!selected)
|
|
238
240
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
242
|
if (available.length === 0)
|
|
241
243
|
return;
|
|
242
244
|
tool.description = [
|
|
@@ -253,4 +255,4 @@ ${output.output}
|
|
|
253
255
|
})
|
|
254
256
|
};
|
|
255
257
|
|
|
256
|
-
export {
|
|
258
|
+
export { name2, Input2, Output2, description2, Plugin19, exports_subagent };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-18crnhyq.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-w2eysc6j.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint3
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin35 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin39 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin39 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint3, Plugin35, exports_tinyfish };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service40 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service40.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service40, awaitActivation2, exports_service };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-r0dsnsr8.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-xt0z8zst.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service34,
|
|
19
|
+
node: () => node38
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service34 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service82;
|
|
29
|
-
return
|
|
29
|
+
return Service34.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [Global.node, node86] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service34, node38, exports_builtins };
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-c34yv8jr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-r0dsnsr8.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node80
|
|
14
|
+
} from "./filesystem-wq31c655.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
ID8,
|
|
17
|
+
Service58,
|
|
18
18
|
node60
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-61ee6dgv.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-bhvs01y7.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-xt0z8zst.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-zyfw5drr.js";
|
|
29
29
|
import {
|
|
30
30
|
Service56,
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
node58
|
|
32
|
+
} from "./filesystem-4dxkx4vc.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-hjaahymy.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make15
|
|
38
|
+
} from "./filesystem-b46dpqs0.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service62,
|
|
41
|
+
node64
|
|
42
|
+
} from "./filesystem-8hwf4h4a.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service34,
|
|
45
|
+
node38
|
|
46
|
+
} from "./filesystem-z6vvjhzx.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service43,
|
|
49
|
+
node46
|
|
50
|
+
} from "./filesystem-aw8sakew.js";
|
|
51
|
+
import {
|
|
52
|
+
Service37,
|
|
53
|
+
node41
|
|
54
|
+
} from "./filesystem-jg2yb00g.js";
|
|
51
55
|
import {
|
|
52
56
|
Service36,
|
|
53
57
|
node40
|
|
54
|
-
} from "./
|
|
58
|
+
} from "./filesystem-890cq6zw.js";
|
|
55
59
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./
|
|
60
|
+
Service35,
|
|
61
|
+
node39
|
|
62
|
+
} from "./filesystem-qbhjbqdd.js";
|
|
59
63
|
import {
|
|
60
64
|
Service30,
|
|
61
65
|
node34
|
|
62
|
-
} from "./
|
|
66
|
+
} from "./filesystem-m146rhxa.js";
|
|
63
67
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
68
|
+
Service31,
|
|
69
|
+
node35
|
|
70
|
+
} from "./filesystem-qgjxsz2y.js";
|
|
67
71
|
import {
|
|
68
72
|
Service32,
|
|
69
73
|
node36
|
|
70
|
-
} from "./
|
|
71
|
-
import {
|
|
72
|
-
Service33,
|
|
73
|
-
node37
|
|
74
|
-
} from "./file-retention-36g55jbn.js";
|
|
74
|
+
} from "./filesystem-t1ncdzfb.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service53,
|
|
77
|
+
node55
|
|
78
|
+
} from "./filesystem-gxwtb78g.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service29,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node33
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service29 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
94
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service58;
|
|
96
|
+
const builtins = yield* Service34;
|
|
97
|
+
const model = yield* Service76;
|
|
98
98
|
const db = (yield* Service86).db;
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
99
|
+
const discovery = yield* Service62;
|
|
100
|
+
const entries = yield* Service31;
|
|
101
101
|
const location = yield* Service82;
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
102
|
+
const mcpInstructions = yield* Service36;
|
|
103
|
+
const mcpTools = yield* Service37;
|
|
104
|
+
const models = yield* Service53;
|
|
105
|
+
const request = yield* Service32;
|
|
106
|
+
const referenceInstructions = yield* Service35;
|
|
107
|
+
const skillInstructions = yield* Service30;
|
|
108
108
|
const store = yield* Service56;
|
|
109
|
-
const registry = yield*
|
|
109
|
+
const registry = yield* Service43;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
168
168
|
session,
|
|
169
169
|
agent: { ...agent, info: agent.info },
|
|
170
170
|
instructions: combine2([
|
|
171
|
-
|
|
171
|
+
make15(loaded.tools.codeModeCatalog),
|
|
172
172
|
loaded.mcp,
|
|
173
173
|
loaded.references,
|
|
174
174
|
loaded.skills,
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service29.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node33 = makeLocationNode({
|
|
203
|
+
service: Service29,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
206
|
node60,
|
|
207
|
-
|
|
207
|
+
node80,
|
|
208
208
|
node90,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
node36,
|
|
212
|
-
node86,
|
|
209
|
+
node38,
|
|
210
|
+
node64,
|
|
213
211
|
node35,
|
|
212
|
+
node86,
|
|
214
213
|
node40,
|
|
215
|
-
|
|
216
|
-
node49,
|
|
217
|
-
node37,
|
|
218
|
-
node59,
|
|
214
|
+
node41,
|
|
219
215
|
node39,
|
|
220
|
-
|
|
216
|
+
node55,
|
|
217
|
+
node36,
|
|
218
|
+
node58,
|
|
219
|
+
node34,
|
|
220
|
+
node46
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service29, node33, exports_context };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-204s3925.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|