@opencode/core 0.0.0-dev-20942 → 0.0.0-dev-20945
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{file-retention-tpkar9pb.js → pty-00p3fx9n.js} +6 -6
- package/dist/chunks/{file-retention-5rgrjwfp.js → pty-01qhqbw5.js} +11 -11
- package/dist/chunks/{file-retention-rhjbct0v.js → pty-02nrjc1r.js} +6 -6
- package/dist/chunks/{file-retention-mdarrdwd.js → pty-0k77gycm.js} +19 -19
- package/dist/chunks/{file-retention-gce79w0q.js → pty-0kq1vnt2.js} +11 -11
- package/dist/chunks/{file-retention-r89cnx03.js → pty-0n2m89ce.js} +25 -25
- package/dist/chunks/{file-retention-jd45p87c.js → pty-0qxqhjz5.js} +22 -22
- package/dist/chunks/{file-retention-pqndxp19.js → pty-0rt46w6s.js} +19 -19
- package/dist/chunks/{file-retention-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-srqxjqm4.js → pty-0w2b2cca.js} +32 -32
- package/dist/chunks/{file-retention-fyn8kjq9.js → pty-0zqnk5z9.js} +4 -4
- package/dist/chunks/{file-retention-5mt7hsf0.js → pty-11vynswf.js} +20 -20
- package/dist/chunks/{file-retention-hzrfc1p4.js → pty-143qq2q9.js} +3 -3
- package/dist/chunks/{file-retention-cez8prm9.js → pty-1739nk5s.js} +28 -28
- package/dist/chunks/{file-retention-zp5az1r9.js → pty-193x24z7.js} +11 -11
- package/dist/chunks/{file-retention-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-retention-prsa3t1d.js → pty-1d5t9qnr.js} +18 -18
- package/dist/chunks/{file-retention-bjx1sjef.js → pty-1ffvrpkg.js} +6 -6
- package/dist/chunks/{file-retention-qzn251n6.js → pty-20anygfn.js} +45 -45
- package/dist/chunks/{file-retention-w8dgvwfp.js → pty-288v2fpa.js} +22 -22
- package/dist/chunks/{file-retention-k6skys1a.js → pty-2edf9g1m.js} +27 -27
- package/dist/chunks/{file-retention-4a0nv7mx.js → pty-2eegacq4.js} +8 -8
- package/dist/chunks/{file-retention-sdvx1mbw.js → pty-2kjzqttw.js} +32 -32
- package/dist/chunks/{file-retention-vyzme5k3.js → pty-2p13j2kb.js} +3 -3
- package/dist/chunks/{file-retention-92fgxspj.js → pty-2s7dtdje.js} +22 -22
- package/dist/chunks/{file-retention-qmqgtz8f.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{file-retention-9hwaqfsw.js → pty-2xdh0w28.js} +5 -5
- package/dist/chunks/{file-retention-0q9t857t.js → pty-31ywfv50.js} +23 -23
- package/dist/chunks/{file-retention-0mm9aq32.js → pty-3d4ymmg4.js} +9 -9
- package/dist/chunks/{file-retention-ste2g9xd.js → pty-3e4qw7kp.js} +26 -26
- package/dist/chunks/{file-retention-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-n287d4xt.js → pty-3haw7r2g.js} +9 -9
- package/dist/chunks/{file-retention-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-retention-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/pty-4pjsscn6.js +26 -0
- package/dist/chunks/{file-retention-7s6e2gqc.js → pty-4q9fsd81.js} +11 -11
- package/dist/chunks/{file-retention-4ts7tf6z.js → pty-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-retention-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-v3zpe7p0.js → pty-5av885h1.js} +16 -16
- package/dist/chunks/{file-retention-vh8vpv80.js → pty-5ddwb480.js} +32 -32
- package/dist/chunks/{file-retention-p9ap5cqx.js → pty-5f9nf4hj.js} +5 -5
- package/dist/chunks/{file-retention-5fykfdj7.js → pty-5fykfdj7.js} +2 -2
- package/dist/chunks/{file-retention-te81bscz.js → pty-5k2zrbw7.js} +85 -85
- package/dist/chunks/{file-retention-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-x4k30q0e.js → pty-5tad3bay.js} +8 -8
- package/dist/chunks/{file-retention-2k8khapm.js → pty-607tc6va.js} +5 -5
- package/dist/chunks/{file-retention-5jgv69fp.js → pty-66b6z3ve.js} +15 -15
- package/dist/chunks/{file-retention-a1ncabta.js → pty-66tg3gv6.js} +15 -15
- package/dist/chunks/{file-retention-7j2qha59.js → pty-69j91c1q.js} +8 -8
- package/dist/chunks/{file-retention-v7jgca5q.js → pty-6dcba37k.js} +10 -10
- package/dist/chunks/{file-retention-qwtabkpy.js → pty-6de4zjg3.js} +73 -73
- package/dist/chunks/{file-retention-n61013np.js → pty-6f908b02.js} +8 -8
- package/dist/chunks/{file-retention-fpecnkgp.js → pty-6g7e4dd5.js} +5 -5
- package/dist/chunks/{file-retention-cmhbsh7h.js → pty-6ghz6dva.js} +11 -11
- package/dist/chunks/{file-retention-x93z75qz.js → pty-6hcssy04.js} +11 -11
- package/dist/chunks/{file-retention-3wqa21f4.js → pty-6kgmdsq6.js} +51 -51
- package/dist/chunks/{file-retention-aq9v1yk8.js → pty-6wg7wrda.js} +8 -8
- package/dist/chunks/{file-retention-8ga4z34x.js → pty-6wndw9rh.js} +4 -4
- package/dist/chunks/{file-retention-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-x12kyyz4.js → pty-6yc87gb3.js} +33 -33
- package/dist/chunks/{file-retention-775gj3j1.js → pty-775gj3j1.js} +2 -2
- package/dist/chunks/{file-retention-m4gecbe4.js → pty-7afg5kn9.js} +15 -15
- package/dist/chunks/{file-retention-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-ncj7h78a.js → pty-7ehaxsq5.js} +15 -15
- package/dist/chunks/{file-retention-39hwbmyw.js → pty-7f5fnqp2.js} +7 -7
- package/dist/chunks/{file-retention-et2ajke8.js → pty-7hyaj12q.js} +10 -10
- package/dist/chunks/{file-retention-5e311j32.js → pty-7k8jpxr1.js} +12 -12
- package/dist/chunks/pty-7wbens8j.js +513 -0
- package/dist/chunks/{file-retention-q45354m6.js → pty-7ygng7x2.js} +57 -57
- package/dist/chunks/{file-retention-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{file-retention-wg8xnydk.js → pty-8a5t9khg.js} +17 -17
- package/dist/chunks/{file-retention-0z785y98.js → pty-8er28y98.js} +5 -5
- package/dist/chunks/{file-retention-4azv87ky.js → pty-8f1a6wvh.js} +47 -47
- package/dist/chunks/{file-retention-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-retention-d36v90fm.js → pty-8prte6g2.js} +28 -28
- package/dist/chunks/{file-retention-zy3senqm.js → pty-8rkrdynz.js} +35 -35
- package/dist/chunks/{file-retention-hdh09p32.js → pty-8sahcayy.js} +32 -32
- package/dist/chunks/{file-retention-4as9fy9y.js → pty-97k7h61m.js} +16 -16
- package/dist/chunks/{file-retention-nphzgfkn.js → pty-9c80ajet.js} +8 -8
- package/dist/chunks/{file-retention-9bh8zfva.js → pty-9gfzbh6g.js} +20 -20
- package/dist/chunks/{file-retention-5dva4nqc.js → pty-9jw3ccen.js} +13 -13
- package/dist/chunks/{file-retention-vjjaysxc.js → pty-9pa8tak9.js} +2 -2
- package/dist/chunks/{file-retention-1nwxscpy.js → pty-9pkkzrmj.js} +5 -5
- package/dist/chunks/{file-retention-hkyn7844.js → pty-9sz7nexa.js} +12 -12
- package/dist/chunks/{file-retention-zxs2600w.js → pty-9wcwrqqm.js} +18 -18
- package/dist/chunks/{file-retention-jdgbktbp.js → pty-a0t77qzm.js} +20 -20
- package/dist/chunks/{file-retention-40pk6sm4.js → pty-a3d5jsrq.js} +19 -19
- package/dist/chunks/{file-retention-xfdm5xcv.js → pty-a40nck69.js} +17 -17
- package/dist/chunks/{file-retention-d858xzj7.js → pty-a89e0tac.js} +4 -4
- package/dist/chunks/{file-retention-6haxr8ea.js → pty-an1qcxgb.js} +36 -36
- package/dist/chunks/{file-retention-x9gghrjv.js → pty-as986mw6.js} +16 -16
- package/dist/chunks/{file-retention-j4aw79wa.js → pty-b26f43jx.js} +11 -11
- package/dist/chunks/{file-retention-pq3rt767.js → pty-b2fv2zwp.js} +12 -12
- package/dist/chunks/{file-retention-prq7hedt.js → pty-b4s8ej7r.js} +9 -9
- package/dist/chunks/{file-retention-77f241gp.js → pty-bh2h312c.js} +11 -11
- package/dist/chunks/{file-retention-c1fqxshp.js → pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{file-retention-kmdwr4me.js → pty-c394f5a2.js} +17 -17
- package/dist/chunks/{file-retention-p65ms1vq.js → pty-c9nxy5qv.js} +36 -36
- package/dist/chunks/{file-retention-kqx1b4hy.js → pty-c9wbyant.js} +4 -4
- package/dist/chunks/{file-retention-t9ms93eq.js → pty-cbqfkr4p.js} +4 -4
- package/dist/chunks/{file-retention-gm7t6352.js → pty-chqfxdm3.js} +24 -24
- package/dist/chunks/{file-retention-ynb9zb2f.js → pty-ck6m1vrp.js} +33 -33
- package/dist/chunks/{file-retention-8zb64j11.js → pty-ckazfp8g.js} +15 -15
- package/dist/chunks/{file-retention-p37cw4rj.js → pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{file-retention-723bwzaz.js → pty-cnvmc6fb.js} +23 -23
- package/dist/chunks/{file-retention-4jhykbxs.js → pty-ct8t11n6.js} +11 -11
- package/dist/chunks/{file-retention-16dn4b4s.js → pty-cvrr7bf2.js} +13 -13
- package/dist/chunks/{file-retention-41s9fba0.js → pty-cw9t8fyw.js} +5 -5
- package/dist/chunks/{file-retention-eqkxs06z.js → pty-d0k1g5nx.js} +6 -6
- package/dist/chunks/{file-retention-5yv5nces.js → pty-d2x469ty.js} +22 -22
- package/dist/chunks/{file-retention-frww510k.js → pty-d9b5n5ge.js} +19 -19
- package/dist/chunks/{file-retention-mxvxcxwy.js → pty-db2wf4at.js} +4 -4
- package/dist/chunks/{file-retention-v44g6hkp.js → pty-de66sqtn.js} +17 -17
- package/dist/chunks/{file-retention-dqxsqydv.js → pty-dqxsqydv.js} +1 -1
- package/dist/chunks/{file-retention-yekfqxw6.js → pty-e0tnwjbb.js} +30 -30
- package/dist/chunks/{file-retention-6qjg7hna.js → pty-e43591r5.js} +92 -92
- package/dist/chunks/{file-retention-e80seqcp.js → pty-e80seqcp.js} +1 -1
- package/dist/chunks/{file-retention-v8astjmg.js → pty-ee8q9djg.js} +19 -19
- package/dist/chunks/{file-retention-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-ajf5mpmj.js → pty-eg6prxs1.js} +14 -14
- package/dist/chunks/{file-retention-z2zw7h45.js → pty-ehtaw9d1.js} +14 -14
- package/dist/chunks/{file-retention-40vewkxf.js → pty-er13sehk.js} +14 -14
- package/dist/chunks/{file-retention-btx3r6p2.js → pty-ethdrrhc.js} +1 -1
- package/dist/chunks/{file-retention-97aeaand.js → pty-ez8f2bbm.js} +4 -4
- package/dist/chunks/{file-retention-n1n192bv.js → pty-f29mbr7f.js} +4 -4
- package/dist/chunks/{file-retention-4rxxd1r4.js → pty-f3n2bv5m.js} +13 -13
- package/dist/chunks/{file-retention-h3tdde96.js → pty-f9s7s5p7.js} +5 -5
- package/dist/chunks/{file-retention-73vmrfwz.js → pty-fd3j7r5c.js} +5 -5
- package/dist/chunks/{file-retention-yh7v3mca.js → pty-fgcmqe3m.js} +21 -21
- package/dist/chunks/{file-retention-4ys16hhx.js → pty-fjdawx2k.js} +8 -8
- package/dist/chunks/{file-retention-fxjt2768.js → pty-fjvmb1q4.js} +33 -33
- package/dist/chunks/{file-retention-1g9xdg8x.js → pty-ftdn8ckz.js} +11 -11
- package/dist/chunks/{file-retention-7zcan07s.js → pty-fyyz0s13.js} +18 -18
- package/dist/chunks/{file-retention-4r69bb8y.js → pty-fzvpg9cx.js} +35 -35
- package/dist/chunks/{file-retention-5cewxaxe.js → pty-g3nth5ah.js} +53 -53
- package/dist/chunks/{file-retention-vf43qnnt.js → pty-g3w5es5w.js} +3 -3
- package/dist/chunks/{file-retention-q24annen.js → pty-g4akawe6.js} +20 -20
- package/dist/chunks/{file-retention-g686f6pq.js → pty-g686f6pq.js} +2 -2
- package/dist/chunks/{file-retention-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-75b647qr.js → pty-gj0f7hmv.js} +9 -9
- package/dist/chunks/{file-retention-2dyz0se9.js → pty-gq0accs8.js} +8 -8
- package/dist/chunks/{file-retention-vky1pj73.js → pty-gx0wdj2t.js} +3 -3
- package/dist/chunks/{file-retention-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-h7s7r6s9.js → pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{file-retention-2hb1hzkz.js → pty-h8gnvgy0.js} +8 -8
- package/dist/chunks/{file-retention-0kfbqg2w.js → pty-h9d3160z.js} +18 -18
- package/dist/chunks/{file-retention-hfbyhya8.js → pty-hfbyhya8.js} +2 -2
- package/dist/chunks/{file-retention-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-retention-wcgb8dbp.js → pty-hpw3665f.js} +28 -28
- package/dist/chunks/{file-retention-0sqg52g8.js → pty-hrk0n9pc.js} +3 -3
- package/dist/chunks/{file-retention-gyqy5ynx.js → pty-hv99qf5t.js} +12 -12
- package/dist/chunks/{file-retention-ty59shy6.js → pty-hxs8kxrd.js} +11 -11
- package/dist/chunks/{file-retention-j09zfasm.js → pty-j09zfasm.js} +3 -3
- package/dist/chunks/{file-retention-435seeeq.js → pty-j353xgqb.js} +10 -10
- package/dist/chunks/{file-retention-ee1d3bc0.js → pty-j41t0h0z.js} +4 -4
- package/dist/chunks/{file-retention-dvgz8sw6.js → pty-j6vpt3ek.js} +13 -13
- package/dist/chunks/{file-retention-e7db086s.js → pty-jfxy3w4j.js} +17 -17
- package/dist/chunks/{file-retention-fr99x9ny.js → pty-jpz15csq.js} +4 -4
- package/dist/chunks/{file-retention-q6eg0k98.js → pty-jrx2a02v.js} +21 -21
- package/dist/chunks/{file-retention-dpkg50ah.js → pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{file-retention-jws6fkes.js → pty-jws6fkes.js} +2 -2
- package/dist/chunks/{file-retention-18fd3ek7.js → pty-k35ztsfm.js} +7 -7
- package/dist/chunks/{file-retention-q5asdkn4.js → pty-k76fn4kw.js} +4 -4
- package/dist/chunks/{file-retention-a8rhqsqt.js → pty-k8mv4n69.js} +22 -22
- package/dist/chunks/{file-retention-khmqacep.js → pty-khmqacep.js} +1 -1
- package/dist/chunks/{file-retention-ec7x0vjc.js → pty-kjt3e84p.js} +12 -12
- package/dist/chunks/{file-retention-mw4d6y5r.js → pty-kkwvactk.js} +22 -22
- package/dist/chunks/{file-retention-r69hmf80.js → pty-knsam22r.js} +5 -5
- package/dist/chunks/{file-retention-rwjc2fa2.js → pty-m09gnrb9.js} +28 -28
- package/dist/chunks/{file-retention-ex8zzqeq.js → pty-m7psy4vk.js} +6 -6
- package/dist/chunks/{file-retention-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-maspj1v3.js → pty-maspj1v3.js} +1 -1
- package/dist/chunks/{file-retention-wetwxakw.js → pty-mjpkqx7p.js} +29 -29
- package/dist/chunks/{file-retention-j19a5jgs.js → pty-mrcdbg0n.js} +43 -43
- package/dist/chunks/{file-retention-7vkfvfth.js → pty-mybzhh9a.js} +5 -5
- package/dist/chunks/{file-retention-wnk72qpq.js → pty-n5xgnb69.js} +8 -8
- package/dist/chunks/{file-retention-yzweyr9r.js → pty-nm0q0e1t.js} +32 -32
- package/dist/chunks/{file-retention-t7xt8fdv.js → pty-ntvrhfrd.js} +14 -14
- package/dist/chunks/{file-retention-r7jsjf7n.js → pty-nv1390rc.js} +18 -18
- package/dist/chunks/{file-retention-1a73za0v.js → pty-p49yswtn.js} +20 -20
- package/dist/chunks/{file-retention-fpmaxxag.js → pty-pbpewdms.js} +26 -26
- package/dist/chunks/{file-retention-eyhqsmd4.js → pty-pbtzveat.js} +24 -24
- package/dist/chunks/pty-pf31ssb9.js +18 -0
- package/dist/chunks/{file-retention-b7nwgrxc.js → pty-pghk10f8.js} +9 -9
- package/dist/chunks/{file-retention-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-wt7qt3d1.js → pty-pk8j2qrs.js} +11 -11
- package/dist/chunks/{file-retention-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-05tpr10a.js → pty-pn730q52.js} +41 -41
- package/dist/chunks/{file-retention-1eevk08k.js → pty-pnw81b68.js} +32 -32
- package/dist/chunks/{file-retention-14pza5e5.js → pty-ppntd1nv.js} +15 -15
- package/dist/chunks/{file-retention-xwe4by6a.js → pty-pvvch4t1.js} +29 -29
- package/dist/chunks/{file-retention-edmybrtw.js → pty-pvwettvr.js} +9 -9
- package/dist/chunks/{file-retention-15skk8qm.js → pty-px41as06.js} +5 -5
- package/dist/chunks/{file-retention-q0xm7vwc.js → pty-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-retention-cskx99g3.js → pty-q4ajs4bb.js} +10 -10
- package/dist/chunks/{file-retention-tbs2b1r3.js → pty-q4fg9b7s.js} +50 -50
- package/dist/chunks/{file-retention-3g8j9he4.js → pty-q5e7cmwt.js} +1 -1
- package/dist/chunks/{file-retention-n79qwtgz.js → pty-q9y31vqn.js} +6 -6
- package/dist/chunks/{file-retention-31rj2qjy.js → pty-qbt3t408.js} +2 -2
- package/dist/chunks/{file-retention-v4x2qbf5.js → pty-qdvdxf2k.js} +183 -183
- package/dist/chunks/{file-retention-se9xw6gp.js → pty-qe7a2st6.js} +43 -43
- package/dist/chunks/{file-retention-yd4bzqjj.js → pty-qf76qvkk.js} +5 -5
- package/dist/chunks/{file-retention-sym5gnkg.js → pty-qfy0nnm5.js} +13 -13
- package/dist/chunks/{file-retention-t130c1zw.js → pty-qj20gv4f.js} +13 -13
- package/dist/chunks/{file-retention-7sbkp4xb.js → pty-qm0v3jhh.js} +5 -5
- package/dist/chunks/{file-retention-e7amzs41.js → pty-qmarpbgc.js} +58 -58
- package/dist/chunks/{file-retention-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-qqeeq2t9.js → pty-qqeeq2t9.js} +1 -1
- package/dist/chunks/{file-retention-jz0k2p3h.js → pty-qqjzd42y.js} +1 -1
- package/dist/chunks/{file-retention-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-gcp2mfh0.js → pty-qtcy7vt8.js} +38 -38
- package/dist/chunks/{file-retention-8wdak1ws.js → pty-qxsas7jk.js} +11 -11
- package/dist/chunks/{file-retention-5eswzrp4.js → pty-r8w6ttfv.js} +11 -11
- package/dist/chunks/{file-retention-25v44x7c.js → pty-rd7h3zr1.js} +11 -11
- package/dist/chunks/{file-retention-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-rert0e01.js → pty-rert0e01.js} +2 -2
- package/dist/chunks/{file-retention-rj3eygr5.js → pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{file-retention-2rgzsac1.js → pty-rnmfkyhk.js} +36 -36
- package/dist/chunks/{file-retention-h9pnpq88.js → pty-rpf1qvc3.js} +4 -4
- package/dist/chunks/{file-retention-0ybbsf06.js → pty-rv8bg9zk.js} +6 -6
- package/dist/chunks/{file-retention-hn388zxv.js → pty-s0meg1b8.js} +7 -7
- package/dist/chunks/{file-retention-nq94dzyn.js → pty-s100x8e8.js} +27 -27
- package/dist/chunks/{file-retention-7cx4vzts.js → pty-s3sf2gr6.js} +22 -22
- package/dist/chunks/{file-retention-sa8ekw3f.js → pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{file-retention-scgrse2b.js → pty-scgrse2b.js} +2 -2
- package/dist/chunks/{file-retention-nm94rf1q.js → pty-sq7nze2g.js} +21 -21
- package/dist/chunks/{file-retention-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/pty-t0m65wbp.js +253 -0
- package/dist/chunks/{file-retention-6fkh8xy1.js → pty-t1gb04pn.js} +13 -13
- package/dist/chunks/{file-retention-vgx3m274.js → pty-t9ddj6j8.js} +9 -9
- package/dist/chunks/{file-retention-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-v0ysa0d7.js → pty-tg0kwg8q.js} +28 -28
- package/dist/chunks/{file-retention-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{file-retention-ym491c0h.js → pty-tr1gvy62.js} +31 -31
- package/dist/chunks/{file-retention-1zh1deve.js → pty-twkgpt66.js} +24 -24
- package/dist/chunks/{file-retention-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{file-retention-f15m0rqx.js → pty-v0zj6wv7.js} +35 -35
- package/dist/chunks/{file-retention-6eavwtyb.js → pty-v3p5ska8.js} +12 -12
- package/dist/chunks/{file-retention-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-retention-xvan7b2r.js → pty-vdn09hgv.js} +4 -4
- package/dist/chunks/{file-retention-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-j1cs4cyb.js → pty-vqbmn0xt.js} +8 -8
- package/dist/chunks/{file-retention-j90fxacf.js → pty-vvsvq11f.js} +4 -4
- package/dist/chunks/{file-retention-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-vt6xeprm.js → pty-w48hzcn4.js} +3 -3
- package/dist/chunks/{file-retention-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-0r268gnr.js → pty-wtgcjadp.js} +20 -20
- package/dist/chunks/{file-retention-40x333fm.js → pty-x97dcv64.js} +9 -9
- package/dist/chunks/{file-retention-e19s4p51.js → pty-xq7qjm04.js} +17 -17
- package/dist/chunks/{file-retention-0sds4y2c.js → pty-xqyega4a.js} +4 -4
- package/dist/chunks/{file-retention-s43z9shx.js → pty-xs27w66m.js} +45 -45
- package/dist/chunks/{file-retention-2q8c0gm7.js → pty-xsgk3b13.js} +9 -9
- package/dist/chunks/{file-retention-p0ys1q4f.js → pty-xwszpszr.js} +29 -29
- package/dist/chunks/{file-retention-qf3sw13q.js → pty-xy1yywfj.js} +18 -18
- package/dist/chunks/{file-retention-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-g7nsaq0x.js → pty-y54pxzdy.js} +5 -5
- package/dist/chunks/{file-retention-d8x9ac8g.js → pty-y8jzcpjv.js} +9 -9
- package/dist/chunks/{file-retention-446yyhqh.js → pty-ydeefbjq.js} +10 -10
- package/dist/chunks/{file-retention-qcwpqs5z.js → pty-yfpbz0yb.js} +43 -43
- package/dist/chunks/{file-retention-3871rra9.js → pty-yma1e4ev.js} +15 -15
- package/dist/chunks/{file-retention-qyny12st.js → pty-ympt5fcf.js} +38 -38
- package/dist/chunks/{file-retention-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-gtndzxs8.js → pty-z41z05dk.js} +6 -6
- package/dist/chunks/{file-retention-n59p6y9a.js → pty-z4y32ccy.js} +23 -23
- package/dist/chunks/{file-retention-k1e0smkv.js → pty-zc28nfrp.js} +33 -33
- package/dist/chunks/{file-retention-j6vf2ekd.js → pty-zghx9vvp.js} +26 -26
- package/dist/chunks/{file-retention-669k5jt6.js → pty-zpe6edxa.js} +6 -6
- package/dist/chunks/{file-retention-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-b6zthw97.js → pty-zxv48ndd.js} +9 -9
- 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 +87 -87
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +1 -1
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +359 -359
- package/dist/instruction-discovery.js +85 -85
- 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 +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 +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +115 -115
- 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 +213 -213
- 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 +119 -119
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- 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 +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- 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 +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 +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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +127 -127
- 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 +132 -132
- 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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- 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 +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +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/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- 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/file-retention-gyfpmg79.js +0 -513
- package/dist/chunks/file-retention-mj3g6zxa.js +0 -26
- package/dist/chunks/file-retention-naf4pan3.js +0 -253
- package/dist/chunks/file-retention-vnkjks7b.js +0 -18
- /package/dist/chunks/{file-retention-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-retention-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./pty-v3p5ska8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./pty-ck6m1vrp.js";
|
|
7
7
|
import {
|
|
8
8
|
Error2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-d2x469ty.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./pty-bh2h312c.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-rv8bg9zk.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-8er28y98.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-g3w5es5w.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-scgrse2b.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service82;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service61;
|
|
58
|
+
const toolOutput = yield* Service41;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
223
223
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export { Outcome2,
|
|
226
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-4q9fsd81.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-1ffvrpkg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin19 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin8 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin19, exports_firecrawl };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-hrk0n9pc.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info24,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node80
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info24 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service76.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info24, ListInput5, AddInput2, Service76, node80, exports_saved };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-tm0kqsz3.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-zc28nfrp.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-fjvmb1q4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./pty-v3p5ska8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./pty-6yc87gb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./pty-eg6prxs1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node69
|
|
20
|
+
} from "./pty-twkgpt66.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service72,
|
|
24
|
+
node76
|
|
25
|
+
} from "./pty-m09gnrb9.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service70,
|
|
34
|
+
node74
|
|
35
|
+
} from "./pty-tr1gvy62.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service29,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured2,
|
|
56
56
|
layer: () => layer14,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node32
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service29 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options2 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options2 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var layer14 = (options) => Layer.effect(
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const environment = yield* Service66;
|
|
117
|
+
const bus = yield* Service82;
|
|
118
|
+
const forms = yield* Service72;
|
|
119
|
+
const integration = yield* Service70;
|
|
120
|
+
const credentials = yield* Service71;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID10.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service71, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service71, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID12.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service29.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured2(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
535
|
+
service: Service29,
|
|
536
536
|
layer: layer14(options),
|
|
537
|
-
deps: [
|
|
537
|
+
deps: [node83, node69, node86, node76, node74, node75]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node32 = configured2();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service29, Options2, layer14, configured2, node32, exports_mcp4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./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: () => Service40,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node43
|
|
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 Service40 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service40.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service40, node43, exports_image2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-hrk0n9pc.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./pty-v3p5ska8.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-775gj3j1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-gq0accs8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service75,
|
|
21
|
+
node79
|
|
22
|
+
} from "./pty-er13sehk.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service20,
|
|
25
|
+
node24
|
|
26
|
+
} from "./pty-5k2zrbw7.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node4
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service20;
|
|
65
|
+
const store = yield* Service75;
|
|
66
66
|
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node4 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node86, llmClient2, node24, node79, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node4, exports_title };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./pty-eg6prxs1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service34,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node37
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service34 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service34.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node37 = makeLocationNode({ service: Service34, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service34, node37, exports_rpc, define2 };
|