@opencode/core 0.0.0-dev-21101 → 0.0.0-dev-21102
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/{snapshot-hwfsh7vp.js → file-mutation-0a45r66e.js} +10 -10
- package/dist/chunks/{snapshot-s9hnc77e.js → file-mutation-0bn0sq9n.js} +13 -13
- package/dist/chunks/{snapshot-86tsj011.js → file-mutation-0kqmzpgj.js} +4 -4
- package/dist/chunks/{snapshot-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{snapshot-d3g565tf.js → file-mutation-0vhb79zx.js} +45 -45
- package/dist/chunks/{snapshot-r6dd846h.js → file-mutation-10bapksq.js} +45 -45
- package/dist/chunks/file-mutation-1e0042jk.js +513 -0
- package/dist/chunks/{snapshot-sz15zhhw.js → file-mutation-1j6m29mr.js} +9 -9
- package/dist/chunks/{snapshot-es4zr9pq.js → file-mutation-1ja1wxmc.js} +8 -8
- package/dist/chunks/{snapshot-x6yn31hc.js → file-mutation-1nbyw85c.js} +19 -19
- package/dist/chunks/{snapshot-w35dh219.js → file-mutation-1pw9daj1.js} +11 -11
- package/dist/chunks/{snapshot-z6a8t7r8.js → file-mutation-1vq8waa3.js} +27 -27
- package/dist/chunks/{snapshot-70w5npj6.js → file-mutation-24ashckt.js} +35 -35
- package/dist/chunks/{snapshot-vbwdk8d9.js → file-mutation-2ee1qjw3.js} +16 -16
- package/dist/chunks/{snapshot-cwa6csj7.js → file-mutation-2mq1h16s.js} +9 -9
- package/dist/chunks/{snapshot-m6et89k9.js → file-mutation-2njd48f3.js} +4 -4
- package/dist/chunks/{snapshot-0spc84rr.js → file-mutation-31cd2ng7.js} +5 -5
- package/dist/chunks/{snapshot-h7s7r6s9.js → file-mutation-31xfzrxg.js} +5 -5
- package/dist/chunks/{snapshot-bkfykbje.js → file-mutation-32qfxbms.js} +10 -10
- package/dist/chunks/{snapshot-d9vy8dvc.js → file-mutation-34pqwryj.js} +35 -35
- package/dist/chunks/{snapshot-ngpf18tw.js → file-mutation-34yg83yr.js} +15 -15
- package/dist/chunks/{snapshot-fez9dr5g.js → file-mutation-395y8vmn.js} +29 -29
- package/dist/chunks/{snapshot-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-c5p1j3te.js → file-mutation-3h7vgc1c.js} +24 -24
- package/dist/chunks/{snapshot-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{snapshot-9t38rtv2.js → file-mutation-3nn61x4m.js} +18 -18
- package/dist/chunks/{snapshot-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-s5crsm6g.js → file-mutation-3xmz25ae.js} +6 -6
- package/dist/chunks/{snapshot-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-7j2qha59.js → file-mutation-3zy697b6.js} +8 -8
- package/dist/chunks/{snapshot-a4mbaqkz.js → file-mutation-3zzm0etj.js} +24 -24
- package/dist/chunks/{snapshot-677sd819.js → file-mutation-44gm7dpy.js} +14 -14
- package/dist/chunks/file-mutation-49n22trf.js +257 -0
- package/dist/chunks/{snapshot-s9jjc90k.js → file-mutation-4byykzwt.js} +10 -10
- package/dist/chunks/{snapshot-eh6ej367.js → file-mutation-4ekscj25.js} +5 -5
- package/dist/chunks/{snapshot-stznh4mf.js → file-mutation-4p0ag926.js} +9 -9
- package/dist/chunks/{snapshot-fk8sz9va.js → file-mutation-4pxfaks0.js} +4 -4
- package/dist/chunks/{snapshot-0j2x9jqg.js → file-mutation-4x8f5qrc.js} +64 -64
- package/dist/chunks/{snapshot-f1gkxkqm.js → file-mutation-4y2jths2.js} +8 -8
- package/dist/chunks/{snapshot-rjq60bk6.js → file-mutation-523zf4ny.js} +8 -8
- package/dist/chunks/{snapshot-agvpr9a5.js → file-mutation-53rh8r92.js} +15 -15
- package/dist/chunks/{snapshot-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{snapshot-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{snapshot-vjjaysxc.js → file-mutation-5pyjqqve.js} +2 -2
- package/dist/chunks/{snapshot-cdxmksqt.js → file-mutation-5vma4t00.js} +11 -11
- package/dist/chunks/{snapshot-g37js5c5.js → file-mutation-5xeyj92j.js} +5 -5
- package/dist/chunks/{snapshot-bah8271q.js → file-mutation-6axq4ad7.js} +13 -13
- package/dist/chunks/{snapshot-5jm3j4ds.js → file-mutation-6b5qcyht.js} +11 -11
- package/dist/chunks/{snapshot-9xea56yk.js → file-mutation-6et16byz.js} +4 -4
- package/dist/chunks/{snapshot-de1qm86n.js → file-mutation-6gke9jm0.js} +29 -29
- package/dist/chunks/{snapshot-s7j41gah.js → file-mutation-6n4qjbg5.js} +26 -26
- package/dist/chunks/{snapshot-p5ryf8ss.js → file-mutation-6n6k1agq.js} +32 -32
- package/dist/chunks/{snapshot-w92k2e0p.js → file-mutation-6pc27hjz.js} +4 -4
- package/dist/chunks/{snapshot-z94wva46.js → file-mutation-6qbfyeq4.js} +5 -5
- package/dist/chunks/{snapshot-5dkc9xpe.js → file-mutation-6qr2hpa3.js} +33 -33
- package/dist/chunks/{snapshot-nw91k3fh.js → file-mutation-6rm5yzkt.js} +4 -4
- package/dist/chunks/{snapshot-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{snapshot-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{snapshot-yx44qtr7.js → file-mutation-78mmz05e.js} +3 -3
- package/dist/chunks/{snapshot-0r5d9jf5.js → file-mutation-7apm8bw6.js} +18 -18
- package/dist/chunks/{snapshot-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-yjmz8cqt.js → file-mutation-7f067m2e.js} +4 -4
- package/dist/chunks/{snapshot-nbt9p58f.js → file-mutation-7gzvat6z.js} +18 -18
- package/dist/chunks/{snapshot-bjtjpd2c.js → file-mutation-7x9m82rv.js} +12 -12
- package/dist/chunks/{snapshot-y2qdv1vz.js → file-mutation-82s76q1y.js} +4 -4
- package/dist/chunks/{snapshot-a68c8325.js → file-mutation-831szrnr.js} +47 -47
- package/dist/chunks/{snapshot-hps22v0m.js → file-mutation-83nvk7gf.js} +11 -11
- package/dist/chunks/{snapshot-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{snapshot-x2nk8b67.js → file-mutation-86hr6tyx.js} +14 -14
- package/dist/chunks/{snapshot-7zkbhs7g.js → file-mutation-86qjnnqk.js} +11 -11
- package/dist/chunks/{snapshot-492qvdt0.js → file-mutation-8kpxa52r.js} +191 -191
- package/dist/chunks/{snapshot-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{snapshot-6r9xkm49.js → file-mutation-8nhf552q.js} +15 -15
- package/dist/chunks/{snapshot-4x3rb0w8.js → file-mutation-8xdknktr.js} +8 -8
- package/dist/chunks/{snapshot-j09zfasm.js → file-mutation-91qna3x0.js} +3 -3
- package/dist/chunks/{snapshot-r6hgcfqe.js → file-mutation-928exejz.js} +13 -13
- package/dist/chunks/{snapshot-0ffsdm6v.js → file-mutation-9az4rgkb.js} +22 -22
- package/dist/chunks/{snapshot-a8q86g5b.js → file-mutation-9cd83t7f.js} +20 -20
- package/dist/chunks/{snapshot-5z8jdzjf.js → file-mutation-9qtbwzwj.js} +4 -4
- package/dist/chunks/{snapshot-0x5he72x.js → file-mutation-9tk0xbhp.js} +21 -21
- package/dist/chunks/{snapshot-jp89ygg8.js → file-mutation-a0ngmh7v.js} +42 -42
- package/dist/chunks/{snapshot-fh1dahme.js → file-mutation-a5cb3rxh.js} +4 -4
- package/dist/chunks/{snapshot-w05gqv9f.js → file-mutation-ab0v7xqg.js} +11 -11
- package/dist/chunks/{snapshot-bv99bepe.js → file-mutation-ab17c7dx.js} +10 -10
- package/dist/chunks/{snapshot-x661k3y3.js → file-mutation-addxnjmp.js} +4 -4
- package/dist/chunks/{snapshot-8xdjgfjg.js → file-mutation-ag0c998m.js} +24 -24
- package/dist/chunks/{snapshot-p40mqjmd.js → file-mutation-ahjtwsk1.js} +14 -14
- package/dist/chunks/{snapshot-ehbas0a7.js → file-mutation-atcakhwd.js} +17 -17
- package/dist/chunks/{snapshot-50yj0c0z.js → file-mutation-atmskjxw.js} +19 -19
- package/dist/chunks/{snapshot-138hj3a7.js → file-mutation-atrg28jh.js} +32 -32
- package/dist/chunks/{snapshot-y99xh2az.js → file-mutation-av34pvd4.js} +16 -16
- package/dist/chunks/{snapshot-8zvh60rm.js → file-mutation-b81ahfje.js} +26 -26
- package/dist/chunks/{snapshot-8w65540a.js → file-mutation-bbsgqxz3.js} +5 -5
- package/dist/chunks/{snapshot-fm2hmmny.js → file-mutation-bbzjnv7y.js} +43 -43
- package/dist/chunks/{snapshot-5nnetc6k.js → file-mutation-bddt2pqj.js} +16 -16
- package/dist/chunks/{snapshot-43hb6bsb.js → file-mutation-bdwftekd.js} +24 -24
- package/dist/chunks/{snapshot-fqtx8avk.js → file-mutation-bh35h2a4.js} +29 -29
- package/dist/chunks/{snapshot-nq4gqfza.js → file-mutation-bhja2czc.js} +38 -38
- package/dist/chunks/{snapshot-8q3vp9r4.js → file-mutation-bjzecbrs.js} +5 -5
- package/dist/chunks/{snapshot-2s0t6bcq.js → file-mutation-bwtsbp89.js} +16 -16
- package/dist/chunks/{snapshot-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{snapshot-zhf76q57.js → file-mutation-cba5y8md.js} +3 -3
- package/dist/chunks/{snapshot-zqmntxqq.js → file-mutation-ckc5xesv.js} +53 -53
- package/dist/chunks/{snapshot-v0njwss7.js → file-mutation-cng1644r.js} +17 -17
- package/dist/chunks/{snapshot-mka3dhwy.js → file-mutation-cqbnrm9h.js} +28 -28
- package/dist/chunks/{snapshot-6g3a9wd5.js → file-mutation-cry3q34q.js} +20 -20
- package/dist/chunks/{snapshot-37xj7nnb.js → file-mutation-crygnby0.js} +3 -3
- package/dist/chunks/{snapshot-vw7dfq1f.js → file-mutation-cyz4rac1.js} +17 -17
- package/dist/chunks/{snapshot-f3418nnd.js → file-mutation-cz1vwcws.js} +2 -2
- package/dist/chunks/{snapshot-7ec32wzs.js → file-mutation-dhww0s6x.js} +1 -1
- package/dist/chunks/{snapshot-3adf9fpa.js → file-mutation-dpdqynsp.js} +25 -25
- package/dist/chunks/{snapshot-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{snapshot-dqxsqydv.js → file-mutation-dqxsqydv.js} +1 -1
- package/dist/chunks/{snapshot-57b9ws8p.js → file-mutation-drwq78ky.js} +5 -5
- package/dist/chunks/{snapshot-6p4sgjp5.js → file-mutation-dt4y2tq7.js} +24 -24
- package/dist/chunks/{snapshot-vh0q2jn2.js → file-mutation-e236apxg.js} +6 -6
- package/dist/chunks/{snapshot-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
- package/dist/chunks/{snapshot-86mh7r7f.js → file-mutation-e3xy4e71.js} +8 -8
- package/dist/chunks/{snapshot-7m79y2cx.js → file-mutation-e7a0tnjd.js} +9 -9
- package/dist/chunks/{snapshot-sxcaecc0.js → file-mutation-e80seqcp.js} +3 -3
- package/dist/chunks/{snapshot-yc2xrc7y.js → file-mutation-eac7ec6d.js} +6 -6
- package/dist/chunks/{snapshot-kxfmvths.js → file-mutation-ed01axam.js} +6 -6
- package/dist/chunks/{snapshot-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{snapshot-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-gbt4bp6d.js → file-mutation-egyn2h7c.js} +7 -7
- package/dist/chunks/{snapshot-jv2yxf29.js → file-mutation-emew9pj0.js} +16 -16
- package/dist/chunks/{snapshot-671nv209.js → file-mutation-es633c8d.js} +20 -20
- package/dist/chunks/{snapshot-vrxrfzbj.js → file-mutation-ettnqe8w.js} +7 -7
- package/dist/chunks/{snapshot-q9nt1xs6.js → file-mutation-f8g1y2jp.js} +19 -19
- package/dist/chunks/{snapshot-3251mqsy.js → file-mutation-f9twm2pk.js} +25 -25
- package/dist/chunks/{snapshot-2k8khapm.js → file-mutation-fcrkznn8.js} +5 -5
- package/dist/chunks/{snapshot-zy88dcwr.js → file-mutation-fg22vpm1.js} +20 -20
- package/dist/chunks/{snapshot-73kdj4zj.js → file-mutation-fqtvmpfq.js} +8 -8
- package/dist/chunks/{snapshot-32bf673e.js → file-mutation-fssat8nd.js} +14 -14
- package/dist/chunks/{snapshot-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-82cbhrxf.js → file-mutation-gjvt2sw1.js} +25 -25
- package/dist/chunks/{snapshot-zzg669yh.js → file-mutation-gv0fvrxd.js} +14 -14
- package/dist/chunks/{snapshot-mar0b6q5.js → file-mutation-h2m7wh0c.js} +11 -11
- package/dist/chunks/{snapshot-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-n1n192bv.js → file-mutation-h9wp8z5w.js} +4 -4
- package/dist/chunks/{snapshot-9m9j9h8n.js → file-mutation-hgpde3vb.js} +20 -20
- package/dist/chunks/{snapshot-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{snapshot-1afbgrk4.js → file-mutation-hvb11wac.js} +5 -5
- package/dist/chunks/{snapshot-6fatt4mk.js → file-mutation-j58c5xyq.js} +9 -9
- package/dist/chunks/{snapshot-s6s4bjx5.js → file-mutation-jc9d9mw1.js} +13 -13
- package/dist/chunks/{snapshot-7e4w02fq.js → file-mutation-jfnyz2cb.js} +18 -18
- package/dist/chunks/{snapshot-rrzbkqn0.js → file-mutation-jpqkz8s9.js} +50 -50
- package/dist/chunks/file-mutation-jqh9b0xq.js +18 -0
- package/dist/chunks/{snapshot-06x8he3q.js → file-mutation-jvf3yq6v.js} +4 -4
- package/dist/chunks/{snapshot-epdqhck3.js → file-mutation-jxwk72h5.js} +5 -5
- package/dist/chunks/{snapshot-ygs4p11j.js → file-mutation-k9rqwrkg.js} +11 -11
- package/dist/chunks/{snapshot-my865665.js → file-mutation-kecerxq6.js} +5 -5
- package/dist/chunks/{snapshot-1w2wqhfv.js → file-mutation-khmqacep.js} +4 -4
- package/dist/chunks/{snapshot-g686f6pq.js → file-mutation-kjd40bgk.js} +9 -9
- package/dist/chunks/{snapshot-b9y7b4f0.js → file-mutation-kna85462.js} +23 -23
- package/dist/chunks/{snapshot-0zzst1te.js → file-mutation-kp1hjqcq.js} +11 -11
- package/dist/chunks/{snapshot-kqx1b4hy.js → file-mutation-kqx1b4hy.js} +4 -4
- package/dist/chunks/{snapshot-z3z84w1c.js → file-mutation-kvwqxrwb.js} +13 -13
- package/dist/chunks/{snapshot-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{snapshot-5fx6by37.js → file-mutation-m6078mdh.js} +42 -42
- package/dist/chunks/{snapshot-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{snapshot-m64xvjj1.js → file-mutation-mjagy123.js} +5 -5
- package/dist/chunks/{snapshot-8rmax6yr.js → file-mutation-mnv5anne.js} +17 -17
- package/dist/chunks/{snapshot-6hmv31tz.js → file-mutation-mq9ghvnj.js} +18 -18
- package/dist/chunks/{snapshot-wgdvvt83.js → file-mutation-mrp1vw8h.js} +21 -21
- package/dist/chunks/{snapshot-krdey6nc.js → file-mutation-mw3zb6qd.js} +6 -6
- package/dist/chunks/{snapshot-sxzvkvgj.js → file-mutation-mx9vqzsb.js} +6 -6
- package/dist/chunks/{snapshot-y41ncav5.js → file-mutation-nbe12rbe.js} +11 -11
- package/dist/chunks/{snapshot-w6azc5pz.js → file-mutation-np2zj9yp.js} +33 -33
- package/dist/chunks/{snapshot-hk13sqge.js → file-mutation-nr90a0dt.js} +40 -40
- package/dist/chunks/{snapshot-4b9kgzbd.js → file-mutation-ns6qmrtd.js} +19 -19
- package/dist/chunks/{snapshot-65bp1pt7.js → file-mutation-nteb4xfc.js} +9 -9
- package/dist/chunks/{snapshot-p42hj8p8.js → file-mutation-p42hj8p8.js} +1 -1
- package/dist/chunks/{snapshot-ezw0nm5s.js → file-mutation-paerxhb0.js} +13 -13
- package/dist/chunks/file-mutation-pgrantrc.js +26 -0
- package/dist/chunks/{snapshot-3axhngbt.js → file-mutation-pgvws8e3.js} +91 -91
- package/dist/chunks/{snapshot-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-0ebtsmg9.js → file-mutation-py1s82by.js} +9 -9
- package/dist/chunks/{snapshot-g5t3kacw.js → file-mutation-q19wpyyh.js} +23 -23
- package/dist/chunks/{snapshot-ryr25ayn.js → file-mutation-qa3qhgw8.js} +4 -4
- package/dist/chunks/{snapshot-0m1gfjhz.js → file-mutation-qcf9sep0.js} +7 -7
- package/dist/chunks/{snapshot-d43rdmby.js → file-mutation-qhj8gsw7.js} +28 -28
- package/dist/chunks/{snapshot-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{snapshot-44kabqnj.js → file-mutation-qqrcrv2d.js} +11 -11
- package/dist/chunks/{snapshot-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-zcnbtgks.js → file-mutation-qskc9fng.js} +8 -8
- package/dist/chunks/{snapshot-kz0x0eyc.js → file-mutation-qze06xta.js} +27 -27
- package/dist/chunks/{snapshot-45jg96fg.js → file-mutation-r1rs5fcg.js} +9 -9
- package/dist/chunks/{snapshot-nzv4wedz.js → file-mutation-r6twsrbc.js} +11 -11
- package/dist/chunks/{snapshot-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-rert0e01.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{snapshot-f2rj8t18.js → file-mutation-rg5vjzce.js} +15 -15
- package/dist/chunks/{snapshot-rhjbct0v.js → file-mutation-rhjbct0v.js} +1 -1
- package/dist/chunks/{snapshot-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{snapshot-24pp4dbc.js → file-mutation-rp1sxpnt.js} +4 -4
- package/dist/chunks/{snapshot-c4ytspfp.js → file-mutation-rsk8b1r9.js} +14 -14
- package/dist/chunks/{snapshot-bxbakf7s.js → file-mutation-s0xd9fk5.js} +11 -11
- package/dist/chunks/{snapshot-g2874yvb.js → file-mutation-s7p2cp87.js} +24 -24
- package/dist/chunks/{snapshot-hrr62nz3.js → file-mutation-s9hmt3s5.js} +16 -16
- package/dist/chunks/{snapshot-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{snapshot-a71mrrdx.js → file-mutation-sjsq85cv.js} +17 -17
- package/dist/chunks/{snapshot-wsd2q15t.js → file-mutation-sqxd4b6a.js} +13 -13
- package/dist/chunks/{snapshot-15mjt02z.js → file-mutation-stdh1w8b.js} +11 -11
- package/dist/chunks/{snapshot-ngjfqp91.js → file-mutation-svvw92nk.js} +32 -32
- package/dist/chunks/{snapshot-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{snapshot-990fmxgc.js → file-mutation-t3zmyd3w.js} +33 -33
- package/dist/chunks/{snapshot-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{snapshot-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-24b8xn8e.js → file-mutation-tjn2qjgm.js} +25 -25
- package/dist/chunks/{snapshot-wh6zw745.js → file-mutation-tk14y25j.js} +5 -5
- package/dist/chunks/{snapshot-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{snapshot-jytc1txw.js → file-mutation-tms097mr.js} +17 -17
- package/dist/chunks/{snapshot-yxy2s6v9.js → file-mutation-tr1j93sp.js} +14 -14
- package/dist/chunks/{snapshot-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{snapshot-fpecnkgp.js → file-mutation-v0es1rhs.js} +9 -9
- package/dist/chunks/{snapshot-rc5gr2c6.js → file-mutation-v38qq1xq.js} +10 -10
- package/dist/chunks/{snapshot-2cpvpehx.js → file-mutation-v4r9rrgr.js} +20 -20
- package/dist/chunks/{snapshot-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{snapshot-qkb2ne2d.js → file-mutation-v9ym5vkf.js} +27 -27
- package/dist/chunks/{snapshot-09pvn25w.js → file-mutation-vaer15sz.js} +16 -16
- package/dist/chunks/{snapshot-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-w2808p42.js → file-mutation-vgbe0hx2.js} +6 -6
- package/dist/chunks/{snapshot-v481s08r.js → file-mutation-vhs7bsm8.js} +81 -81
- package/dist/chunks/{snapshot-djng1cng.js → file-mutation-vnrbpqt1.js} +19 -19
- package/dist/chunks/{snapshot-pda9j8pd.js → file-mutation-vx06kqgv.js} +13 -13
- package/dist/chunks/{snapshot-hzrfc1p4.js → file-mutation-vx3jgdek.js} +3 -3
- package/dist/chunks/{snapshot-524wbpge.js → file-mutation-vx9tn3ww.js} +34 -34
- package/dist/chunks/{snapshot-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{snapshot-yc2dh59q.js → file-mutation-w31qasc1.js} +9 -9
- package/dist/chunks/{snapshot-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-fvn5mafv.js → file-mutation-w80w7egq.js} +26 -26
- package/dist/chunks/{snapshot-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-qa4jrz0k.js → file-mutation-wdbsdckj.js} +32 -32
- package/dist/chunks/{snapshot-8bbfct2p.js → file-mutation-whepmyc8.js} +1 -1
- package/dist/chunks/{snapshot-sknvv7f7.js → file-mutation-whmxtv1k.js} +25 -25
- package/dist/chunks/{snapshot-ywt8jp22.js → file-mutation-wjr9rjd7.js} +6 -6
- package/dist/chunks/{snapshot-a4rgdjbk.js → file-mutation-wq2exejj.js} +34 -34
- package/dist/chunks/{snapshot-bdvq8pjx.js → file-mutation-wq5jrx1v.js} +46 -46
- package/dist/chunks/{snapshot-0n5m0eh4.js → file-mutation-wrmx1wd8.js} +18 -18
- package/dist/chunks/{snapshot-vm0bs8v2.js → file-mutation-wyfpybhz.js} +27 -27
- package/dist/chunks/{snapshot-bg9pb3hs.js → file-mutation-x5wrmng7.js} +11 -11
- package/dist/chunks/{snapshot-qj351k35.js → file-mutation-xfh984c1.js} +17 -17
- package/dist/chunks/{snapshot-2sg8pn63.js → file-mutation-xjpvrdvq.js} +10 -10
- package/dist/chunks/{snapshot-ns4s002r.js → file-mutation-xqevex3y.js} +24 -24
- package/dist/chunks/{snapshot-55m81wnp.js → file-mutation-xtxypabt.js} +12 -12
- package/dist/chunks/{snapshot-ym90h1jm.js → file-mutation-xvjf424w.js} +10 -10
- package/dist/chunks/{snapshot-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-v6pzdj5v.js → file-mutation-y35511gd.js} +19 -19
- package/dist/chunks/{snapshot-99m1svw6.js → file-mutation-y45dsw3d.js} +29 -29
- package/dist/chunks/{snapshot-kkp8zx71.js → file-mutation-y6mhz57t.js} +4 -4
- package/dist/chunks/{snapshot-had4kgfk.js → file-mutation-y8p3zjbc.js} +4 -4
- package/dist/chunks/{snapshot-0205d07w.js → file-mutation-yewqjc3q.js} +43 -43
- package/dist/chunks/{snapshot-q0raz0xt.js → file-mutation-yh7kjdpc.js} +9 -9
- package/dist/chunks/{snapshot-p46j7tk6.js → file-mutation-yk3k7trf.js} +3 -3
- package/dist/chunks/{snapshot-2gkanyf9.js → file-mutation-ykbenvtt.js} +18 -18
- package/dist/chunks/{snapshot-8pmceypm.js → file-mutation-ym72szr7.js} +36 -36
- package/dist/chunks/{snapshot-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
- package/dist/chunks/{snapshot-3g8j9he4.js → file-mutation-yqc6bamn.js} +1 -1
- package/dist/chunks/{snapshot-1tn2wyt6.js → file-mutation-yv1g7dvw.js} +18 -18
- package/dist/chunks/{snapshot-td507s1z.js → file-mutation-yzmsvx3n.js} +13 -13
- package/dist/chunks/{snapshot-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-47jkzegy.js → file-mutation-z6c3x22d.js} +5 -5
- package/dist/chunks/{snapshot-rbh7495a.js → file-mutation-z6szz84x.js} +12 -12
- package/dist/chunks/{snapshot-3y1ebd1j.js → file-mutation-z8abfd22.js} +49 -49
- package/dist/chunks/{snapshot-zdpajj5q.js → file-mutation-ze4328nr.js} +15 -15
- package/dist/chunks/{snapshot-zh88wm2c.js → file-mutation-zj0rakt4.js} +32 -32
- package/dist/chunks/{snapshot-mk34ezcj.js → file-mutation-zj24t7xr.js} +5 -5
- package/dist/chunks/{snapshot-dxjzc6pe.js → file-mutation-zm7ab947.js} +18 -18
- package/dist/chunks/{snapshot-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-gd1hs1dn.js → file-mutation-zx5swzrd.js} +11 -11
- package/dist/chunks/{snapshot-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{snapshot-zyk1yjk8.js → file-mutation-zyk1yjk8.js} +2 -2
- package/dist/chunks/{snapshot-62fwm79t.js → file-mutation-zz5c3g14.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- 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 +121 -121
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +367 -367
- 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 +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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- 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 +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +358 -358
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- 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 +355 -355
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- 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.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +329 -329
- 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 +116 -116
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- 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 +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- 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 +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- 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 +16 -16
- 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 +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/snapshot-619r8v3y.js +0 -18
- package/dist/chunks/snapshot-674by1mv.js +0 -257
- package/dist/chunks/snapshot-mt0fy2dx.js +0 -513
- package/dist/chunks/snapshot-zm1xtn2x.js +0 -26
- /package/dist/chunks/{snapshot-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{snapshot-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-cba5y8md.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./file-mutation-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./file-mutation-6gke9jm0.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-mw3zb6qd.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,11 +41,11 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service45;
|
|
45
45
|
const database = yield* Service86;
|
|
46
46
|
const bus = yield* Service85;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
48
|
+
const snapshot = yield* Service50;
|
|
49
49
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service45;
|
|
77
77
|
const bus = yield* Service85;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service50;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
82
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node7, exports_location_watcher_policy };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./file-mutation-3h7vgc1c.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service74;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./file-mutation-b81ahfje.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-eac7ec6d.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update2(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update3, exports_message_updater };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./file-mutation-a0ngmh7v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./file-mutation-831szrnr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin43
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service38;
|
|
26
|
+
const permission = yield* Service62;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin21 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin43, exports_mcp_resource };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./file-mutation-s9hmt3s5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./file-mutation-3h7vgc1c.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./file-mutation-3nn61x4m.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-vx9tn3ww.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service62
|
|
24
|
+
} from "./file-mutation-831szrnr.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service24
|
|
27
|
+
} from "./file-mutation-ykbenvtt.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input6,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin41,
|
|
39
|
+
name: () => name6,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name6 = "glob";
|
|
46
|
+
var Input6 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin41 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service74;
|
|
70
|
+
const ripgrep = yield* Service17;
|
|
71
|
+
const location = yield* Service82;
|
|
72
|
+
const access = yield* Service24;
|
|
73
|
+
const permission = yield* Service62;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name6,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input6,
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name6,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin22 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name6, Input6, Output6, toModelContent4, Plugin41, exports_glob };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-s0xd9fk5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./file-mutation-cqbnrm9h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-ag0c998m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./file-mutation-b81ahfje.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-1vq8waa3.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-a5cb3rxh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node41
|
|
8
|
+
} from "./file-mutation-a0ngmh7v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node65
|
|
12
|
+
} from "./file-mutation-831szrnr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service59,
|
|
15
|
+
node62
|
|
16
|
+
} from "./file-mutation-whmxtv1k.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer16,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service59;
|
|
43
43
|
const bus = yield* Service85;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service62;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: { input: input ?? {} },
|
|
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node40 = makeLocationNode({
|
|
124
|
+
service: Service37,
|
|
125
|
+
layer: layer16,
|
|
126
|
+
deps: [node62, node41, node89, node65]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service37, layer16, node40, exports_mcp3 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service82,
|
|
18
|
+
node86
|
|
19
|
+
} from "./file-mutation-s9hmt3s5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node78
|
|
23
|
+
} from "./file-mutation-w80w7egq.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service74,
|
|
33
|
+
node: () => node77
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node77,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service82;
|
|
66
|
+
const workspace = yield* Service75;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node77 = makeLocationNode({
|
|
71
|
+
service: Service74,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node86, node78]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service74, node77, exports_environment2, makeFiles2, exports_environment3 };
|