@opencode/core 0.0.0-dev-19593 → 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 +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/{mime-35wynegs.js → persistent-pty-01375378.js} +2 -2
- package/dist/chunks/{mime-8zve7j1r.js → persistent-pty-067daj8h.js} +32 -32
- package/dist/chunks/{mime-219neeqh.js → persistent-pty-06tybfx6.js} +5 -5
- package/dist/chunks/{mime-qkma89m6.js → persistent-pty-07bs0vjz.js} +13 -13
- package/dist/chunks/{mime-11qgt1va.js → persistent-pty-07yh2w3s.js} +6 -6
- package/dist/chunks/{mime-1h8wvx6q.js → persistent-pty-08c87ar3.js} +20 -20
- package/dist/chunks/{mime-33n3bzdy.js → persistent-pty-0axr4kr0.js} +6 -6
- package/dist/chunks/{mime-5r3v2435.js → persistent-pty-0c4p4pyk.js} +34 -32
- package/dist/chunks/{mime-58426wyj.js → persistent-pty-0kbrq2j8.js} +9 -9
- package/dist/chunks/{mime-8nk5pr3x.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-p2ab4s2r.js → persistent-pty-0vt4hkwr.js} +5 -5
- package/dist/chunks/{mime-sae7gfvb.js → persistent-pty-0wy9zd5d.js} +11 -11
- package/dist/chunks/{mime-gqz15p6p.js → persistent-pty-156rc272.js} +15 -15
- package/dist/chunks/{mime-r0e9nadw.js → persistent-pty-16mp2rsj.js} +5 -5
- package/dist/chunks/{mime-f2n192rq.js → persistent-pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-wxg5n4nt.js → persistent-pty-1bsf6wqz.js} +88 -88
- package/dist/chunks/{mime-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-89fvnp0w.js → persistent-pty-1j73jf0y.js} +12 -12
- package/dist/chunks/{mime-wavq5vqb.js → persistent-pty-1nfpt5r1.js} +1 -1
- package/dist/chunks/{mime-8mw9dy87.js → persistent-pty-1nvffc7z.js} +7 -7
- package/dist/chunks/{mime-7x9wdesj.js → persistent-pty-205snssp.js} +27 -27
- package/dist/chunks/{mime-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{mime-sxr8e92x.js → persistent-pty-22cd4xtf.js} +42 -42
- package/dist/chunks/{mime-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-cp31e4n6.js → persistent-pty-28m91z5w.js} +54 -54
- package/dist/chunks/{mime-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-sge7677j.js → persistent-pty-2gj877a4.js} +22 -22
- package/dist/chunks/{mime-43fjnve3.js → persistent-pty-2p4phcfp.js} +177 -177
- package/dist/chunks/{mime-4m405q6x.js → persistent-pty-2wacw76k.js} +44 -44
- package/dist/chunks/{mime-vknx877p.js → persistent-pty-2ww59eqx.js} +20 -20
- package/dist/chunks/{mime-n4aaschn.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-3w0fmcng.js → persistent-pty-3w2b2yj4.js} +5 -5
- package/dist/chunks/{mime-vp7npndj.js → persistent-pty-3ydh67fs.js} +47 -47
- package/dist/chunks/{mime-522twr50.js → persistent-pty-40ykk5rq.js} +18 -18
- package/dist/chunks/{mime-7kppz51p.js → persistent-pty-41ysy2js.js} +24 -24
- package/dist/chunks/{mime-233vw3g8.js → persistent-pty-44zaeaht.js} +12 -12
- package/dist/chunks/{mime-0dd32wke.js → persistent-pty-476tty53.js} +20 -20
- package/dist/chunks/{mime-0m2e9swf.js → persistent-pty-496ptbe5.js} +43 -43
- package/dist/chunks/{mime-2z24jnne.js → persistent-pty-496zq10v.js} +43 -43
- package/dist/chunks/{mime-428y0mtg.js → persistent-pty-4bdgx2my.js} +11 -11
- package/dist/chunks/{mime-mzs7jtbe.js → persistent-pty-4jkr53zg.js} +22 -22
- package/dist/chunks/{mime-y87sds1v.js → persistent-pty-4mdcdt6k.js} +37 -37
- package/dist/chunks/{mime-tyqa4rq3.js → persistent-pty-4xcpnpvy.js} +11 -11
- package/dist/chunks/{mime-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{mime-qg6c32m5.js → persistent-pty-5765z361.js} +11 -11
- package/dist/chunks/{mime-was7srj9.js → persistent-pty-57e9z27j.js} +6 -6
- package/dist/chunks/{mime-zp6fq2c5.js → persistent-pty-5aeq7032.js} +13 -13
- package/dist/chunks/{mime-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-60w3gzyt.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-s3w38y65.js → persistent-pty-67z4309q.js} +28 -28
- package/dist/chunks/{mime-1nq040z3.js → persistent-pty-6kckr5h4.js} +4 -4
- package/dist/chunks/{mime-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-6xm8j45g.js → persistent-pty-6rx7art5.js} +16 -16
- package/dist/chunks/{mime-mc7r38pz.js → persistent-pty-70znhec0.js} +24 -24
- package/dist/chunks/{mime-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{mime-ndqxs5js.js → persistent-pty-72v2qqr0.js} +5 -5
- package/dist/chunks/{mime-6e67y2h6.js → persistent-pty-74vtdart.js} +17 -17
- package/dist/chunks/{mime-mhxmw1gn.js → persistent-pty-758t4wd9.js} +26 -26
- 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-vgx6weyf.js → persistent-pty-7m5f9412.js} +8 -8
- package/dist/chunks/{mime-ypdxe0g3.js → persistent-pty-7qbafv54.js} +5 -5
- package/dist/chunks/{mime-rk0rec3h.js → persistent-pty-81swgkk7.js} +9 -9
- package/dist/chunks/{mime-exmx9z86.js → persistent-pty-83x3c1cr.js} +13 -13
- package/dist/chunks/{mime-tpw6cwsb.js → persistent-pty-844ef7ks.js} +8 -8
- package/dist/chunks/{mime-6f9xqzex.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-n9gzpzcc.js → persistent-pty-8gp97p59.js} +33 -33
- package/dist/chunks/{mime-6ecentyg.js → persistent-pty-8hz2npkx.js} +7 -7
- package/dist/chunks/{mime-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{mime-g9wvjw5e.js → persistent-pty-8rr4encj.js} +18 -18
- package/dist/chunks/{mime-apaaqhj0.js → persistent-pty-9fpgstc4.js} +11 -11
- package/dist/chunks/{mime-m0e07c1q.js → persistent-pty-9fxcdvg0.js} +9 -9
- package/dist/chunks/{mime-7t2a4rxe.js → persistent-pty-9nw0mbe1.js} +32 -32
- package/dist/chunks/{mime-599ntear.js → persistent-pty-9qxgj1yn.js} +11 -11
- package/dist/chunks/{mime-en53wcfr.js → persistent-pty-9vcfs5dg.js} +15 -15
- package/dist/chunks/{mime-q6yya7b3.js → persistent-pty-9w4ppqge.js} +5 -5
- package/dist/chunks/{mime-zcqf6png.js → persistent-pty-9yr2yfq4.js} +6 -6
- package/dist/chunks/{mime-gnwbrhke.js → persistent-pty-9z190z2h.js} +11 -11
- package/dist/chunks/{mime-xf8yqmad.js → persistent-pty-9zswys26.js} +9 -9
- package/dist/chunks/{mime-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{mime-1fqx7y25.js → persistent-pty-a23yy72n.js} +18 -18
- package/dist/chunks/{mime-cjwramev.js → persistent-pty-a3gkz02n.js} +6 -6
- package/dist/chunks/{mime-0pt4f7ej.js → persistent-pty-a3sm1a4h.js} +15 -15
- package/dist/chunks/{mime-yhnrb9df.js → persistent-pty-a8axnbpa.js} +23 -23
- package/dist/chunks/{mime-wce6r091.js → persistent-pty-aa476z6j.js} +4 -4
- package/dist/chunks/{mime-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-19dhad8j.js → persistent-pty-admsvzww.js} +4 -4
- package/dist/chunks/{mime-tp988bqa.js → persistent-pty-aemcnybr.js} +11 -11
- package/dist/chunks/{mime-3v1f2d9y.js → persistent-pty-avan7d23.js} +20 -20
- package/dist/chunks/{mime-a7ymv1f3.js → persistent-pty-axcfkn0b.js} +32 -32
- package/dist/chunks/{mime-k3a2w7sd.js → persistent-pty-ayn42wpr.js} +4 -4
- package/dist/chunks/{mime-pzy0y0v9.js → persistent-pty-b1gy5zdm.js} +11 -11
- package/dist/chunks/{mime-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-rw5ambcd.js → persistent-pty-b6thfyg0.js} +22 -22
- package/dist/chunks/{mime-793krves.js → persistent-pty-brpq8yh8.js} +9 -9
- package/dist/chunks/persistent-pty-by5v678g.js +18 -0
- package/dist/chunks/{mime-dhwr7h25.js → persistent-pty-c1495ybz.js} +11 -11
- package/dist/chunks/{mime-1k3djte8.js → persistent-pty-c24ss25q.js} +10 -10
- package/dist/chunks/{mime-18e56dsp.js → persistent-pty-c5gn303e.js} +4 -4
- package/dist/chunks/{mime-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{mime-syx98vxf.js → persistent-pty-ch16p0qp.js} +6 -6
- package/dist/chunks/{mime-p1rhzz4x.js → persistent-pty-cjjk0ngx.js} +17 -17
- package/dist/chunks/{mime-j1ydts1m.js → persistent-pty-cq5jfqfc.js} +26 -26
- package/dist/chunks/{mime-9t6fn9sm.js → persistent-pty-crfr8jm1.js} +10 -10
- package/dist/chunks/{mime-nvxqht09.js → persistent-pty-csdaj16z.js} +3 -3
- package/dist/chunks/{mime-0artwwxx.js → persistent-pty-cw8m5w0x.js} +3 -3
- package/dist/chunks/{mime-6w1gr0yw.js → persistent-pty-cztn7rx7.js} +17 -17
- package/dist/chunks/{mime-hwyw3hyr.js → persistent-pty-d1qe38wd.js} +4 -4
- package/dist/chunks/{mime-8jqmzt62.js → persistent-pty-d4eh0prg.js} +9 -9
- package/dist/chunks/{mime-mgfyp3pg.js → persistent-pty-dmcv08zt.js} +18 -18
- package/dist/chunks/{mime-z2st3mnt.js → persistent-pty-dpz13x6g.js} +28 -28
- package/dist/chunks/{mime-aqtq9wzx.js → persistent-pty-dqhps3gd.js} +11 -11
- package/dist/chunks/{mime-n0t0kfwn.js → persistent-pty-dx72tz9d.js} +28 -28
- package/dist/chunks/{mime-t0kymgeb.js → persistent-pty-dyznf783.js} +62 -62
- package/dist/chunks/{mime-p11mj9nc.js → persistent-pty-e3db9cm6.js} +28 -28
- package/dist/chunks/{mime-bndc73cn.js → persistent-pty-e5nv3ght.js} +5 -5
- package/dist/chunks/persistent-pty-e6mws8mz.js +26 -0
- 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-vsp1fds9.js → persistent-pty-f3ngv102.js} +21 -21
- package/dist/chunks/{mime-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{mime-d942djzc.js → persistent-pty-fch79rh9.js} +28 -3
- package/dist/chunks/{mime-mz6ae2yf.js → persistent-pty-fhnehbw5.js} +1 -1
- package/dist/chunks/{mime-rbtn8dzz.js → persistent-pty-fmcf9gbb.js} +33 -33
- package/dist/chunks/{mime-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{mime-8v4hj3yf.js → persistent-pty-g25g5a4k.js} +26 -26
- package/dist/chunks/{mime-ycn09wbg.js → persistent-pty-g25n9e5v.js} +8 -8
- package/dist/chunks/{mime-806j49yq.js → persistent-pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{mime-rk95q894.js → persistent-pty-g8r6989n.js} +11 -11
- package/dist/chunks/{mime-0jez15af.js → persistent-pty-gar1hgen.js} +6 -6
- package/dist/chunks/{mime-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-mv4qg2g8.js → persistent-pty-gk7f333q.js} +71 -71
- package/dist/chunks/{mime-jjs74g98.js → persistent-pty-gsx0ryk4.js} +9 -9
- package/dist/chunks/{mime-th5km1p3.js → persistent-pty-gv6a8nnw.js} +5 -5
- package/dist/chunks/{mime-2swfdtqq.js → persistent-pty-gwmaab63.js} +14 -14
- 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-vkxpz7g2.js → persistent-pty-hfdr1yjj.js} +4 -4
- package/dist/chunks/{mime-nhy5jxhy.js → persistent-pty-hjt4xg1x.js} +4 -4
- package/dist/chunks/{mime-mk0f86h1.js → persistent-pty-hk10kj8x.js} +18 -18
- package/dist/chunks/{mime-244ce5kg.js → persistent-pty-hnc9qj7b.js} +12 -12
- package/dist/chunks/{mime-y5hshd3q.js → persistent-pty-hz420t0m.js} +27 -27
- package/dist/chunks/{mime-3ey5ve5m.js → persistent-pty-j0x671y3.js} +17 -17
- package/dist/chunks/{mime-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-6ph579g1.js → persistent-pty-j91288an.js} +11 -11
- package/dist/chunks/{mime-ex7fppdg.js → persistent-pty-jav6p6ha.js} +45 -45
- package/dist/chunks/{mime-71pc8m80.js → persistent-pty-jcyd57qm.js} +9 -9
- package/dist/chunks/{mime-z1jvgbj7.js → persistent-pty-jjefxv93.js} +14 -14
- package/dist/chunks/{mime-pdxxk7hn.js → persistent-pty-jpej03b4.js} +1 -1
- package/dist/chunks/{mime-47jk2x7b.js → persistent-pty-jt82t686.js} +23 -23
- package/dist/chunks/{mime-2bg24y81.js → persistent-pty-k165hmq5.js} +20 -20
- package/dist/chunks/{mime-7f5wqp31.js → persistent-pty-k8jcpvvr.js} +47 -47
- package/dist/chunks/{mime-9adpk5qf.js → persistent-pty-kfekjm9s.js} +18 -18
- package/dist/chunks/{mime-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{mime-kpj3v0jx.js → persistent-pty-kh1txrez.js} +7 -7
- package/dist/chunks/{mime-29zjypxj.js → persistent-pty-km3hm7vc.js} +25 -25
- package/dist/chunks/{mime-a7fxnse5.js → persistent-pty-kyjj2hpk.js} +29 -29
- package/dist/chunks/{mime-265kqrgy.js → persistent-pty-kz70mmnm.js} +1 -1
- package/dist/chunks/{mime-8gz95mnd.js → persistent-pty-kz993g5t.js} +7 -7
- package/dist/chunks/{mime-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-7n2xhmm7.js → persistent-pty-marnn1hp.js} +9 -9
- package/dist/chunks/{mime-csf2jhsg.js → persistent-pty-mfhfdr54.js} +4 -4
- package/dist/chunks/{mime-x9yfajt1.js → persistent-pty-mm04bz81.js} +16 -16
- package/dist/chunks/{mime-a9pbgtwm.js → persistent-pty-mm6h0sq5.js} +25 -25
- package/dist/chunks/{mime-f14wgmqf.js → persistent-pty-mnqckem1.js} +9 -9
- package/dist/chunks/{mime-rw09cprj.js → persistent-pty-n5hgnsg4.js} +8 -8
- package/dist/chunks/{mime-9fk3d21e.js → persistent-pty-nc5bxtt4.js} +9 -9
- package/dist/chunks/persistent-pty-nn38a0fv.js +247 -0
- package/dist/chunks/{mime-6tjahags.js → persistent-pty-nnrfkqda.js} +18 -18
- package/dist/chunks/{mime-7mawc3w3.js → persistent-pty-nqm8jas2.js} +36 -36
- package/dist/chunks/{mime-94np39z2.js → persistent-pty-p1wf2k30.js} +9 -9
- package/dist/chunks/{mime-7dn07k07.js → persistent-pty-p8ad8txy.js} +32 -32
- package/dist/chunks/{mime-j935v87r.js → persistent-pty-paphc93g.js} +2 -2
- package/dist/chunks/{mime-wwxdkha1.js → persistent-pty-pbkjeet7.js} +13 -13
- package/dist/chunks/{mime-9v7b1t0y.js → persistent-pty-pdn6mkhs.js} +29 -29
- package/dist/chunks/{mime-6yr30ss5.js → persistent-pty-pdps0bse.js} +12 -12
- package/dist/chunks/{mime-mkyvxn7c.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-3j8sdtpz.js → persistent-pty-pmr4s4kc.js} +4 -4
- package/dist/chunks/{mime-t9kjr4z5.js → persistent-pty-pqsh7sw8.js} +24 -24
- package/dist/chunks/{mime-nk4x76k7.js → persistent-pty-pwxeempz.js} +32 -32
- package/dist/chunks/{mime-sat34sqy.js → persistent-pty-q5rhn9x0.js} +14 -14
- package/dist/chunks/{mime-rpw1jzq2.js → persistent-pty-q8nw8w0b.js} +29 -29
- package/dist/chunks/{mime-ffxj81eb.js → persistent-pty-qj8patcw.js} +12 -12
- package/dist/chunks/{mime-7mny09t0.js → persistent-pty-qm01ndw7.js} +10 -10
- package/dist/chunks/{mime-hnr5yq9h.js → persistent-pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-pva5nxfr.js → persistent-pty-qtj6hy35.js} +42 -42
- package/dist/chunks/{mime-wrqsgs34.js → persistent-pty-qwgwmjpf.js} +4 -4
- package/dist/chunks/{mime-p8vshhkt.js → persistent-pty-r0cp9c3a.js} +9 -9
- package/dist/chunks/{mime-jt9z208x.js → persistent-pty-r12607a7.js} +17 -17
- package/dist/chunks/{mime-efv4s0g0.js → persistent-pty-r33ff4dw.js} +6 -6
- package/dist/chunks/{mime-mvfsc1pv.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{mime-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{mime-rr42dmak.js → persistent-pty-rjncv4cx.js} +11 -11
- package/dist/chunks/{mime-mvtk1eek.js → persistent-pty-rq1dwzcr.js} +13 -13
- package/dist/chunks/{mime-z7haez8t.js → persistent-pty-rsfa6j5g.js} +9 -9
- package/dist/chunks/persistent-pty-rt91ng8c.js +466 -0
- package/dist/chunks/{mime-9jn58xvx.js → persistent-pty-rvsh4nhd.js} +28 -28
- package/dist/chunks/{mime-84f9n64y.js → persistent-pty-rvxgyzv0.js} +37 -37
- package/dist/chunks/{mime-hfk58y1y.js → persistent-pty-rycxbs55.js} +32 -32
- package/dist/chunks/{mime-msr7tfg3.js → persistent-pty-s2q6918b.js} +10 -10
- package/dist/chunks/{mime-zdzzr9rq.js → persistent-pty-s586x74b.js} +13 -13
- package/dist/chunks/{mime-0gdmqesm.js → persistent-pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{mime-gg6k7kh9.js → persistent-pty-s8hds3n7.js} +46 -46
- package/dist/chunks/{mime-3e6fhmkh.js → persistent-pty-s8hqqq62.js} +23 -23
- package/dist/chunks/{mime-d2aac7k2.js → persistent-pty-s8zy8myc.js} +5 -5
- package/dist/chunks/{mime-7k089n9a.js → persistent-pty-sg67attt.js} +98 -98
- package/dist/chunks/{mime-qwnx8exk.js → persistent-pty-svxpmbmv.js} +19 -19
- package/dist/chunks/{mime-b9bv6qq3.js → persistent-pty-t6apg4xb.js} +21 -21
- package/dist/chunks/{mime-ddt2bs9e.js → persistent-pty-t7n9q6bq.js} +4 -4
- package/dist/chunks/{mime-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-89znhe33.js → persistent-pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-c8v5kc65.js → persistent-pty-tcmfg0c6.js} +18 -18
- package/dist/chunks/{mime-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{mime-xzzqdqzt.js → persistent-pty-tfna5j6r.js} +17 -17
- package/dist/chunks/{mime-fcj6b5ej.js → persistent-pty-tspgchm8.js} +20 -20
- package/dist/chunks/{mime-8j0zrhvt.js → persistent-pty-tt6wxkxp.js} +20 -20
- package/dist/chunks/{mime-60n7bf9e.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-tqkrwgse.js → persistent-pty-tyqkzprt.js} +2 -2
- package/dist/chunks/{mime-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-pkm3pkx5.js → persistent-pty-vexsgc0a.js} +16 -16
- package/dist/chunks/{mime-y598pph1.js → persistent-pty-vj87fc1v.js} +19 -11
- package/dist/chunks/{mime-az6rvz1x.js → persistent-pty-vpesspm9.js} +25 -25
- package/dist/chunks/{mime-7n7hfnea.js → persistent-pty-vrn1sxtn.js} +6 -6
- package/dist/chunks/{mime-1rr79kmz.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-aq5y8b9e.js → persistent-pty-w5dgsa5w.js} +8 -8
- package/dist/chunks/{mime-zmyxeed4.js → persistent-pty-wbjq657r.js} +41 -41
- package/dist/chunks/{mime-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{mime-h7xbcxh5.js → persistent-pty-wh1sxcy7.js} +8 -8
- package/dist/chunks/{mime-hsyde07s.js → persistent-pty-wk8vywde.js} +17 -17
- package/dist/chunks/{mime-k5ysc9y0.js → persistent-pty-wydq2hf7.js} +50 -50
- package/dist/chunks/{mime-g6jvm51t.js → persistent-pty-wzsbb5hr.js} +32 -32
- package/dist/chunks/{mime-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-3xfqjwf0.js → persistent-pty-x49tpfx8.js} +8 -8
- package/dist/chunks/{mime-cvtmmhw6.js → persistent-pty-xbh0n0bt.js} +1 -1
- package/dist/chunks/{mime-yad4qhb5.js → persistent-pty-xbh1yte2.js} +18 -18
- package/dist/chunks/{mime-25c3bv42.js → persistent-pty-xf4dwdmn.js} +32 -32
- package/dist/chunks/{mime-4x2wqn1j.js → persistent-pty-xqmeh0zh.js} +22 -22
- package/dist/chunks/{mime-qxad6akg.js → persistent-pty-xqrmvh4d.js} +32 -32
- package/dist/chunks/{mime-rjasbbd6.js → persistent-pty-xta415tq.js} +25 -25
- package/dist/chunks/{mime-mq0v60k6.js → persistent-pty-xv814t3x.js} +11 -11
- package/dist/chunks/{mime-jy2v93y2.js → persistent-pty-xwy7nsbm.js} +10 -10
- package/dist/chunks/{mime-efemqsg6.js → persistent-pty-y1eyp4h1.js} +59 -59
- package/dist/chunks/{mime-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-xyf1yhas.js → persistent-pty-y3qvm77n.js} +10 -10
- package/dist/chunks/{mime-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{mime-08vesxpc.js → persistent-pty-y75c90f9.js} +6 -6
- package/dist/chunks/{mime-n7w7dj2n.js → persistent-pty-yag4m0hg.js} +30 -30
- package/dist/chunks/{mime-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-a14tmfw2.js → persistent-pty-yxmjpxht.js} +26 -26
- package/dist/chunks/{mime-thfnv5gc.js → persistent-pty-yzpqraws.js} +2 -2
- package/dist/chunks/{mime-7wj5bpvf.js → persistent-pty-yzzaphg0.js} +4 -4
- package/dist/chunks/{mime-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-d8d1pk1w.js → persistent-pty-z2d75gdc.js} +27 -27
- package/dist/chunks/{mime-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-9s1hrf4j.js → persistent-pty-zahra9jy.js} +21 -21
- package/dist/chunks/{mime-t2p9dx1c.js → persistent-pty-zb4p73ts.js} +4 -4
- package/dist/chunks/{mime-sbwhh814.js → persistent-pty-zd83r0vm.js} +16 -16
- package/dist/chunks/{mime-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-3nv94yae.js → persistent-pty-zmjtwb5q.js} +23 -23
- package/dist/chunks/{mime-yq15jsfs.js → persistent-pty-znp8765m.js} +26 -26
- package/dist/chunks/{mime-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-6mn0csek.js → persistent-pty-zrhm0kb5.js} +11 -11
- package/dist/chunks/{mime-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-yxmrz8pz.js → persistent-pty-zy1ry69w.js} +34 -34
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- 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 +119 -119
- 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 +121 -121
- 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 +119 -119
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +94 -94
- 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 +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 +137 -137
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- 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 +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 +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 +101 -101
- package/dist/plugin/command.js +96 -96
- 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 +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 +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +96 -96
- 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 +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 +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +125 -125
- 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 +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- 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 +217 -217
- 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 +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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 +15 -15
- 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 +7 -7
- 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 +7 -7
- 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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- 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 +93 -93
- package/package.json +8 -8
- package/dist/chunks/mime-4v7qdvcn.js +0 -18
- package/dist/chunks/mime-5wm2rtqk.js +0 -247
- package/dist/chunks/mime-7136dx6n.js +0 -466
- package/dist/chunks/mime-89qrc0yw.js +0 -26
- /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-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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-0axr4kr0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID14,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info28,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-hnc9qj7b.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID15.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID14.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info28.make({
|
|
92
|
+
...Info28.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID14.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./persistent-pty-pdps0bse.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./persistent-pty-wk8vywde.js";
|
|
15
15
|
import {
|
|
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/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service40,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service40 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node44 = makeLocationNode({
|
|
144
|
+
service: Service40,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error3, Service40, node44, noopLayer2, exports_snapshot2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./persistent-pty-zd83r0vm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./persistent-pty-t6apg4xb.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service79;
|
|
24
|
+
const wellknown = yield* Service57;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin32 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-aemcnybr.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info21,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
|
+
node: () => node66
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info21 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service61 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID9.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service61.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node66 = makeGlobalNode({ service: Service61, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID9, Info21, ListInput5, AddInput2, Service61, node66, exports_saved };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
nativeSettings2,
|
|
7
7
|
mergeOverlay2,
|
|
8
8
|
mergeHeaders2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-0axr4kr0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service71,
|
|
12
|
+
node76
|
|
13
|
+
} from "./persistent-pty-vj87fc1v.js";
|
|
14
14
|
import {
|
|
15
15
|
map2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-01375378.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID14,
|
|
19
19
|
VariantID2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Ref3
|
|
21
|
+
} from "./persistent-pty-hnc9qj7b.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service72,
|
|
25
|
+
node77
|
|
26
|
+
} from "./persistent-pty-yag4m0hg.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service70,
|
|
29
|
+
node75
|
|
30
|
+
} from "./persistent-pty-67z4309q.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,7 +39,7 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError3,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service69,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -47,7 +47,7 @@ __export(exports_model_resolver, {
|
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
49
|
layer: () => layer24,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node74,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID15,
|
|
61
|
+
modelID: ID14,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID15,
|
|
71
|
+
modelID: ID14,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID15,
|
|
82
|
+
modelID: ID14,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID15,
|
|
93
|
+
modelID: ID14,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID15,
|
|
105
|
+
modelID: ID14,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID15,
|
|
115
|
+
modelID: ID14,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service69 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -268,14 +268,14 @@ var causeMessage = (cause) => {
|
|
|
268
268
|
};
|
|
269
269
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
270
270
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
271
|
-
var layer24 = Layer.effect(
|
|
272
|
-
const catalog = yield*
|
|
273
|
-
const integrations = yield*
|
|
271
|
+
var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
272
|
+
const catalog = yield* Service70;
|
|
273
|
+
const integrations = yield* Service72;
|
|
274
274
|
const npm = yield* Npm.Service;
|
|
275
|
-
const aisdk = yield*
|
|
275
|
+
const aisdk = yield* Service71;
|
|
276
276
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
277
277
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
278
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
278
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
|
|
279
279
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
280
280
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
281
281
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -285,7 +285,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
285
285
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
286
286
|
return {
|
|
287
287
|
model: runtime,
|
|
288
|
-
ref:
|
|
288
|
+
ref: Ref3.make({
|
|
289
289
|
id: selected.id,
|
|
290
290
|
providerID: selected.providerID,
|
|
291
291
|
...variant === undefined ? {} : { variant }
|
|
@@ -297,7 +297,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
297
297
|
websocket: selected.websocket ?? false
|
|
298
298
|
};
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service69.of({
|
|
301
301
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
302
302
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
303
303
|
if (!selected)
|
|
@@ -314,10 +314,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
314
314
|
const name = packageName2(packageName);
|
|
315
315
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
service:
|
|
317
|
+
var node74 = makeLocationNode({
|
|
318
|
+
service: Service69,
|
|
319
319
|
layer: layer24,
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node75, node77, Npm.node, node76]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
323
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service69, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./persistent-pty-zd83r0vm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node61
|
|
7
|
+
} from "./persistent-pty-2gj877a4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node7
|
|
11
|
+
} from "./persistent-pty-hz420t0m.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service34
|
|
14
|
+
} from "./persistent-pty-by5v678g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node22,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-k165hmq5.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service5,
|
|
21
|
+
node8
|
|
22
|
+
} from "./persistent-pty-844ef7ks.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-rt91ng8c.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make10,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-n5hgnsg4.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service12,
|
|
34
|
+
node15
|
|
35
|
+
} from "./persistent-pty-83x3c1cr.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service6,
|
|
38
|
+
node9
|
|
39
|
+
} from "./persistent-pty-9zswys26.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer4,
|
|
49
|
+
node: () => node6
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
127
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service34;
|
|
129
|
+
const sdk = yield* Service12;
|
|
130
|
+
const instance = yield* Service5;
|
|
131
|
+
const sources = yield* Service4;
|
|
132
|
+
const modules = yield* make10();
|
|
133
|
+
const bus = yield* Service79;
|
|
134
|
+
const updates = yield* Service6;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
node22,
|
|
210
|
+
node15,
|
|
211
|
+
node8,
|
|
212
|
+
node7,
|
|
211
213
|
node9,
|
|
212
|
-
|
|
213
|
-
node11,
|
|
214
|
-
node83,
|
|
214
|
+
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node61,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer4, node6, exports_supervisor };
|