@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,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-ykqsc6sd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./repository-cache-g8ptsmqj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service68,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node70
|
|
13
|
+
} from "./repository-cache-e34d40ft.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event10,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID8,
|
|
28
|
+
Info: () => Info13,
|
|
29
|
+
NotFoundError: () => NotFoundError8,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service57,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node59
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event10 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID8 = Pty.ID;
|
|
43
|
+
var Info13 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID8
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID8
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service57 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service84;
|
|
61
|
+
const location = yield* Service81;
|
|
62
|
+
const shell = yield* Service68;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID8.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service57.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node59 = makeLocationNode({
|
|
273
|
+
service: Service57,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node88, node85, node70]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID8, Info13, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service57, node59, exports_pty, Event10 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-7vxtg88a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./repository-cache-bgjq6n3s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin44,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin44 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info9.make({
|
|
439
|
+
id: ID4.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info9.make({
|
|
446
|
+
id: ID4.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service64;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin44, exports_skill3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-cache-efrks8s7.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-x588deh8.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Form } from "@opencode/schema/form";
|
|
12
|
-
var providerID =
|
|
12
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
13
13
|
var CloudflareWorkersAIPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./repository-cache-bgjq6n3s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service8
|
|
7
|
+
} from "./repository-cache-r4xyerk1.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/compaction.ts
|
|
16
16
|
var exports_compaction = {};
|
|
17
17
|
__export(exports_compaction, {
|
|
18
18
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin17 = define({
|
|
24
24
|
id: "opencode.config.compaction",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const compaction = yield*
|
|
26
|
+
const config = yield* Service64;
|
|
27
|
+
const compaction = yield* Service8;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
29
29
|
yield* compaction.transform((editor) => {
|
|
30
30
|
editor.configure({ precompute: latest2(loaded.entries, "experimental")?.precompute_compaction === true });
|
|
@@ -41,4 +41,4 @@ var Plugin11 = define({
|
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { Plugin17, exports_compaction };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./repository-cache-w9kbxh01.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./repository-cache-bgjq6n3s.js";
|
|
10
10
|
import {
|
|
11
11
|
Service15,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-vm0wcjea.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
@@ -31,9 +31,9 @@ import path from "path";
|
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
33
|
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service64;
|
|
35
35
|
const managed = yield* Service15;
|
|
36
|
-
const watcher = yield*
|
|
36
|
+
const watcher = yield* Service65;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-ykqsc6sd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./repository-cache-g8ptsmqj.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service54,
|
|
14
|
+
node56
|
|
15
|
+
} from "./repository-cache-j5c0nw1x.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service84;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service54;
|
|
41
|
+
const location = yield* Service81;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node88, FSUtil.node, node85, node56]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-vx3jgdek.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError6,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError6, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-vx3jgdek.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./repository-cache-ygxwp2qk.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input13,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description5,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name13
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name13 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input13 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input5 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input13.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin15 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service53;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name13,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
106
|
-
input:
|
|
105
|
+
description: description5,
|
|
106
|
+
input: Input13,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin40 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name13,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name13, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input13, Plugin15, extractTextFromHTML2, exports_webfetch };
|