@opencode/core 0.0.0-dev-21647 → 0.0.0-dev-21651
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 +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-z0dwbekb.js → persistent-pty-04qzb6ng.js} +18 -18
- package/dist/chunks/{filesystem-d6xvjcm1.js → persistent-pty-0a4e2wep.js} +18 -18
- package/dist/chunks/{filesystem-nm4qwr9s.js → persistent-pty-0gxwnce6.js} +14 -14
- package/dist/chunks/{filesystem-6mf4mhq6.js → persistent-pty-0r8hms5j.js} +22 -22
- package/dist/chunks/{filesystem-jbszwdvq.js → persistent-pty-0vawvjhj.js} +6 -6
- package/dist/chunks/{filesystem-s3jvwajm.js → persistent-pty-10jwkg0d.js} +20 -20
- package/dist/chunks/{filesystem-96t1we0v.js → persistent-pty-14x9rdgq.js} +24 -24
- package/dist/chunks/{filesystem-gv029hbs.js → persistent-pty-1689f439.js} +5 -5
- package/dist/chunks/{filesystem-c5093bv4.js → persistent-pty-18qnwgya.js} +2 -2
- package/dist/chunks/{filesystem-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-dztq030m.js → persistent-pty-1h6ms3ts.js} +37 -37
- package/dist/chunks/{filesystem-9fcy9jas.js → persistent-pty-1ncazf2z.js} +19 -19
- package/dist/chunks/{filesystem-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-5j88v3fz.js → persistent-pty-1xxray5a.js} +23 -23
- package/dist/chunks/{filesystem-c8666r4c.js → persistent-pty-1z6jjy5p.js} +6 -6
- package/dist/chunks/{filesystem-5xy94632.js → persistent-pty-231a8wys.js} +8 -8
- package/dist/chunks/{filesystem-bxr1hg8m.js → persistent-pty-26d30kmm.js} +28 -28
- package/dist/chunks/{filesystem-5crs9zmq.js → persistent-pty-27zy431c.js} +4 -4
- package/dist/chunks/{filesystem-0zwy0wgk.js → persistent-pty-2aabkt2r.js} +11 -11
- package/dist/chunks/{filesystem-vq9exjc4.js → persistent-pty-2bky7t1z.js} +70 -70
- package/dist/chunks/{filesystem-jg76350t.js → persistent-pty-2dwppexq.js} +46 -46
- package/dist/chunks/{filesystem-jqefqkzj.js → persistent-pty-2ex3p3f1.js} +14 -14
- package/dist/chunks/{filesystem-nd5d6z5j.js → persistent-pty-2f50b9jg.js} +1 -1
- package/dist/chunks/{filesystem-c6mtb9s1.js → persistent-pty-2hep2db8.js} +11 -11
- package/dist/chunks/{filesystem-z0qqz9cx.js → persistent-pty-2m6p7yk7.js} +19 -19
- package/dist/chunks/{filesystem-j4jzjbre.js → persistent-pty-2xk6ct32.js} +21 -21
- package/dist/chunks/{filesystem-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
- package/dist/chunks/{filesystem-0d5pkr3t.js → persistent-pty-3837d0nm.js} +5 -5
- package/dist/chunks/{filesystem-0mt6tx3t.js → persistent-pty-3b8pv6kk.js} +24 -24
- package/dist/chunks/{filesystem-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-r0dtc59e.js → persistent-pty-3k9f0r09.js} +24 -24
- package/dist/chunks/{filesystem-7xg2jm5b.js → persistent-pty-3kdbrncp.js} +5 -5
- package/dist/chunks/{filesystem-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-c4h1hzvn.js → persistent-pty-3pjdfsqh.js} +8 -8
- package/dist/chunks/{filesystem-n5q96v35.js → persistent-pty-3y9jhrfk.js} +15 -15
- package/dist/chunks/{filesystem-jz901ekc.js → persistent-pty-3z6cn8x0.js} +17 -17
- package/dist/chunks/{filesystem-ap3xe38h.js → persistent-pty-437171mk.js} +9 -9
- package/dist/chunks/{filesystem-ztmrs8ra.js → persistent-pty-44etcz8n.js} +5 -5
- package/dist/chunks/{filesystem-kw6yrzx1.js → persistent-pty-4b0snw21.js} +12 -12
- package/dist/chunks/{filesystem-7qh21x13.js → persistent-pty-4ccqqpnm.js} +4 -4
- package/dist/chunks/{filesystem-x6h7fa0f.js → persistent-pty-4dzz3k2c.js} +13 -13
- package/dist/chunks/{filesystem-c9vjxdk9.js → persistent-pty-4h1ntjay.js} +7 -7
- package/dist/chunks/{filesystem-7rh6cm1k.js → persistent-pty-4jq3hvv0.js} +8 -8
- package/dist/chunks/{filesystem-f9ntwk7j.js → persistent-pty-4nnbnrz1.js} +11 -11
- package/dist/chunks/{filesystem-m5jcjszt.js → persistent-pty-4pa8nav4.js} +3 -3
- package/dist/chunks/{filesystem-x934s5n8.js → persistent-pty-4s573z1s.js} +4 -4
- package/dist/chunks/{filesystem-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-5t0hnzkm.js → persistent-pty-4v888qby.js} +10 -10
- package/dist/chunks/{filesystem-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
- package/dist/chunks/{filesystem-wcsf77ep.js → persistent-pty-506rfma8.js} +14 -14
- package/dist/chunks/{filesystem-0m63avf2.js → persistent-pty-53fkqhzs.js} +14 -14
- package/dist/chunks/{filesystem-t271sy58.js → persistent-pty-57y9frfy.js} +11 -11
- package/dist/chunks/{filesystem-8n969cs1.js → persistent-pty-5dzbshvg.js} +4 -4
- package/dist/chunks/{filesystem-r41sfy63.js → persistent-pty-5enarcya.js} +9 -9
- package/dist/chunks/{filesystem-wzfzr50j.js → persistent-pty-5kfkg5r8.js} +12 -12
- package/dist/chunks/{filesystem-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-ytj9cq62.js → persistent-pty-5r569r17.js} +13 -13
- package/dist/chunks/{filesystem-s4r347cv.js → persistent-pty-5s24fm1p.js} +14 -14
- package/dist/chunks/{filesystem-krc69tyh.js → persistent-pty-5vgcj10y.js} +6 -6
- package/dist/chunks/{filesystem-p7vhpwh8.js → persistent-pty-5zrxpy3q.js} +5 -5
- package/dist/chunks/{filesystem-kphdvy8n.js → persistent-pty-603avsaw.js} +11 -11
- package/dist/chunks/{filesystem-n4d18xwc.js → persistent-pty-630bcr6j.js} +13 -13
- package/dist/chunks/{filesystem-9dk4f4hb.js → persistent-pty-64tk1142.js} +2 -2
- package/dist/chunks/{filesystem-jawcrgg3.js → persistent-pty-65xym8dq.js} +26 -26
- package/dist/chunks/{filesystem-009tt1tc.js → persistent-pty-66hjg21n.js} +24 -24
- package/dist/chunks/{filesystem-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-pkyesxg1.js → persistent-pty-6g0s59t4.js} +16 -16
- package/dist/chunks/{filesystem-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
- package/dist/chunks/{filesystem-bhxt7mnn.js → persistent-pty-6wm2ekws.js} +21 -21
- package/dist/chunks/{filesystem-w8qtt4th.js → persistent-pty-76cb1hcw.js} +4 -4
- package/dist/chunks/{filesystem-nvexje8a.js → persistent-pty-77ffb5fa.js} +5 -5
- package/dist/chunks/{filesystem-tpm1qpxt.js → persistent-pty-799ckdtf.js} +9 -9
- package/dist/chunks/{filesystem-0pcpg2vk.js → persistent-pty-79fsmkt2.js} +10 -10
- package/dist/chunks/{filesystem-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-n32wkzbx.js → persistent-pty-7q3wyea1.js} +30 -30
- package/dist/chunks/{filesystem-7qzzp3th.js → persistent-pty-7vhe8rph.js} +17 -17
- package/dist/chunks/{filesystem-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-ytxs1176.js → persistent-pty-7xcfq1ha.js} +6 -6
- package/dist/chunks/{filesystem-d70em1ty.js → persistent-pty-7yz8t82k.js} +5 -5
- package/dist/chunks/{filesystem-zgjcgapj.js → persistent-pty-8rcbafry.js} +3 -3
- package/dist/chunks/{filesystem-68fc5fjq.js → persistent-pty-8tqac9jx.js} +8 -8
- package/dist/chunks/{filesystem-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{filesystem-sdcxcfrs.js → persistent-pty-8xz0jfv3.js} +4 -4
- package/dist/chunks/{filesystem-sz9hkbm4.js → persistent-pty-8y3ed661.js} +6 -6
- package/dist/chunks/{filesystem-5s5rpxk9.js → persistent-pty-8zn70gxd.js} +43 -43
- package/dist/chunks/{filesystem-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
- package/dist/chunks/{filesystem-ymrtwgat.js → persistent-pty-96jdb81n.js} +3 -3
- package/dist/chunks/{filesystem-2wyfsdtp.js → persistent-pty-97arjhc9.js} +18 -18
- package/dist/chunks/{filesystem-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
- package/dist/chunks/{filesystem-jzdzfwts.js → persistent-pty-9e7skq3b.js} +54 -54
- package/dist/chunks/{filesystem-58me5448.js → persistent-pty-9k8g54ar.js} +14 -14
- package/dist/chunks/{filesystem-xnj8czy5.js → persistent-pty-9mw7dhxy.js} +49 -49
- package/dist/chunks/{filesystem-53ehtthp.js → persistent-pty-9nc01p2h.js} +13 -13
- package/dist/chunks/{filesystem-jchrqzf6.js → persistent-pty-9p9xqj3m.js} +8 -8
- package/dist/chunks/{filesystem-8d63q4vm.js → persistent-pty-a4316p25.js} +29 -29
- package/dist/chunks/{filesystem-cq8031fv.js → persistent-pty-a4ab7jhs.js} +3 -3
- package/dist/chunks/{filesystem-jwndhsk1.js → persistent-pty-a4extrcm.js} +15 -15
- package/dist/chunks/{filesystem-5q1nw5b2.js → persistent-pty-a9ya4442.js} +32 -32
- package/dist/chunks/{filesystem-tj5yfdht.js → persistent-pty-acqhz89c.js} +35 -35
- package/dist/chunks/{filesystem-z1448dy0.js → persistent-pty-ak32zwvb.js} +11 -11
- package/dist/chunks/{filesystem-pvrft5am.js → persistent-pty-amwp0aeg.js} +49 -49
- package/dist/chunks/{filesystem-51x4aarj.js → persistent-pty-ap300940.js} +4 -4
- package/dist/chunks/{filesystem-s626qfae.js → persistent-pty-ar2j3j0f.js} +4 -4
- package/dist/chunks/{filesystem-74z5myxc.js → persistent-pty-avrfdzax.js} +13 -13
- package/dist/chunks/{filesystem-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
- package/dist/chunks/{filesystem-6kzpt8m6.js → persistent-pty-b0wr9pq4.js} +16 -16
- package/dist/chunks/{filesystem-6rvpfmay.js → persistent-pty-b25rcpjn.js} +5 -5
- package/dist/chunks/{filesystem-8tv6we1q.js → persistent-pty-b3dt0wfc.js} +85 -85
- package/dist/chunks/{filesystem-r1esf721.js → persistent-pty-b430ghfg.js} +48 -48
- package/dist/chunks/{filesystem-b6vsg801.js → persistent-pty-b6vsg801.js} +2 -2
- package/dist/chunks/{filesystem-avbcnn8s.js → persistent-pty-br64vc86.js} +4 -4
- package/dist/chunks/{filesystem-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-6mw02xdg.js → persistent-pty-c0ahb6m2.js} +48 -48
- package/dist/chunks/{filesystem-v44g1jae.js → persistent-pty-c3cfh5w6.js} +9 -9
- package/dist/chunks/{filesystem-8j8gppkv.js → persistent-pty-c3z1dwp4.js} +32 -32
- package/dist/chunks/{filesystem-9nkjg9qd.js → persistent-pty-c4970w7t.js} +6 -6
- package/dist/chunks/{filesystem-zqz3yng3.js → persistent-pty-c5mdmb7d.js} +7 -7
- package/dist/chunks/{filesystem-nnv5zz39.js → persistent-pty-c97kafxv.js} +23 -23
- package/dist/chunks/{filesystem-d2887f8n.js → persistent-pty-c9t2ty9q.js} +4 -4
- package/dist/chunks/{filesystem-7zfzjnyd.js → persistent-pty-cmtp12gq.js} +9 -9
- package/dist/chunks/{filesystem-xggf8f2k.js → persistent-pty-cn8x8bav.js} +9 -9
- package/dist/chunks/{filesystem-y2sesghw.js → persistent-pty-csnq1vx8.js} +4 -4
- package/dist/chunks/{filesystem-d2dx6a7h.js → persistent-pty-d2dx6a7h.js} +1 -1
- package/dist/chunks/{filesystem-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-brp8afje.js → persistent-pty-d622t3vc.js} +18 -18
- package/dist/chunks/persistent-pty-d77dj7jw.js +18 -0
- package/dist/chunks/{filesystem-d8qd4w10.js → persistent-pty-d8qd4w10.js} +3 -3
- package/dist/chunks/persistent-pty-ddefqdxn.js +257 -0
- package/dist/chunks/{filesystem-pc1v25hk.js → persistent-pty-dh62xe4r.js} +3 -3
- package/dist/chunks/persistent-pty-dj18ndtz.js +26 -0
- package/dist/chunks/{filesystem-997dsrmm.js → persistent-pty-dkq45v8d.js} +8 -8
- package/dist/chunks/{filesystem-6vgp65ky.js → persistent-pty-dpy78jr7.js} +28 -28
- package/dist/chunks/{filesystem-4zdy853b.js → persistent-pty-dpyjajp2.js} +16 -16
- package/dist/chunks/{filesystem-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-0rk2tx64.js → persistent-pty-ep8g8f2q.js} +24 -24
- package/dist/chunks/{filesystem-jk3vvd6z.js → persistent-pty-epts1v3z.js} +16 -16
- package/dist/chunks/{filesystem-gxpe1m6c.js → persistent-pty-epv93m9y.js} +15 -15
- package/dist/chunks/{filesystem-hfc7xfzf.js → persistent-pty-etps9a87.js} +19 -19
- package/dist/chunks/{filesystem-qh4tvjey.js → persistent-pty-evvj0048.js} +6 -6
- package/dist/chunks/{filesystem-spsj76tb.js → persistent-pty-f2m57aq3.js} +7 -7
- package/dist/chunks/{filesystem-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-9b28cy4d.js → persistent-pty-fvc4bqe2.js} +5 -5
- package/dist/chunks/{filesystem-fznmdakp.js → persistent-pty-fznmdakp.js} +1 -1
- package/dist/chunks/{filesystem-ym2fpx9j.js → persistent-pty-fzppqy49.js} +337 -337
- package/dist/chunks/{filesystem-vbcm6ahj.js → persistent-pty-g45kmxae.js} +12 -12
- package/dist/chunks/{filesystem-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
- package/dist/chunks/{filesystem-t6cdgaq6.js → persistent-pty-gbkbh0za.js} +30 -30
- package/dist/chunks/{filesystem-nxdk44b7.js → persistent-pty-gd1vvcjv.js} +9 -9
- package/dist/chunks/{filesystem-dnmtmk4w.js → persistent-pty-gsnt20he.js} +19 -19
- package/dist/chunks/{filesystem-bkna9k4r.js → persistent-pty-gtwwgaxd.js} +19 -19
- package/dist/chunks/{filesystem-3e0wzh8b.js → persistent-pty-h1fcnfrv.js} +11 -11
- package/dist/chunks/{filesystem-mz3a5edd.js → persistent-pty-h4ja5x6t.js} +6 -6
- package/dist/chunks/{filesystem-4whg3jbc.js → persistent-pty-h9gq6eq0.js} +2 -2
- package/dist/chunks/{filesystem-36nwec3d.js → persistent-pty-hffck5p6.js} +33 -33
- package/dist/chunks/{filesystem-padq4g58.js → persistent-pty-hqqyr421.js} +25 -25
- package/dist/chunks/{filesystem-0cjz94q6.js → persistent-pty-hsn14kaz.js} +50 -50
- package/dist/chunks/{filesystem-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
- package/dist/chunks/{filesystem-h0d2nkz7.js → persistent-pty-j4mbz3fw.js} +7 -7
- package/dist/chunks/{filesystem-5cn61jve.js → persistent-pty-j975cw6z.js} +4 -4
- package/dist/chunks/{filesystem-yawxmpnv.js → persistent-pty-jc99n3kj.js} +18 -18
- package/dist/chunks/{filesystem-6kjtmk7q.js → persistent-pty-jcq455ft.js} +9 -9
- package/dist/chunks/{filesystem-t3gbfrqn.js → persistent-pty-jefvzq89.js} +11 -11
- package/dist/chunks/{filesystem-efr9f7w8.js → persistent-pty-jfjbts63.js} +5 -5
- package/dist/chunks/{filesystem-grrps705.js → persistent-pty-jmz0pryv.js} +17 -17
- package/dist/chunks/{filesystem-s1rp2hzf.js → persistent-pty-jrqenxex.js} +14 -14
- package/dist/chunks/{filesystem-j3228jtb.js → persistent-pty-k0c2abhw.js} +13 -13
- package/dist/chunks/{filesystem-3spxaejg.js → persistent-pty-k6e6yg7w.js} +40 -40
- package/dist/chunks/{filesystem-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-dk5xnaxx.js → persistent-pty-kedzwwnr.js} +4 -4
- package/dist/chunks/{filesystem-qtm30naq.js → persistent-pty-kgeqanye.js} +9 -9
- package/dist/chunks/{filesystem-r3f67wnp.js → persistent-pty-kjzbhe9f.js} +28 -28
- package/dist/chunks/{filesystem-nq8bay0y.js → persistent-pty-knck272c.js} +27 -27
- package/dist/chunks/{filesystem-d9nsghbd.js → persistent-pty-kqnnmbvx.js} +36 -36
- package/dist/chunks/{filesystem-s9v9gzsc.js → persistent-pty-kzatpa33.js} +36 -36
- package/dist/chunks/{filesystem-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-g7esga4v.js → persistent-pty-m37sd98t.js} +7 -7
- package/dist/chunks/{filesystem-t3rfzc0n.js → persistent-pty-m3kqm4cm.js} +2 -2
- package/dist/chunks/{filesystem-jpvfv4j9.js → persistent-pty-m8qqb4k3.js} +36 -36
- package/dist/chunks/{filesystem-bchnzv4a.js → persistent-pty-m9458166.js} +30 -30
- package/dist/chunks/{filesystem-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-amdzwm80.js → persistent-pty-mb72d0pe.js} +5 -5
- package/dist/chunks/{filesystem-89hkn2ck.js → persistent-pty-mcbaxyan.js} +14 -14
- package/dist/chunks/{filesystem-tzkvb7j5.js → persistent-pty-mgn9jeqr.js} +86 -86
- package/dist/chunks/{filesystem-0v552w6g.js → persistent-pty-mgqesnpe.js} +10 -10
- package/dist/chunks/{filesystem-v81ymy3c.js → persistent-pty-mqpc6sp9.js} +18 -18
- package/dist/chunks/{filesystem-fn89k98g.js → persistent-pty-mr4m2xt3.js} +30 -30
- package/dist/chunks/{filesystem-gyabndjg.js → persistent-pty-msgnwe08.js} +4 -4
- package/dist/chunks/{filesystem-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
- package/dist/chunks/{filesystem-d1cerpfm.js → persistent-pty-n8km3ktm.js} +21 -21
- package/dist/chunks/{filesystem-kba41hf4.js → persistent-pty-n8ys9nef.js} +23 -23
- package/dist/chunks/{filesystem-ffejy4wd.js → persistent-pty-n9qkr232.js} +9 -9
- package/dist/chunks/{filesystem-770pw0s1.js → persistent-pty-nah043kf.js} +4 -4
- package/dist/chunks/{filesystem-w96mkmzg.js → persistent-pty-nbtna00v.js} +27 -27
- package/dist/chunks/{filesystem-vgqfs1n2.js → persistent-pty-ncjgtf7q.js} +11 -11
- package/dist/chunks/{filesystem-bdsrgrhy.js → persistent-pty-nf6qtgmx.js} +15 -15
- package/dist/chunks/{filesystem-st4qtcsw.js → persistent-pty-nvk1va1n.js} +33 -33
- package/dist/chunks/{filesystem-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-p0tsr9h6.js → persistent-pty-p0tsr9h6.js} +1 -1
- package/dist/chunks/{filesystem-m7sf20d3.js → persistent-pty-p5fvs1tf.js} +32 -32
- package/dist/chunks/{filesystem-tfeyr919.js → persistent-pty-p8zvtb4f.js} +15 -15
- package/dist/chunks/{filesystem-jfm4fjtg.js → persistent-pty-pb7j0m6g.js} +15 -15
- package/dist/chunks/{filesystem-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-rfg9rte0.js → persistent-pty-pnb0v8tr.js} +16 -16
- package/dist/chunks/{filesystem-xqg92hb0.js → persistent-pty-ptp6ncr1.js} +29 -29
- package/dist/chunks/{filesystem-tg0gd36c.js → persistent-pty-q7hewr9v.js} +22 -22
- package/dist/chunks/{filesystem-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
- package/dist/chunks/{filesystem-zj4f4v9r.js → persistent-pty-qkzpeykj.js} +21 -21
- package/dist/chunks/{filesystem-gsdn6242.js → persistent-pty-qq9errcn.js} +32 -32
- package/dist/chunks/{filesystem-etk19sk0.js → persistent-pty-qqef8819.js} +29 -29
- package/dist/chunks/{filesystem-kpjnnt0y.js → persistent-pty-qwe9t09h.js} +34 -34
- package/dist/chunks/{filesystem-b0e0ha1k.js → persistent-pty-qycnq4qn.js} +17 -17
- package/dist/chunks/{filesystem-f33ds01d.js → persistent-pty-qyt594kh.js} +24 -24
- package/dist/chunks/{filesystem-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-ar426sjr.js → persistent-pty-rf77k6n7.js} +21 -21
- package/dist/chunks/{filesystem-18g90bpv.js → persistent-pty-rmt6m6se.js} +5 -5
- package/dist/chunks/{filesystem-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-zwqbvap5.js → persistent-pty-rth52m3v.js} +22 -22
- package/dist/chunks/{filesystem-fwvkg7a4.js → persistent-pty-s2dg58v9.js} +11 -11
- package/dist/chunks/{filesystem-vq1ppevj.js → persistent-pty-s6p20e1k.js} +8 -8
- package/dist/chunks/{filesystem-c8j7dx8q.js → persistent-pty-s9ty2h8k.js} +11 -11
- package/dist/chunks/{filesystem-arsn7stx.js → persistent-pty-sd1t0gyg.js} +1 -1
- package/dist/chunks/{filesystem-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{filesystem-6vawrx7p.js → persistent-pty-ssg99487.js} +31 -31
- package/dist/chunks/{filesystem-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-v5hpj9dd.js → persistent-pty-tg1vr1qt.js} +8 -8
- package/dist/chunks/{filesystem-nttn14j9.js → persistent-pty-tmd1r8tg.js} +4 -4
- package/dist/chunks/{filesystem-51r6w5tg.js → persistent-pty-tndygt87.js} +9 -9
- package/dist/chunks/{filesystem-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
- package/dist/chunks/{filesystem-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
- package/dist/chunks/{filesystem-7jc9rsv4.js → persistent-pty-v1smpbvx.js} +20 -20
- package/dist/chunks/{filesystem-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-nk6d3n00.js → persistent-pty-v568fy96.js} +44 -44
- package/dist/chunks/{filesystem-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
- package/dist/chunks/{filesystem-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-rvmjpzp1.js → persistent-pty-vm0wcjea.js} +10 -10
- package/dist/chunks/{filesystem-8ryk0bb9.js → persistent-pty-vrpz8t5t.js} +5 -5
- package/dist/chunks/{filesystem-fwbqpq8p.js → persistent-pty-vt63w9ze.js} +17 -17
- package/dist/chunks/{filesystem-1n1y95ae.js → persistent-pty-vxsjar9r.js} +9 -9
- package/dist/chunks/{filesystem-8kvpvnp7.js → persistent-pty-w2jp9fqe.js} +30 -30
- package/dist/chunks/{filesystem-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-jmf5ej32.js → persistent-pty-w7s37af3.js} +7 -7
- package/dist/chunks/{filesystem-fwp9mfc9.js → persistent-pty-w9w8mt4n.js} +4 -4
- package/dist/chunks/{filesystem-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-gmjwgw4f.js → persistent-pty-wbrbrqnn.js} +3 -3
- package/dist/chunks/{filesystem-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-ae59h7aq.js → persistent-pty-wgxpxc97.js} +43 -43
- package/dist/chunks/{filesystem-sm3pn1yy.js → persistent-pty-wjfsv5vx.js} +184 -184
- package/dist/chunks/{filesystem-vnxwgqtp.js → persistent-pty-wjj9j73p.js} +32 -32
- package/dist/chunks/{filesystem-chey27p8.js → persistent-pty-wqb48wsw.js} +45 -45
- package/dist/chunks/{filesystem-b59295hw.js → persistent-pty-ws8qaw4q.js} +21 -21
- package/dist/chunks/{filesystem-356ycsz0.js → persistent-pty-ww71evjc.js} +20 -20
- package/dist/chunks/{filesystem-wckc0zrx.js → persistent-pty-xcarn5dh.js} +4 -4
- package/dist/chunks/{filesystem-k7zas86q.js → persistent-pty-xcawzme1.js} +20 -20
- package/dist/chunks/{filesystem-5pn4ypd0.js → persistent-pty-xmb6acqt.js} +8 -8
- package/dist/chunks/{filesystem-98mxgbz2.js → persistent-pty-xqtsmx9f.js} +15 -15
- package/dist/chunks/{filesystem-qg8qtdad.js → persistent-pty-xx92f0z9.js} +3 -3
- package/dist/chunks/{filesystem-dbkw9y8f.js → persistent-pty-xz8jn1n5.js} +45 -45
- package/dist/chunks/{filesystem-gj87f6s9.js → persistent-pty-xzhmj86d.js} +4 -4
- package/dist/chunks/{filesystem-1zaw68ze.js → persistent-pty-y4rx9zcm.js} +20 -20
- package/dist/chunks/{filesystem-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-v93w9dtv.js → persistent-pty-ypqy3h3f.js} +13 -13
- package/dist/chunks/{filesystem-tx3h81rw.js → persistent-pty-yte8j0g9.js} +14 -14
- package/dist/chunks/{filesystem-4d5fcr8w.js → persistent-pty-yw5cr2kg.js} +25 -25
- package/dist/chunks/{filesystem-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-5qv54f7z.js → persistent-pty-z18nf20h.js} +9 -9
- package/dist/chunks/{filesystem-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-9zhqcg1r.js → persistent-pty-z5dq5ktq.js} +26 -26
- package/dist/chunks/{filesystem-sejvc57q.js → persistent-pty-z5ya83ez.js} +22 -22
- package/dist/chunks/{filesystem-4h7a260j.js → persistent-pty-z600r55a.js} +35 -35
- package/dist/chunks/{filesystem-f9r434at.js → persistent-pty-z6k1srac.js} +7 -7
- package/dist/chunks/{filesystem-8mm41x9v.js → persistent-pty-zgfrp2wc.js} +26 -26
- package/dist/chunks/{filesystem-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
- package/dist/chunks/{filesystem-bx21rrrk.js → persistent-pty-zkvx2ye6.js} +19 -19
- package/dist/chunks/{filesystem-bvkwt3vh.js → persistent-pty-zntgk0c3.js} +19 -19
- package/dist/chunks/{filesystem-n8gn2k8w.js → persistent-pty-zx0t21mj.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +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 +121 -121
- 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 +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 +94 -94
- 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 +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- 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 +73 -73
- package/dist/location-activity.js +156 -156
- 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 +89 -89
- 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 +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- 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 +113 -113
- 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 +103 -103
- 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 +170 -170
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- 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 +136 -136
- package/dist/session/context.js +164 -164
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- 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 +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- 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 +126 -126
- 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 +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +115 -115
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +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 +83 -83
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/filesystem-00ve6mdn.js +0 -18
- package/dist/chunks/filesystem-9ycsyq8d.js +0 -257
- package/dist/chunks/filesystem-mpdatzvn.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → persistent-pty-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-4ccqqpnm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./persistent-pty-gbkbh0za.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./persistent-pty-epts1v3z.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./persistent-pty-14x9rdgq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service72,
|
|
24
|
+
node76
|
|
25
|
+
} from "./persistent-pty-hqqyr421.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node75
|
|
35
|
+
} from "./persistent-pty-m9458166.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
45
|
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured3,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
109
|
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -112,13 +112,13 @@ var Options3 = Schema.Struct({
|
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service82;
|
|
117
|
+
const environment = yield* Service65;
|
|
118
118
|
const bus = yield* Service85;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service72;
|
|
120
|
+
const integration = yield* Service71;
|
|
121
|
+
const credentials = yield* Service73;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const entries = new Map;
|
|
@@ -132,7 +132,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
132
132
|
return;
|
|
133
133
|
const remote = entry.config;
|
|
134
134
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
135
|
-
const integrationID =
|
|
135
|
+
const integrationID = ID10.make(suffix);
|
|
136
136
|
entry.integrationID = integrationID;
|
|
137
137
|
owned.add(integrationID);
|
|
138
138
|
const methodID = MethodID2.make(suffix);
|
|
@@ -148,7 +148,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
148
148
|
method: { id: methodID, type: "oauth", label: name },
|
|
149
149
|
authorize: () => Effect.gen(function* () {
|
|
150
150
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
151
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
151
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
152
152
|
})
|
|
153
153
|
});
|
|
154
154
|
}).pipe(Scope.provide(scope));
|
|
@@ -156,19 +156,19 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
156
156
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
157
157
|
const entry = entries.get(name);
|
|
158
158
|
if (!entry)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError3({ server: name });
|
|
160
160
|
return { name, entry };
|
|
161
161
|
});
|
|
162
162
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
163
163
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
164
164
|
return;
|
|
165
165
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
166
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
166
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
167
167
|
});
|
|
168
168
|
const elicitation = {
|
|
169
169
|
create: (input) => Effect.gen(function* () {
|
|
170
170
|
if (input.params.mode === "url") {
|
|
171
|
-
const formID =
|
|
171
|
+
const formID = ID11.create();
|
|
172
172
|
const elicitationID = input.params.elicitationId;
|
|
173
173
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
174
174
|
if (key)
|
|
@@ -271,7 +271,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
271
271
|
entry.scope = scope;
|
|
272
272
|
const authProvider = yield* connectProvider(entry);
|
|
273
273
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
274
|
-
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(
|
|
274
|
+
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(Service65, environment), Scope.provide(scope));
|
|
275
275
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
276
276
|
if (Exit.isSuccess(result)) {
|
|
277
277
|
entry.client = result.value.connection;
|
|
@@ -372,7 +372,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
372
372
|
let closed = false;
|
|
373
373
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
374
374
|
closed = true;
|
|
375
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
375
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
376
376
|
const register = Effect.gen(function* () {
|
|
377
377
|
if (closed) {
|
|
378
378
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -447,7 +447,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
447
447
|
yield* startServer(name, entry);
|
|
448
448
|
}).pipe(locks.withLock(name));
|
|
449
449
|
});
|
|
450
|
-
fork(bus.subscribe(
|
|
450
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
451
451
|
const state = create3({
|
|
452
452
|
name: "mcp",
|
|
453
453
|
initial: () => ({
|
|
@@ -473,7 +473,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
473
473
|
}),
|
|
474
474
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service37.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -603,12 +603,12 @@ function mergeCatalogs(catalogs) {
|
|
|
603
603
|
}
|
|
604
604
|
function configured3(options) {
|
|
605
605
|
return makeLocationNode({
|
|
606
|
-
service:
|
|
607
|
-
layer:
|
|
608
|
-
deps: [
|
|
606
|
+
service: Service37,
|
|
607
|
+
layer: layer16(options),
|
|
608
|
+
deps: [node86, node68, node89, node76, node75, node77]
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
|
-
var
|
|
611
|
+
var node40 = configured3();
|
|
612
612
|
function toElicitationField(key, property, required) {
|
|
613
613
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
614
614
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -659,4 +659,4 @@ function toElicitationField(key, property, required) {
|
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
662
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service37, Options3, layer16, configured3, node40, exports_mcp4 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info29,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info29 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info29, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./persistent-pty-14x9rdgq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service19,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9nc01p2h.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./persistent-pty-a4extrcm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service76
|
|
14
|
+
} from "./persistent-pty-9mw7dhxy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service17
|
|
17
|
+
} from "./persistent-pty-04qzb6ng.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin48,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin48 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service17;
|
|
56
|
+
const fileMutation = yield* Service19;
|
|
57
|
+
const environment = yield* Service65;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service76;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent5, Plugin48, exports_write };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service51,
|
|
10
|
+
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service51 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node53 = LayerNode.unbound(Service51, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service51, node53, exports_service2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-4ccqqpnm.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-a9ya4442.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service18,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./persistent-pty-m8qqb4k3.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service18;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-wjj9j73p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info17,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-a9ya4442.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info17.make({
|
|
98
|
+
...Info17.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./persistent-pty-c4970w7t.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-d77dj7jw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./persistent-pty-2dwppexq.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service60), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-vd3b3yk9.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: () => Service47,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node50
|
|
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 Service47 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service47.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node50 = makeLocationNode({ service: Service47, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service47, node50, exports_image2 };
|