@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./repository-cache-bgjq6n3s.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service53
|
|
10
|
+
} from "./repository-cache-ygxwp2qk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input2,
|
|
20
|
+
Output: () => Output2,
|
|
21
|
+
Plugin: () => Plugin3,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name2,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name2 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input2 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output2 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin3 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service64;
|
|
68
|
+
const permission = yield* Service53;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name2,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin44 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name2, Info2, Input2, Output2, summarize2, Plugin3, exports_todo };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-tsfhzs96.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent2 = {};
|
|
12
12
|
__export(exports_agent2, {
|
|
13
13
|
AgentPlugin: () => exports_agent2,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin47
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin47 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin31 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID7.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID7.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID7.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID7.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID7.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin31 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin47, exports_agent2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-ykqsc6sd.js";
|
|
5
5
|
import {
|
|
6
6
|
node67
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-w9kbxh01.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service2,
|
|
10
|
+
node3
|
|
11
|
+
} from "./repository-cache-v0r2q4dy.js";
|
|
12
12
|
import {
|
|
13
13
|
Service15
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-vm0wcjea.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service39
|
|
17
|
+
} from "./repository-cache-6bshxcsx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node19,
|
|
20
|
+
ID2
|
|
21
|
+
} from "./repository-cache-sqtvtx7d.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service5,
|
|
24
|
+
node6
|
|
25
|
+
} from "./repository-cache-ydsespw1.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-hwag7jbr.js";
|
|
31
31
|
import {
|
|
32
32
|
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-1vg1fscw.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service4,
|
|
38
|
+
node5
|
|
39
|
+
} from "./repository-cache-scxnsnp9.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service3,
|
|
42
|
+
node4
|
|
43
|
+
} from "./repository-cache-bqwdyg2t.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
52
|
layer: () => layer3,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID2.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -138,13 +138,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
138
138
|
});
|
|
139
139
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
140
|
const managed = yield* Service15;
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
141
|
+
const registry = yield* Service39;
|
|
142
|
+
const sdk = yield* Service4;
|
|
143
|
+
const instance = yield* Service5;
|
|
144
|
+
const sources = yield* Service2;
|
|
145
145
|
const modules = yield* make3();
|
|
146
|
-
const bus = yield*
|
|
147
|
-
const updates = yield*
|
|
146
|
+
const bus = yield* Service84;
|
|
147
|
+
const updates = yield* Service3;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,12 +220,12 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
node7,
|
|
223
|
+
node19,
|
|
225
224
|
node5,
|
|
225
|
+
node6,
|
|
226
|
+
node3,
|
|
226
227
|
node4,
|
|
227
|
-
|
|
228
|
-
node89,
|
|
228
|
+
node88,
|
|
229
229
|
Npm.node,
|
|
230
230
|
node67,
|
|
231
231
|
requirements2
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export { layer3,
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-tw8zr1ps.js";
|
|
7
7
|
import {
|
|
8
8
|
stringify2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-5fjb7ams.js";
|
|
10
10
|
import {
|
|
11
11
|
contentFilterError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-fhcyw9er.js";
|
|
13
13
|
|
|
14
14
|
// src/session/runner/publish-llm-event.ts
|
|
15
15
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./repository-cache-g3dxjs5g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./repository-cache-ygxwp2qk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
13
|
Service24
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-bbwsfe1r.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input10,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin12,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name10 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input10 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin12 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
52
|
+
const permission = yield* Service53;
|
|
53
|
+
const forms = yield* Service79;
|
|
54
54
|
const websearch = yield* Service24;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name10,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input10,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name10,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name10];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name10, NO_RESULTS2, description4, Input10, Plugin12, exports_websearch };
|
|
@@ -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/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make6 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make6();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make10(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make10 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service56
|
|
4
|
+
} from "./repository-cache-tsfhzs96.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./repository-cache-g8ptsmqj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service64
|
|
10
|
+
} from "./repository-cache-bgjq6n3s.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service68,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-e34d40ft.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./repository-cache-a10bphs2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./repository-cache-g4nys0an.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin22
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin22 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service64;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,12 +52,12 @@ var Plugin15 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service81;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service68;
|
|
58
|
+
const sessions = yield* Service26;
|
|
59
|
+
const agents = yield* Service56;
|
|
60
|
+
const subagents = yield* Service10;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin15 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID7.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
202
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
203
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin22, exports_command };
|