@opencode/core 0.0.0-dev-19594 → 0.0.0-dev-19595
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +2 -2
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{mime-35wynegs.js → persistent-pty-01375378.js} +2 -2
- package/dist/chunks/{mime-cc31018j.js → persistent-pty-067daj8h.js} +30 -30
- package/dist/chunks/{mime-219neeqh.js → persistent-pty-06tybfx6.js} +5 -5
- package/dist/chunks/{mime-pt5fe4wm.js → persistent-pty-07bs0vjz.js} +13 -13
- package/dist/chunks/{mime-kx4bd44t.js → persistent-pty-07yh2w3s.js} +6 -6
- package/dist/chunks/{mime-tr59z4r6.js → persistent-pty-08c87ar3.js} +17 -17
- package/dist/chunks/{mime-33n3bzdy.js → persistent-pty-0axr4kr0.js} +6 -6
- package/dist/chunks/{mime-1vh2jpye.js → persistent-pty-0c4p4pyk.js} +33 -31
- package/dist/chunks/{mime-qc2jvtz9.js → persistent-pty-0kbrq2j8.js} +15 -15
- package/dist/chunks/{mime-vc4e6k4r.js → persistent-pty-0nvtj8my.js} +4 -4
- package/dist/chunks/{mime-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-gb2e7tdd.js → persistent-pty-0vt4hkwr.js} +5 -5
- package/dist/chunks/{mime-9fk0tq8j.js → persistent-pty-0wy9zd5d.js} +11 -11
- package/dist/chunks/{mime-j3y0vmp2.js → persistent-pty-156rc272.js} +15 -15
- package/dist/chunks/{mime-f640cp8s.js → persistent-pty-16mp2rsj.js} +5 -5
- package/dist/chunks/{mime-yp2x3t23.js → persistent-pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-dagq8swk.js → persistent-pty-1bsf6wqz.js} +90 -90
- package/dist/chunks/{mime-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-g3vtg5jq.js → persistent-pty-1j73jf0y.js} +6 -6
- package/dist/chunks/{mime-wavq5vqb.js → persistent-pty-1nfpt5r1.js} +1 -1
- package/dist/chunks/{mime-cga0myw9.js → persistent-pty-1nvffc7z.js} +7 -7
- package/dist/chunks/{mime-6pg9yxyn.js → persistent-pty-205snssp.js} +18 -18
- package/dist/chunks/{mime-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{mime-d2q9jptv.js → persistent-pty-22cd4xtf.js} +43 -43
- package/dist/chunks/{mime-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-rqkpr08e.js → persistent-pty-28m91z5w.js} +44 -44
- package/dist/chunks/{mime-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-2cv161v0.js → persistent-pty-2gj877a4.js} +22 -22
- package/dist/chunks/{mime-ppg8cm88.js → persistent-pty-2p4phcfp.js} +162 -162
- package/dist/chunks/{mime-ra43e7fd.js → persistent-pty-2wacw76k.js} +47 -47
- package/dist/chunks/{mime-adtd93wp.js → persistent-pty-2ww59eqx.js} +28 -28
- package/dist/chunks/{mime-v4xb0e1g.js → persistent-pty-2zw4rjvd.js} +9 -9
- package/dist/chunks/{mime-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-t0fxg8b9.js → persistent-pty-3w2b2yj4.js} +5 -5
- package/dist/chunks/{mime-pdcjakb6.js → persistent-pty-3ydh67fs.js} +41 -41
- package/dist/chunks/{mime-1cbk4m95.js → persistent-pty-40ykk5rq.js} +12 -12
- package/dist/chunks/{mime-zqbh65n6.js → persistent-pty-41ysy2js.js} +25 -25
- package/dist/chunks/{mime-zyyezbff.js → persistent-pty-44zaeaht.js} +12 -12
- package/dist/chunks/{mime-3zygn6db.js → persistent-pty-476tty53.js} +16 -16
- package/dist/chunks/{mime-rm1v9tpv.js → persistent-pty-496ptbe5.js} +39 -39
- package/dist/chunks/{mime-6stpc6jq.js → persistent-pty-496zq10v.js} +30 -30
- package/dist/chunks/{mime-5y1dhwgz.js → persistent-pty-4bdgx2my.js} +11 -11
- package/dist/chunks/{mime-f565jxke.js → persistent-pty-4jkr53zg.js} +14 -14
- package/dist/chunks/{mime-skgd961f.js → persistent-pty-4mdcdt6k.js} +35 -35
- package/dist/chunks/{mime-tpnhe26j.js → persistent-pty-4xcpnpvy.js} +8 -8
- package/dist/chunks/{mime-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{mime-pfm8588r.js → persistent-pty-5765z361.js} +11 -11
- package/dist/chunks/{mime-et0rkxxj.js → persistent-pty-57e9z27j.js} +8 -8
- package/dist/chunks/{mime-qkdjfw93.js → persistent-pty-5aeq7032.js} +13 -13
- package/dist/chunks/{mime-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-seam05pa.js → persistent-pty-5s1ew4p0.js} +10 -10
- package/dist/chunks/{mime-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{mime-3djbw1yw.js → persistent-pty-67z4309q.js} +28 -28
- package/dist/chunks/{mime-ahxwejs5.js → persistent-pty-6kckr5h4.js} +6 -6
- package/dist/chunks/{mime-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-rr835zjc.js → persistent-pty-6rx7art5.js} +16 -16
- package/dist/chunks/{mime-kn0whz0h.js → persistent-pty-70znhec0.js} +24 -24
- package/dist/chunks/{mime-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{mime-f160myny.js → persistent-pty-72v2qqr0.js} +5 -5
- package/dist/chunks/{mime-fvx6fngr.js → persistent-pty-74vtdart.js} +15 -15
- package/dist/chunks/{mime-pt4bgws9.js → persistent-pty-758t4wd9.js} +25 -25
- package/dist/chunks/{mime-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-2k8khapm.js → persistent-pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{mime-xn5rvdk3.js → persistent-pty-7m5f9412.js} +8 -8
- package/dist/chunks/{mime-444p8hwk.js → persistent-pty-7qbafv54.js} +3 -3
- package/dist/chunks/{mime-0qxam8dj.js → persistent-pty-81swgkk7.js} +9 -9
- package/dist/chunks/{mime-anxsz8s7.js → persistent-pty-83x3c1cr.js} +13 -13
- package/dist/chunks/{mime-844ef7ks.js → persistent-pty-844ef7ks.js} +1 -1
- package/dist/chunks/{mime-hwfrndnj.js → persistent-pty-858znxdh.js} +15 -15
- package/dist/chunks/{mime-70d2s7af.js → persistent-pty-8baymvr8.js} +1 -1
- package/dist/chunks/{mime-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-7fejhyaj.js → persistent-pty-8gp97p59.js} +17 -17
- package/dist/chunks/{mime-5r46t150.js → persistent-pty-8hz2npkx.js} +7 -7
- package/dist/chunks/{mime-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{mime-5cbe66kg.js → persistent-pty-8rr4encj.js} +14 -14
- package/dist/chunks/{mime-sm7k231e.js → persistent-pty-9fpgstc4.js} +8 -8
- package/dist/chunks/{mime-8bnrj9ah.js → persistent-pty-9fxcdvg0.js} +9 -9
- package/dist/chunks/{mime-zfyh5k5p.js → persistent-pty-9nw0mbe1.js} +30 -30
- package/dist/chunks/{mime-kpzqjmdf.js → persistent-pty-9qxgj1yn.js} +8 -8
- package/dist/chunks/{mime-wjf2ryf5.js → persistent-pty-9vcfs5dg.js} +18 -18
- package/dist/chunks/{mime-rf80fxgj.js → persistent-pty-9w4ppqge.js} +5 -5
- package/dist/chunks/{mime-81rrwt6s.js → persistent-pty-9yr2yfq4.js} +6 -6
- package/dist/chunks/{mime-0q847seh.js → persistent-pty-9z190z2h.js} +8 -8
- package/dist/chunks/{mime-kpvyk30t.js → persistent-pty-9zswys26.js} +9 -9
- package/dist/chunks/{mime-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{mime-7fkzzjzh.js → persistent-pty-a23yy72n.js} +14 -14
- package/dist/chunks/{mime-qk0gpxf2.js → persistent-pty-a3gkz02n.js} +8 -8
- package/dist/chunks/{mime-xj7p06cz.js → persistent-pty-a3sm1a4h.js} +13 -13
- package/dist/chunks/{mime-64mdbckw.js → persistent-pty-a8axnbpa.js} +23 -23
- package/dist/chunks/{mime-9eafbtjx.js → persistent-pty-aa476z6j.js} +4 -4
- package/dist/chunks/{mime-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-fr161fk4.js → persistent-pty-admsvzww.js} +4 -4
- package/dist/chunks/{mime-ke3mc4hq.js → persistent-pty-aemcnybr.js} +11 -11
- package/dist/chunks/{mime-2gwea9g5.js → persistent-pty-avan7d23.js} +19 -19
- package/dist/chunks/{mime-q5r46mjj.js → persistent-pty-axcfkn0b.js} +29 -29
- package/dist/chunks/{mime-b11403r6.js → persistent-pty-ayn42wpr.js} +4 -4
- package/dist/chunks/{mime-420zfhbw.js → persistent-pty-b1gy5zdm.js} +11 -11
- package/dist/chunks/{mime-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-sd8yy5r9.js → persistent-pty-b6thfyg0.js} +21 -21
- package/dist/chunks/{mime-7jryds9y.js → persistent-pty-brpq8yh8.js} +9 -9
- package/dist/chunks/persistent-pty-by5v678g.js +18 -0
- package/dist/chunks/{mime-818pfwc9.js → persistent-pty-c1495ybz.js} +8 -8
- package/dist/chunks/{mime-wzv25m25.js → persistent-pty-c24ss25q.js} +10 -10
- package/dist/chunks/{mime-c5gn303e.js → persistent-pty-c5gn303e.js} +1 -1
- package/dist/chunks/{mime-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{mime-mdwr1hje.js → persistent-pty-ch16p0qp.js} +3 -3
- package/dist/chunks/{mime-8na3ps9f.js → persistent-pty-cjjk0ngx.js} +17 -17
- package/dist/chunks/{mime-13a7a1wx.js → persistent-pty-cq5jfqfc.js} +25 -25
- package/dist/chunks/{mime-xkanz2ea.js → persistent-pty-crfr8jm1.js} +10 -10
- package/dist/chunks/{mime-8q7cq0y1.js → persistent-pty-csdaj16z.js} +3 -3
- package/dist/chunks/{mime-0artwwxx.js → persistent-pty-cw8m5w0x.js} +3 -3
- package/dist/chunks/{mime-r9asyhme.js → persistent-pty-cztn7rx7.js} +11 -11
- package/dist/chunks/{mime-pa86c6bb.js → persistent-pty-d1qe38wd.js} +4 -4
- package/dist/chunks/{mime-4780s8zr.js → persistent-pty-d4eh0prg.js} +9 -9
- package/dist/chunks/{mime-mez6c9p4.js → persistent-pty-dmcv08zt.js} +13 -13
- package/dist/chunks/{mime-7dt64zzx.js → persistent-pty-dpz13x6g.js} +23 -23
- package/dist/chunks/{mime-xmvk2ac6.js → persistent-pty-dqhps3gd.js} +9 -9
- package/dist/chunks/{mime-jyzy5bh9.js → persistent-pty-dx72tz9d.js} +21 -21
- package/dist/chunks/{mime-zjw2f83e.js → persistent-pty-dyznf783.js} +61 -61
- package/dist/chunks/{mime-txhedez9.js → persistent-pty-e3db9cm6.js} +28 -28
- package/dist/chunks/{mime-bndc73cn.js → persistent-pty-e5nv3ght.js} +5 -5
- package/dist/chunks/{mime-bhcmsjc5.js → persistent-pty-e6mws8mz.js} +13 -13
- package/dist/chunks/{mime-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-0pb75hch.js → persistent-pty-enks4xxx.js} +5 -5
- package/dist/chunks/{mime-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-g190xswt.js → persistent-pty-f3ngv102.js} +4 -4
- package/dist/chunks/{mime-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{mime-50spkatp.js → persistent-pty-fch79rh9.js} +28 -3
- package/dist/chunks/{mime-mz6ae2yf.js → persistent-pty-fhnehbw5.js} +1 -1
- package/dist/chunks/{mime-m1mf6fzk.js → persistent-pty-fmcf9gbb.js} +36 -36
- package/dist/chunks/{mime-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{mime-z053jb5k.js → persistent-pty-g25g5a4k.js} +21 -21
- package/dist/chunks/{mime-gsy31vka.js → persistent-pty-g25n9e5v.js} +8 -8
- package/dist/chunks/{mime-sxz6gkc3.js → persistent-pty-g8d3gcyj.js} +4 -4
- package/dist/chunks/{mime-6sm2335y.js → persistent-pty-g8r6989n.js} +8 -8
- package/dist/chunks/{mime-g95881nk.js → persistent-pty-gar1hgen.js} +6 -6
- package/dist/chunks/{mime-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-g2v8q978.js → persistent-pty-gk7f333q.js} +64 -64
- package/dist/chunks/{mime-m86bnw2c.js → persistent-pty-gsx0ryk4.js} +9 -9
- package/dist/chunks/{mime-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-h752p31j.js → persistent-pty-gwmaab63.js} +11 -11
- package/dist/chunks/{mime-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{mime-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-cq37gk0t.js → persistent-pty-hfdr1yjj.js} +4 -4
- package/dist/chunks/{mime-nhy5jxhy.js → persistent-pty-hjt4xg1x.js} +4 -4
- package/dist/chunks/{mime-a6wxbqrd.js → persistent-pty-hk10kj8x.js} +13 -13
- package/dist/chunks/{mime-c3s2gn8c.js → persistent-pty-hnc9qj7b.js} +12 -12
- package/dist/chunks/{mime-t92h3xfh.js → persistent-pty-hz420t0m.js} +15 -15
- package/dist/chunks/{mime-wwgj97ya.js → persistent-pty-j0x671y3.js} +15 -15
- package/dist/chunks/{mime-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-3bxse654.js → persistent-pty-j91288an.js} +9 -9
- package/dist/chunks/{mime-hbbajkb6.js → persistent-pty-jav6p6ha.js} +38 -38
- package/dist/chunks/{mime-6heswp50.js → persistent-pty-jcyd57qm.js} +9 -9
- package/dist/chunks/{mime-r65rh87v.js → persistent-pty-jjefxv93.js} +11 -11
- package/dist/chunks/{mime-edtxp2z3.js → persistent-pty-jpej03b4.js} +1 -1
- package/dist/chunks/{mime-xtdnnkz9.js → persistent-pty-jt82t686.js} +24 -24
- package/dist/chunks/{mime-gv2jqw69.js → persistent-pty-k165hmq5.js} +20 -20
- package/dist/chunks/{mime-stk15n3e.js → persistent-pty-k8jcpvvr.js} +47 -47
- package/dist/chunks/{mime-5w49rw7h.js → persistent-pty-kfekjm9s.js} +18 -18
- package/dist/chunks/{mime-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{mime-8x7bs8k4.js → persistent-pty-kh1txrez.js} +9 -9
- package/dist/chunks/{mime-sy5x3wzp.js → persistent-pty-km3hm7vc.js} +24 -24
- package/dist/chunks/{mime-tdjcx4hx.js → persistent-pty-kyjj2hpk.js} +29 -29
- package/dist/chunks/{mime-265kqrgy.js → persistent-pty-kz70mmnm.js} +1 -1
- package/dist/chunks/{mime-1eaf0dqh.js → persistent-pty-kz993g5t.js} +7 -7
- package/dist/chunks/{mime-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-5yeq06a0.js → persistent-pty-marnn1hp.js} +6 -6
- package/dist/chunks/{mime-mfhfdr54.js → persistent-pty-mfhfdr54.js} +1 -1
- package/dist/chunks/{mime-2fz3ddp8.js → persistent-pty-mm04bz81.js} +16 -16
- package/dist/chunks/{mime-bbrkv54p.js → persistent-pty-mm6h0sq5.js} +25 -25
- package/dist/chunks/{mime-133n9d2d.js → persistent-pty-mnqckem1.js} +9 -9
- package/dist/chunks/{mime-tst7fck9.js → persistent-pty-n5hgnsg4.js} +8 -8
- package/dist/chunks/{mime-qbx47xy2.js → persistent-pty-nc5bxtt4.js} +9 -9
- package/dist/chunks/persistent-pty-nn38a0fv.js +247 -0
- package/dist/chunks/{mime-axyhzpge.js → persistent-pty-nnrfkqda.js} +20 -20
- package/dist/chunks/{mime-e6prdszb.js → persistent-pty-nqm8jas2.js} +36 -36
- package/dist/chunks/{mime-t0x5rdq8.js → persistent-pty-p1wf2k30.js} +9 -9
- package/dist/chunks/{mime-8pcfc58d.js → persistent-pty-p8ad8txy.js} +32 -32
- package/dist/chunks/{mime-eqde16p0.js → persistent-pty-pbkjeet7.js} +18 -18
- package/dist/chunks/{mime-2ge8dzt3.js → persistent-pty-pdn6mkhs.js} +29 -29
- package/dist/chunks/{mime-fvhxsqzp.js → persistent-pty-pdps0bse.js} +12 -12
- package/dist/chunks/{mime-hr15y0yn.js → persistent-pty-pedsh274.js} +6 -6
- package/dist/chunks/{mime-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{mime-t9zs3egg.js → persistent-pty-pmr4s4kc.js} +4 -4
- package/dist/chunks/{mime-wa22fvar.js → persistent-pty-pqsh7sw8.js} +24 -24
- package/dist/chunks/{mime-870jgjkc.js → persistent-pty-pwxeempz.js} +22 -22
- package/dist/chunks/{mime-njct8jvz.js → persistent-pty-q5rhn9x0.js} +11 -11
- package/dist/chunks/{mime-y1x7r325.js → persistent-pty-q8nw8w0b.js} +32 -32
- package/dist/chunks/{mime-tfwtnexv.js → persistent-pty-qj8patcw.js} +10 -10
- package/dist/chunks/{mime-eatzh2k7.js → persistent-pty-qm01ndw7.js} +10 -10
- package/dist/chunks/{mime-bgxcxs0p.js → persistent-pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-w3zbj2ne.js → persistent-pty-qtj6hy35.js} +44 -44
- package/dist/chunks/{mime-35vdht0v.js → persistent-pty-qwgwmjpf.js} +4 -4
- package/dist/chunks/{mime-hs2a3b3x.js → persistent-pty-r0cp9c3a.js} +3 -3
- package/dist/chunks/{mime-704h20fa.js → persistent-pty-r12607a7.js} +14 -14
- package/dist/chunks/{mime-w4arg62q.js → persistent-pty-r33ff4dw.js} +6 -6
- package/dist/chunks/{mime-r5x6zcsm.js → persistent-pty-r5x6zcsm.js} +1 -1
- package/dist/chunks/{mime-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{mime-1p086jrz.js → persistent-pty-rjncv4cx.js} +11 -11
- package/dist/chunks/{mime-ywcdcbeh.js → persistent-pty-rq1dwzcr.js} +13 -13
- package/dist/chunks/{mime-s140sdf9.js → persistent-pty-rsfa6j5g.js} +6 -6
- package/dist/chunks/{mime-z16ek00m.js → persistent-pty-rt91ng8c.js} +279 -279
- package/dist/chunks/{mime-jgs57335.js → persistent-pty-rvsh4nhd.js} +23 -23
- package/dist/chunks/{mime-hssj4d10.js → persistent-pty-rvxgyzv0.js} +35 -35
- package/dist/chunks/{mime-8qh7f6m5.js → persistent-pty-rycxbs55.js} +32 -32
- package/dist/chunks/{mime-zyyy8fjh.js → persistent-pty-s2q6918b.js} +10 -10
- package/dist/chunks/{mime-73zec2db.js → persistent-pty-s586x74b.js} +13 -13
- package/dist/chunks/{mime-rhjbct0v.js → persistent-pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{mime-h4xx3q8r.js → persistent-pty-s8hds3n7.js} +41 -41
- package/dist/chunks/{mime-e07961mt.js → persistent-pty-s8hqqq62.js} +23 -23
- package/dist/chunks/{mime-yt0fqk68.js → persistent-pty-s8zy8myc.js} +5 -5
- package/dist/chunks/{mime-2wyn68kt.js → persistent-pty-sg67attt.js} +93 -93
- package/dist/chunks/{mime-1qy9swdm.js → persistent-pty-svxpmbmv.js} +15 -15
- package/dist/chunks/{mime-tqtqm0tk.js → persistent-pty-t6apg4xb.js} +21 -21
- package/dist/chunks/{mime-2vs2nh1n.js → persistent-pty-t7n9q6bq.js} +4 -4
- package/dist/chunks/{mime-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-0rh963zz.js → persistent-pty-tcmfg0c6.js} +15 -15
- package/dist/chunks/{mime-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{mime-52xa8h0k.js → persistent-pty-tfna5j6r.js} +15 -15
- package/dist/chunks/{mime-59c8rz3w.js → persistent-pty-tspgchm8.js} +17 -17
- package/dist/chunks/{mime-vv47xjan.js → persistent-pty-tt6wxkxp.js} +20 -20
- package/dist/chunks/{mime-0rn7bd2y.js → persistent-pty-tvhq06z0.js} +3 -3
- package/dist/chunks/{mime-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-eraanh1f.js → persistent-pty-tx9qvpbt.js} +2 -2
- package/dist/chunks/{mime-5frpvc34.js → persistent-pty-tyqkzprt.js} +2 -2
- package/dist/chunks/{mime-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-2ht41vc1.js → persistent-pty-vexsgc0a.js} +15 -15
- package/dist/chunks/{mime-hcv4nqeb.js → persistent-pty-vj87fc1v.js} +12 -4
- package/dist/chunks/{mime-qmd9v6g9.js → persistent-pty-vpesspm9.js} +15 -15
- package/dist/chunks/{mime-dvfrh357.js → persistent-pty-vrn1sxtn.js} +6 -6
- package/dist/chunks/{mime-2nm7ty4g.js → persistent-pty-vvgctfdq.js} +12 -12
- package/dist/chunks/{mime-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-qd153e6s.js → persistent-pty-w5dgsa5w.js} +8 -8
- package/dist/chunks/{mime-2x58g7fm.js → persistent-pty-wbjq657r.js} +37 -37
- package/dist/chunks/{mime-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{mime-2p6q1z9q.js → persistent-pty-wh1sxcy7.js} +8 -8
- package/dist/chunks/{mime-cfpeewsf.js → persistent-pty-wk8vywde.js} +17 -17
- package/dist/chunks/{mime-gcb8mzse.js → persistent-pty-wydq2hf7.js} +45 -45
- package/dist/chunks/{mime-ky1z1t7f.js → persistent-pty-wzsbb5hr.js} +32 -32
- package/dist/chunks/{mime-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-f0r94znb.js → persistent-pty-x49tpfx8.js} +8 -8
- package/dist/chunks/{mime-cvtmmhw6.js → persistent-pty-xbh0n0bt.js} +1 -1
- package/dist/chunks/{mime-v2rhk2e4.js → persistent-pty-xbh1yte2.js} +18 -18
- package/dist/chunks/{mime-4xgk073c.js → persistent-pty-xf4dwdmn.js} +21 -21
- package/dist/chunks/{mime-qharf8gs.js → persistent-pty-xqmeh0zh.js} +19 -19
- package/dist/chunks/{mime-tt0d903s.js → persistent-pty-xqrmvh4d.js} +28 -28
- package/dist/chunks/{mime-mx7czsbd.js → persistent-pty-xta415tq.js} +21 -21
- package/dist/chunks/{mime-prkz2p0b.js → persistent-pty-xv814t3x.js} +11 -11
- package/dist/chunks/{mime-wyd5qy3e.js → persistent-pty-xwy7nsbm.js} +13 -13
- package/dist/chunks/{mime-d6k63gab.js → persistent-pty-y1eyp4h1.js} +46 -46
- package/dist/chunks/{mime-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-k30yspdv.js → persistent-pty-y3qvm77n.js} +5 -5
- package/dist/chunks/{mime-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{mime-zb37mv0v.js → persistent-pty-y75c90f9.js} +6 -6
- package/dist/chunks/{mime-79j0w79y.js → persistent-pty-yag4m0hg.js} +27 -27
- package/dist/chunks/{mime-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-9h8p7dc2.js → persistent-pty-yxmjpxht.js} +26 -26
- package/dist/chunks/{mime-njhyngta.js → persistent-pty-yzpqraws.js} +2 -2
- package/dist/chunks/{mime-m6mq2hjy.js → persistent-pty-yzzaphg0.js} +4 -4
- package/dist/chunks/{mime-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-b0dn0kc2.js → persistent-pty-z2d75gdc.js} +24 -24
- package/dist/chunks/{mime-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{mime-t2qnazqa.js → persistent-pty-zahra9jy.js} +25 -25
- package/dist/chunks/{mime-eq6c3fte.js → persistent-pty-zb4p73ts.js} +4 -4
- package/dist/chunks/{mime-z4y4a432.js → persistent-pty-zd83r0vm.js} +16 -16
- package/dist/chunks/{mime-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-ye34jjbw.js → persistent-pty-zmjtwb5q.js} +23 -23
- package/dist/chunks/{mime-3gjcsfkp.js → persistent-pty-znp8765m.js} +30 -30
- package/dist/chunks/{mime-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-z5e4xs1g.js → persistent-pty-zrhm0kb5.js} +11 -11
- package/dist/chunks/{mime-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-dec7wy2e.js → persistent-pty-zy1ry69w.js} +25 -25
- 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 +80 -80
- 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 +211 -211
- 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 +117 -117
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- 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 +138 -138
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +115 -115
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +74 -74
- 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 +1 -1
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +88 -88
- 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 +3 -3
- 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 +84 -84
- 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 +87 -87
- 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 +105 -105
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- 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 +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- 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 +83 -83
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- 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 +91 -91
- package/dist/reference/instructions.js +88 -88
- 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 +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- 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 +13 -13
- package/dist/shell.js +134 -134
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- 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 +102 -102
- 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 +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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/mime-4v7qdvcn.js +0 -18
- package/dist/chunks/mime-x0mt5qzb.js +0 -247
- /package/dist/chunks/{mime-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{mime-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-paphc93g.js → persistent-pty-paphc93g.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./persistent-pty-2gj877a4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./persistent-pty-wk8vywde.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./persistent-pty-3ydh67fs.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./persistent-pty-2ww59eqx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./persistent-pty-gsx0ryk4.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-6kckr5h4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin7
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin7 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service55;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service56;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin18 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin18 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin18 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin18 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin18 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin7, exports_skill };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./persistent-pty-wk8vywde.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./persistent-pty-kfekjm9s.js";
|
|
10
10
|
import {
|
|
11
11
|
Service10
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-4jkr53zg.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service11
|
|
27
|
+
} from "./persistent-pty-j0x671y3.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin30,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin30 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service11;
|
|
62
|
+
const access = yield* Service58;
|
|
63
63
|
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin26 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name10, Input10, Plugin30, toModelContent6, exports_read };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-0axr4kr0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID14
|
|
7
|
+
} from "./persistent-pty-hnc9qj7b.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-aemcnybr.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node84,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service79,
|
|
84
|
+
deps: [node85],
|
|
85
|
+
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service80;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service79.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node84 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./persistent-pty-zd83r0vm.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./persistent-pty-wk8vywde.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node24
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service20.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node24 = makeLocationNode({
|
|
165
|
+
service: Service20,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service20, node24, exports_vcs };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-aemcnybr.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node84
|
|
11
|
+
} from "./persistent-pty-zd83r0vm.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-csdaj16z.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service46,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node50,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info8,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service46 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service46, make18());
|
|
231
|
+
var node50 = makeGlobalNode({ service: Service46, layer: layer18, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make18, layer18, node50, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer16,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node48,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer16 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer16(input), deps: [] });
|
|
33
|
+
var node48 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer16, configured6, node48, exports_app };
|