@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./mime-z4y4a432.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-wjf2ryf5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service36,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer14,
|
|
26
|
+
node: () => node40
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service36 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service36, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service76;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service36.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer14 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service36,
|
|
261
|
+
layer: options === undefined ? layer14 : makeLayer(options),
|
|
262
|
+
deps: [node81, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node40 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError6, Service36, layer14, configured4, node40, exports_persistent_pty, Handoff2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./app-pnfnzp98.js";
|
|
5
1
|
import {
|
|
6
2
|
Service77,
|
|
7
3
|
node82
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./mime-ke3mc4hq.js";
|
|
5
|
+
import {
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./mime-z4y4a432.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
ID: () => ID15,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -38,9 +38,9 @@ var ID15 = Credential.ID;
|
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
44
|
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
@@ -48,16 +48,16 @@ class Info29 extends Schema.Class("Credential.Info")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service77).db;
|
|
55
|
+
const bus = yield* Service76;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
79
|
+
const credential = new Info30({
|
|
80
80
|
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node82, node81] });
|
|
197
197
|
|
|
198
|
-
export { ID15, OAuth3, Key4, Value2,
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service74, node79, exports_credential };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./mime-ke3mc4hq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./mime-81rrwt6s.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-mfhfdr54.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-6sm2335y.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-cc31018j.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service20
|
|
21
|
+
} from "./mime-dagq8swk.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service42;
|
|
36
|
+
const database = yield* Service77;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service20;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5e4xs1g.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin38 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin8 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin8 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin38, exports_tinyfish };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./mime-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service42 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node45 = LayerNode.unbound(Service42, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service42, node45, exports_service2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node8, bound2, exports_instance2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./app-pnfnzp98.js";
|
|
5
|
-
import {
|
|
6
|
-
latestSequence2,
|
|
7
2
|
Service77,
|
|
8
3
|
node82
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./mime-ke3mc4hq.js";
|
|
5
|
+
import {
|
|
6
|
+
latestSequence2,
|
|
7
|
+
Service76,
|
|
8
|
+
node81
|
|
9
|
+
} from "./mime-z4y4a432.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-6sm2335y.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service59,
|
|
21
|
+
node63
|
|
22
|
+
} from "./mime-fvx6fngr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service20,
|
|
25
|
+
node24
|
|
26
|
+
} from "./mime-dagq8swk.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -59,11 +59,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
61
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service76;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service20;
|
|
65
|
+
const store = yield* Service59;
|
|
66
|
+
const db = (yield* Service77).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node3 = makeLocationNode({
|
|
151
151
|
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node81, llmClient2, node24, node63, node82]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./mime-81rrwt6s.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-hs2a3b3x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./mime-adtd93wp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service56), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|