@opencode/core 0.0.0-dev-21651 → 0.0.0-dev-21654
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{persistent-pty-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-799ckdtf.js → repository-cache-0421tmwc.js} +9 -9
- package/dist/chunks/{persistent-pty-gtwwgaxd.js → repository-cache-05t45fgn.js} +20 -20
- package/dist/chunks/{persistent-pty-tndygt87.js → repository-cache-06ne1vpq.js} +9 -9
- package/dist/chunks/{persistent-pty-8rcbafry.js → repository-cache-0j8j5tyq.js} +3 -3
- package/dist/chunks/{persistent-pty-4h1ntjay.js → repository-cache-0k1p4s69.js} +7 -7
- package/dist/chunks/{persistent-pty-xz8jn1n5.js → repository-cache-0m0bmnz6.js} +47 -47
- package/dist/chunks/{persistent-pty-5dzbshvg.js → repository-cache-0xdzzbfj.js} +4 -4
- package/dist/chunks/{persistent-pty-xmb6acqt.js → repository-cache-12dpmfar.js} +11 -11
- package/dist/chunks/{persistent-pty-5kfkg5r8.js → repository-cache-1711wf45.js} +12 -12
- package/dist/chunks/{persistent-pty-zgfrp2wc.js → repository-cache-18fakw40.js} +26 -26
- package/dist/chunks/{persistent-pty-0r8hms5j.js → repository-cache-1914d4m2.js} +34 -34
- package/dist/chunks/{persistent-pty-66hjg21n.js → repository-cache-1d7c9p74.js} +37 -37
- package/dist/chunks/{persistent-pty-kgeqanye.js → repository-cache-1djcyy3s.js} +18 -18
- package/dist/chunks/{persistent-pty-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-xcarn5dh.js → repository-cache-1erzekvj.js} +4 -4
- package/dist/chunks/{persistent-pty-2aabkt2r.js → repository-cache-1q4dac4t.js} +11 -11
- package/dist/chunks/{persistent-pty-sd1t0gyg.js → repository-cache-1qbwk3vx.js} +1 -1
- package/dist/chunks/{persistent-pty-53fkqhzs.js → repository-cache-1vg1fscw.js} +9 -9
- package/dist/chunks/{persistent-pty-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-etps9a87.js → repository-cache-1xj3kh2r.js} +22 -22
- package/dist/chunks/{persistent-pty-7xcfq1ha.js → repository-cache-1ytqv3fd.js} +6 -6
- package/dist/chunks/{persistent-pty-vrpz8t5t.js → repository-cache-207ajt2h.js} +5 -5
- package/dist/chunks/{persistent-pty-64tk1142.js → repository-cache-27bs79w9.js} +2 -2
- package/dist/chunks/{persistent-pty-qyt594kh.js → repository-cache-2vt8hxhk.js} +24 -24
- package/dist/chunks/{persistent-pty-2z1j29yd.js → repository-cache-2z1j29yd.js} +1 -1
- package/dist/chunks/{persistent-pty-7yz8t82k.js → repository-cache-316j7v8e.js} +5 -5
- package/dist/chunks/{persistent-pty-1h6ms3ts.js → repository-cache-336ztn5g.js} +38 -38
- package/dist/chunks/{persistent-pty-c3z1dwp4.js → repository-cache-362gf1js.js} +32 -32
- package/dist/chunks/{persistent-pty-br64vc86.js → repository-cache-36sdsjr1.js} +4 -4
- package/dist/chunks/{persistent-pty-rf77k6n7.js → repository-cache-3bp279dk.js} +21 -21
- package/dist/chunks/{persistent-pty-s9ty2h8k.js → repository-cache-3f8v07ch.js} +9 -9
- package/dist/chunks/{persistent-pty-j975cw6z.js → repository-cache-3gh72xqr.js} +4 -4
- package/dist/chunks/{persistent-pty-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-m3kqm4cm.js → repository-cache-3hq0yj39.js} +2 -2
- package/dist/chunks/{persistent-pty-3kdbrncp.js → repository-cache-3kdbrncp.js} +2 -2
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-ww71evjc.js → repository-cache-3pmyxw75.js} +20 -20
- package/dist/chunks/{persistent-pty-27zy431c.js → repository-cache-48zhenr1.js} +4 -4
- package/dist/chunks/{persistent-pty-p8zvtb4f.js → repository-cache-4ay36gmp.js} +16 -16
- package/dist/chunks/{persistent-pty-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-4xvmh7wp.js → repository-cache-4xvmh7wp.js} +3 -3
- package/dist/chunks/{persistent-pty-j4mbz3fw.js → repository-cache-507qjdd6.js} +10 -10
- package/dist/chunks/{persistent-pty-a4ab7jhs.js → repository-cache-5555hpps.js} +3 -3
- package/dist/chunks/{persistent-pty-mqpc6sp9.js → repository-cache-57t7dmdr.js} +18 -18
- package/dist/chunks/{persistent-pty-cn8x8bav.js → repository-cache-5agv5pnb.js} +9 -9
- package/dist/chunks/{persistent-pty-96jdb81n.js → repository-cache-5azq9rsq.js} +3 -3
- package/dist/chunks/{persistent-pty-7vhe8rph.js → repository-cache-5dnrgg7g.js} +17 -17
- package/dist/chunks/{persistent-pty-2ex3p3f1.js → repository-cache-5jjy01jh.js} +14 -14
- package/dist/chunks/{persistent-pty-xqtsmx9f.js → repository-cache-5jrgt8vn.js} +18 -18
- package/dist/chunks/{persistent-pty-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-z6k1srac.js → repository-cache-5n23vyzy.js} +11 -11
- package/dist/chunks/{persistent-pty-65xym8dq.js → repository-cache-5qdsq766.js} +21 -21
- package/dist/chunks/{persistent-pty-5zrxpy3q.js → repository-cache-5zrxpy3q.js} +1 -1
- package/dist/chunks/{persistent-pty-5r569r17.js → repository-cache-64mfsmgx.js} +13 -13
- package/dist/chunks/repository-cache-6bshxcsx.js +18 -0
- package/dist/chunks/{persistent-pty-mb72d0pe.js → repository-cache-6d6xnsqa.js} +5 -5
- package/dist/chunks/{persistent-pty-6esdw8yj.js → repository-cache-6esdw8yj.js} +1 -1
- package/dist/chunks/{persistent-pty-vxsjar9r.js → repository-cache-6g7sbevv.js} +9 -9
- package/dist/chunks/{persistent-pty-7q3wyea1.js → repository-cache-6n4ac7kc.js} +25 -25
- package/dist/chunks/{persistent-pty-csnq1vx8.js → repository-cache-6nw1th37.js} +4 -4
- package/dist/chunks/{persistent-pty-6pjqjmy2.js → repository-cache-6pjqjmy2.js} +1 -1
- package/dist/chunks/{persistent-pty-b3dt0wfc.js → repository-cache-6tnd2r5t.js} +78 -78
- package/dist/chunks/{persistent-pty-s2dg58v9.js → repository-cache-6y1pjz6k.js} +11 -11
- package/dist/chunks/{persistent-pty-nah043kf.js → repository-cache-770pw0s1.js} +4 -4
- package/dist/chunks/{persistent-pty-s6p20e1k.js → repository-cache-7bg5w1mh.js} +7 -7
- package/dist/chunks/{persistent-pty-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-avrfdzax.js → repository-cache-7epm6vve.js} +16 -16
- package/dist/chunks/{persistent-pty-dpyjajp2.js → repository-cache-7vxtg88a.js} +27 -27
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-w7s37af3.js → repository-cache-7y79ykyn.js} +7 -7
- package/dist/chunks/{persistent-pty-rth52m3v.js → repository-cache-882abr6x.js} +11 -11
- package/dist/chunks/{persistent-pty-2hep2db8.js → repository-cache-8ev1pcqt.js} +11 -11
- package/dist/chunks/{persistent-pty-5vgcj10y.js → repository-cache-8nyf59xc.js} +6 -6
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-d8qd4w10.js → repository-cache-8ykqf5wm.js} +11 -11
- package/dist/chunks/{persistent-pty-91rj84md.js → repository-cache-91rj84md.js} +1 -1
- package/dist/chunks/{persistent-pty-dpy78jr7.js → repository-cache-95a59wgr.js} +28 -28
- package/dist/chunks/{persistent-pty-xx92f0z9.js → repository-cache-98vm4ve1.js} +3 -3
- package/dist/chunks/{persistent-pty-dkq45v8d.js → repository-cache-997dsrmm.js} +8 -8
- package/dist/chunks/{persistent-pty-998yhzzq.js → repository-cache-998yhzzq.js} +3 -3
- package/dist/chunks/{persistent-pty-g45kmxae.js → repository-cache-9db9x33r.js} +12 -12
- package/dist/chunks/{persistent-pty-acqhz89c.js → repository-cache-9jt80rn9.js} +35 -35
- package/dist/chunks/{persistent-pty-8tqac9jx.js → repository-cache-9r40bkxv.js} +8 -8
- package/dist/chunks/{persistent-pty-mgn9jeqr.js → repository-cache-a10bphs2.js} +88 -88
- package/dist/chunks/{persistent-pty-zntgk0c3.js → repository-cache-a93j7cb6.js} +18 -18
- package/dist/chunks/{persistent-pty-qq9errcn.js → repository-cache-ae12v80k.js} +32 -32
- package/dist/chunks/{persistent-pty-14x9rdgq.js → repository-cache-ajjhf6jy.js} +24 -24
- package/dist/chunks/{persistent-pty-h1fcnfrv.js → repository-cache-apz0gy3j.js} +14 -14
- package/dist/chunks/{persistent-pty-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-b0mv4wxm.js → repository-cache-b0mv4wxm.js} +2 -2
- package/dist/chunks/{persistent-pty-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
- package/dist/chunks/{persistent-pty-qkzpeykj.js → repository-cache-bbwsfe1r.js} +18 -18
- package/dist/chunks/{persistent-pty-44etcz8n.js → repository-cache-bee3dq4t.js} +5 -5
- package/dist/chunks/{persistent-pty-nf6qtgmx.js → repository-cache-bfknhky6.js} +17 -17
- package/dist/chunks/{persistent-pty-amwp0aeg.js → repository-cache-bgjq6n3s.js} +48 -48
- package/dist/chunks/{persistent-pty-ar2j3j0f.js → repository-cache-bjhzkqyk.js} +4 -4
- package/dist/chunks/{persistent-pty-3pjdfsqh.js → repository-cache-bkp072jg.js} +8 -8
- package/dist/chunks/{persistent-pty-z18nf20h.js → repository-cache-bqwdyg2t.js} +9 -9
- package/dist/chunks/{persistent-pty-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{persistent-pty-c0ahb6m2.js → repository-cache-bwsq2f4f.js} +48 -48
- package/dist/chunks/{persistent-pty-ak32zwvb.js → repository-cache-bx39zcgj.js} +11 -11
- package/dist/chunks/{persistent-pty-1689f439.js → repository-cache-bygpv8tp.js} +5 -5
- package/dist/chunks/{persistent-pty-h9gq6eq0.js → repository-cache-c1wt3632.js} +2 -2
- package/dist/chunks/{persistent-pty-h4ja5x6t.js → repository-cache-c295kw9q.js} +6 -6
- package/dist/chunks/{persistent-pty-c3cfh5w6.js → repository-cache-c3cfh5w6.js} +2 -2
- package/dist/chunks/{persistent-pty-1z6jjy5p.js → repository-cache-c8666r4c.js} +6 -6
- package/dist/chunks/{persistent-pty-c9t2ty9q.js → repository-cache-c9t2ty9q.js} +1 -1
- package/dist/chunks/{persistent-pty-zkvx2ye6.js → repository-cache-cb840yf6.js} +22 -22
- package/dist/chunks/{persistent-pty-ptp6ncr1.js → repository-cache-cegnsd8m.js} +33 -33
- package/dist/chunks/{persistent-pty-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-b0wr9pq4.js → repository-cache-d5p6tmrf.js} +14 -14
- package/dist/chunks/{persistent-pty-0gxwnce6.js → repository-cache-d79ca6ae.js} +14 -14
- package/dist/chunks/{persistent-pty-4v888qby.js → repository-cache-d8zqpry0.js} +10 -10
- package/dist/chunks/{persistent-pty-a9ya4442.js → repository-cache-daa7zsg6.js} +35 -35
- package/dist/chunks/{persistent-pty-xcawzme1.js → repository-cache-dapvcjq1.js} +22 -22
- package/dist/chunks/{persistent-pty-2bky7t1z.js → repository-cache-dexpzvpz.js} +66 -66
- package/dist/chunks/{persistent-pty-3837d0nm.js → repository-cache-dgc6zgst.js} +5 -5
- package/dist/chunks/{persistent-pty-b430ghfg.js → repository-cache-dqfcynkm.js} +48 -48
- package/dist/chunks/{persistent-pty-04qzb6ng.js → repository-cache-dvhq7cxa.js} +18 -18
- package/dist/chunks/{persistent-pty-ap300940.js → repository-cache-dy4mqkt9.js} +4 -4
- package/dist/chunks/{persistent-pty-z5ya83ez.js → repository-cache-e34d40ft.js} +15 -15
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → repository-cache-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-w9w8mt4n.js → repository-cache-e45fk36t.js} +4 -4
- package/dist/chunks/{persistent-pty-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{persistent-pty-tmd1r8tg.js → repository-cache-e8pm465n.js} +4 -4
- package/dist/chunks/{persistent-pty-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-wjj9j73p.js → repository-cache-efrks8s7.js} +35 -35
- package/dist/chunks/{persistent-pty-gd1vvcjv.js → repository-cache-epb2tz48.js} +6 -6
- package/dist/chunks/{persistent-pty-4dzz3k2c.js → repository-cache-epqvz6sp.js} +10 -10
- package/dist/chunks/{persistent-pty-b25rcpjn.js → repository-cache-etxarc0c.js} +5 -5
- package/dist/chunks/{persistent-pty-knck272c.js → repository-cache-ex2c5m6n.js} +24 -24
- package/dist/chunks/{persistent-pty-4nnbnrz1.js → repository-cache-f1d6w5yp.js} +11 -11
- package/dist/chunks/{persistent-pty-3z6cn8x0.js → repository-cache-f2kxhge1.js} +15 -15
- package/dist/chunks/{persistent-pty-2dwppexq.js → repository-cache-fayv5fjb.js} +44 -44
- package/dist/chunks/{persistent-pty-p5fvs1tf.js → repository-cache-fbmv4zkf.js} +32 -32
- package/dist/chunks/{persistent-pty-jcq455ft.js → repository-cache-fera0h98.js} +10 -10
- package/dist/chunks/{persistent-pty-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-77ffb5fa.js → repository-cache-fhcyw9er.js} +5 -5
- package/dist/chunks/{persistent-pty-fznmdakp.js → repository-cache-fznmdakp.js} +1 -1
- package/dist/chunks/{persistent-pty-hqqyr421.js → repository-cache-g3dxjs5g.js} +28 -28
- package/dist/chunks/{persistent-pty-1ncazf2z.js → repository-cache-g4nys0an.js} +19 -19
- package/dist/chunks/{persistent-pty-0vawvjhj.js → repository-cache-g4y5gz37.js} +6 -6
- package/dist/chunks/{persistent-pty-g5h9c0rr.js → repository-cache-g5h9c0rr.js} +2 -2
- package/dist/chunks/{persistent-pty-m37sd98t.js → repository-cache-g7esga4v.js} +7 -7
- package/dist/chunks/{persistent-pty-epts1v3z.js → repository-cache-g8ptsmqj.js} +14 -14
- package/dist/chunks/{persistent-pty-msgnwe08.js → repository-cache-g96fpxa4.js} +4 -4
- package/dist/chunks/{persistent-pty-57y9frfy.js → repository-cache-ga3nj1ct.js} +11 -11
- package/dist/chunks/{persistent-pty-c97kafxv.js → repository-cache-gvq5deds.js} +12 -12
- package/dist/chunks/{persistent-pty-wgxpxc97.js → repository-cache-h04fff7h.js} +40 -40
- package/dist/chunks/{persistent-pty-506rfma8.js → repository-cache-h0prck52.js} +14 -14
- package/dist/chunks/{persistent-pty-jc99n3kj.js → repository-cache-h5q3bctd.js} +20 -20
- package/dist/chunks/{persistent-pty-y4rx9zcm.js → repository-cache-hfwb91mh.js} +22 -22
- package/dist/chunks/{persistent-pty-mr4m2xt3.js → repository-cache-hgyydanp.js} +32 -32
- package/dist/chunks/{persistent-pty-pnb0v8tr.js → repository-cache-hpfjxvqq.js} +19 -19
- package/dist/chunks/{persistent-pty-kqnnmbvx.js → repository-cache-hv3v4m8k.js} +34 -34
- package/dist/chunks/{persistent-pty-2m6p7yk7.js → repository-cache-hvnf17n2.js} +19 -19
- package/dist/chunks/repository-cache-hwag7jbr.js +523 -0
- package/dist/chunks/{persistent-pty-603avsaw.js → repository-cache-hy96gn3p.js} +11 -11
- package/dist/chunks/{persistent-pty-j113cymg.js → repository-cache-j113cymg.js} +1 -1
- package/dist/chunks/{persistent-pty-yw5cr2kg.js → repository-cache-j1sdj48j.js} +24 -24
- package/dist/chunks/{persistent-pty-231a8wys.js → repository-cache-j49x6kf4.js} +8 -8
- package/dist/chunks/{persistent-pty-4b0snw21.js → repository-cache-j5c0nw1x.js} +14 -14
- package/dist/chunks/{persistent-pty-wjfsv5vx.js → repository-cache-j623kct8.js} +184 -184
- package/dist/chunks/{persistent-pty-rmt6m6se.js → repository-cache-jcqm84fr.js} +9 -9
- package/dist/chunks/{persistent-pty-ep8g8f2q.js → repository-cache-jgzdw78p.js} +18 -18
- package/dist/chunks/{persistent-pty-kedzwwnr.js → repository-cache-jkg2pe84.js} +4 -4
- package/dist/chunks/{persistent-pty-w2jp9fqe.js → repository-cache-js4fqk0b.js} +32 -32
- package/dist/chunks/{persistent-pty-yte8j0g9.js → repository-cache-js82nf9k.js} +14 -14
- package/dist/chunks/{persistent-pty-8y3ed661.js → repository-cache-jsqqb0ba.js} +9 -9
- package/dist/chunks/{persistent-pty-9e7skq3b.js → repository-cache-jz5m0jmz.js} +57 -57
- package/dist/chunks/{persistent-pty-k814nvkf.js → repository-cache-k814nvkf.js} +1 -1
- package/dist/chunks/{persistent-pty-k0c2abhw.js → repository-cache-kmpm0sjp.js} +13 -13
- package/dist/chunks/{persistent-pty-epv93m9y.js → repository-cache-kpyf14q1.js} +15 -15
- package/dist/chunks/{persistent-pty-8zn70gxd.js → repository-cache-kq1mzbp8.js} +24 -24
- package/dist/chunks/{persistent-pty-n9qkr232.js → repository-cache-ks3wwvy5.js} +9 -9
- package/dist/chunks/{persistent-pty-3b8pv6kk.js → repository-cache-kzkf7na7.js} +25 -25
- package/dist/chunks/{persistent-pty-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-630bcr6j.js → repository-cache-m1gzeghs.js} +13 -13
- package/dist/chunks/repository-cache-m2yjxv7r.js +26 -0
- package/dist/chunks/{persistent-pty-vt63w9ze.js → repository-cache-m8wgw1ap.js} +20 -20
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-4jq3hvv0.js → repository-cache-majbhfqf.js} +8 -8
- package/dist/chunks/{persistent-pty-9p9xqj3m.js → repository-cache-masd7ga8.js} +8 -8
- package/dist/chunks/{persistent-pty-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{persistent-pty-97arjhc9.js → repository-cache-mkadae17.js} +21 -21
- package/dist/chunks/{persistent-pty-jrqenxex.js → repository-cache-mt89smwx.js} +11 -11
- package/dist/chunks/{persistent-pty-n0p0277s.js → repository-cache-n0p0277s.js} +1 -1
- package/dist/chunks/{persistent-pty-v568fy96.js → repository-cache-n3mttp9c.js} +39 -39
- package/dist/chunks/{persistent-pty-xzhmj86d.js → repository-cache-n6q34c7t.js} +4 -4
- package/dist/chunks/{persistent-pty-a4316p25.js → repository-cache-nn952gpa.js} +27 -27
- package/dist/chunks/{persistent-pty-4s573z1s.js → repository-cache-nvvc4vjs.js} +4 -4
- package/dist/chunks/{persistent-pty-p015t6z3.js → repository-cache-p015t6z3.js} +2 -2
- package/dist/chunks/{persistent-pty-fvc4bqe2.js → repository-cache-pacbbjc0.js} +5 -5
- package/dist/chunks/{persistent-pty-dh62xe4r.js → repository-cache-pc1v25hk.js} +3 -3
- package/dist/chunks/{persistent-pty-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-kjzbhe9f.js → repository-cache-pkwzrktv.js} +25 -25
- package/dist/chunks/{persistent-pty-jmz0pryv.js → repository-cache-pq54n2x2.js} +17 -17
- package/dist/chunks/{persistent-pty-nvk1va1n.js → repository-cache-q8f5hf3a.js} +33 -33
- package/dist/chunks/{persistent-pty-1xxray5a.js → repository-cache-q92ejtxw.js} +30 -30
- package/dist/chunks/{persistent-pty-hsn14kaz.js → repository-cache-q9vkgwxm.js} +50 -50
- package/dist/chunks/{persistent-pty-qjgzc4b4.js → repository-cache-qjgzc4b4.js} +1 -1
- package/dist/chunks/{persistent-pty-z5dq5ktq.js → repository-cache-qjx0zx6g.js} +28 -28
- package/dist/chunks/{persistent-pty-2f50b9jg.js → repository-cache-qkxp7296.js} +1 -1
- package/dist/chunks/repository-cache-qnhptmb8.js +257 -0
- package/dist/chunks/{persistent-pty-mcbaxyan.js → repository-cache-qnst15rb.js} +13 -13
- package/dist/chunks/{persistent-pty-p0tsr9h6.js → repository-cache-qqg9c0kv.js} +4 -4
- package/dist/chunks/{persistent-pty-r0yr0wbs.js → repository-cache-r0yr0wbs.js} +1 -1
- package/dist/chunks/{persistent-pty-k6e6yg7w.js → repository-cache-r4xyerk1.js} +47 -47
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-qqef8819.js → repository-cache-rdcxq6dg.js} +35 -35
- package/dist/chunks/{persistent-pty-wqb48wsw.js → repository-cache-rfkydm6q.js} +45 -45
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-d622t3vc.js → repository-cache-ry1q6mjw.js} +17 -17
- package/dist/chunks/{persistent-pty-z600r55a.js → repository-cache-s1bnsxce.js} +35 -35
- package/dist/chunks/{persistent-pty-ypqy3h3f.js → repository-cache-s1s90sgh.js} +11 -11
- package/dist/chunks/{persistent-pty-hffck5p6.js → repository-cache-s2dpb278.js} +36 -36
- package/dist/chunks/{persistent-pty-c4970w7t.js → repository-cache-s2pfznc4.js} +6 -6
- package/dist/chunks/{persistent-pty-d2dx6a7h.js → repository-cache-s7kyse9r.js} +9 -9
- package/dist/chunks/{persistent-pty-437171mk.js → repository-cache-scxnsnp9.js} +12 -12
- package/dist/chunks/{persistent-pty-26d30kmm.js → repository-cache-shmxrrpn.js} +26 -26
- package/dist/chunks/{persistent-pty-n8ys9nef.js → repository-cache-spy53wnz.js} +25 -25
- package/dist/chunks/{persistent-pty-sqjzf8x2.js → repository-cache-sqjzf8x2.js} +1 -1
- package/dist/chunks/{persistent-pty-10jwkg0d.js → repository-cache-sqtvtx7d.js} +22 -22
- package/dist/chunks/{persistent-pty-m9458166.js → repository-cache-ss1jzj40.js} +33 -33
- package/dist/chunks/{persistent-pty-9k8g54ar.js → repository-cache-sy5y9pr1.js} +14 -14
- package/dist/chunks/{persistent-pty-3y9jhrfk.js → repository-cache-t746b1c9.js} +15 -15
- package/dist/chunks/{persistent-pty-9nc01p2h.js → repository-cache-taa02m37.js} +13 -13
- package/dist/chunks/{persistent-pty-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-5s24fm1p.js → repository-cache-tjze7m48.js} +14 -14
- package/dist/chunks/{persistent-pty-pb7j0m6g.js → repository-cache-tmmqa6ew.js} +17 -17
- package/dist/chunks/{persistent-pty-2xk6ct32.js → repository-cache-tqwxcfvf.js} +23 -23
- package/dist/chunks/{persistent-pty-v1smpbvx.js → repository-cache-trtfktz1.js} +25 -25
- package/dist/chunks/{persistent-pty-gsnt20he.js → repository-cache-tsfhzs96.js} +25 -25
- package/dist/chunks/{persistent-pty-tw8zr1ps.js → repository-cache-tw8zr1ps.js} +1 -1
- package/dist/chunks/{persistent-pty-twv2r8f4.js → repository-cache-twv2r8f4.js} +2 -2
- package/dist/chunks/{persistent-pty-6wm2ekws.js → repository-cache-txs3q12t.js} +24 -24
- package/dist/chunks/{persistent-pty-nbtna00v.js → repository-cache-v0r2q4dy.js} +23 -23
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-jfjbts63.js → repository-cache-v5gy4fh6.js} +8 -8
- package/dist/chunks/{persistent-pty-q7hewr9v.js → repository-cache-v9snnrq5.js} +24 -24
- package/dist/chunks/{persistent-pty-vd3b3yk9.js → repository-cache-vd3b3yk9.js} +1 -1
- package/dist/chunks/{persistent-pty-3k9f0r09.js → repository-cache-vdkq80q2.js} +22 -22
- package/dist/chunks/{persistent-pty-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-8xz0jfv3.js → repository-cache-vhv0edzw.js} +6 -6
- package/dist/chunks/{persistent-pty-vm0wcjea.js → repository-cache-vm0wcjea.js} +2 -2
- package/dist/chunks/{persistent-pty-ncjgtf7q.js → repository-cache-vmvx5n1d.js} +11 -11
- package/dist/chunks/{persistent-pty-4pa8nav4.js → repository-cache-vx3jgdek.js} +3 -3
- package/dist/chunks/{persistent-pty-18qnwgya.js → repository-cache-w12njt9q.js} +5 -5
- package/dist/chunks/{persistent-pty-5enarcya.js → repository-cache-w2eysc6j.js} +6 -6
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-76cb1hcw.js → repository-cache-w8qtt4th.js} +4 -4
- package/dist/chunks/{persistent-pty-0a4e2wep.js → repository-cache-w9kbxh01.js} +19 -19
- package/dist/chunks/{persistent-pty-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-ssg99487.js → repository-cache-wcqq4kvm.js} +37 -37
- package/dist/chunks/{persistent-pty-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-f2m57aq3.js → repository-cache-wjjhfpfw.js} +7 -7
- package/dist/chunks/{persistent-pty-mgqesnpe.js → repository-cache-x14n6813.js} +10 -10
- package/dist/chunks/{persistent-pty-evvj0048.js → repository-cache-x588deh8.js} +6 -6
- package/dist/chunks/{persistent-pty-qwe9t09h.js → repository-cache-x5qs9jyb.js} +34 -34
- package/dist/chunks/{persistent-pty-kzatpa33.js → repository-cache-xfffv0qn.js} +36 -36
- package/dist/chunks/{persistent-pty-qycnq4qn.js → repository-cache-xj361v57.js} +19 -19
- package/dist/chunks/{persistent-pty-wbrbrqnn.js → repository-cache-xjz1c7y8.js} +3 -3
- package/dist/chunks/{persistent-pty-n8km3ktm.js → repository-cache-xmav9z9e.js} +25 -25
- package/dist/chunks/{persistent-pty-a4extrcm.js → repository-cache-xq0cmmmd.js} +15 -15
- package/dist/chunks/{persistent-pty-6g0s59t4.js → repository-cache-xqaf1wtx.js} +16 -16
- package/dist/chunks/{persistent-pty-zx0t21mj.js → repository-cache-xqwqgje7.js} +13 -13
- package/dist/chunks/{persistent-pty-ws8qaw4q.js → repository-cache-y85xtnja.js} +23 -23
- package/dist/chunks/{persistent-pty-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-tg1vr1qt.js → repository-cache-ydsespw1.js} +8 -8
- package/dist/chunks/{persistent-pty-9mw7dhxy.js → repository-cache-ygxwp2qk.js} +57 -57
- package/dist/chunks/{persistent-pty-4ccqqpnm.js → repository-cache-ykqsc6sd.js} +12 -12
- package/dist/chunks/{persistent-pty-79fsmkt2.js → repository-cache-ytbmzjv3.js} +12 -12
- package/dist/chunks/{persistent-pty-cmtp12gq.js → repository-cache-yxeqx0e7.js} +9 -9
- package/dist/chunks/{persistent-pty-jefvzq89.js → repository-cache-yyb6gzd4.js} +11 -11
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-gbkbh0za.js → repository-cache-z2wxp724.js} +33 -33
- package/dist/chunks/{persistent-pty-z38nccrw.js → repository-cache-z38nccrw.js} +1 -1
- package/dist/chunks/{persistent-pty-m8qqb4k3.js → repository-cache-z5gn6yp1.js} +40 -40
- package/dist/chunks/{persistent-pty-c5mdmb7d.js → repository-cache-z5k5qppw.js} +9 -9
- package/dist/chunks/{persistent-pty-zkg84ctx.js → repository-cache-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +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 +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +89 -89
- 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 +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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +87 -87
- 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 +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- 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 +93 -93
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +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 +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +2 -2
- 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 +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- 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 +1 -1
- 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 +164 -164
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- 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 +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +139 -139
- 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 +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- 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 +5 -5
- package/dist/tool.js +16 -16
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-d77dj7jw.js +0 -18
- package/dist/chunks/persistent-pty-ddefqdxn.js +0 -257
- package/dist/chunks/persistent-pty-dj18ndtz.js +0 -26
- package/dist/chunks/persistent-pty-fzppqy49.js +0 -523
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5fjb7ams.js → repository-cache-5fjb7ams.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a058387c.js → repository-cache-a058387c.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./repository-cache-1711wf45.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service83;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./repository-cache-bgjq6n3s.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service72
|
|
13
|
+
} from "./repository-cache-ajjhf6jy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./repository-cache-4ay36gmp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service53
|
|
19
|
+
} from "./repository-cache-ygxwp2qk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-dvhq7cxa.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service68,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-e34d40ft.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service61
|
|
37
|
+
} from "./repository-cache-fayv5fjb.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./repository-cache-a10bphs2.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./repository-cache-7y79ykyn.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name11 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input11 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin13 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service74;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service72;
|
|
127
|
+
const access = yield* Service13;
|
|
128
|
+
const shell = yield* Service61;
|
|
129
|
+
const shellSelect = yield* Service68;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service53;
|
|
132
|
+
const config = yield* Service64;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin50 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin50 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name11,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin50 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name11,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input11,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin50 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name11,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name11];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin13, exports_shell };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-kq1mzbp8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./repository-cache-g8ptsmqj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service53,
|
|
13
|
+
node55
|
|
14
|
+
} from "./repository-cache-ygxwp2qk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service13,
|
|
26
|
+
node: () => node15,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service13 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service81;
|
|
55
|
+
const permission = yield* Service53;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service13.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node85, node55] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service13, resolvePath2, node15, exports_file_access };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-5jjy01jh.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make7 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make5 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make7();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service68,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node70,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service68 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service68.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service68, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node70 = configured7();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service68, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured7, node70, exports_select };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service46, exports_runner };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin49
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin49 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin33 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin49, exports_mcp_codemode_defaults };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-ykqsc6sd.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-bjhzkqyk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service78,
|
|
15
|
+
node82,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./repository-cache-ss1jzj40.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./repository-cache-g8ptsmqj.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -30,13 +30,13 @@ __export(exports_provider3, {
|
|
|
30
30
|
Compaction: () => Compaction3,
|
|
31
31
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
32
32
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
|
+
ID: () => ID13,
|
|
35
|
+
Info: () => Info22,
|
|
36
36
|
LoadError: () => LoadError3,
|
|
37
37
|
Provider: () => exports_provider3,
|
|
38
|
-
Request: () =>
|
|
39
|
-
Service: () =>
|
|
38
|
+
Request: () => Request3,
|
|
39
|
+
Service: () => Service77,
|
|
40
40
|
Settings: () => Settings2,
|
|
41
41
|
Transport: () => Transport2,
|
|
42
42
|
aisdk: () => aisdk2,
|
|
@@ -48,7 +48,7 @@ __export(exports_provider3, {
|
|
|
48
48
|
mergeOverlay: () => mergeOverlay2,
|
|
49
49
|
modelSettings: () => modelSettings2,
|
|
50
50
|
nativeSettings: () => nativeSettings2,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node81,
|
|
52
52
|
packageName: () => packageName2,
|
|
53
53
|
timeout: () => timeout2,
|
|
54
54
|
timeouts: () => timeouts2
|
|
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
323
323
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
324
324
|
|
|
325
325
|
// src/provider.ts
|
|
326
|
-
import { Event as
|
|
327
|
-
var
|
|
326
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
327
|
+
var ID13 = Provider.ID;
|
|
328
328
|
var AISDK_PREFIX2 = "aisdk:";
|
|
329
329
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
330
330
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -534,13 +534,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
534
534
|
return result;
|
|
535
535
|
}, new Map).values());
|
|
536
536
|
}
|
|
537
|
-
var
|
|
537
|
+
var Request3 = Provider.Request;
|
|
538
538
|
var Compaction3 = Provider.Compaction;
|
|
539
539
|
var Transport2 = Provider.Transport;
|
|
540
540
|
var Settings2 = Provider.Settings;
|
|
541
|
-
var
|
|
541
|
+
var Info22 = Provider.Info;
|
|
542
542
|
|
|
543
|
-
class
|
|
543
|
+
class Service77 extends Context.Service()("@opencode/Provider") {
|
|
544
544
|
}
|
|
545
545
|
var definitions = new WeakMap;
|
|
546
546
|
function index(providerID, models) {
|
|
@@ -553,10 +553,10 @@ function index(providerID, models) {
|
|
|
553
553
|
definitions.set(models, indexes);
|
|
554
554
|
return result;
|
|
555
555
|
}
|
|
556
|
-
var layer = Layer.effect(
|
|
557
|
-
const bus = yield*
|
|
558
|
-
const integrations = yield*
|
|
559
|
-
const location = yield*
|
|
556
|
+
var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
557
|
+
const bus = yield* Service84;
|
|
558
|
+
const integrations = yield* Service78;
|
|
559
|
+
const location = yield* Service81;
|
|
560
560
|
const state = create3({
|
|
561
561
|
name: "provider",
|
|
562
562
|
initial: () => new Map,
|
|
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
|
|
|
567
567
|
const current = records.get(id);
|
|
568
568
|
if (current)
|
|
569
569
|
return current;
|
|
570
|
-
const added = { provider:
|
|
570
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
571
571
|
records.set(id, added);
|
|
572
572
|
maps.add(added.models);
|
|
573
573
|
return added;
|
|
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
|
|
|
648
648
|
const available = Array.from(records.values()).filter((record) => {
|
|
649
649
|
if (record.provider.activation === "disabled")
|
|
650
650
|
return false;
|
|
651
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
651
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
652
652
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
653
653
|
return false;
|
|
654
654
|
if (record.provider.activation === "enabled")
|
|
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
|
|
|
674
674
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
675
675
|
});
|
|
676
676
|
});
|
|
677
|
-
yield* bus.subscribe([
|
|
678
|
-
return
|
|
677
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
678
|
+
return Service77.of({
|
|
679
679
|
transform: state.transform,
|
|
680
680
|
reload: state.reload,
|
|
681
681
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
|
|
|
684
684
|
snapshot
|
|
685
685
|
});
|
|
686
686
|
}));
|
|
687
|
-
var
|
|
687
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node88, node82, node85] });
|
|
688
688
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
689
689
|
const module = yield* Effect2.tryPromise({
|
|
690
690
|
try: () => {
|
|
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
706
706
|
return module;
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
709
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service77, node81, exports_provider3, Event16 };
|