@opencode/core 0.0.0-dev-21143 → 0.0.0-dev-21144
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-kd2wz8ak.js → persistent-pty-04237xqk.js} +30 -30
- package/dist/chunks/{model-ntfc07z9.js → persistent-pty-0at12hts.js} +18 -18
- package/dist/chunks/{model-0tz7w237.js → persistent-pty-0h2x14kv.js} +5 -5
- package/dist/chunks/{model-xnj83fhm.js → persistent-pty-0hgs8p1m.js} +26 -26
- package/dist/chunks/{model-qgn6gcr1.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-2taq7fdd.js → persistent-pty-0kwc86f6.js} +19 -19
- package/dist/chunks/{model-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-asaf6qxa.js → persistent-pty-0w22s44h.js} +82 -82
- package/dist/chunks/{model-5mmxse3m.js → persistent-pty-0wzapw8n.js} +35 -35
- package/dist/chunks/{model-wr7n6jz0.js → persistent-pty-0x4chtp0.js} +24 -24
- package/dist/chunks/{model-dm7v99da.js → persistent-pty-0ymzh51e.js} +43 -43
- package/dist/chunks/{model-r7nsrefv.js → persistent-pty-1ak9gecn.js} +6 -6
- package/dist/chunks/{model-bzeyqsqd.js → persistent-pty-1ep4rre3.js} +4 -4
- package/dist/chunks/{model-bjx1sjef.js → persistent-pty-1ffvrpkg.js} +6 -6
- package/dist/chunks/{model-32qa6vbj.js → persistent-pty-1j0p9b01.js} +3 -3
- package/dist/chunks/{model-3ftn6mbn.js → persistent-pty-1m69962m.js} +13 -13
- package/dist/chunks/{model-cxjn1h7n.js → persistent-pty-1nh0dqqz.js} +12 -12
- package/dist/chunks/{model-dssbfrwz.js → persistent-pty-1pxz8ven.js} +5 -5
- package/dist/chunks/{model-bvnyck97.js → persistent-pty-1sppys3p.js} +42 -42
- package/dist/chunks/{model-8ye8phve.js → persistent-pty-26p7d7xs.js} +8 -8
- package/dist/chunks/{model-nbyfmbp2.js → persistent-pty-2avy5dta.js} +9 -9
- package/dist/chunks/{model-ngts6ef0.js → persistent-pty-2eegacq4.js} +8 -8
- package/dist/chunks/{model-s93qc9vz.js → persistent-pty-2nndjys1.js} +7 -7
- package/dist/chunks/{model-5qj6jx0q.js → persistent-pty-2rb9smkj.js} +14 -14
- package/dist/chunks/{model-49fqqd4r.js → persistent-pty-37c5z9v4.js} +24 -24
- package/dist/chunks/{model-50db7yry.js → persistent-pty-399mwr77.js} +9 -9
- package/dist/chunks/{model-2rj07jxf.js → persistent-pty-3a2pvjwb.js} +35 -35
- package/dist/chunks/{model-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-fts609s6.js → persistent-pty-3syzjre4.js} +13 -13
- package/dist/chunks/{model-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-5gy05hhs.js → persistent-pty-3yj2zv75.js} +32 -32
- package/dist/chunks/{model-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-mnzjzk6s.js → persistent-pty-49h0gsx4.js} +14 -14
- package/dist/chunks/{model-4egvh0ae.js → persistent-pty-4ezrc1pe.js} +32 -32
- package/dist/chunks/{model-bpkktk07.js → persistent-pty-4jr81d9g.js} +15 -15
- package/dist/chunks/{model-0p2v4pma.js → persistent-pty-4qem063f.js} +18 -18
- package/dist/chunks/{model-g70vnkxp.js → persistent-pty-4t55d986.js} +3 -3
- package/dist/chunks/{model-ctr5jdva.js → persistent-pty-4z3jw88z.js} +19 -19
- package/dist/chunks/{model-mvnjff55.js → persistent-pty-51aj7naj.js} +35 -35
- package/dist/chunks/{model-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
- package/dist/chunks/{model-yjb5b1g6.js → persistent-pty-55begk9b.js} +57 -57
- package/dist/chunks/{model-b2b6kptg.js → persistent-pty-58cb3f0k.js} +17 -17
- package/dist/chunks/{model-cc6y7f3e.js → persistent-pty-5b5xz8a9.js} +25 -25
- package/dist/chunks/{model-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-3rccn82p.js → persistent-pty-5pkzysbz.js} +28 -28
- package/dist/chunks/{model-de12mgtc.js → persistent-pty-6559rxr6.js} +6 -6
- package/dist/chunks/{model-6827pfxn.js → persistent-pty-6827pfxn.js} +1 -1
- package/dist/chunks/{model-xp2z857k.js → persistent-pty-6fs5hhyf.js} +15 -15
- package/dist/chunks/{model-3z0hjn58.js → persistent-pty-6pzw4973.js} +9 -9
- package/dist/chunks/{model-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-vn3rjt1z.js → persistent-pty-6zm27x1b.js} +10 -10
- package/dist/chunks/{model-032ktewz.js → persistent-pty-70a1by7q.js} +12 -12
- package/dist/chunks/{model-gm6kgtxz.js → persistent-pty-70kzh81q.js} +5 -5
- package/dist/chunks/{model-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
- package/dist/chunks/{model-5x0sq0pb.js → persistent-pty-79n7kqtz.js} +3 -3
- package/dist/chunks/{model-2kd2p7qs.js → persistent-pty-7aj2yngp.js} +11 -11
- package/dist/chunks/{model-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-g4cgpsn5.js → persistent-pty-8076c16q.js} +39 -39
- package/dist/chunks/{model-w1eejvng.js → persistent-pty-84txncab.js} +5 -5
- package/dist/chunks/{model-j8d907hd.js → persistent-pty-868f7czb.js} +23 -23
- package/dist/chunks/{model-89znhe33.js → persistent-pty-89znhe33.js} +1 -1
- package/dist/chunks/{model-tp9z584j.js → persistent-pty-8hx72h8x.js} +13 -13
- package/dist/chunks/{model-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-1p7ncxxa.js → persistent-pty-8m6sqc8s.js} +18 -18
- package/dist/chunks/{model-5qd8vb6z.js → persistent-pty-8sap1y7n.js} +9 -9
- package/dist/chunks/{model-rkprpv83.js → persistent-pty-8sze2n9a.js} +6 -6
- package/dist/chunks/{model-6ytk35w5.js → persistent-pty-8ww2gede.js} +8 -8
- package/dist/chunks/{model-34596wkg.js → persistent-pty-90gj1595.js} +4 -4
- package/dist/chunks/{model-91qna3x0.js → persistent-pty-91qna3x0.js} +3 -3
- package/dist/chunks/{model-kj32e9g7.js → persistent-pty-9bmnzs6p.js} +39 -39
- package/dist/chunks/{model-2xdh0w28.js → persistent-pty-9hwaqfsw.js} +5 -5
- package/dist/chunks/{model-2zzk95jc.js → persistent-pty-9j45kp54.js} +24 -24
- package/dist/chunks/{model-mx47rfmj.js → persistent-pty-9t9apx18.js} +23 -23
- package/dist/chunks/{model-636h7cea.js → persistent-pty-9t9jzawt.js} +16 -16
- package/dist/chunks/{model-sxgptqgt.js → persistent-pty-9w8vrx7t.js} +10 -10
- package/dist/chunks/{model-v0xmac3n.js → persistent-pty-9y9sk2j9.js} +2 -2
- package/dist/chunks/{model-9mga5c27.js → persistent-pty-a08hybxf.js} +49 -49
- package/dist/chunks/{model-mevcanmy.js → persistent-pty-a2s0935e.js} +11 -11
- package/dist/chunks/{model-x32pgb56.js → persistent-pty-a895pzt4.js} +3 -3
- package/dist/chunks/{model-azwe5p1w.js → persistent-pty-addxnjmp.js} +4 -4
- package/dist/chunks/{model-egcq7ve1.js → persistent-pty-adk15a35.js} +15 -15
- package/dist/chunks/{model-8w8ydh14.js → persistent-pty-aec28y99.js} +35 -35
- package/dist/chunks/persistent-pty-amdb5r97.js +257 -0
- package/dist/chunks/{model-6x34hzzw.js → persistent-pty-apg447zh.js} +23 -23
- package/dist/chunks/{model-m5jcjszt.js → persistent-pty-axe3mf62.js} +3 -3
- package/dist/chunks/{model-34gry8w8.js → persistent-pty-azgbvmq5.js} +4 -4
- package/dist/chunks/{model-6nqxxja9.js → persistent-pty-b2502n83.js} +14 -14
- package/dist/chunks/{model-r2v4c7r0.js → persistent-pty-b4rh7w8t.js} +8 -8
- package/dist/chunks/{model-g2c9rtgb.js → persistent-pty-b6ydn2m7.js} +16 -16
- package/dist/chunks/{model-krxbrekj.js → persistent-pty-b7ek2qq0.js} +5 -5
- package/dist/chunks/{model-xcf9g4kc.js → persistent-pty-bh7k50df.js} +29 -29
- package/dist/chunks/{model-bpxfg8jv.js → persistent-pty-bhy5c7m8.js} +20 -20
- package/dist/chunks/{model-dqcawr84.js → persistent-pty-bjjk51rb.js} +26 -26
- package/dist/chunks/{model-gj0f7hmv.js → persistent-pty-bqwheb6v.js} +9 -9
- package/dist/chunks/{model-v7z2bvyd.js → persistent-pty-btbmdjwj.js} +4 -4
- package/dist/chunks/{model-c1fqxshp.js → persistent-pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-xsa8njxy.js → persistent-pty-c6awdkmy.js} +31 -31
- package/dist/chunks/{model-s0hxh50y.js → persistent-pty-ca6kg5ek.js} +11 -11
- package/dist/chunks/{model-npf2me51.js → persistent-pty-cffd7thf.js} +5 -5
- package/dist/chunks/{model-z5exdbxr.js → persistent-pty-cp2cqbts.js} +32 -32
- package/dist/chunks/{model-ay5x56j0.js → persistent-pty-cqz7nt7j.js} +22 -22
- package/dist/chunks/{model-cr0kavpg.js → persistent-pty-cxx7fx3c.js} +48 -48
- package/dist/chunks/{model-8bfncd3g.js → persistent-pty-d20va75g.js} +5 -5
- package/dist/chunks/{model-s5f94422.js → persistent-pty-d5sx35jq.js} +27 -27
- package/dist/chunks/{model-ca7w653e.js → persistent-pty-ddt2bs9e.js} +4 -4
- package/dist/chunks/{model-fdms3n6w.js → persistent-pty-depwzj9d.js} +9 -9
- package/dist/chunks/{model-11aq9g4k.js → persistent-pty-dw7cpmje.js} +29 -29
- package/dist/chunks/{model-px34zb81.js → persistent-pty-dwwb1cts.js} +2 -2
- package/dist/chunks/{model-8q8yj50y.js → persistent-pty-dxn4j312.js} +21 -21
- package/dist/chunks/{model-n61013np.js → persistent-pty-dys7k0s0.js} +8 -8
- package/dist/chunks/{model-h2ebcmnw.js → persistent-pty-dzv19xhm.js} +5 -5
- package/dist/chunks/{model-1rxgbc2t.js → persistent-pty-e55t292q.js} +34 -34
- package/dist/chunks/{model-e80seqcp.js → persistent-pty-e80seqcp.js} +1 -1
- package/dist/chunks/{model-d1mb5amx.js → persistent-pty-ecg7v5nb.js} +6 -6
- package/dist/chunks/{model-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-3m1hm5sp.js → persistent-pty-efh928rm.js} +21 -21
- package/dist/chunks/{model-xxqg5re6.js → persistent-pty-egxgp523.js} +17 -17
- package/dist/chunks/{model-w0vvr4mg.js → persistent-pty-em09xzj2.js} +45 -45
- package/dist/chunks/{model-b6eebr36.js → persistent-pty-ep675yaz.js} +13 -13
- package/dist/chunks/{model-v1thw1q0.js → persistent-pty-eq6rpykv.js} +14 -14
- package/dist/chunks/{model-ma6nsz3a.js → persistent-pty-er6f2807.js} +11 -11
- package/dist/chunks/{model-f5q4m7s3.js → persistent-pty-eyj1pktf.js} +14 -14
- package/dist/chunks/{model-mkj1vhfj.js → persistent-pty-f3sjrvfs.js} +14 -14
- package/dist/chunks/{model-rfvt5x14.js → persistent-pty-f62n1yv1.js} +27 -27
- package/dist/chunks/{model-s09wpg7e.js → persistent-pty-f7ma11rg.js} +6 -6
- package/dist/chunks/{model-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
- package/dist/chunks/{model-cjr1yvem.js → persistent-pty-fjjsqrj6.js} +15 -15
- package/dist/chunks/{model-hbb7npd7.js → persistent-pty-fn9t717r.js} +3 -3
- package/dist/chunks/{model-dtg8b4t8.js → persistent-pty-fnsp55tv.js} +11 -11
- package/dist/chunks/{model-gatvqhtb.js → persistent-pty-fr67tqfn.js} +33 -33
- package/dist/chunks/{model-r2m716tb.js → persistent-pty-ft3hqk2c.js} +9 -9
- package/dist/chunks/{model-ny8edt06.js → persistent-pty-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-wjcs86hs.js → persistent-pty-g4grd2er.js} +22 -22
- package/dist/chunks/{model-tebnytv8.js → persistent-pty-g5x2qnc7.js} +21 -21
- package/dist/chunks/{model-z8y91tz7.js → persistent-pty-g72yd4k4.js} +12 -12
- package/dist/chunks/{model-rgkx77sa.js → persistent-pty-g9q6txws.js} +25 -25
- package/dist/chunks/{model-7d2a7xbs.js → persistent-pty-gcavn3wx.js} +5 -5
- package/dist/chunks/{model-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-86qjnnqk.js → persistent-pty-gn31e51v.js} +11 -11
- package/dist/chunks/{model-6a8atva2.js → persistent-pty-gwfvc0m6.js} +23 -23
- package/dist/chunks/{model-grz7zy3r.js → persistent-pty-gz4gyws3.js} +30 -30
- package/dist/chunks/{model-xp70dzpx.js → persistent-pty-h4ttq6mv.js} +5 -5
- package/dist/chunks/{model-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-h7s7r6s9.js → persistent-pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-5w9yjztw.js → persistent-pty-he27pt63.js} +1 -1
- package/dist/chunks/{model-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-am4qcv70.js → persistent-pty-hjdr0kvj.js} +24 -24
- package/dist/chunks/{model-0b5g1ynf.js → persistent-pty-hkffa77z.js} +4 -4
- package/dist/chunks/{model-e09dskc3.js → persistent-pty-hpbxh8gx.js} +5 -5
- package/dist/chunks/{model-5xtfwz69.js → persistent-pty-hrpc1zm2.js} +47 -47
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{model-vbyty4xy.js → persistent-pty-j337hmpf.js} +1 -1
- package/dist/chunks/{model-nkeqdcfk.js → persistent-pty-jerz8xmy.js} +11 -11
- package/dist/chunks/{model-p97a26wd.js → persistent-pty-jwdj0bz1.js} +11 -11
- package/dist/chunks/{model-wcgc3hss.js → persistent-pty-k3k3bw8m.js} +1 -1
- package/dist/chunks/{model-4p6nr7v2.js → persistent-pty-kmhexkvz.js} +49 -49
- package/dist/chunks/{model-cs7jztnn.js → persistent-pty-krzhqatr.js} +15 -15
- package/dist/chunks/{model-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-30qnvgsd.js → persistent-pty-kybvgadz.js} +31 -31
- package/dist/chunks/{model-y9kpd8s3.js → persistent-pty-m20dg1r7.js} +13 -13
- package/dist/chunks/{model-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{model-ehh902hv.js → persistent-pty-mhqkqnc6.js} +4 -4
- package/dist/chunks/{model-rmjpaj98.js → persistent-pty-n6rbky9d.js} +6 -6
- package/dist/chunks/{model-k2qw8yh0.js → persistent-pty-n8ar2vr6.js} +12 -12
- package/dist/chunks/{model-chb9np0b.js → persistent-pty-ncz28he7.js} +9 -9
- package/dist/chunks/{model-ra67jj04.js → persistent-pty-nd4tfyg0.js} +9 -9
- package/dist/chunks/{model-q4k2r7g2.js → persistent-pty-njazmw33.js} +11 -11
- package/dist/chunks/{model-ceq2fdbr.js → persistent-pty-nmwek3zh.js} +38 -38
- package/dist/chunks/{model-fqze90fq.js → persistent-pty-nr3qa60f.js} +30 -30
- package/dist/chunks/{model-j5w2yx54.js → persistent-pty-p7a39gy5.js} +6 -6
- package/dist/chunks/{model-9hn6k4tm.js → persistent-pty-pa8pe2x7.js} +8 -8
- package/dist/chunks/{model-wa72q8a5.js → persistent-pty-pbxhkc08.js} +9 -9
- package/dist/chunks/{model-shqwqces.js → persistent-pty-pd9mwsk8.js} +24 -24
- package/dist/chunks/{model-vhjrr7mk.js → persistent-pty-pem0k0kd.js} +34 -34
- package/dist/chunks/{model-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/persistent-pty-pk3y0cyt.js +513 -0
- package/dist/chunks/{model-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{model-pdkwkcft.js → persistent-pty-pm92p9pd.js} +29 -29
- package/dist/chunks/{model-dtncpdvy.js → persistent-pty-pndvs7c5.js} +50 -50
- package/dist/chunks/{model-c2dc41sf.js → persistent-pty-pp68vse7.js} +13 -13
- package/dist/chunks/{model-ab191amw.js → persistent-pty-q4xfwgn4.js} +19 -19
- package/dist/chunks/{model-d924vz02.js → persistent-pty-qdss2tee.js} +8 -8
- package/dist/chunks/{model-6hexesxg.js → persistent-pty-qf1wc8s5.js} +34 -34
- package/dist/chunks/{model-cykvf63n.js → persistent-pty-qjc79sh2.js} +25 -25
- package/dist/chunks/{model-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-wdcfxsan.js → persistent-pty-qqjsh8e7.js} +19 -19
- package/dist/chunks/{model-t83nhy2t.js → persistent-pty-qs4wgkhm.js} +22 -22
- package/dist/chunks/{model-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{model-x3vxrdp4.js → persistent-pty-r1vdwkta.js} +5 -5
- package/dist/chunks/{model-x3mzkak9.js → persistent-pty-r42fkgn3.js} +28 -28
- package/dist/chunks/{model-6caww4kb.js → persistent-pty-r4a5d315.js} +22 -22
- package/dist/chunks/{model-6qgfysr7.js → persistent-pty-r673z147.js} +20 -20
- package/dist/chunks/{model-kftbgjt8.js → persistent-pty-r7806esx.js} +10 -10
- package/dist/chunks/{model-c975tyge.js → persistent-pty-r88hbvz2.js} +10 -10
- package/dist/chunks/{model-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-rert0e01.js → persistent-pty-rert0e01.js} +2 -2
- package/dist/chunks/{model-v6ffca6r.js → persistent-pty-rhg4d2ab.js} +4 -4
- package/dist/chunks/{model-rj3eygr5.js → persistent-pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-2e6zpqas.js → persistent-pty-rtpb8kpz.js} +17 -17
- package/dist/chunks/{model-9ajnrktk.js → persistent-pty-s4dav6dq.js} +30 -30
- package/dist/chunks/{model-t550f9t1.js → persistent-pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{model-r9jx05x6.js → persistent-pty-s8s8vm7g.js} +9 -9
- package/dist/chunks/{model-sa8ekw3f.js → persistent-pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-rnv29cyz.js → persistent-pty-sc3k4bp6.js} +4 -4
- package/dist/chunks/{model-ss6w8dzv.js → persistent-pty-sexkh2dj.js} +23 -23
- package/dist/chunks/{model-hc9nn3cp.js → persistent-pty-sgf9y5xx.js} +14 -14
- package/dist/chunks/{model-mscbxc3d.js → persistent-pty-sj9rcpbq.js} +29 -29
- package/dist/chunks/{model-5pjt3m7t.js → persistent-pty-stze078s.js} +12 -12
- package/dist/chunks/{model-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
- package/dist/chunks/{model-v37eec1m.js → persistent-pty-t2hdnyp6.js} +10 -10
- package/dist/chunks/{model-fqhbsnr5.js → persistent-pty-t89fqycx.js} +8 -8
- package/dist/chunks/{model-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-am1tmpj5.js → persistent-pty-tc11merm.js} +10 -10
- package/dist/chunks/{model-b4nzaj04.js → persistent-pty-tdqj5rj9.js} +5 -5
- package/dist/chunks/{model-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{model-fqab621c.js → persistent-pty-te646jaw.js} +18 -18
- package/dist/chunks/{model-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-2s6bjp6v.js → persistent-pty-tw93a2eg.js} +11 -11
- package/dist/chunks/{model-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
- package/dist/chunks/{model-ppmprt3f.js → persistent-pty-v00qce9k.js} +15 -15
- package/dist/chunks/{model-v0es1rhs.js → persistent-pty-v0es1rhs.js} +2 -2
- package/dist/chunks/{model-66prbn3s.js → persistent-pty-v2g920t7.js} +32 -32
- package/dist/chunks/{model-ecktab1z.js → persistent-pty-v2q1tt24.js} +17 -17
- package/dist/chunks/{model-8rqycdgd.js → persistent-pty-v5dkyp31.js} +7 -7
- package/dist/chunks/{model-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-tbtt1cd4.js → persistent-pty-v7rb73jq.js} +5 -5
- package/dist/chunks/{model-xe9tpf1b.js → persistent-pty-vaxstqyq.js} +7 -7
- package/dist/chunks/{model-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{model-eahhehpg.js → persistent-pty-vkfdnwpx.js} +4 -4
- package/dist/chunks/{model-vqwxx78m.js → persistent-pty-vmhdrmay.js} +11 -11
- package/dist/chunks/{model-kabzph0t.js → persistent-pty-vwrsfq36.js} +35 -35
- package/dist/chunks/{model-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-kgyb2az8.js → persistent-pty-w5fzecdx.js} +7 -7
- package/dist/chunks/{model-97aeaand.js → persistent-pty-waskdk5r.js} +4 -4
- package/dist/chunks/{model-nfjdydxw.js → persistent-pty-wbbmfrwc.js} +23 -23
- package/dist/chunks/{model-0pkr3k7y.js → persistent-pty-wcdp2xf1.js} +16 -16
- package/dist/chunks/{model-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{model-7tj55yx8.js → persistent-pty-wjf86v68.js} +4 -4
- package/dist/chunks/{model-vrxmxsaq.js → persistent-pty-wkyfwj57.js} +73 -73
- package/dist/chunks/{model-74p5kxdx.js → persistent-pty-wq48axxc.js} +4 -4
- package/dist/chunks/{model-h9mky73t.js → persistent-pty-wsb67xeh.js} +8 -8
- package/dist/chunks/{model-56xs2vdn.js → persistent-pty-wsy3wehs.js} +7 -7
- package/dist/chunks/{model-zssgvwvv.js → persistent-pty-wxft8nrk.js} +22 -22
- package/dist/chunks/{model-a0xsjpa6.js → persistent-pty-wy4krjgg.js} +20 -20
- package/dist/chunks/{model-fygryk8m.js → persistent-pty-x3d6r14d.js} +52 -52
- package/dist/chunks/{model-v9hfyz1s.js → persistent-pty-xarbvv3d.js} +24 -24
- package/dist/chunks/{model-j3j05rer.js → persistent-pty-xdp7tq7h.js} +183 -183
- package/dist/chunks/{model-n44feps9.js → persistent-pty-xf5drc1b.js} +21 -21
- package/dist/chunks/{model-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{model-bmnyjmah.js → persistent-pty-xfsd998s.js} +3 -3
- package/dist/chunks/{model-6rgqsnph.js → persistent-pty-xq9mvccd.js} +18 -18
- package/dist/chunks/{model-5mgf4sgt.js → persistent-pty-xz7fxsde.js} +26 -26
- package/dist/chunks/{model-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{model-bnk7cdjh.js → persistent-pty-y7tts23x.js} +23 -23
- package/dist/chunks/{model-tyrv786q.js → persistent-pty-y904s1ke.js} +33 -33
- package/dist/chunks/{model-zmgnvkkw.js → persistent-pty-yayb89cb.js} +3 -3
- package/dist/chunks/{model-72y14xv9.js → persistent-pty-yhexa121.js} +9 -9
- package/dist/chunks/{model-f2n192rq.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-s21aqrjm.js → persistent-pty-yt99s1s6.js} +13 -13
- package/dist/chunks/{model-pqjw7jp7.js → persistent-pty-yv1fws1k.js} +6 -6
- package/dist/chunks/{model-jykakyyr.js → persistent-pty-yzzekmzw.js} +11 -11
- package/dist/chunks/{model-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/persistent-pty-z4w52078.js +26 -0
- package/dist/chunks/{model-yh1hagv9.js → persistent-pty-z5e6kfa6.js} +11 -11
- package/dist/chunks/{model-70pmzrba.js → persistent-pty-zh5yh1pa.js} +93 -93
- package/dist/chunks/{model-c2qhap2q.js → persistent-pty-zjyt5r8a.js} +45 -45
- package/dist/chunks/{model-mvtf3rh0.js → persistent-pty-znkfpgqp.js} +18 -18
- package/dist/chunks/{model-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-3sj8yt8v.js → persistent-pty-zsr4wwhv.js} +4 -4
- package/dist/chunks/{model-bx8wf0xt.js → persistent-pty-zvdzq0ev.js} +8 -8
- package/dist/chunks/{model-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-5n2cq17m.js → persistent-pty-zytcjjhp.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +116 -116
- package/dist/config/plugin/command.js +206 -206
- 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 +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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- 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 +117 -117
- 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 +117 -117
- 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 +369 -369
- 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 +76 -76
- 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 +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +100 -100
- 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 +101 -101
- 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 +360 -360
- package/dist/instruction-discovery.js +82 -82
- 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 +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +4 -4
- 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 +118 -118
- 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 +76 -76
- 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 +350 -350
- 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 +6 -6
- 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 +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- 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 +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- 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 +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 +3 -3
- package/dist/session/runner/step.js +128 -128
- 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 +206 -206
- 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 +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +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 +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-0qdvnyhc.js +0 -26
- package/dist/chunks/model-1x11rq2a.js +0 -18
- package/dist/chunks/model-47sz30n1.js +0 -513
- package/dist/chunks/model-5qat1gp6.js +0 -257
- /package/dist/chunks/{model-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-a895pzt4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./persistent-pty-n8ar2vr6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service38,
|
|
11
|
+
node40
|
|
12
|
+
} from "./persistent-pty-p7a39gy5.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node87
|
|
20
|
+
} from "./persistent-pty-0x4chtp0.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-eyj1pktf.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service69,
|
|
26
|
+
node73
|
|
27
|
+
} from "./persistent-pty-pbxhkc08.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./persistent-pty-6559rxr6.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service36
|
|
39
|
+
} from "./persistent-pty-ddt2bs9e.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service74,
|
|
42
|
+
node78
|
|
43
|
+
} from "./persistent-pty-70a1by7q.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service37,
|
|
48
|
+
node39,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./persistent-pty-wbbmfrwc.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service35,
|
|
53
|
+
node38
|
|
54
|
+
} from "./persistent-pty-9bmnzs6p.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./persistent-pty-qqjsh8e7.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service23,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node26
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service23 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service83;
|
|
92
|
+
const locations = yield* Service69;
|
|
93
|
+
const store = yield* Service74;
|
|
94
|
+
const execution = yield* Service35;
|
|
95
|
+
const instances = yield* Service38;
|
|
96
|
+
const admission = yield* Service37;
|
|
97
97
|
const database = yield* Service86;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service36.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service23.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node26 = makeGlobalNode({
|
|
167
|
+
service: Service23,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
node35,
|
|
172
|
+
node87,
|
|
173
|
+
node73,
|
|
174
|
+
node78,
|
|
176
175
|
node38,
|
|
177
|
-
|
|
176
|
+
node40,
|
|
177
|
+
node39,
|
|
178
178
|
node90,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node89,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./persistent-pty-pd9mwsk8.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./persistent-pty-dys7k0s0.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-mhqkqnc6.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./persistent-pty-zjyt5r8a.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin42
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin42 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service51;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin24 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID11.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin42, exports_agent2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-t2hdnyp6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./persistent-pty-n8ar2vr6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./persistent-pty-kybvgadz.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-pm92p9pd.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service15
|
|
21
|
+
} from "./persistent-pty-tc11merm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-fr67tqfn.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-e55t292q.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-79n7kqtz.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
ID4,
|
|
36
36
|
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-xz7fxsde.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID4
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID14.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -176,10 +176,10 @@ function oauth(http) {
|
|
|
176
176
|
var OpencodePlugin2 = define({
|
|
177
177
|
id: "opencode.provider.opencode",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
|
-
const bus = yield*
|
|
179
|
+
const bus = yield* Service85;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service15;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID14.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID13.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID13.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
411
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
412
412
|
})
|
|
413
413
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./persistent-pty-n8ar2vr6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service34,
|
|
7
|
+
node37
|
|
8
|
+
} from "./persistent-pty-kmhexkvz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./persistent-pty-x3d6r14d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node43
|
|
16
|
+
} from "./persistent-pty-cqz7nt7j.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-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: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
|
+
layer: () => layer15,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service33 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service33, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service34;
|
|
42
|
+
const tools = yield* Service41;
|
|
43
|
+
const bus = yield* Service85;
|
|
44
|
+
const permission = yield* Service73;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service29, 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 Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node36 = makeLocationNode({
|
|
124
|
+
service: Service33,
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node43, node37, node89, node77]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service33, layer15, node36, exports_mcp3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-axe3mf62.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node66
|
|
9
|
+
} from "./persistent-pty-9j45kp54.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-cp2cqbts.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service64;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node66] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service42,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node44
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service42 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service42.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node44 = makeLocationNode({ service: Service42, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service42, node44, exports_image2 };
|