@opencode/core 0.0.0-dev-275 → 0.0.0-dev-286
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 +91 -91
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{bus-034tev2y.js → worktree-034tev2y.js} +2 -2
- package/dist/chunks/{bus-8nxx61kp.js → worktree-07fp8s5y.js} +30 -30
- package/dist/chunks/{bus-z28kzp3s.js → worktree-09fe5ez7.js} +9 -9
- package/dist/chunks/{bus-gxb4nygb.js → worktree-0b2ad458.js} +12 -12
- package/dist/chunks/{bus-1tcwzehe.js → worktree-0b8vrwjw.js} +37 -37
- package/dist/chunks/{bus-9ew7ajy0.js → worktree-0ex9mpwx.js} +92 -92
- package/dist/chunks/{bus-wr3re1en.js → worktree-0h8y3ex8.js} +4 -4
- package/dist/chunks/{bus-mpza5t97.js → worktree-0q1r2kjj.js} +23 -23
- package/dist/chunks/{bus-kz8v4jkb.js → worktree-0v2kj0w9.js} +19 -19
- package/dist/chunks/{bus-sxdhpgmr.js → worktree-0yrht1zy.js} +30 -30
- package/dist/chunks/{bus-ddvn7d3w.js → worktree-160yv0cs.js} +8 -8
- package/dist/chunks/{bus-rjnacbrz.js → worktree-18g90bpv.js} +9 -9
- package/dist/chunks/{bus-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-1ep2p91f.js → worktree-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-9smg2fxp.js → worktree-1ktbs3mv.js} +82 -82
- package/dist/chunks/{bus-d1k7zqa6.js → worktree-1wvf0ff0.js} +9 -9
- package/dist/chunks/{bus-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-ha5ntr8a.js → worktree-1y6cskgh.js} +41 -41
- package/dist/chunks/{bus-d2zq2nk9.js → worktree-1yhff8da.js} +14 -14
- package/dist/chunks/{bus-1yq9hg58.js → worktree-1yq9hg58.js} +1 -1
- package/dist/chunks/{bus-204s3925.js → worktree-204s3925.js} +1 -1
- package/dist/chunks/{bus-x7xp1w7g.js → worktree-211v3ywx.js} +30 -30
- package/dist/chunks/{bus-8b3vzgkx.js → worktree-25h84942.js} +4 -4
- package/dist/chunks/{bus-dxzy608a.js → worktree-2a9pjh68.js} +6 -6
- package/dist/chunks/{bus-928v60yv.js → worktree-2db5r0en.js} +5 -5
- package/dist/chunks/{bus-x271axaw.js → worktree-2f5kzt4v.js} +7 -7
- package/dist/chunks/{bus-knh1jnvy.js → worktree-2j819t2x.js} +23 -23
- package/dist/chunks/{bus-q0ye6e4s.js → worktree-2japvek7.js} +2 -2
- package/dist/chunks/{bus-ryyta8gj.js → worktree-2mh92g0w.js} +11 -11
- package/dist/chunks/{bus-wxtbyv82.js → worktree-2mnk3cpz.js} +4 -4
- package/dist/chunks/{bus-2ytpdq6b.js → worktree-2rar789x.js} +11 -11
- package/dist/chunks/{bus-3s914nqp.js → worktree-2sctd9r8.js} +17 -17
- package/dist/chunks/{bus-pdw1qznx.js → worktree-2xfesqhp.js} +35 -25
- package/dist/chunks/{bus-mqe7nf5n.js → worktree-2zp5a6yg.js} +3 -3
- package/dist/chunks/{bus-482s3mas.js → worktree-33e1kph9.js} +17 -17
- package/dist/chunks/{bus-d9mxzqst.js → worktree-33e37e6x.js} +17 -17
- package/dist/chunks/{bus-z6wb4d7c.js → worktree-360wd41x.js} +29 -29
- package/dist/chunks/{bus-226jktjv.js → worktree-3776k8q5.js} +11 -11
- package/dist/chunks/{bus-21g5995g.js → worktree-37kqz87b.js} +3 -3
- package/dist/chunks/{bus-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-x6vg8sze.js → worktree-3m85peyv.js} +37 -37
- package/dist/chunks/{bus-v0dqmjgm.js → worktree-3ndyf3yw.js} +43 -43
- package/dist/chunks/{bus-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-1wk7sp0m.js → worktree-3wq0w81j.js} +23 -23
- package/dist/chunks/{bus-p6bk0asb.js → worktree-45dn5ykg.js} +21 -21
- package/dist/chunks/{bus-r8d5ttcp.js → worktree-45hyrqvj.js} +8 -8
- package/dist/chunks/{bus-yn7vgazy.js → worktree-4bzxpxbh.js} +5 -5
- package/dist/chunks/{bus-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-d4tdxwg3.js → worktree-4gwbv0ae.js} +1 -1
- package/dist/chunks/{bus-69hetzez.js → worktree-4m8q87vh.js} +12 -12
- package/dist/chunks/{bus-ghcecwt0.js → worktree-4pn94wwk.js} +46 -46
- package/dist/chunks/{bus-3v50s0nm.js → worktree-4pw98qd4.js} +4 -4
- package/dist/chunks/{bus-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-zqs4wz9p.js → worktree-4pzvwjr2.js} +4 -4
- package/dist/chunks/{bus-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-5rfzbttg.js → worktree-532k8p5d.js} +5 -5
- package/dist/chunks/{bus-rwcj15n0.js → worktree-5knxw5zw.js} +346 -346
- package/dist/chunks/{bus-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-y6ycwz8c.js → worktree-5w6mnkbc.js} +11 -11
- package/dist/chunks/{bus-0ebq21h6.js → worktree-5w72mvse.js} +5 -5
- package/dist/chunks/{bus-sqrwb7ek.js → worktree-650ewqdt.js} +3 -3
- package/dist/chunks/{bus-2y8abx4q.js → worktree-666ta36x.js} +13 -13
- package/dist/chunks/{bus-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-jywsdv1w.js → worktree-6h85yzk8.js} +3 -3
- package/dist/chunks/{bus-8hq15dve.js → worktree-6nyhrb0p.js} +35 -35
- package/dist/chunks/{bus-vhazrdaa.js → worktree-6sayp01d.js} +14 -14
- package/dist/chunks/{bus-y4c93yhq.js → worktree-6xk3x19f.js} +81 -81
- package/dist/chunks/{bus-ncr9krzg.js → worktree-71ygcs51.js} +19 -19
- package/dist/chunks/{bus-76cb1hcw.js → worktree-76cb1hcw.js} +1 -1
- package/dist/chunks/{bus-qspstntz.js → worktree-7a1k840q.js} +19 -19
- package/dist/chunks/{bus-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-62qx2g0z.js → worktree-7c9g9s0q.js} +13 -13
- package/dist/chunks/{bus-7248j9gj.js → worktree-7dtjcr74.js} +18 -18
- package/dist/chunks/{bus-m5vcha6x.js → worktree-7dvsg837.js} +12 -12
- package/dist/chunks/{bus-2dsx8k42.js → worktree-7dwprhna.js} +43 -43
- package/dist/chunks/{bus-hxch9gky.js → worktree-7fz6tcfs.js} +19 -19
- package/dist/chunks/{bus-c078hgae.js → worktree-7kr66rt3.js} +147 -39
- package/dist/chunks/{bus-6g7dge60.js → worktree-7n4tbjx2.js} +20 -20
- package/dist/chunks/{bus-0pnx2fzg.js → worktree-7q0y7xkk.js} +12 -12
- package/dist/chunks/{bus-e5kybrsq.js → worktree-7w11hwx0.js} +21 -21
- package/dist/chunks/{bus-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-qbj75hz3.js → worktree-80kgc7k1.js} +37 -37
- package/dist/chunks/{bus-3nnrc6vy.js → worktree-81db11mx.js} +15 -15
- package/dist/chunks/{bus-2kqka8y6.js → worktree-82h3a1kw.js} +20 -20
- package/dist/chunks/{bus-jwckxkn1.js → worktree-860029p8.js} +11 -11
- package/dist/chunks/{bus-gs1x404j.js → worktree-8d99dfzw.js} +16 -16
- package/dist/chunks/{bus-w36nberk.js → worktree-8jne4ghb.js} +20 -20
- package/dist/chunks/{bus-degxk2tg.js → worktree-8nt2cb5r.js} +19 -19
- package/dist/chunks/{bus-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-jqqh3nrt.js → worktree-8yazd8jn.js} +32 -32
- package/dist/chunks/{bus-90zstvax.js → worktree-90zstvax.js} +1 -1
- package/dist/chunks/{bus-rk7zzszn.js → worktree-923ftqyh.js} +8 -8
- package/dist/chunks/{bus-95sp4hdf.js → worktree-95sp4hdf.js} +1 -1
- package/dist/chunks/{bus-28d1e7vq.js → worktree-97jk9fzp.js} +50 -50
- package/dist/chunks/{bus-1hm6kjpw.js → worktree-97p996b3.js} +11 -11
- package/dist/chunks/{bus-2we0z9ck.js → worktree-9gmxhkaz.js} +18 -18
- package/dist/chunks/{bus-zvv2gg2z.js → worktree-9k2mwdeg.js} +6 -6
- package/dist/chunks/{bus-tg1716pc.js → worktree-9t20sdzg.js} +6 -6
- package/dist/chunks/{bus-kc03nrdn.js → worktree-9t9nbwt3.js} +40 -40
- package/dist/chunks/{bus-f0vtm8p6.js → worktree-9yke2vdy.js} +15 -15
- package/dist/chunks/{bus-z6e3jbzz.js → worktree-abbaypxx.js} +22 -22
- package/dist/chunks/{bus-meq8xbkf.js → worktree-ag4vvxdv.js} +2 -2
- package/dist/chunks/{bus-98w60ksq.js → worktree-ava6h5x1.js} +3 -3
- package/dist/chunks/{bus-ayjs7tqn.js → worktree-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-j4rzh0zg.js → worktree-b3mzhchz.js} +33 -33
- package/dist/chunks/{bus-b6vsg801.js → worktree-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-vsq2sm2q.js → worktree-b7wjnj3v.js} +23 -23
- package/dist/chunks/{bus-jydzs9jd.js → worktree-b85szd7h.js} +11 -11
- package/dist/chunks/{bus-5e5199mn.js → worktree-b9bzekrm.js} +23 -23
- package/dist/chunks/{bus-arth2bzp.js → worktree-bda28c86.js} +21 -21
- package/dist/chunks/{bus-31wms35x.js → worktree-bgg6fpfq.js} +8 -8
- package/dist/chunks/{bus-41saj7d3.js → worktree-bq56hyj9.js} +5 -5
- package/dist/chunks/{bus-xd9cc171.js → worktree-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-682dpnwj.js → worktree-c1nvaaxv.js} +256 -35
- package/dist/chunks/{bus-4gpw4gsw.js → worktree-c1sj1bpn.js} +3 -3
- package/dist/chunks/{bus-rcds6jmy.js → worktree-c325tjb6.js} +14 -14
- package/dist/chunks/{bus-85zye1zb.js → worktree-c9n14t9e.js} +9 -9
- package/dist/chunks/{bus-q17cwwmb.js → worktree-cb1dvkmt.js} +16 -16
- package/dist/chunks/{bus-a4ww6fpm.js → worktree-cbcbsb56.js} +6 -6
- package/dist/chunks/{bus-dtfn9c89.js → worktree-cgqrqfdd.js} +12 -12
- package/dist/chunks/{bus-86p3vx58.js → worktree-chfqv0dp.js} +6 -6
- package/dist/chunks/{bus-f0hs2mq3.js → worktree-chw17fk3.js} +21 -21
- package/dist/chunks/{bus-jns4gqy7.js → worktree-cnj75yzs.js} +4 -4
- package/dist/chunks/{bus-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-q6sa0fx3.js → worktree-d08zvrj3.js} +11 -11
- package/dist/chunks/{bus-sqbb0ctm.js → worktree-d1r5081s.js} +5 -5
- package/dist/chunks/{bus-8bjrjs1n.js → worktree-d4qb2rc3.js} +4 -4
- package/dist/chunks/{bus-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-ehtz5q4m.js → worktree-d5k5mzsn.js} +30 -30
- package/dist/chunks/{bus-1kn0xbnj.js → worktree-d6cs52tr.js} +24 -24
- package/dist/chunks/{bus-9fhmc1w3.js → worktree-df3kbw4d.js} +18 -18
- package/dist/chunks/{bus-b5qmte8y.js → worktree-dgjy22zw.js} +12 -12
- package/dist/chunks/{bus-ac3vkw7y.js → worktree-djd49kbm.js} +2 -2
- package/dist/chunks/{bus-r2s7w9p5.js → worktree-dq4stdtd.js} +4 -4
- package/dist/chunks/{bus-dgpxhmaz.js → worktree-dr3d1mr5.js} +23 -23
- package/dist/chunks/{bus-dt77769w.js → worktree-dt77769w.js} +1 -1
- package/dist/chunks/{bus-2p4qkans.js → worktree-dyk9s1ne.js} +4 -4
- package/dist/chunks/{bus-5e791j03.js → worktree-e1s0q7va.js} +5 -5
- package/dist/chunks/{bus-3979474a.js → worktree-e239qjg7.js} +9 -9
- package/dist/chunks/{bus-jjescw8y.js → worktree-e324kbrg.js} +8 -8
- package/dist/chunks/{bus-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{bus-83gc5kcm.js → worktree-ec3b2sgd.js} +8 -8
- package/dist/chunks/{bus-g8vb0hj0.js → worktree-erny1hp5.js} +29 -29
- package/dist/chunks/{bus-7xy5j6y0.js → worktree-excj9cfq.js} +35 -35
- package/dist/chunks/{bus-dpyfckyt.js → worktree-eyq3zjg1.js} +1 -1
- package/dist/chunks/{bus-8vbscmtw.js → worktree-ezgss49s.js} +28 -28
- package/dist/chunks/{bus-s4vgxntc.js → worktree-f7n1ssex.js} +9 -9
- package/dist/chunks/worktree-f8ma18fn.js +18 -0
- package/dist/chunks/{bus-ef6dy9g0.js → worktree-f9201ej8.js} +27 -27
- package/dist/chunks/{bus-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-05t31zmj.js → worktree-fkc1f79k.js} +44 -44
- package/dist/chunks/{bus-pexrpc5k.js → worktree-fmvebq1c.js} +6 -6
- package/dist/chunks/{bus-1kba74ng.js → worktree-g0zebgfm.js} +23 -23
- package/dist/chunks/{bus-gcye4jv7.js → worktree-gcye4jv7.js} +4 -4
- package/dist/chunks/{bus-s8sx6y1x.js → worktree-gf7njwar.js} +21 -21
- package/dist/chunks/{bus-00j11h94.js → worktree-gfhpa9gk.js} +49 -49
- package/dist/chunks/{bus-qwhg5edk.js → worktree-gg4yr8n1.js} +21 -21
- package/dist/chunks/{bus-js92w05q.js → worktree-gnm090bx.js} +11 -11
- package/dist/chunks/{bus-4a32f4de.js → worktree-gvnfypps.js} +16 -16
- package/dist/chunks/{bus-6ws2vnt1.js → worktree-h4yv4fhz.js} +190 -190
- package/dist/chunks/{bus-n76e6m8b.js → worktree-hc4wny2n.js} +11 -11
- package/dist/chunks/{bus-tt3yxz2r.js → worktree-hf8dhk55.js} +8 -8
- package/dist/chunks/{bus-hgfegmhz.js → worktree-hgfegmhz.js} +3 -3
- package/dist/chunks/{bus-hh7kjqtw.js → worktree-hh7kjqtw.js} +1 -1
- package/dist/chunks/{bus-ehhwdvk1.js → worktree-hk7hszd6.js} +22 -22
- package/dist/chunks/{bus-p2rrmpys.js → worktree-hndjt1e9.js} +14 -14
- package/dist/chunks/{bus-09a1qcfh.js → worktree-hp6wkjcv.js} +32 -32
- package/dist/chunks/{bus-hpg1pkwy.js → worktree-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-8tmhq2sq.js → worktree-hyns4byn.js} +28 -28
- package/dist/chunks/{bus-dbmp929s.js → worktree-ja63h2sr.js} +5 -5
- package/dist/chunks/{bus-j9mte5pw.js → worktree-jedcwhf5.js} +27 -27
- package/dist/chunks/{bus-jfaecv01.js → worktree-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-vhjra7pn.js → worktree-jpnvh877.js} +10 -10
- package/dist/chunks/{bus-c8zchzzf.js → worktree-jr92mdzz.js} +11 -11
- package/dist/chunks/{bus-jtnps1zs.js → worktree-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-mh65p8pj.js → worktree-jxvtabbt.js} +25 -25
- package/dist/chunks/{bus-chhg004d.js → worktree-k0jpvv7x.js} +22 -22
- package/dist/chunks/{bus-t3dqt28d.js → worktree-k1xjwggj.js} +13 -13
- package/dist/chunks/{bus-p59qfrvx.js → worktree-k536nnb8.js} +3 -3
- package/dist/chunks/{bus-k814nvkf.js → worktree-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-kcg78dnn.js → worktree-kcg78dnn.js} +2 -2
- package/dist/chunks/{bus-3sn4w2fq.js → worktree-kfkfrd1x.js} +13 -13
- package/dist/chunks/{bus-7gn3gxx1.js → worktree-kgh589a5.js} +14 -14
- package/dist/chunks/{bus-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{bus-k6fx5fwj.js → worktree-m7fyhed3.js} +21 -21
- package/dist/chunks/{bus-qy40w2mn.js → worktree-m7zsfgfm.js} +23 -23
- package/dist/chunks/{bus-w52wajpr.js → worktree-m89858wj.js} +3 -3
- package/dist/chunks/{bus-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-mb7mbhnz.js → worktree-mb7mbhnz.js} +3 -3
- package/dist/chunks/{bus-fybtq79z.js → worktree-mf3y8h86.js} +58 -58
- package/dist/chunks/{bus-cm8n6e1j.js → worktree-mj3htrn7.js} +17 -17
- package/dist/chunks/{bus-nvgj5k0n.js → worktree-mnsxfp09.js} +12 -12
- package/dist/chunks/{bus-qbc6w44s.js → worktree-mqcm7x31.js} +22 -22
- package/dist/chunks/{bus-hpejq3g9.js → worktree-n6jcsk88.js} +6 -6
- package/dist/chunks/{bus-x686a40m.js → worktree-n6jhfx9n.js} +28 -28
- package/dist/chunks/{bus-kh233pt5.js → worktree-n73q7gnv.js} +20 -20
- package/dist/chunks/{bus-nah043kf.js → worktree-nah043kf.js} +1 -1
- package/dist/chunks/{bus-8ykqf5wm.js → worktree-neary136.js} +8 -8
- package/dist/chunks/{bus-1zmzx9ha.js → worktree-nn94syh7.js} +35 -35
- package/dist/chunks/{bus-8g0en9rg.js → worktree-nnx8h4m9.js} +10 -10
- package/dist/chunks/{bus-7kx48r5w.js → worktree-nxw21s73.js} +20 -20
- package/dist/chunks/{bus-p015t6z3.js → worktree-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-c0kkxqfe.js → worktree-p65b0w7p.js} +17 -17
- package/dist/chunks/{bus-a013n6rr.js → worktree-pgkwnhrk.js} +32 -32
- package/dist/chunks/{bus-hq4c2e72.js → worktree-pjb3r7bt.js} +11 -11
- package/dist/chunks/{bus-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{bus-q498qw3k.js → worktree-pqv6jrxt.js} +25 -25
- package/dist/chunks/{bus-8qxrenr7.js → worktree-q2nqdedq.js} +9 -9
- package/dist/chunks/{bus-11hfp36g.js → worktree-qjgzc4b4.js} +4 -4
- package/dist/chunks/{bus-2pj77wb6.js → worktree-qk8rxpda.js} +8 -8
- package/dist/chunks/{bus-0ma4nchc.js → worktree-qnqasnye.js} +6 -6
- package/dist/chunks/{bus-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-n3x35gjg.js → worktree-qq6sz745.js} +18 -18
- package/dist/chunks/{bus-qqpbcr2p.js → worktree-qqpbcr2p.js} +1 -1
- package/dist/chunks/{bus-qqvy8y24.js → worktree-qqvy8y24.js} +1 -1
- package/dist/chunks/{bus-hmeh93yc.js → worktree-qr9qsn55.js} +32 -32
- package/dist/chunks/{bus-pzsa5b6k.js → worktree-qzm6q9ch.js} +6 -6
- package/dist/chunks/{bus-r542h3bh.js → worktree-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-darnxsvb.js → worktree-rbndg51d.js} +6 -6
- package/dist/chunks/{bus-jchjggqf.js → worktree-rg0cxenw.js} +2 -2
- package/dist/chunks/{bus-f2xxa684.js → worktree-rj9j3as3.js} +56 -56
- package/dist/chunks/{bus-mh93svdp.js → worktree-rjdkgttt.js} +16 -16
- package/dist/chunks/{bus-vrxpgxjt.js → worktree-rjtdrb56.js} +10 -10
- package/dist/chunks/{bus-r2vthv2q.js → worktree-rp6wgn9y.js} +22 -22
- package/dist/chunks/{bus-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-ec95eyzx.js → worktree-s4d4pvet.js} +4 -4
- package/dist/chunks/{bus-agqd6nxz.js → worktree-s7xmnr8t.js} +6 -6
- package/dist/chunks/{bus-m2w2s527.js → worktree-s88qfkmz.js} +4 -4
- package/dist/chunks/{bus-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-t8erkws8.js → worktree-scmk72rv.js} +5 -5
- package/dist/chunks/{bus-wfz8zxsv.js → worktree-sfmvmqfk.js} +3 -3
- package/dist/chunks/{bus-sm5prsna.js → worktree-spf8w817.js} +5 -5
- package/dist/chunks/{bus-0j7gp832.js → worktree-sqjzf8x2.js} +4 -4
- package/dist/chunks/{bus-wwszdvz7.js → worktree-sqx6yyec.js} +5 -5
- package/dist/chunks/{bus-c9t2ty9q.js → worktree-ssfehs1z.js} +4 -4
- package/dist/chunks/{bus-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-17pe40wz.js → worktree-sy53apyv.js} +30 -30
- package/dist/chunks/{bus-rekbjepc.js → worktree-t2cdwvq5.js} +22 -22
- package/dist/chunks/{bus-kf78hse3.js → worktree-t4zc915k.js} +17 -17
- package/dist/chunks/{bus-1cybwrec.js → worktree-tc90wnbk.js} +48 -48
- package/dist/chunks/{bus-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-v4mtj4vv.js → worktree-tf0tk0fq.js} +24 -24
- package/dist/chunks/{bus-zmg3gahh.js → worktree-thj7mhbr.js} +15 -15
- package/dist/chunks/{bus-nrtmfbdc.js → worktree-tm1e699v.js} +9 -9
- package/dist/chunks/{bus-bcsckb3t.js → worktree-tmt7mk16.js} +38 -38
- package/dist/chunks/{bus-34e1kmth.js → worktree-ts8fcpse.js} +15 -15
- package/dist/chunks/{bus-twssxy5n.js → worktree-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-q7rm49kv.js → worktree-tx8ht019.js} +9 -9
- package/dist/chunks/{bus-s7kyse9r.js → worktree-v0t96s7a.js} +4 -4
- package/dist/chunks/{bus-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-k7fcp7vh.js → worktree-v8vd993n.js} +8 -8
- package/dist/chunks/{bus-9f3sjfep.js → worktree-vjmsebym.js} +9 -9
- package/dist/chunks/{bus-m37sd98t.js → worktree-vmfhgzt5.js} +4 -4
- package/dist/chunks/worktree-vnp0me3e.js +257 -0
- package/dist/chunks/{bus-hq8347db.js → worktree-vqqftvvv.js} +13 -13
- package/dist/chunks/{bus-w2eysc6j.js → worktree-w2eysc6j.js} +2 -2
- package/dist/chunks/{bus-4v8aj50q.js → worktree-w2g8c1h4.js} +40 -40
- package/dist/chunks/{bus-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-q6yx0pgq.js → worktree-w59ytyqq.js} +9 -9
- package/dist/chunks/{bus-w6v1rynq.js → worktree-w66j29kr.js} +15 -15
- package/dist/chunks/{bus-m0qs22fp.js → worktree-w8ps3wcc.js} +17 -17
- package/dist/chunks/{bus-vdj2189h.js → worktree-wa49e47f.js} +12 -12
- package/dist/chunks/{bus-10tay87v.js → worktree-wacb14vy.js} +12 -12
- package/dist/chunks/{bus-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{bus-wegkxhrn.js → worktree-wegkxhrn.js} +2 -2
- package/dist/chunks/{bus-2992epsb.js → worktree-wh471sqx.js} +5 -5
- package/dist/chunks/{bus-7p6s7qrj.js → worktree-wm1vm6w0.js} +11 -11
- package/dist/chunks/{bus-wnhgecwx.js → worktree-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-rt4hpzta.js → worktree-wp5xvy6f.js} +33 -33
- package/dist/chunks/{bus-vje3bk9q.js → worktree-wyeqency.js} +7 -7
- package/dist/chunks/{bus-58ect7fx.js → worktree-x46kzsvj.js} +21 -21
- package/dist/chunks/{bus-3fb7g6nx.js → worktree-x5xpvpef.js} +22 -22
- package/dist/chunks/{bus-sp4h8jpm.js → worktree-x8mt7ajg.js} +32 -32
- package/dist/chunks/{bus-ksw9k14w.js → worktree-xj8tbvnx.js} +43 -43
- package/dist/chunks/{bus-xmx7xj34.js → worktree-xmx7xj34.js} +1 -1
- package/dist/chunks/{bus-pjptrb5y.js → worktree-xr8j28en.js} +45 -45
- package/dist/chunks/{bus-hs9b4b47.js → worktree-xrpfz6f8.js} +9 -9
- package/dist/chunks/{bus-1efvewcy.js → worktree-xyg4a4db.js} +5 -5
- package/dist/chunks/{bus-r13t3b9j.js → worktree-y7rptanb.js} +8 -8
- package/dist/chunks/{bus-yara3q77.js → worktree-yara3q77.js} +2 -2
- package/dist/chunks/{bus-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-dev678md.js → worktree-yegyxjwk.js} +47 -47
- package/dist/chunks/{bus-xj80yh0e.js → worktree-ynq9889m.js} +37 -37
- package/dist/chunks/{bus-mnad5nn2.js → worktree-yx3jcsf5.js} +36 -36
- package/dist/chunks/{bus-fq9s0kxx.js → worktree-yxcs01xt.js} +24 -24
- package/dist/chunks/{bus-wtgvz1w4.js → worktree-z14rfht5.js} +9 -9
- package/dist/chunks/{bus-96kzvzq7.js → worktree-z4ex9h9e.js} +11 -11
- package/dist/chunks/{bus-mmw6hwzc.js → worktree-zay1k5wv.js} +17 -17
- package/dist/chunks/{bus-b6twm7ry.js → worktree-zgntrsrs.js} +11 -11
- package/dist/chunks/{bus-fv7v599h.js → worktree-zn3yprmb.js} +13 -13
- package/dist/chunks/{bus-d441h1x7.js → worktree-zwrzbpfr.js} +16 -16
- package/dist/chunks/{bus-mz45bcy6.js → worktree-zy2d75w1.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +226 -226
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +82 -82
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +102 -102
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +82 -82
- package/dist/file-access.js +153 -153
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +114 -114
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- package/dist/git.js +9 -9
- 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 +111 -111
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +97 -97
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +95 -95
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +172 -172
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +121 -121
- package/dist/mcp/instructions.js +175 -175
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -111
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +143 -143
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +127 -127
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +136 -136
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +131 -131
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +179 -179
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +146 -146
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +96 -96
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +94 -94
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +195 -195
- package/dist/session/diff.js +100 -100
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +242 -242
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +197 -197
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +162 -162
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -246
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +159 -159
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +197 -197
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +1 -1
- package/dist/session.js +230 -230
- package/dist/shell/parse.js +7 -9
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +148 -148
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +103 -103
- 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 +174 -174
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +236 -236
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +163 -163
- package/dist/tool/plugin/question.js +145 -145
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +232 -232
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/shell/parse.d.ts +0 -1
- package/dist/types/shell/scan.d.ts +1 -0
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +92 -92
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +112 -112
- package/package.json +8 -8
- package/dist/chunks/bus-1z47fh1w.js +0 -257
- package/dist/chunks/bus-z7bdqmx5.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → worktree-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-7stb81gk.js → worktree-7stb81gk.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → worktree-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → worktree-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → worktree-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-stkk57rt.js → worktree-stkk57rt.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → worktree-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref3,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service74
|
|
4
|
+
} from "./worktree-211v3ywx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./worktree-3ndyf3yw.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service55
|
|
13
|
+
} from "./worktree-g0zebgfm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-gftt206x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./worktree-tc90wnbk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service19
|
|
22
|
+
} from "./worktree-x5xpvpef.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service51
|
|
25
|
+
} from "./worktree-yx3jcsf5.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
text3
|
|
28
|
+
} from "./worktree-25h84942.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service81
|
|
31
|
+
} from "./worktree-gvnfypps.js";
|
|
32
32
|
import {
|
|
33
33
|
detect2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-4pyp9zr9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service22
|
|
37
|
+
} from "./worktree-0ex9mpwx.js";
|
|
38
38
|
import {
|
|
39
39
|
collectBoundedResponseBody2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./worktree-3v8g72cx.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./worktree-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/image-generate.ts
|
|
46
46
|
var exports_image_generate = {};
|
|
47
47
|
__export(exports_image_generate, {
|
|
48
48
|
ImageGenerateTool: () => exports_image_generate,
|
|
49
|
-
Input: () =>
|
|
49
|
+
Input: () => Input14,
|
|
50
50
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
51
|
-
Output: () =>
|
|
52
|
-
Plugin: () =>
|
|
51
|
+
Output: () => Output10,
|
|
52
|
+
Plugin: () => Plugin34,
|
|
53
53
|
defaultModel: () => defaultModel2,
|
|
54
|
-
description: () =>
|
|
55
|
-
name: () =>
|
|
54
|
+
description: () => description6,
|
|
55
|
+
name: () => name14
|
|
56
56
|
});
|
|
57
57
|
import path from "path";
|
|
58
58
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -60,7 +60,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
60
60
|
import { Global } from "@opencode/util/global";
|
|
61
61
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
62
62
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
63
|
-
var
|
|
63
|
+
var name14 = "experimental_image_generate";
|
|
64
64
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
65
65
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
66
66
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -71,7 +71,7 @@ var EXTENSIONS = {
|
|
|
71
71
|
"image/webp": ".webp",
|
|
72
72
|
"image/gif": ".gif"
|
|
73
73
|
};
|
|
74
|
-
var
|
|
74
|
+
var description6 = [
|
|
75
75
|
"Generates a new image, or edits existing ones.",
|
|
76
76
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
77
77
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -80,7 +80,7 @@ var description2 = [
|
|
|
80
80
|
"Don't repeat a request unless the user asks."
|
|
81
81
|
].join(`
|
|
82
82
|
`);
|
|
83
|
-
var
|
|
83
|
+
var Input14 = Schema.Struct({
|
|
84
84
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
85
85
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
86
86
|
}),
|
|
@@ -94,25 +94,25 @@ var Input5 = Schema.Struct({
|
|
|
94
94
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
95
95
|
})
|
|
96
96
|
});
|
|
97
|
-
var
|
|
97
|
+
var Output10 = Schema.Struct({
|
|
98
98
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
99
99
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
100
100
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var Plugin34 = {
|
|
103
103
|
id: "opencode.tool.image-generate",
|
|
104
104
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
105
|
-
const access = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const generate = yield*
|
|
105
|
+
const access = yield* Service19;
|
|
106
|
+
const environment = yield* Service55;
|
|
107
|
+
const generate = yield* Service51;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const http = yield* HttpClient.HttpClient;
|
|
110
|
-
const config = yield*
|
|
111
|
-
const jobs = yield*
|
|
110
|
+
const config = yield* Service69;
|
|
111
|
+
const jobs = yield* Service81;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
|
-
const sessions = yield*
|
|
114
|
-
const models = yield*
|
|
115
|
-
const permission = yield*
|
|
113
|
+
const sessions = yield* Service22;
|
|
114
|
+
const models = yield* Service74;
|
|
115
|
+
const permission = yield* Service65;
|
|
116
116
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
117
117
|
const available = yield* models.available(["image"]);
|
|
118
118
|
if (!input) {
|
|
@@ -188,12 +188,12 @@ var Plugin6 = {
|
|
|
188
188
|
id: input.notificationID,
|
|
189
189
|
sessionID: input.sessionID,
|
|
190
190
|
description: "Image generation",
|
|
191
|
-
text:
|
|
191
|
+
text: text3({
|
|
192
192
|
id: input.id,
|
|
193
193
|
state: info.status,
|
|
194
194
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
195
195
|
}),
|
|
196
|
-
metadata: { source:
|
|
196
|
+
metadata: { source: name14, jobID: input.id, state: info.status, path: input.file }
|
|
197
197
|
});
|
|
198
198
|
yield* jobs.completeBackground(input.notificationID);
|
|
199
199
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -212,11 +212,11 @@ var Plugin6 = {
|
|
|
212
212
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
213
213
|
return;
|
|
214
214
|
editor.add({
|
|
215
|
-
name:
|
|
215
|
+
name: name14,
|
|
216
216
|
options: { codemode: false },
|
|
217
|
-
description:
|
|
218
|
-
input:
|
|
219
|
-
output:
|
|
217
|
+
description: description6,
|
|
218
|
+
input: Input14,
|
|
219
|
+
output: Output10,
|
|
220
220
|
execute: (input, context) => Effect.gen(function* () {
|
|
221
221
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
222
222
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
@@ -226,7 +226,7 @@ var Plugin6 = {
|
|
|
226
226
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
227
227
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
228
228
|
yield* permission.assert({
|
|
229
|
-
action:
|
|
229
|
+
action: name14,
|
|
230
230
|
resources: [ref],
|
|
231
231
|
save: ["*"],
|
|
232
232
|
metadata: { ...input, model: ref },
|
|
@@ -294,7 +294,7 @@ Use the read tool on this path to view the image.`;
|
|
|
294
294
|
yield* jobs.start({
|
|
295
295
|
id,
|
|
296
296
|
notificationID,
|
|
297
|
-
type:
|
|
297
|
+
type: name14,
|
|
298
298
|
title: input.prompt,
|
|
299
299
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
300
300
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -333,4 +333,4 @@ function acceptsImages(model) {
|
|
|
333
333
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
export {
|
|
336
|
+
export { name14, MAX_INPUT_BYTES2, description6, Input14, Output10, Plugin34, defaultModel2, exports_image_generate };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service27.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service27, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service27, makeLayer2, layer13, node31, exports_model_transport };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service87
|
|
3
|
+
} from "./worktree-hndjt1e9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./worktree-cbcbsb56.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-f8ma18fn.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-q2nqdedq.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-x8mt7ajg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service24
|
|
18
|
+
} from "./worktree-6xk3x19f.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-wnhgecwx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service63;
|
|
36
|
+
const database = yield* Service87;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service24;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./worktree-zy2d75w1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./worktree-3ndyf3yw.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service77;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service69);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./worktree-3ndyf3yw.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-mb7mbhnz.js";
|
|
9
9
|
import {
|
|
10
10
|
refHash2,
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-fg9p65nk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/session/blob.ts
|
|
20
20
|
var exports_blob = {};
|
|
@@ -191,7 +191,7 @@ var read3 = Effect.fnUntraced(function* (db, hash) {
|
|
|
191
191
|
});
|
|
192
192
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
193
193
|
var enabled2 = Effect.gen(function* () {
|
|
194
|
-
const config = yield* Effect.serviceOption(
|
|
194
|
+
const config = yield* Effect.serviceOption(Service69);
|
|
195
195
|
if (Option.isNone(config))
|
|
196
196
|
return false;
|
|
197
197
|
return latest2(yield* config.value.entries(), "experimental")?.media_blob === true;
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-b85szd7h.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service87,
|
|
12
12
|
node90
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-hndjt1e9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service86,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9yke2vdy.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
25
|
ID18,
|
|
26
26
|
NotFoundError13
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-rp6wgn9y.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-pjb3r7bt.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service76,
|
|
33
|
+
node79
|
|
34
|
+
} from "./worktree-tm1e699v.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./worktree-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service58
|
|
41
|
+
} from "./worktree-7dtjcr74.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./worktree-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput4,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event11,
|
|
53
|
+
Info: () => Info13,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service57,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node61
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,11 +73,11 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput4 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info13 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
82
|
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event11 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service57 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const database = yield*
|
|
99
|
+
const database = yield* Service87;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service86;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service76;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service58).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event11.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service57.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node61 = Node.makeGlobalNode({
|
|
260
|
+
service: Service57,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node89, node90, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node89, node90, AppProcess.node, node79]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info13, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event11, Service57, node61, exports_worktree2, OperationError2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service87,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-hndjt1e9.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-qjgzc4b4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-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: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service86,
|
|
22
|
+
configured: () => configured11,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
78
78
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
79
79
|
var isDefinition = (input) => !Array.isArray(input);
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service86 extends Context.Service()("@opencode/Bus") {
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function configured11(options) {
|
|
84
84
|
return makeGlobalNode({
|
|
85
|
-
service:
|
|
85
|
+
service: Service86,
|
|
86
86
|
deps: [node90],
|
|
87
|
-
layer: Layer.effect(
|
|
87
|
+
layer: Layer.effect(Service86, Effect.gen(function* () {
|
|
88
88
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
89
89
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
90
90
|
const pubsub = {
|
|
@@ -95,7 +95,7 @@ function configured12(options) {
|
|
|
95
95
|
const projectors = new Map;
|
|
96
96
|
const listeners = new Array;
|
|
97
97
|
const durableLocks = makeUnsafe2();
|
|
98
|
-
const { db } = yield*
|
|
98
|
+
const { db } = yield* Service87;
|
|
99
99
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
100
100
|
const persist = options?.persist ?? false;
|
|
101
101
|
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 Service86.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 node89 =
|
|
542
|
+
var node89 = configured11();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service86, configured11, node89, exports_bus };
|