@opencode/core 0.0.0-dev-19592 → 0.0.0-dev-19594
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{app-zg0ejg5d.js → mime-0artwwxx.js} +3 -3
- package/dist/chunks/{app-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-gg6f9vzx.js → mime-0pb75hch.js} +5 -5
- package/dist/chunks/{app-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-qrwy7q33.js → mime-0q847seh.js} +8 -8
- package/dist/chunks/{app-rsym84ch.js → mime-0qxam8dj.js} +9 -9
- package/dist/chunks/{app-9083hbh6.js → mime-0rh963zz.js} +15 -15
- package/dist/chunks/{app-sd4qsz7x.js → mime-0rn7bd2y.js} +3 -3
- package/dist/chunks/{app-sn4zrr2b.js → mime-133n9d2d.js} +9 -9
- package/dist/chunks/{app-jnchhv79.js → mime-13a7a1wx.js} +25 -25
- package/dist/chunks/{app-f5dm6ywp.js → mime-1cbk4m95.js} +18 -18
- package/dist/chunks/{app-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-5mxpx9hq.js → mime-1eaf0dqh.js} +7 -7
- package/dist/chunks/{app-09qeff3x.js → mime-1p086jrz.js} +11 -11
- package/dist/chunks/{app-2gh51s9t.js → mime-1qy9swdm.js} +19 -19
- package/dist/chunks/{app-s8eznf91.js → mime-1vh2jpye.js} +30 -30
- package/dist/chunks/{app-aezz4pcr.js → mime-219neeqh.js} +5 -5
- package/dist/chunks/{app-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{app-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{app-n2m1rsbh.js → mime-265kqrgy.js} +1 -1
- package/dist/chunks/{app-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-rj5esztk.js → mime-2cv161v0.js} +20 -20
- package/dist/chunks/{app-vpdv21k3.js → mime-2fz3ddp8.js} +16 -16
- package/dist/chunks/{app-se9vvhsj.js → mime-2ge8dzt3.js} +29 -29
- package/dist/chunks/{app-xjqvjb21.js → mime-2gwea9g5.js} +19 -19
- package/dist/chunks/{app-j439z36y.js → mime-2ht41vc1.js} +16 -16
- package/dist/chunks/{app-2k8khapm.js → mime-2k8khapm.js} +1 -1
- package/dist/chunks/{app-3a0970a4.js → mime-2nm7ty4g.js} +12 -12
- package/dist/chunks/{app-artkk3jp.js → mime-2p6q1z9q.js} +8 -8
- package/dist/chunks/{app-embw8kgh.js → mime-2vs2nh1n.js} +4 -4
- package/dist/chunks/{app-5q30x9k0.js → mime-2wyn68kt.js} +98 -98
- package/dist/chunks/{app-ray37d2s.js → mime-2x58g7fm.js} +41 -41
- package/dist/chunks/{app-85g1d8tm.js → mime-33n3bzdy.js} +6 -6
- package/dist/chunks/{app-b8cpdmv2.js → mime-35vdht0v.js} +4 -4
- package/dist/chunks/{app-k7f29w4z.js → mime-35wynegs.js} +2 -2
- package/dist/chunks/{app-ms97y41h.js → mime-3bxse654.js} +11 -11
- package/dist/chunks/{app-nyatbg2x.js → mime-3djbw1yw.js} +28 -28
- package/dist/chunks/{app-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-z2mjtmy6.js → mime-3gjcsfkp.js} +24 -24
- package/dist/chunks/{app-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-razyw2j6.js → mime-3zygn6db.js} +20 -20
- package/dist/chunks/{app-044abj90.js → mime-420zfhbw.js} +11 -11
- package/dist/chunks/{app-vfw0v6d8.js → mime-444p8hwk.js} +3 -3
- package/dist/chunks/{app-4jmdj23e.js → mime-4780s8zr.js} +9 -9
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{app-d1q3ap8m.js → mime-4xgk073c.js} +8 -8
- package/dist/chunks/{app-d942djzc.js → mime-50spkatp.js} +1 -1
- package/dist/chunks/{app-t4shmaty.js → mime-52xa8h0k.js} +17 -17
- package/dist/chunks/{app-1ygqh575.js → mime-56gdpj1q.js} +9 -9
- package/dist/chunks/{app-1bq7yakh.js → mime-59c8rz3w.js} +23 -23
- package/dist/chunks/{app-x5ynfa5c.js → mime-5cbe66kg.js} +8 -8
- package/dist/chunks/{app-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{app-hm6af37m.js → mime-5frpvc34.js} +2 -2
- package/dist/chunks/{app-q5rs7yet.js → mime-5r46t150.js} +7 -7
- package/dist/chunks/{app-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-drzqh7v5.js → mime-5w49rw7h.js} +18 -18
- package/dist/chunks/{app-xw420fha.js → mime-5y1dhwgz.js} +12 -12
- package/dist/chunks/{app-sfty89x1.js → mime-5yeq06a0.js} +4 -4
- package/dist/chunks/{app-ezw1c8z5.js → mime-64mdbckw.js} +21 -21
- package/dist/chunks/{app-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{app-cchxn0er.js → mime-6heswp50.js} +9 -9
- package/dist/chunks/{app-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-5s1pgeq2.js → mime-6pg9yxyn.js} +27 -27
- package/dist/chunks/{app-a0cwax0t.js → mime-6sm2335y.js} +11 -11
- package/dist/chunks/{app-5t8q8gtp.js → mime-6stpc6jq.js} +36 -36
- package/dist/chunks/{app-xc1n4kt0.js → mime-704h20fa.js} +18 -18
- package/dist/chunks/{app-1zfgys1y.js → mime-70d2s7af.js} +1 -1
- package/dist/chunks/{app-71q4at8m.js → mime-71q4at8m.js} +1 -1
- package/dist/chunks/{app-a7n3fyf7.js → mime-73zec2db.js} +13 -13
- package/dist/chunks/{app-70mv26nc.js → mime-79j0w79y.js} +28 -28
- package/dist/chunks/{app-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-7wamscce.js → mime-7dt64zzx.js} +26 -26
- package/dist/chunks/{app-kc59xmfx.js → mime-7fejhyaj.js} +29 -29
- package/dist/chunks/{app-tc60x00k.js → mime-7fkzzjzh.js} +18 -18
- package/dist/chunks/{app-3kvpk5g4.js → mime-7jryds9y.js} +9 -9
- package/dist/chunks/{app-17j9h1rv.js → mime-818pfwc9.js} +11 -11
- package/dist/chunks/{app-hq8zt1th.js → mime-81rrwt6s.js} +6 -6
- package/dist/chunks/{app-x3et2xth.js → mime-844ef7ks.js} +8 -8
- package/dist/chunks/{app-ysmfnrvn.js → mime-870jgjkc.js} +22 -22
- package/dist/chunks/{app-152ggenz.js → mime-8bnrj9ah.js} +9 -9
- package/dist/chunks/{app-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-7nv02qr2.js → mime-8na3ps9f.js} +17 -17
- package/dist/chunks/{app-8p4f9s12.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{app-6wk92e0k.js → mime-8pcfc58d.js} +32 -32
- package/dist/chunks/{app-7wdjtyr9.js → mime-8q7cq0y1.js} +3 -3
- package/dist/chunks/{app-fkqh02sv.js → mime-8qh7f6m5.js} +28 -28
- package/dist/chunks/{app-1nebbfj0.js → mime-8x7bs8k4.js} +9 -9
- package/dist/chunks/{app-60c3e86z.js → mime-9eafbtjx.js} +4 -4
- package/dist/chunks/{app-vmetmsj3.js → mime-9fk0tq8j.js} +11 -11
- package/dist/chunks/{app-b6cder0s.js → mime-9h8p7dc2.js} +26 -26
- package/dist/chunks/{app-a1bz86dw.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{app-mnezswyb.js → mime-a6wxbqrd.js} +13 -13
- package/dist/chunks/{app-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{app-sa4v4dax.js → mime-adtd93wp.js} +28 -28
- package/dist/chunks/{app-nt5ahd42.js → mime-ahxwejs5.js} +6 -6
- package/dist/chunks/{app-988zb64b.js → mime-anxsz8s7.js} +13 -13
- package/dist/chunks/{app-bc8eyqbt.js → mime-axyhzpge.js} +20 -20
- package/dist/chunks/{app-e0p1j5gh.js → mime-b0dn0kc2.js} +27 -27
- package/dist/chunks/{app-ajg244yh.js → mime-b11403r6.js} +4 -4
- package/dist/chunks/{app-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-v2d293fp.js → mime-bbrkv54p.js} +25 -25
- package/dist/chunks/{app-510m7gjw.js → mime-bgxcxs0p.js} +5 -5
- package/dist/chunks/mime-bhcmsjc5.js +26 -0
- package/dist/chunks/{app-e5nv3ght.js → mime-bndc73cn.js} +5 -5
- package/dist/chunks/{app-drmbw9rx.js → mime-c3s2gn8c.js} +12 -12
- package/dist/chunks/{app-3ythc6yv.js → mime-c5gn303e.js} +4 -4
- package/dist/chunks/{app-zkkrsg9t.js → mime-cc31018j.js} +32 -32
- package/dist/chunks/{app-4xev2pgg.js → mime-cfpeewsf.js} +17 -17
- package/dist/chunks/{app-cfpkc3c9.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{app-smsg9td2.js → mime-cga0myw9.js} +7 -7
- package/dist/chunks/{app-bajakh74.js → mime-cq37gk0t.js} +4 -4
- package/dist/chunks/{app-fwhmj7rj.js → mime-cvtmmhw6.js} +1 -1
- package/dist/chunks/{app-54dp9bwy.js → mime-d2q9jptv.js} +43 -43
- package/dist/chunks/{app-qzg61tsf.js → mime-d6k63gab.js} +59 -59
- package/dist/chunks/{app-0r54tgjs.js → mime-dagq8swk.js} +93 -93
- package/dist/chunks/{app-x58rkk1f.js → mime-dec7wy2e.js} +33 -33
- package/dist/chunks/{app-rvptwek6.js → mime-dvfrh357.js} +6 -6
- package/dist/chunks/{app-tsvwhg65.js → mime-e07961mt.js} +23 -23
- package/dist/chunks/{app-tyewczjp.js → mime-e6prdszb.js} +34 -34
- package/dist/chunks/{app-j64a2293.js → mime-eatzh2k7.js} +10 -10
- package/dist/chunks/{app-wxjeszww.js → mime-edtxp2z3.js} +1 -1
- package/dist/chunks/{app-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-9jk8tmtk.js → mime-eq6c3fte.js} +4 -4
- package/dist/chunks/{app-vce59tj5.js → mime-eqde16p0.js} +18 -18
- package/dist/chunks/{app-tx9qvpbt.js → mime-eraanh1f.js} +2 -2
- package/dist/chunks/{app-mgp54d0b.js → mime-et0rkxxj.js} +8 -8
- package/dist/chunks/{app-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-swg16hdb.js → mime-f0r94znb.js} +8 -8
- package/dist/chunks/{app-1kcn8j8m.js → mime-f160myny.js} +5 -5
- package/dist/chunks/{app-kfczp1p5.js → mime-f565jxke.js} +22 -22
- package/dist/chunks/{app-tf32q7r2.js → mime-f640cp8s.js} +5 -5
- package/dist/chunks/{app-f828m53h.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{app-fderhsq2.js → mime-fr161fk4.js} +4 -4
- package/dist/chunks/{app-scygmjnx.js → mime-fvhxsqzp.js} +12 -12
- package/dist/chunks/{app-frbst33h.js → mime-fvx6fngr.js} +19 -19
- package/dist/chunks/{app-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-6sr3ve8g.js → mime-g190xswt.js} +21 -21
- package/dist/chunks/{app-kqx5ek5j.js → mime-g2v8q978.js} +61 -61
- package/dist/chunks/{app-0t5y2g10.js → mime-g3vtg5jq.js} +15 -15
- package/dist/chunks/{app-xpxhxdfz.js → mime-g95881nk.js} +6 -6
- package/dist/chunks/{app-ka01nnt8.js → mime-gb2e7tdd.js} +5 -5
- package/dist/chunks/{app-t5eea88y.js → mime-gcb8mzse.js} +51 -51
- package/dist/chunks/{app-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-0tjxptj9.js → mime-gsy31vka.js} +6 -6
- package/dist/chunks/{app-89tseq37.js → mime-gv2jqw69.js} +15 -15
- package/dist/chunks/{app-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{app-1bmbg8mw.js → mime-h4xx3q8r.js} +43 -43
- package/dist/chunks/{app-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-fx0qb7dz.js → mime-h752p31j.js} +7 -7
- package/dist/chunks/{app-cejs3gy0.js → mime-hbbajkb6.js} +38 -38
- package/dist/chunks/{app-7eyf8twp.js → mime-hcv4nqeb.js} +11 -11
- package/dist/chunks/{app-jx5npchx.js → mime-hr15y0yn.js} +6 -6
- package/dist/chunks/{app-q2xm8ywb.js → mime-hs2a3b3x.js} +9 -9
- package/dist/chunks/{app-06r7t229.js → mime-hssj4d10.js} +37 -37
- package/dist/chunks/{app-apphhm5c.js → mime-hwfrndnj.js} +15 -15
- package/dist/chunks/{app-99em2p73.js → mime-j3y0vmp2.js} +15 -15
- package/dist/chunks/{app-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{app-y6v01n3v.js → mime-jgs57335.js} +28 -28
- package/dist/chunks/{app-n2qv0kpy.js → mime-jyzy5bh9.js} +21 -21
- package/dist/chunks/{app-g2k9mb5s.js → mime-k30yspdv.js} +5 -5
- package/dist/chunks/{app-pnfnzp98.js → mime-ke3mc4hq.js} +11 -11
- package/dist/chunks/{app-kg06axw8.js → mime-kg06axw8.js} +1 -1
- package/dist/chunks/{app-02r4s5qa.js → mime-kn0whz0h.js} +24 -24
- package/dist/chunks/{app-dtsq3qdh.js → mime-kpvyk30t.js} +9 -9
- package/dist/chunks/{app-9wy8zzfx.js → mime-kpzqjmdf.js} +11 -11
- package/dist/chunks/{app-gf2az15k.js → mime-kx4bd44t.js} +6 -6
- package/dist/chunks/{app-0s9yt902.js → mime-ky1z1t7f.js} +32 -32
- package/dist/chunks/{app-5psjpmzc.js → mime-m1mf6fzk.js} +36 -36
- package/dist/chunks/{app-gvs8aqj4.js → mime-m6mq2hjy.js} +4 -4
- package/dist/chunks/{app-xekzrwwc.js → mime-m86bnw2c.js} +9 -9
- package/dist/chunks/{app-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-r4dxhd0k.js → mime-mdwr1hje.js} +3 -3
- package/dist/chunks/{app-a4e1rkc4.js → mime-mez6c9p4.js} +14 -14
- package/dist/chunks/{app-csf2jhsg.js → mime-mfhfdr54.js} +4 -4
- package/dist/chunks/{app-w5776w9k.js → mime-mx7czsbd.js} +28 -28
- package/dist/chunks/{app-qxqb43q0.js → mime-mz6ae2yf.js} +1 -1
- package/dist/chunks/{app-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
- package/dist/chunks/{app-vr7gxye5.js → mime-njct8jvz.js} +11 -11
- package/dist/chunks/{app-wqjxr3aq.js → mime-njhyngta.js} +2 -2
- package/dist/chunks/{app-n54jgsks.js → mime-pa86c6bb.js} +4 -4
- package/dist/chunks/{app-j935v87r.js → mime-paphc93g.js} +2 -2
- package/dist/chunks/{app-57ns0p97.js → mime-pdcjakb6.js} +42 -42
- package/dist/chunks/{app-zq8yyx1t.js → mime-pfm8588r.js} +11 -11
- package/dist/chunks/{app-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{app-1m08v0hy.js → mime-ppg8cm88.js} +169 -169
- package/dist/chunks/{app-vmcn1z24.js → mime-prkz2p0b.js} +11 -11
- package/dist/chunks/{app-4qp9442f.js → mime-pt4bgws9.js} +16 -16
- package/dist/chunks/{app-rdga5mjs.js → mime-pt5fe4wm.js} +13 -13
- package/dist/chunks/{app-jttkwsk5.js → mime-q5r46mjj.js} +32 -32
- package/dist/chunks/{app-6hmet6em.js → mime-qbx47xy2.js} +9 -9
- package/dist/chunks/{app-pwag4swe.js → mime-qc2jvtz9.js} +18 -18
- package/dist/chunks/{app-14cna52h.js → mime-qd153e6s.js} +8 -8
- package/dist/chunks/{app-gxmjkbhb.js → mime-qharf8gs.js} +19 -19
- package/dist/chunks/{app-40ptwz48.js → mime-qk0gpxf2.js} +8 -8
- package/dist/chunks/{app-xpws41wm.js → mime-qkdjfw93.js} +13 -13
- package/dist/chunks/{app-ht1eeha6.js → mime-qmd9v6g9.js} +20 -20
- package/dist/chunks/{app-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{app-eq1pz5kg.js → mime-r5x6zcsm.js} +3 -3
- package/dist/chunks/{app-h1gk2xtx.js → mime-r65rh87v.js} +11 -11
- package/dist/chunks/{app-gvxf9g5f.js → mime-r9asyhme.js} +17 -17
- package/dist/chunks/{app-r9mregkx.js → mime-r9mregkx.js} +2 -2
- package/dist/chunks/{app-2fq8whb5.js → mime-ra43e7fd.js} +44 -44
- package/dist/chunks/{app-mtrbqqrq.js → mime-rf80fxgj.js} +5 -5
- package/dist/chunks/{app-t550f9t1.js → mime-rhjbct0v.js} +4 -4
- package/dist/chunks/{app-52fmve7p.js → mime-rm1v9tpv.js} +45 -45
- package/dist/chunks/{app-gp6dq5sk.js → mime-rqkpr08e.js} +53 -53
- package/dist/chunks/{app-7ha9wxsr.js → mime-rr835zjc.js} +16 -16
- package/dist/chunks/{app-k1haz278.js → mime-s140sdf9.js} +9 -9
- package/dist/chunks/{app-1nab6eme.js → mime-sd8yy5r9.js} +22 -22
- package/dist/chunks/{app-65hcqda3.js → mime-seam05pa.js} +10 -10
- package/dist/chunks/{app-yy4n6bvs.js → mime-skgd961f.js} +33 -33
- package/dist/chunks/{app-bc5dpf2z.js → mime-sm7k231e.js} +8 -8
- package/dist/chunks/{app-a2dq2jsp.js → mime-stk15n3e.js} +47 -47
- package/dist/chunks/{app-806j49yq.js → mime-sxz6gkc3.js} +7 -7
- package/dist/chunks/{app-3z42jryq.js → mime-sy5x3wzp.js} +24 -24
- package/dist/chunks/{app-dqmwfghx.js → mime-t0fxg8b9.js} +5 -5
- package/dist/chunks/{app-t0x5rdq8.js → mime-t0x5rdq8.js} +2 -2
- package/dist/chunks/{app-n61mrjqa.js → mime-t2qnazqa.js} +27 -27
- package/dist/chunks/{app-mddx2h99.js → mime-t92h3xfh.js} +27 -27
- package/dist/chunks/{app-1a6p2twq.js → mime-t9zs3egg.js} +4 -4
- package/dist/chunks/{app-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-c6why6q7.js → mime-tdjcx4hx.js} +29 -29
- package/dist/chunks/{app-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{app-hz8jassg.js → mime-tfwtnexv.js} +10 -10
- package/dist/chunks/{app-3anrg4wb.js → mime-tpnhe26j.js} +11 -11
- package/dist/chunks/{app-qmxg1ggy.js → mime-tqtqm0tk.js} +21 -21
- package/dist/chunks/{app-d57h6cn8.js → mime-tr59z4r6.js} +20 -20
- package/dist/chunks/{app-kzhtm7nv.js → mime-tst7fck9.js} +5 -5
- package/dist/chunks/{app-g0c48n6s.js → mime-tt0d903s.js} +31 -31
- package/dist/chunks/{app-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{app-z5g3nps7.js → mime-txhedez9.js} +24 -24
- package/dist/chunks/{app-b63esff5.js → mime-v2rhk2e4.js} +15 -15
- package/dist/chunks/{app-0yf0ctze.js → mime-v4xb0e1g.js} +9 -9
- package/dist/chunks/{app-g0r62mbx.js → mime-vc4e6k4r.js} +4 -4
- package/dist/chunks/{app-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{app-e5h6fpxg.js → mime-vv47xjan.js} +20 -20
- package/dist/chunks/{app-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-pk0s2wjp.js → mime-w3zbj2ne.js} +40 -40
- package/dist/chunks/{app-6anwy9fs.js → mime-w4arg62q.js} +4 -4
- package/dist/chunks/{app-ap26fkts.js → mime-wa22fvar.js} +24 -24
- package/dist/chunks/{app-bwe984tk.js → mime-wavq5vqb.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{app-2y40033h.js → mime-wjf2ryf5.js} +15 -15
- package/dist/chunks/{app-g57f06d4.js → mime-wwgj97ya.js} +15 -15
- package/dist/chunks/{app-7mbf57ka.js → mime-wyd5qy3e.js} +16 -16
- package/dist/chunks/{app-8v78jdpq.js → mime-wzv25m25.js} +13 -13
- package/dist/chunks/mime-x0mt5qzb.js +247 -0
- package/dist/chunks/{app-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-m0985973.js → mime-xj7p06cz.js} +15 -15
- package/dist/chunks/{app-w72c8zae.js → mime-xkanz2ea.js} +10 -10
- package/dist/chunks/{app-e3p4rga5.js → mime-xmvk2ac6.js} +11 -11
- package/dist/chunks/{app-0h54jqbs.js → mime-xn5rvdk3.js} +8 -8
- package/dist/chunks/{app-fznehw9k.js → mime-xtdnnkz9.js} +24 -24
- package/dist/chunks/{app-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-cqr0pt4z.js → mime-y1x7r325.js} +32 -32
- package/dist/chunks/{app-jwcy2c2z.js → mime-y71avatq.js} +4 -4
- package/dist/chunks/{app-qhfpegn6.js → mime-ye34jjbw.js} +23 -23
- package/dist/chunks/{app-yp2x3t23.js → mime-yp2x3t23.js} +1 -1
- package/dist/chunks/{app-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-s4enseaf.js → mime-yrznvahk.js} +2 -2
- package/dist/chunks/{app-ead3g9p8.js → mime-yt0fqk68.js} +5 -5
- package/dist/chunks/{app-nx27gwmr.js → mime-ywcdcbeh.js} +13 -13
- package/dist/chunks/{app-zyvybzqh.js → mime-z053jb5k.js} +24 -24
- package/dist/chunks/{app-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-3rw2j4hb.js → mime-z16ek00m.js} +299 -299
- package/dist/chunks/{app-91vw6hat.js → mime-z4y4a432.js} +16 -16
- package/dist/chunks/{app-yaf95dqt.js → mime-z5e4xs1g.js} +11 -11
- package/dist/chunks/{app-29x78va6.js → mime-z63w68vq.js} +6 -6
- package/dist/chunks/{app-w5gestfb.js → mime-zb37mv0v.js} +6 -6
- package/dist/chunks/{app-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-ergkp1p9.js → mime-zfyh5k5p.js} +11 -11
- package/dist/chunks/{app-cnakbnv9.js → mime-zjw2f83e.js} +62 -62
- package/dist/chunks/{app-80vgg4gr.js → mime-zqbh65n6.js} +32 -32
- package/dist/chunks/{app-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-b5g24bzn.js → mime-zyyezbff.js} +12 -12
- package/dist/chunks/{app-bm5wp37f.js → mime-zyyy8fjh.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +93 -93
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- package/dist/git.js +10 -10
- 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 +7 -7
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +85 -85
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +90 -90
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/app-9qgk41gq.js +0 -247
- package/dist/chunks/app-pf31ssb9.js +0 -18
- package/dist/chunks/app-ymfrwj20.js +0 -26
- /package/dist/chunks/{app-0mesazry.js → mime-0mesazry.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{app-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./mime-z4y4a432.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service65,
|
|
7
|
+
node70
|
|
8
|
+
} from "./mime-cfpeewsf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node67
|
|
12
|
+
} from "./mime-kn0whz0h.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service37,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node41
|
|
20
|
+
} from "./mime-wjf2ryf5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service80,
|
|
23
|
+
node85
|
|
24
|
+
} from "./mime-qd153e6s.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service34,
|
|
27
|
+
node38
|
|
28
|
+
} from "./mime-xn5rvdk3.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-8q7cq0y1.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service48,
|
|
35
|
+
node52
|
|
36
|
+
} from "./mime-pdcjakb6.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./mime-2nm7ty4g.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service33,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node37
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service33 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service76;
|
|
91
|
+
const location = yield* Service65;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service37;
|
|
94
|
+
const environment = yield* Service63;
|
|
95
|
+
const hooks = yield* Service80;
|
|
96
|
+
const environments = yield* Service34;
|
|
97
|
+
const config = yield* Service48;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service33.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node37 = makeLocationNode({
|
|
320
|
+
service: Service33,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node81,
|
|
324
|
+
node70,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node41,
|
|
327
|
+
node67,
|
|
328
|
+
node85,
|
|
329
|
+
node38,
|
|
330
|
+
node52,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service33, cleanup2, node37, exports_shell4 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./mime-z4y4a432.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service47,
|
|
6
6
|
Event7
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-e6prdszb.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service47;
|
|
33
|
+
const bus = yield* Service76;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./mime-z4y4a432.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./mime-73zec2db.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service29,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-4v7qdvcn.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-ppg8cm88.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,7 +30,7 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service29,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
@@ -40,9 +40,9 @@ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as
|
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service76;
|
|
45
|
+
const kv = yield* Service55;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service29.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -223,7 +223,7 @@ function slotInfo(slot) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
var node20 = Node.makeLocationNode({
|
|
226
|
-
service:
|
|
226
|
+
service: Service29,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./mime-pdcjakb6.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./mime-kn0whz0h.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./mime-8na3ps9f.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service58
|
|
19
|
+
} from "./mime-d6k63gab.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service57,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-5w49rw7h.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service37,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-wjf2ryf5.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service33
|
|
37
|
+
} from "./mime-gcb8mzse.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./mime-2wyn68kt.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-35vdht0v.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./mime-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin22,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin22 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service18;
|
|
122
|
+
const jobs = yield* Service44;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service63;
|
|
125
|
+
const access = yield* Service57;
|
|
126
|
+
const shell = yield* Service33;
|
|
127
|
+
const shellSelect = yield* Service37;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service58;
|
|
130
|
+
const config = yield* Service48;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin38 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin38 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin38 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin22, exports_shell2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./mime-9h8p7dc2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./mime-d6k63gab.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service75;
|
|
57
|
+
const permission = yield* Service58;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|