@opencode/core 0.0.0-dev-21309 → 0.0.0-dev-21314
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-bkschzhq.js → session-02g8yb1z.js} +13 -13
- package/dist/chunks/{form-z9qyhhpt.js → session-07770t2t.js} +6 -6
- package/dist/chunks/{form-wj1kajne.js → session-0c6p43cp.js} +8 -8
- package/dist/chunks/{form-rhjbct0v.js → session-0gdmqesm.js} +4 -4
- package/dist/chunks/{form-g091zayf.js → session-0psg52y2.js} +24 -24
- package/dist/chunks/{form-0vbcp93d.js → session-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-5c36xey0.js → session-0xgrx95y.js} +26 -26
- package/dist/chunks/{form-mysqzpg8.js → session-14hgbde8.js} +5 -5
- package/dist/chunks/{form-prcpq60y.js → session-14pg4h6h.js} +8 -8
- package/dist/chunks/session-15aq8qza.js +257 -0
- package/dist/chunks/{form-zc34vfrd.js → session-1bzr682y.js} +12 -12
- package/dist/chunks/{form-1ep4rre3.js → session-1ep4rre3.js} +1 -1
- package/dist/chunks/{form-ywt8jp22.js → session-1ffvrpkg.js} +6 -6
- package/dist/chunks/{form-waskdk5r.js → session-1j6m29mr.js} +9 -9
- package/dist/chunks/{form-t2gndjp3.js → session-1nw3zm24.js} +7 -7
- package/dist/chunks/{form-m7nc2rpb.js → session-1ptcz1aw.js} +55 -55
- package/dist/chunks/{form-3a2zxt72.js → session-1sgxfzw3.js} +14 -14
- package/dist/chunks/{form-79kzwjp8.js → session-1v2qx10z.js} +8 -8
- package/dist/chunks/{form-p4ye8mev.js → session-1vy01fax.js} +3 -3
- package/dist/chunks/{form-7y1apa1f.js → session-23kra5v4.js} +14 -14
- package/dist/chunks/{form-8tp1gwdj.js → session-2420hj0p.js} +34 -34
- package/dist/chunks/{form-dq407baf.js → session-25yddszk.js} +6 -6
- package/dist/chunks/{form-7ztexanv.js → session-29kdakx0.js} +15 -15
- package/dist/chunks/{form-2k8khapm.js → session-2k8khapm.js} +1 -1
- package/dist/chunks/{form-46wtzjjz.js → session-35epk4r0.js} +5 -5
- package/dist/chunks/{form-6jgeearj.js → session-37gc27dg.js} +46 -46
- package/dist/chunks/{form-rmb1gw6x.js → session-37zydtf8.js} +24 -24
- package/dist/chunks/{form-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-w78b8eew.js → session-3w50xvmd.js} +11 -11
- package/dist/chunks/{form-addxnjmp.js → session-3y377wv9.js} +4 -4
- package/dist/chunks/{form-3d7d73y7.js → session-3yt14ahe.js} +6 -6
- package/dist/chunks/{form-e9hz0076.js → session-3zktm4st.js} +11 -11
- package/dist/chunks/{form-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-yf054wvd.js → session-43frtkeb.js} +21 -21
- package/dist/chunks/{form-zk2qw2pd.js → session-46nb00bf.js} +13 -13
- package/dist/chunks/{form-b674v2dg.js → session-47jkzegy.js} +5 -5
- package/dist/chunks/{form-m8xah3g8.js → session-4bcztqfp.js} +17 -17
- package/dist/chunks/{form-ybax1fzm.js → session-4kk33tta.js} +2 -2
- package/dist/chunks/{form-eh6ej367.js → session-4m4myvej.js} +5 -5
- package/dist/chunks/{form-y56ehv6b.js → session-4nj4bn9q.js} +5 -5
- package/dist/chunks/{form-fs6b610g.js → session-52rp03wm.js} +11 -11
- package/dist/chunks/{form-pkbhwwsm.js → session-5eek9100.js} +21 -21
- package/dist/chunks/{form-exp1944n.js → session-5h49dtg2.js} +19 -19
- package/dist/chunks/{form-njv48zzv.js → session-5jszk2xw.js} +19 -19
- package/dist/chunks/{form-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-jytfn6ja.js → session-5njtz3qm.js} +8 -8
- package/dist/chunks/{form-p4mj4rdp.js → session-5yzzbxa7.js} +8 -8
- package/dist/chunks/{form-6827pfxn.js → session-6827pfxn.js} +1 -1
- package/dist/chunks/{form-hdzv5k9p.js → session-6thrtbgs.js} +11 -11
- package/dist/chunks/{form-7t193933.js → session-6w6x9nqq.js} +5 -5
- package/dist/chunks/{form-a8nkje97.js → session-6x4m2wb8.js} +11 -11
- package/dist/chunks/{form-6xb47vfp.js → session-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-mpzfxbse.js → session-6zw2r5dj.js} +3 -3
- package/dist/chunks/{form-8xnpz133.js → session-71nj6hcx.js} +5 -5
- package/dist/chunks/{form-775gj3j1.js → session-775gj3j1.js} +2 -2
- package/dist/chunks/{form-7c4aq7s6.js → session-78jd07r2.js} +15 -15
- package/dist/chunks/{form-ddjvg64n.js → session-797s8g7v.js} +14 -14
- package/dist/chunks/{form-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-pw1h6ks1.js → session-7djx2bk3.js} +30 -30
- package/dist/chunks/{form-q47bt154.js → session-7ge0sy1k.js} +18 -18
- package/dist/chunks/{form-kk8h1mek.js → session-7rwqf82v.js} +8 -8
- package/dist/chunks/{form-6f7em8tn.js → session-7t2yk244.js} +13 -13
- package/dist/chunks/{form-a20pjse5.js → session-7v6vae4w.js} +3 -3
- package/dist/chunks/{form-tbmac1c7.js → session-80scg3y3.js} +4 -4
- package/dist/chunks/{form-84txncab.js → session-84txncab.js} +1 -1
- package/dist/chunks/{form-3e4a7xxm.js → session-86qjnnqk.js} +11 -11
- package/dist/chunks/{form-k5yp4jza.js → session-88hn0rhj.js} +44 -44
- package/dist/chunks/{form-y98rys2n.js → session-8akh696h.js} +15 -15
- package/dist/chunks/{form-mtrbqqrq.js → session-8dff8bqa.js} +5 -5
- package/dist/chunks/{form-rwm5vee1.js → session-8gxqpgph.js} +4 -4
- package/dist/chunks/{form-b12fh71z.js → session-8hzf46d8.js} +12 -12
- package/dist/chunks/{form-8m6m0r52.js → session-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-8mywswrd.js → session-8mywswrd.js} +1 -1
- package/dist/chunks/{form-f93vdewn.js → session-8pwke1r9.js} +6 -6
- package/dist/chunks/{form-w8reh54w.js → session-8tv96w5n.js} +6 -6
- package/dist/chunks/{form-5hmkpywb.js → session-96ks7dsb.js} +33 -33
- package/dist/chunks/{form-e86gnere.js → session-9cksbnqm.js} +12 -12
- package/dist/chunks/{form-g66bevh5.js → session-9pay6nf1.js} +11 -11
- package/dist/chunks/{form-440je11f.js → session-a7v5357x.js} +22 -22
- package/dist/chunks/{form-p008bemp.js → session-awex745w.js} +20 -20
- package/dist/chunks/{form-bvr6saty.js → session-baht5a7f.js} +26 -26
- package/dist/chunks/{form-jxvnzpw8.js → session-bbgk03y5.js} +26 -26
- package/dist/chunks/{form-mr25sape.js → session-bbq853ba.js} +29 -29
- package/dist/chunks/{form-evdvhfzx.js → session-bgdj39ha.js} +15 -15
- package/dist/chunks/{form-ec9r64eb.js → session-bsaxn52h.js} +44 -44
- package/dist/chunks/{form-apsw5g4h.js → session-by8mmdze.js} +10 -10
- package/dist/chunks/{form-c1fqxshp.js → session-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-58072hz9.js → session-c2sed5cq.js} +3 -3
- package/dist/chunks/{form-1tmtn4f0.js → session-c4fk019e.js} +35 -35
- package/dist/chunks/{form-csrxhvh8.js → session-c54tsqp9.js} +57 -57
- package/dist/chunks/{form-0y3k7j43.js → session-c67h1spr.js} +4 -4
- package/dist/chunks/{form-zygegkxh.js → session-ch2bk5zb.js} +11 -11
- package/dist/chunks/{form-a6rgdr89.js → session-cqggc1c2.js} +32 -32
- package/dist/chunks/{form-8fd1zqwe.js → session-cxrde8tg.js} +87 -87
- package/dist/chunks/{form-w56rxd4n.js → session-d1ehftyt.js} +20 -20
- package/dist/chunks/{form-b7jha8hs.js → session-d2pksewe.js} +9 -9
- package/dist/chunks/{form-jdmw2rsk.js → session-d7ne5qeg.js} +25 -25
- package/dist/chunks/{form-kn8ghv8t.js → session-d8n4fhj7.js} +179 -179
- package/dist/chunks/{form-n8nt0na6.js → session-d9te6n0s.js} +19 -19
- package/dist/chunks/{form-gr6bp44c.js → session-damjh02j.js} +13 -13
- package/dist/chunks/{form-2r00bf87.js → session-dhtv0h7a.js} +24 -24
- package/dist/chunks/{form-7evdcjn1.js → session-dmbbmepx.js} +4 -4
- package/dist/chunks/{form-dpkg50ah.js → session-dpkg50ah.js} +1 -1
- package/dist/chunks/{form-2yt4cmmc.js → session-dqkkx36v.js} +4 -4
- package/dist/chunks/{form-xfkkasph.js → session-drwq78ky.js} +4 -4
- package/dist/chunks/{form-sd97kvfg.js → session-ds55a4pt.js} +21 -21
- package/dist/chunks/{form-kjf4kcws.js → session-dvbx8fwf.js} +16 -16
- package/dist/chunks/{form-x07jzsrz.js → session-dxkpj95f.js} +16 -16
- package/dist/chunks/{form-5tp7cf11.js → session-dz9xz8v9.js} +4 -4
- package/dist/chunks/{form-gyv5agwd.js → session-e2dv7ppq.js} +4 -4
- package/dist/chunks/{form-5qd3pb7m.js → session-e3qxr5gk.js} +2 -2
- package/dist/chunks/{form-293yhkqp.js → session-e8e679h3.js} +5 -5
- package/dist/chunks/{form-0592574k.js → session-edp3xafe.js} +10 -10
- package/dist/chunks/{form-m0j93tdc.js → session-eds25nnt.js} +42 -42
- package/dist/chunks/{form-eej6y6fw.js → session-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-my6mv4rd.js → session-eesy0e1p.js} +32 -32
- package/dist/chunks/{form-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-01yb7a9a.js → session-ef635fzj.js} +15 -15
- package/dist/chunks/{form-0rtp69vm.js → session-enk0yhn1.js} +10 -10
- package/dist/chunks/{form-4jctyxs9.js → session-esnzzcyr.js} +24 -24
- package/dist/chunks/{form-px6wq6dz.js → session-ewwtztm3.js} +16 -16
- package/dist/chunks/{form-gnzn9cn5.js → session-f44ek8sd.js} +4 -4
- package/dist/chunks/{form-h4bnd9mc.js → session-f4wq5gqb.js} +11 -11
- package/dist/chunks/{form-ttfrdszx.js → session-f599k877.js} +22 -22
- package/dist/chunks/{form-pcymg39e.js → session-f79cx7ac.js} +17 -17
- package/dist/chunks/{form-phtk6n36.js → session-f9yxy0m4.js} +43 -43
- package/dist/chunks/{form-fcy631f0.js → session-fcy631f0.js} +1 -1
- package/dist/chunks/{form-pf1b2z5t.js → session-fwwp496y.js} +32 -32
- package/dist/chunks/{form-nem0pv7t.js → session-g2hf8053.js} +24 -24
- package/dist/chunks/{form-weqnn3ye.js → session-g3yp498d.js} +90 -90
- package/dist/chunks/{form-5kmmw6ns.js → session-g54xzkr1.js} +21 -21
- package/dist/chunks/{form-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-21r3m04z.js → session-ge7hzr6s.js} +12 -12
- package/dist/chunks/{form-zjfytr3m.js → session-gg7n7cq5.js} +14 -14
- package/dist/chunks/{form-2sejkfem.js → session-gjwgx2c5.js} +9 -9
- package/dist/chunks/{form-50rkvycx.js → session-gp46n7z2.js} +23 -23
- package/dist/chunks/{form-ze75yzft.js → session-gs3s1a1g.js} +8 -8
- package/dist/chunks/{form-zt93p4vm.js → session-gzdwz4a3.js} +23 -23
- package/dist/chunks/{form-bmdqnj6f.js → session-h0a2v749.js} +11 -11
- package/dist/chunks/{form-d5hbq9vh.js → session-h2qvmc2h.js} +43 -43
- package/dist/chunks/{form-ezrgp273.js → session-h49q8d6s.js} +25 -25
- package/dist/chunks/{form-aspe32j5.js → session-h6smha7e.js} +15 -15
- package/dist/chunks/{form-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-5vfyv2px.js → session-hmez9bs2.js} +22 -22
- package/dist/chunks/{form-jkjnadar.js → session-hn4xx6fz.js} +27 -27
- package/dist/chunks/{form-1w2wqhfv.js → session-hq3c8me3.js} +4 -4
- package/dist/chunks/{form-r9vpxkp0.js → session-hqv6b3hj.js} +47 -47
- package/dist/chunks/{form-jz13mca3.js → session-jet15fae.js} +25 -25
- package/dist/chunks/{form-bt0xk3k9.js → session-jhy0c2w1.js} +36 -36
- package/dist/chunks/{form-as472svt.js → session-js7veaaa.js} +16 -16
- package/dist/chunks/{form-2q9fknbq.js → session-jsqhg9pg.js} +10 -10
- package/dist/chunks/{form-7049gnx3.js → session-jwvqdnb4.js} +22 -22
- package/dist/chunks/{form-522p3b9e.js → session-jzy7dktq.js} +5 -5
- package/dist/chunks/{form-wfa292tn.js → session-k3jwsnas.js} +9 -9
- package/dist/chunks/{form-5b351nnx.js → session-kaaz2pqz.js} +12 -12
- package/dist/chunks/{form-31fkayz7.js → session-kj6j32wh.js} +28 -28
- package/dist/chunks/{form-kjdm35cs.js → session-kjdm35cs.js} +2 -2
- package/dist/chunks/{form-da7xf5ay.js → session-kjws9vxb.js} +35 -35
- package/dist/chunks/{form-t16svwyk.js → session-kr7s7jw4.js} +20 -20
- package/dist/chunks/{form-ycwe7tdf.js → session-krh48cfp.js} +15 -15
- package/dist/chunks/{form-mtxvdp9r.js → session-ks9wygpw.js} +20 -20
- package/dist/chunks/{form-kwb1v3vj.js → session-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-bc1hz80r.js → session-kxst37h1.js} +14 -14
- package/dist/chunks/{form-149ww98r.js → session-m7w940qr.js} +5 -5
- package/dist/chunks/{form-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-9q9cc4yk.js → session-ma9dkv0f.js} +15 -15
- package/dist/chunks/{form-maspj1v3.js → session-maspj1v3.js} +1 -1
- package/dist/chunks/{form-cg02sn39.js → session-mfm47423.js} +16 -16
- package/dist/chunks/{form-sxcaecc0.js → session-nma959mg.js} +3 -3
- package/dist/chunks/{form-6yfxq52g.js → session-nmckqh63.js} +3 -3
- package/dist/chunks/{form-ydgbnz16.js → session-np3jyw33.js} +1 -1
- package/dist/chunks/{form-f8bcsxje.js → session-nvqs6q9m.js} +17 -17
- package/dist/chunks/{form-xp2zd69v.js → session-nya7mvzv.js} +16 -16
- package/dist/chunks/{form-v13b12ef.js → session-nz56sr1f.js} +5 -5
- package/dist/chunks/{form-k9hrtvd5.js → session-p1r0ca3p.js} +11 -11
- package/dist/chunks/{form-gcywmqd1.js → session-p7rgkda9.js} +13 -13
- package/dist/chunks/{form-rgy0q2mm.js → session-p8evsf9g.js} +11 -11
- package/dist/chunks/{form-9pkymny3.js → session-pgyprfwm.js} +20 -20
- package/dist/chunks/{form-se8s5apy.js → session-phrdbnb5.js} +21 -21
- package/dist/chunks/{form-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-1rydqggj.js → session-pjxg738y.js} +45 -45
- package/dist/chunks/{form-z3yspz9a.js → session-pk8zaavv.js} +24 -24
- package/dist/chunks/{form-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{form-01w6r3jz.js → session-pnkgzv4a.js} +5 -5
- package/dist/chunks/{form-zn6cgmq1.js → session-pqtwa2sg.js} +35 -35
- package/dist/chunks/{form-ccjfg0tr.js → session-prdsqtxg.js} +35 -35
- package/dist/chunks/{form-7nqnfc0d.js → session-py4ydd0q.js} +19 -19
- package/dist/chunks/{form-1j8r0rfw.js → session-q0p071b0.js} +2 -2
- package/dist/chunks/{form-jh2ps5wy.js → session-q0zspkt5.js} +20 -20
- package/dist/chunks/{form-zx85k7gh.js → session-q34gkbzk.js} +7 -7
- package/dist/chunks/{form-745spws3.js → session-q6zp2pqa.js} +25 -25
- package/dist/chunks/{form-0ab2r5bc.js → session-qdpww7hp.js} +20 -20
- package/dist/chunks/{form-s12ckd47.js → session-qdz5k9vp.js} +8 -8
- package/dist/chunks/{form-6emxyc9g.js → session-qgj3wp86.js} +4 -4
- package/dist/chunks/{form-7pqmk9b7.js → session-qgmckqby.js} +11 -11
- package/dist/chunks/{form-qnc92qwc.js → session-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-vygwap6r.js → session-qr1za0rd.js} +3 -3
- package/dist/chunks/{form-djdfaxd1.js → session-qrqfate7.js} +38 -38
- package/dist/chunks/{form-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{form-159j6g8a.js → session-qvvs38aa.js} +50 -50
- package/dist/chunks/{form-ppf9jb57.js → session-qy65zb1j.js} +11 -11
- package/dist/chunks/{form-fv12q9k0.js → session-r39bqfe1.js} +13 -13
- package/dist/chunks/{form-8a6hh32g.js → session-r489rbmh.js} +18 -18
- package/dist/chunks/{form-p5y15tvy.js → session-r4b54d4z.js} +12 -12
- package/dist/chunks/{form-qpkfbzpg.js → session-r4c363na.js} +17 -17
- package/dist/chunks/{form-54ma36ye.js → session-r94pvvab.js} +4 -4
- package/dist/chunks/{form-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → session-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → session-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-py3kkmfq.js → session-rkprpv83.js} +2 -2
- package/dist/chunks/{form-8p4v04p7.js → session-rq16f1jw.js} +3 -3
- package/dist/chunks/{form-byehbd7c.js → session-s1ejbwm9.js} +11 -11
- package/dist/chunks/{form-v5rm5t0z.js → session-s8q9kger.js} +13 -13
- package/dist/chunks/{form-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-88yja26d.js → session-scfcjeer.js} +11 -11
- package/dist/chunks/{form-4553w93m.js → session-sgt7k2k4.js} +2 -2
- package/dist/chunks/{form-e6pqykgy.js → session-shttx1tf.js} +4 -4
- package/dist/chunks/{form-g2jr9t01.js → session-stt02d3y.js} +17 -17
- package/dist/chunks/{form-zhgq12gm.js → session-swfv1pfg.js} +32 -32
- package/dist/chunks/{form-ryr25ayn.js → session-sxz6gkc3.js} +7 -7
- package/dist/chunks/{form-syv4x271.js → session-syv4x271.js} +1 -1
- package/dist/chunks/{form-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-mnxav5te.js → session-tbenmwhf.js} +3 -3
- package/dist/chunks/{form-tcezcvh9.js → session-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{form-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-xqqvwv5j.js → session-tnj6rg6w.js} +11 -11
- package/dist/chunks/{form-ysn0w3pq.js → session-tsq4bn52.js} +68 -68
- package/dist/chunks/{form-v210v162.js → session-tx0gtb9m.js} +9 -9
- package/dist/chunks/{form-tyytaxap.js → session-tyytaxap.js} +1 -1
- package/dist/chunks/{form-d7x0sh0y.js → session-v1vh7s4p.js} +5 -5
- package/dist/chunks/{form-09rh3qbs.js → session-v64zkvxt.js} +20 -20
- package/dist/chunks/{form-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-fn8k43nn.js → session-ve0j9bk6.js} +20 -20
- package/dist/chunks/{form-bgc5ggmx.js → session-ve85v3xb.js} +4 -4
- package/dist/chunks/{form-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{form-e3abpcc4.js → session-vfdqv3ee.js} +29 -29
- package/dist/chunks/{form-3cswzw9g.js → session-vgzd9mgs.js} +4 -4
- package/dist/chunks/session-vsdyktar.js +18 -0
- package/dist/chunks/{form-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-fww2ha2b.js → session-w23fc1td.js} +10 -10
- package/dist/chunks/{form-65f8ybtn.js → session-w3svmbxk.js} +12 -12
- package/dist/chunks/{form-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{form-dgct1c5d.js → session-wfm1pds2.js} +9 -9
- package/dist/chunks/{form-ww5ckzyq.js → session-ws8k684n.js} +34 -34
- package/dist/chunks/{form-7p3wxydp.js → session-wsvjh7tt.js} +32 -32
- package/dist/chunks/{form-admdf9qy.js → session-x0yhpn32.js} +28 -28
- package/dist/chunks/{form-dys7k0s0.js → session-x5wrmng7.js} +11 -11
- package/dist/chunks/{form-f6adby2b.js → session-x75bq86t.js} +35 -35
- package/dist/chunks/{form-qha5ekyp.js → session-x84e8zg0.js} +4 -4
- package/dist/chunks/{form-nzq7ck9f.js → session-xcd0eash.js} +6 -6
- package/dist/chunks/{form-f0ftzx98.js → session-xdx7acry.js} +9 -9
- package/dist/chunks/{form-64hwtt3x.js → session-xf4kanpa.js} +11 -11
- package/dist/chunks/{form-2xh5ht5h.js → session-xjjjkywx.js} +3 -3
- package/dist/chunks/{form-0n8a0ffz.js → session-xpeshqab.js} +6 -6
- package/dist/chunks/{form-k35dez0d.js → session-xry9jdq8.js} +11 -11
- package/dist/chunks/{form-43xx6kda.js → session-xssg7psk.js} +27 -27
- package/dist/chunks/session-xww13zgw.js +26 -0
- package/dist/chunks/{form-e0qnmsg8.js → session-xycyqh7m.js} +20 -20
- package/dist/chunks/{form-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-ze4ea8mz.js → session-y1p6ax1j.js} +11 -11
- package/dist/chunks/{form-phf263fg.js → session-y30xd0nk.js} +43 -43
- package/dist/chunks/{form-m1z5ek08.js → session-yc8hc8f5.js} +8 -8
- package/dist/chunks/{form-1acjjqhc.js → session-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-z18fegx4.js → session-z18fegx4.js} +1 -1
- package/dist/chunks/{form-6s0a03gm.js → session-z9sbqhmm.js} +18 -18
- package/dist/chunks/{form-9bj0dwv2.js → session-zgsa76g2.js} +7 -7
- package/dist/chunks/{form-960ccn17.js → session-zh95g90e.js} +325 -325
- package/dist/chunks/{form-m2ymgz0z.js → session-zj1e5rys.js} +34 -34
- package/dist/chunks/{form-f532e7gj.js → session-zk7b3ek0.js} +26 -26
- package/dist/chunks/{form-dke6jjmt.js → session-zpd81yx7.js} +1 -1
- package/dist/chunks/{form-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-2ztv3xbn.js → session-zs6v24ss.js} +5 -5
- package/dist/chunks/{form-7cs0wf9y.js → session-ztady1js.js} +9 -9
- package/dist/chunks/{form-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- 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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +102 -102
- 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 +93 -93
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/form-6wr7nzx9.js +0 -257
- package/dist/chunks/form-m40er8qz.js +0 -26
- package/dist/chunks/form-n95b3jav.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → session-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → session-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → session-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → session-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-dz9xz8v9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./session-enk0yhn1.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event12,
|
|
21
|
+
ID: () => ID9,
|
|
22
|
+
Input: () => Input15,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service63,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node65
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event12 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID9 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input15 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID9, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID9
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID9,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service63 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service85;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service76;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service63.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node65 = makeLocationNode({
|
|
188
|
+
service: Service63,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node89,
|
|
190
|
+
deps: [node89, node80]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID9, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service63, node65, exports_websearch3, Event12 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node47
|
|
4
|
+
} from "./session-z9sbqhmm.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service36,
|
|
20
|
+
node: () => node40
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service36 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service44;
|
|
64
|
+
return Service36.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make18({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node47] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service36, node40, exports_instructions5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-dz9xz8v9.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-d1ehftyt.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service73,
|
|
23
23
|
UnavailableError: () => UnavailableError4,
|
|
24
24
|
available: () => available3,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured10,
|
|
26
|
+
layer: () => layer26,
|
|
27
|
+
node: () => node77
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options9 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,14 +46,14 @@ class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service73 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service73, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service73.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer26 = makeLayer();
|
|
263
|
+
var configured10 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service73,
|
|
265
|
+
layer: options === undefined ? layer26 : makeLayer(options),
|
|
266
266
|
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node77 = configured10();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError4, NotFoundError9, Service73, layer26, configured10, node77, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node70
|
|
4
|
+
} from "./session-f599k877.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./session-nvqs6q9m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node69
|
|
12
|
+
} from "./session-88hn0rhj.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service8,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node9
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service66;
|
|
40
|
+
const watcher = yield* Service67;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service79;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service8.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node9 = makeLocationNode({
|
|
74
|
+
service: Service8,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node69, FSUtil.node, node70, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service8,
|
|
80
|
+
layer: Layer.succeed(Service8, Service8.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service8, layer6, node9, empty2, exports_source };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer5,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer5, exports_unavailable };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-dz9xz8v9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./session-nvqs6q9m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node74
|
|
12
|
+
} from "./session-37zydtf8.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service74,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node78
|
|
20
|
+
} from "./session-d1ehftyt.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service69,
|
|
23
|
+
node72
|
|
24
|
+
} from "./session-gs3s1a1g.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service65,
|
|
27
|
+
node68
|
|
28
|
+
} from "./session-7rwqf82v.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./session-c2sed5cq.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service66,
|
|
35
|
+
node69
|
|
36
|
+
} from "./session-88hn0rhj.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./session-86qjnnqk.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./session-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError8,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service64,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node67
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service64 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service64, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service85;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service79;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service74;
|
|
95
|
+
const environment = yield* Service71;
|
|
96
|
+
const hooks = yield* Service69;
|
|
97
|
+
const environments = yield* Service65;
|
|
98
|
+
const config = yield* Service66;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError8({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError8({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service64.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node67 = makeLocationNode({
|
|
342
|
+
service: Service64,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node89,
|
|
346
|
-
|
|
346
|
+
node83,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
node78,
|
|
349
|
+
node74,
|
|
350
|
+
node72,
|
|
351
|
+
node68,
|
|
352
|
+
node69,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError8, RETENTION2, DIRECTORY2, Service64, cleanup2, node67, exports_shell4 };
|