@opencode/core 0.0.0-dev-20810 → 0.0.0-dev-20816
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -82
- package/dist/aisdk-native.js +91 -90
- package/dist/aisdk.js +96 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +77 -76
- package/dist/chunks/{schema-s8d7rejh.js → wellknown-02nrjc1r.js} +8 -8
- package/dist/chunks/{schema-zy4v1d78.js → wellknown-033ejm38.js} +35 -35
- package/dist/chunks/{schema-m1vt9403.js → wellknown-07wb5q77.js} +11 -11
- package/dist/chunks/{schema-hrvqnyz4.js → wellknown-0kaeeq0n.js} +17 -17
- package/dist/chunks/{schema-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0vbcp93d.js → wellknown-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-r8xr0va3.js → wellknown-1acjjqhc.js} +4 -4
- package/dist/chunks/{schema-yy8c48ah.js → wellknown-1bh5qdrr.js} +24 -24
- package/dist/chunks/{schema-751h4z3b.js → wellknown-1w6spx5t.js} +7 -7
- package/dist/chunks/{schema-b9fnkeff.js → wellknown-2651n5qm.js} +13 -13
- package/dist/chunks/{schema-ghyrxap0.js → wellknown-2gjkaaq8.js} +30 -30
- package/dist/chunks/{schema-d7tt0p63.js → wellknown-2jbkakjc.js} +4 -4
- package/dist/chunks/{schema-vhjvf1ns.js → wellknown-2tcrkhyx.js} +24 -24
- package/dist/chunks/{schema-2vvh33eb.js → wellknown-2vvh33eb.js} +2 -2
- package/dist/chunks/{schema-fmcjp1ve.js → wellknown-2x0031av.js} +22 -22
- package/dist/chunks/{schema-5x6dv44x.js → wellknown-2z8jxnq9.js} +11 -11
- package/dist/chunks/{schema-bj3d59b5.js → wellknown-31hyatr7.js} +23 -23
- package/dist/chunks/{schema-npz2prbw.js → wellknown-39zvv5e0.js} +35 -35
- package/dist/chunks/{schema-g441sed7.js → wellknown-3b8mf0t5.js} +13 -13
- package/dist/chunks/{schema-etmbekfa.js → wellknown-3ec4gz2d.js} +3 -3
- package/dist/chunks/{schema-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3hwn7j4h.js → wellknown-3hwn7j4h.js} +2 -2
- package/dist/chunks/{schema-12ve6aey.js → wellknown-3jrph8t9.js} +30 -30
- package/dist/chunks/{schema-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-g3gkqvbz.js → wellknown-3t6mzywy.js} +22 -22
- package/dist/chunks/{schema-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-kecqjjhm.js → wellknown-461nxmbv.js} +5 -5
- package/dist/chunks/{schema-my4zabxr.js → wellknown-48kw51zw.js} +3 -3
- package/dist/chunks/{schema-enmwmtrr.js → wellknown-49twh206.js} +15 -15
- package/dist/chunks/{schema-b5763n3s.js → wellknown-4fcfrxzd.js} +11 -11
- package/dist/chunks/{schema-n1n192bv.js → wellknown-4j4tgtq5.js} +4 -4
- package/dist/chunks/{schema-4ts7tf6z.js → wellknown-4ts7tf6z.js} +2 -2
- package/dist/chunks/{schema-j0gzcsx3.js → wellknown-4x9y9hm8.js} +11 -11
- package/dist/chunks/{schema-mgn9s9vj.js → wellknown-4yt2xgtx.js} +58 -58
- package/dist/chunks/{schema-r4e3mj9w.js → wellknown-54d04jeh.js} +18 -18
- package/dist/chunks/{schema-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-8paj7kd6.js → wellknown-5cg9bzem.js} +20 -20
- package/dist/chunks/{schema-e2vgrz0c.js → wellknown-5gxnaa09.js} +320 -320
- package/dist/chunks/{schema-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-even8thr.js → wellknown-5n3qansz.js} +28 -28
- package/dist/chunks/{schema-6wrgwmsx.js → wellknown-5p6277ma.js} +8 -8
- package/dist/chunks/{schema-1z7pb0k6.js → wellknown-5q0vxz4x.js} +5 -5
- package/dist/chunks/{schema-31b2zrgz.js → wellknown-5rb9c7eh.js} +11 -11
- package/dist/chunks/{schema-9eq4r153.js → wellknown-5rtw7paw.js} +19 -19
- package/dist/chunks/{schema-91efdwy5.js → wellknown-5w5g9s8y.js} +3 -3
- package/dist/chunks/{schema-4p5m0t87.js → wellknown-6117hfr5.js} +62 -62
- package/dist/chunks/{schema-re5apsaa.js → wellknown-650sss64.js} +11 -11
- package/dist/chunks/{schema-0hsd46jk.js → wellknown-699sdptp.js} +39 -39
- package/dist/chunks/{schema-v0es1rhs.js → wellknown-6g7e4dd5.js} +7 -7
- package/dist/chunks/{schema-41j8cbkr.js → wellknown-6v31mxde.js} +23 -23
- package/dist/chunks/{schema-6xb47vfp.js → wellknown-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-x8181hqt.js → wellknown-7feea0h6.js} +11 -11
- package/dist/chunks/{schema-mf82c6q7.js → wellknown-7hmww9pq.js} +15 -15
- package/dist/chunks/{schema-5gbr5t7g.js → wellknown-7t92r6sm.js} +8 -8
- package/dist/chunks/{schema-q84ymcsc.js → wellknown-7vfyda9f.js} +54 -50
- package/dist/chunks/{schema-82v73sw7.js → wellknown-82v73sw7.js} +3 -3
- package/dist/chunks/{schema-xxg2cwm3.js → wellknown-8777xd2t.js} +22 -22
- package/dist/chunks/{schema-pe5zqv13.js → wellknown-8bqq47bs.js} +4 -4
- package/dist/chunks/{schema-ppm6d4hz.js → wellknown-8gzx46z2.js} +5 -5
- package/dist/chunks/{schema-8m6m0r52.js → wellknown-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-8sze2n9a.js → wellknown-8sze2n9a.js} +2 -2
- package/dist/chunks/{schema-842tzcmm.js → wellknown-8vc8vna7.js} +10 -10
- package/dist/chunks/{schema-7d29djek.js → wellknown-9rmh4mmg.js} +10 -10
- package/dist/chunks/{schema-fj06szgc.js → wellknown-9s7snf6s.js} +18 -18
- package/dist/chunks/{schema-ajdwry64.js → wellknown-9xvx6y0g.js} +11 -11
- package/dist/chunks/{schema-pgp1nwjn.js → wellknown-a3c7ahw6.js} +4 -4
- package/dist/chunks/{schema-mh4sfpe3.js → wellknown-a8168aqs.js} +36 -36
- package/dist/chunks/{schema-dsaykm6h.js → wellknown-af8ff1ta.js} +11 -11
- package/dist/chunks/{schema-scgrse2b.js → wellknown-b3f8fkhc.js} +5 -5
- package/dist/chunks/{schema-avae2qkj.js → wellknown-b87x4eyv.js} +13 -13
- package/dist/chunks/{schema-sjvzs7k3.js → wellknown-bgqb1w0a.js} +33 -33
- package/dist/chunks/{schema-1ffvrpkg.js → wellknown-bjx1sjef.js} +6 -6
- package/dist/chunks/{schema-c23p4ys2.js → wellknown-bqbhqn5q.js} +23 -23
- package/dist/chunks/{schema-0cpa7f6c.js → wellknown-bv7xce55.js} +11 -11
- package/dist/chunks/{schema-s9z3c30a.js → wellknown-bwk95141.js} +14 -14
- package/dist/chunks/{schema-tjy0w605.js → wellknown-bws1wkeb.js} +35 -35
- package/dist/chunks/wellknown-by5v678g.js +18 -0
- package/dist/chunks/{schema-gw62fr37.js → wellknown-bzmhfkwa.js} +25 -25
- package/dist/chunks/{schema-kb9j3d72.js → wellknown-c1fqxshp.js} +3 -3
- package/dist/chunks/{schema-p7jqzqxf.js → wellknown-c3g4ehaa.js} +11 -11
- package/dist/chunks/{schema-kjap7t58.js → wellknown-c8z7re0j.js} +86 -86
- package/dist/chunks/{schema-rx9ava5n.js → wellknown-c9wbyant.js} +4 -4
- package/dist/chunks/{schema-asbbxgy3.js → wellknown-cda9vesx.js} +9 -9
- package/dist/chunks/wellknown-cenr143b.js +26 -0
- package/dist/chunks/{schema-djszqvmq.js → wellknown-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-y1346aqr.js → wellknown-d5xsqdzh.js} +22 -22
- package/dist/chunks/{schema-m0r31qfn.js → wellknown-d858xzj7.js} +4 -4
- package/dist/chunks/{schema-5mw5s2rh.js → wellknown-d8thadm4.js} +12 -12
- package/dist/chunks/{schema-k0r7s5gk.js → wellknown-ddttwbez.js} +22 -22
- package/dist/chunks/{schema-fz27cwe3.js → wellknown-des6zn2w.js} +28 -28
- package/dist/chunks/{schema-avk0gjvb.js → wellknown-dngrbxse.js} +23 -23
- package/dist/chunks/{schema-dpkg50ah.js → wellknown-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-0h1mm7qe.js → wellknown-dv1s2jsq.js} +5 -5
- package/dist/chunks/{schema-zq01xz8r.js → wellknown-dys7k0s0.js} +8 -8
- package/dist/chunks/{schema-0yttm9vb.js → wellknown-dzcs8qsg.js} +18 -18
- package/dist/chunks/{schema-mdjyr85s.js → wellknown-e213czqs.js} +30 -30
- package/dist/chunks/{schema-yt1db69f.js → wellknown-e6qa6x8z.js} +20 -20
- package/dist/chunks/{schema-kc6mcnvt.js → wellknown-e7y8yey8.js} +12 -12
- package/dist/chunks/{schema-2jbq5rvd.js → wellknown-e825dkyw.js} +22 -22
- package/dist/chunks/{schema-eej6y6fw.js → wellknown-eej6y6fw.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-n4r3xatb.js → wellknown-embw8kgh.js} +4 -4
- package/dist/chunks/{schema-qqqyvqxz.js → wellknown-emqnk1nq.js} +22 -22
- package/dist/chunks/{schema-b476brms.js → wellknown-ervpwnrb.js} +26 -26
- package/dist/chunks/{schema-5sbkfk9m.js → wellknown-f7xzt4zk.js} +33 -33
- package/dist/chunks/{schema-qgn6gcr1.js → wellknown-fcrkznn8.js} +5 -5
- package/dist/chunks/{schema-f1t98d39.js → wellknown-fcx8emg5.js} +10 -10
- package/dist/chunks/{schema-5t3z26v9.js → wellknown-fg5waqyz.js} +27 -27
- package/dist/chunks/{schema-1te6z1br.js → wellknown-fqehm6pw.js} +8 -8
- package/dist/chunks/{schema-9wjarjqh.js → wellknown-fv9sp7w9.js} +24 -24
- package/dist/chunks/{schema-5s0vrszx.js → wellknown-fvqz3thv.js} +32 -32
- package/dist/chunks/{schema-fxaymqdw.js → wellknown-fxaymqdw.js} +1 -1
- package/dist/chunks/{schema-616sprd3.js → wellknown-g06b32k9.js} +8 -8
- package/dist/chunks/{schema-2c3mwd6h.js → wellknown-g36xdyny.js} +28 -28
- package/dist/chunks/{schema-g686f6pq.js → wellknown-g686f6pq.js} +2 -2
- package/dist/chunks/{schema-1pxz8ven.js → wellknown-g6yfr6ja.js} +5 -5
- package/dist/chunks/{schema-63gxtxwv.js → wellknown-g8ke25hn.js} +31 -31
- package/dist/chunks/{schema-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-scrwg3hs.js → wellknown-ggb5v3eb.js} +16 -16
- package/dist/chunks/{schema-0r3c1bmw.js → wellknown-gj71zhbs.js} +5 -5
- package/dist/chunks/{schema-gk8qb678.js → wellknown-gk8qb678.js} +1 -1
- package/dist/chunks/{schema-j9jte45y.js → wellknown-gt0hx33a.js} +176 -176
- package/dist/chunks/{schema-bc1esb7h.js → wellknown-gyxgzcr0.js} +41 -41
- package/dist/chunks/{schema-zp79rdht.js → wellknown-h5g2zqv6.js} +12 -12
- package/dist/chunks/{schema-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-wx6xjdmh.js → wellknown-h72cndf1.js} +3 -3
- package/dist/chunks/{schema-31xfzrxg.js → wellknown-h7s7r6s9.js} +5 -5
- package/dist/chunks/{schema-ycjb11n5.js → wellknown-h896pcm5.js} +6 -6
- package/dist/chunks/{schema-pkb9436j.js → wellknown-hagkn1v7.js} +39 -39
- package/dist/chunks/{schema-hgz4x7wa.js → wellknown-hgz4x7wa.js} +1 -1
- package/dist/chunks/{schema-m95zc4xf.js → wellknown-hmpz6cpb.js} +15 -15
- package/dist/chunks/{schema-xcmk6yw7.js → wellknown-hy1va3t8.js} +11 -11
- package/dist/chunks/{schema-fxrw3q79.js → wellknown-j010gwk9.js} +21 -21
- package/dist/chunks/{schema-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-84045amf.js → wellknown-j5k95y2k.js} +5 -5
- package/dist/chunks/{schema-6y44ky4y.js → wellknown-j63xtz0z.js} +13 -13
- package/dist/chunks/{schema-2s1tt141.js → wellknown-jeg10dch.js} +24 -24
- package/dist/chunks/{schema-hnbkedn6.js → wellknown-jet6rn8q.js} +10 -10
- package/dist/chunks/{schema-24kngg5a.js → wellknown-jjx5emw5.js} +11 -11
- package/dist/chunks/{schema-qmmh0qgx.js → wellknown-jm1sn942.js} +5 -5
- package/dist/chunks/{schema-bbnjbm8a.js → wellknown-kbeh51ej.js} +11 -11
- package/dist/chunks/{schema-3n0nfbrk.js → wellknown-kcv830pc.js} +17 -17
- package/dist/chunks/{schema-qmdebz4g.js → wellknown-kvqsqfzs.js} +3 -3
- package/dist/chunks/wellknown-m18g726c.js +13 -0
- package/dist/chunks/{schema-16dqk34s.js → wellknown-m1nxwksc.js} +4 -4
- package/dist/chunks/{schema-spj5hr4x.js → wellknown-m20webqj.js} +8 -8
- package/dist/chunks/{schema-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-0p1vh52y.js → wellknown-mdshk6p7.js} +2 -2
- package/dist/chunks/{schema-cbwad64w.js → wellknown-mh6jxx1t.js} +33 -33
- package/dist/chunks/{schema-dhr2qr8g.js → wellknown-mjcera77.js} +48 -48
- package/dist/chunks/{schema-b5kphdjs.js → wellknown-mkfp2fax.js} +15 -15
- package/dist/chunks/{schema-w3x9v1nk.js → wellknown-mp6d0dty.js} +8 -8
- package/dist/chunks/{schema-bydnjh3t.js → wellknown-n37c4crj.js} +9 -9
- package/dist/chunks/{schema-b7bdwx76.js → wellknown-n43vcqp0.js} +3 -3
- package/dist/chunks/{schema-mz7kcatz.js → wellknown-n5anvv2t.js} +45 -45
- package/dist/chunks/{schema-bcw02e1j.js → wellknown-n63bcv8m.js} +51 -51
- package/dist/chunks/{schema-we4ydj7w.js → wellknown-n8e3aqkt.js} +28 -28
- package/dist/chunks/{schema-y2seww6j.js → wellknown-n8jq096e.js} +15 -15
- package/dist/chunks/{schema-7wy9ttat.js → wellknown-nawz2sjj.js} +33 -33
- package/dist/chunks/{schema-52jn4qxr.js → wellknown-nc8hxgt4.js} +22 -22
- package/dist/chunks/{schema-skv1cymz.js → wellknown-nd104sgw.js} +19 -19
- package/dist/chunks/{schema-m4crda45.js → wellknown-nwp476d8.js} +9 -9
- package/dist/chunks/{schema-kzqm322s.js → wellknown-p0rks7xq.js} +23 -23
- package/dist/chunks/{schema-hmb281w1.js → wellknown-p6qeq9yv.js} +5 -5
- package/dist/chunks/{schema-52vty0jw.js → wellknown-p9s0wwbg.js} +6 -6
- package/dist/chunks/{schema-tpw6cwsb.js → wellknown-pa8pe2x7.js} +8 -8
- package/dist/chunks/{schema-29bfqbba.js → wellknown-pg6d2h9f.js} +9 -9
- package/dist/chunks/{schema-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{schema-34c7v6d4.js → wellknown-pkyv6v7h.js} +1 -0
- package/dist/chunks/{schema-7951xmcm.js → wellknown-prh39f15.js} +35 -35
- package/dist/chunks/{schema-gbgdjg8y.js → wellknown-pzhxcmzb.js} +41 -41
- package/dist/chunks/{schema-q0xm7vwc.js → wellknown-q0xm7vwc.js} +2 -2
- package/dist/chunks/{schema-ymg8axns.js → wellknown-q13p92wb.js} +3 -3
- package/dist/chunks/{schema-jab3hz16.js → wellknown-q5mamftn.js} +49 -49
- package/dist/chunks/{schema-70p67exa.js → wellknown-q865ebtv.js} +58 -58
- package/dist/chunks/{schema-j92nemg4.js → wellknown-q8vbveqf.js} +23 -23
- package/dist/chunks/{schema-qnc92qwc.js → wellknown-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-gh19h2nq.js → wellknown-qwkjaerk.js} +1 -1
- package/dist/chunks/{schema-3xessxdn.js → wellknown-qynbg7fa.js} +24 -24
- package/dist/chunks/{schema-h3kn1xt9.js → wellknown-r269mye5.js} +4 -4
- package/dist/chunks/{schema-e80seqcp.js → wellknown-r2z489rp.js} +3 -3
- package/dist/chunks/{schema-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-3g5be3ey.js → wellknown-re4n8afa.js} +13 -13
- package/dist/chunks/{schema-f75zav2x.js → wellknown-rert0e01.js} +2 -2
- package/dist/chunks/{schema-8rt53k6z.js → wellknown-rf6hexmr.js} +3 -3
- package/dist/chunks/{schema-6ehx317m.js → wellknown-rf8f0yt3.js} +5 -5
- package/dist/chunks/{schema-vr8megq1.js → wellknown-rhw9mqe3.js} +23 -23
- package/dist/chunks/{schema-3cegwx68.js → wellknown-rj3eygr5.js} +3 -2
- package/dist/chunks/{schema-b0agzzj4.js → wellknown-rkv1q4w6.js} +17 -17
- package/dist/chunks/{schema-4vf6p7z8.js → wellknown-rmadhj2k.js} +19 -19
- package/dist/chunks/{schema-drnf6xwf.js → wellknown-rqa1jxse.js} +2 -2
- package/dist/chunks/{schema-24f8gbsn.js → wellknown-rtpc87ef.js} +24 -24
- package/dist/chunks/{schema-hweb1ns6.js → wellknown-rw22skhx.js} +9 -9
- package/dist/chunks/{schema-b6nnf8m3.js → wellknown-rwcqpfzb.js} +6 -6
- package/dist/chunks/{schema-fqq9xsk7.js → wellknown-rz6dkkgy.js} +19 -19
- package/dist/chunks/{schema-8w4cj8nh.js → wellknown-s6tav21f.js} +7 -7
- package/dist/chunks/{schema-94kgfjtq.js → wellknown-s6tfy31a.js} +45 -45
- package/dist/chunks/{schema-9n19sj5j.js → wellknown-s790q102.js} +21 -21
- package/dist/chunks/{schema-84h8c373.js → wellknown-sa8ekw3f.js} +2 -2
- package/dist/chunks/{schema-p253t8me.js → wellknown-sg3zez9q.js} +11 -11
- package/dist/chunks/{schema-xptvtjnp.js → wellknown-ssd9x6fw.js} +8 -8
- package/dist/chunks/{schema-ttmwvqbw.js → wellknown-sxdhggs7.js} +9 -9
- package/dist/chunks/{schema-f2kjzyx7.js → wellknown-sy1z26mt.js} +19 -19
- package/dist/chunks/{schema-r6d930kt.js → wellknown-sz492jsj.js} +11 -11
- package/dist/chunks/{schema-1ajmp50w.js → wellknown-t4fbsvde.js} +23 -23
- package/dist/chunks/{schema-zczs6yb2.js → wellknown-t95ytspt.js} +20 -20
- package/dist/chunks/{schema-3xw42s60.js → wellknown-t9bkwnkz.js} +21 -21
- package/dist/chunks/{schema-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-x651es2g.js → wellknown-tcqbkk77.js} +4 -4
- package/dist/chunks/{schema-5en7z6zr.js → wellknown-tdaccg2z.js} +9 -9
- package/dist/chunks/{schema-k5qw4hft.js → wellknown-tdbmj82j.js} +8 -8
- package/dist/chunks/{schema-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{schema-fnkxn25c.js → wellknown-tgj70b2r.js} +5 -5
- package/dist/chunks/{schema-8hh8rms7.js → wellknown-tpd1z469.js} +6 -6
- package/dist/chunks/{schema-pthxb9ry.js → wellknown-tsx9151n.js} +19 -19
- package/dist/chunks/{schema-7dy85ahw.js → wellknown-twwzjqdf.js} +6 -6
- package/dist/chunks/{schema-tyytaxap.js → wellknown-tyytaxap.js} +1 -1
- package/dist/chunks/{schema-0r1cr89s.js → wellknown-v3shqdas.js} +12 -12
- package/dist/chunks/{schema-ryr25ayn.js → wellknown-v5dkyp31.js} +4 -4
- package/dist/chunks/{schema-v7p4zvkq.js → wellknown-v7p4zvkq.js} +2 -2
- package/dist/chunks/{schema-6nd16mgq.js → wellknown-v895vwvw.js} +1 -1
- package/dist/chunks/{schema-c3pxc7te.js → wellknown-vb74559e.js} +22 -22
- package/dist/chunks/{schema-b07tzjw9.js → wellknown-vcjvn6yt.js} +8 -8
- package/dist/chunks/{schema-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-1zf0w0mf.js → wellknown-vh4msy83.js} +3 -3
- package/dist/chunks/{schema-1gqdmt0p.js → wellknown-vqmmygk9.js} +17 -17
- package/dist/chunks/{schema-page4y1m.js → wellknown-vyjsqzsp.js} +25 -25
- package/dist/chunks/{schema-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-dnk41676.js → wellknown-w0r29c61.js} +46 -46
- package/dist/chunks/{schema-84txncab.js → wellknown-w1eejvng.js} +5 -5
- package/dist/chunks/{schema-f0q60j9h.js → wellknown-w30xpdgm.js} +14 -14
- package/dist/chunks/{schema-y54hr7f3.js → wellknown-w3nq1sqw.js} +9 -9
- package/dist/chunks/{schema-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-txm3e8qz.js → wellknown-waskdk5r.js} +4 -4
- package/dist/chunks/{schema-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{schema-7fbbp2qf.js → wellknown-wh6pa4pr.js} +10 -10
- package/dist/chunks/{schema-gcavn3wx.js → wellknown-wr7ps67x.js} +5 -5
- package/dist/chunks/{schema-bqxzme6r.js → wellknown-wt1nksa6.js} +12 -12
- package/dist/chunks/{schema-kxx577b5.js → wellknown-wt4vhc6y.js} +9 -9
- package/dist/chunks/{schema-gzpc0ern.js → wellknown-wv1h3qq2.js} +33 -33
- package/dist/chunks/{schema-g4njwx0b.js → wellknown-wwzdatwd.js} +16 -16
- package/dist/chunks/wellknown-wzxzhr7t.js +253 -0
- package/dist/chunks/{schema-txfbykqs.js → wellknown-x5gff5v6.js} +27 -27
- package/dist/chunks/{schema-b5111p8f.js → wellknown-x7vezkgw.js} +5 -5
- package/dist/chunks/{schema-8hk55ja4.js → wellknown-xa1s2aen.js} +29 -29
- package/dist/chunks/{schema-xfkkasph.js → wellknown-xfkkasph.js} +1 -1
- package/dist/chunks/{schema-ye6fgm33.js → wellknown-xh6qfzz1.js} +90 -90
- package/dist/chunks/{schema-25tm57nk.js → wellknown-xk1n9kaj.js} +14 -14
- package/dist/chunks/{schema-jy9tvk3y.js → wellknown-xnh7pp4h.js} +22 -22
- package/dist/chunks/{schema-exvgxj6x.js → wellknown-xnnpmnef.js} +9 -9
- package/dist/chunks/{schema-hdta74m5.js → wellknown-xrnpkz2z.js} +16 -16
- package/dist/chunks/{schema-ykk7pmdn.js → wellknown-xt49yzba.js} +4 -4
- package/dist/chunks/{schema-3g8j9he4.js → wellknown-xt4njr3s.js} +1 -1
- package/dist/chunks/{schema-qjbhc1am.js → wellknown-y14ra9sp.js} +78 -48
- package/dist/chunks/{schema-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-tpje4fnv.js → wellknown-y1n9ww1g.js} +17 -17
- package/dist/chunks/{schema-vmecfj1a.js → wellknown-y1xqe3xy.js} +38 -38
- package/dist/chunks/{schema-hc5b8hrn.js → wellknown-yajxfkjf.js} +9 -9
- package/dist/chunks/{schema-g0ktjft2.js → wellknown-yeg8efr2.js} +19 -19
- package/dist/chunks/{schema-yekg5bww.js → wellknown-ysa2vprg.js} +9 -9
- package/dist/chunks/{schema-b8k8fdv1.js → wellknown-ysyc45db.js} +21 -21
- package/dist/chunks/{schema-htjw9qza.js → wellknown-yx0rmv9r.js} +6 -6
- package/dist/chunks/{schema-9z48nynt.js → wellknown-yywvx7pt.js} +23 -23
- package/dist/chunks/{schema-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-kn9hkvj3.js → wellknown-z2wpmfzv.js} +4 -4
- package/dist/chunks/{schema-ygbc3xn1.js → wellknown-z4vnkb91.js} +19 -19
- package/dist/chunks/{schema-01tebjt2.js → wellknown-z4yse633.js} +4 -4
- package/dist/chunks/{schema-dsm6mk11.js → wellknown-zc0d9hvr.js} +14 -14
- package/dist/chunks/{schema-pnaxc6j9.js → wellknown-ze75yzft.js} +8 -8
- package/dist/chunks/{schema-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-rfrb0sty.js → wellknown-zr9bnb5b.js} +22 -22
- package/dist/chunks/{schema-addxnjmp.js → wellknown-zw2hpfmh.js} +4 -4
- package/dist/chunks/{schema-zxq2ej10.js → wellknown-zxq2ej10.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 +83 -82
- package/dist/config/discovery.js +84 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -100
- package/dist/config/plugin/agent.js +118 -117
- package/dist/config/plugin/command.js +207 -206
- package/dist/config/plugin/compaction.js +156 -155
- package/dist/config/plugin/compatibility.js +136 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +118 -117
- package/dist/config/plugin/instruction.js +92 -91
- package/dist/config/plugin/location-watcher.js +118 -117
- package/dist/config/plugin/mcp.js +125 -124
- package/dist/config/plugin/policy.js +117 -116
- package/dist/config/plugin/provider.js +118 -117
- package/dist/config/plugin/reference.js +120 -119
- package/dist/config/plugin/shell.js +118 -117
- package/dist/config/plugin/skill-file.js +104 -103
- package/dist/config/plugin/skill.js +137 -136
- package/dist/config/plugin/snapshot.js +118 -117
- package/dist/config/plugin/source.js +121 -120
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +117 -116
- package/dist/config/plugin/worktree.js +120 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -86
- package/dist/database/database.js +68 -67
- 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 +6 -0
- package/dist/database/migration.gen.js +51 -50
- package/dist/database/migration.js +53 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -367
- 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 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -96
- 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 -75
- package/dist/file-access.js +102 -101
- package/dist/file-mutation.js +96 -95
- 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 +216 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -101
- package/dist/form.js +86 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -88
- package/dist/generate.js +105 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -358
- package/dist/instruction-discovery.js +87 -86
- package/dist/instructions/builtins.js +89 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -88
- package/dist/job.js +80 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -74
- package/dist/location-activity.js +136 -135
- package/dist/location-lifecycle.js +109 -108
- package/dist/location-service-map.js +88 -87
- package/dist/location-services.js +356 -355
- package/dist/location.js +89 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -92
- package/dist/mcp/index.js +107 -106
- package/dist/mcp/instructions.js +131 -130
- package/dist/mcp/oauth.js +80 -79
- package/dist/mcp/stdio.js +92 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -100
- package/dist/model-resolver.js +100 -99
- package/dist/model.js +104 -103
- package/dist/models-dev.js +105 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -76
- package/dist/plugin/agent.js +76 -75
- package/dist/plugin/command.js +102 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -97
- package/dist/plugin/module.js +119 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -91
- package/dist/plugin/provider/azure.js +119 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -96
- package/dist/plugin/provider/gitlab.js +95 -94
- package/dist/plugin/provider/google-vertex.js +115 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -79
- package/dist/plugin/provider/lmstudio.js +127 -126
- package/dist/plugin/provider/local.js +124 -123
- package/dist/plugin/provider/modal.js +94 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -126
- package/dist/plugin/provider/openai.js +95 -94
- package/dist/plugin/provider/opencode.js +99 -98
- package/dist/plugin/provider/openrouter.js +93 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -80
- package/dist/plugin/provider/prompt-cache-key.js +92 -91
- package/dist/plugin/provider/sap-ai-core.js +93 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -116
- package/dist/plugin/provider/vercel.js +92 -91
- package/dist/plugin/provider/vllm.js +127 -126
- package/dist/plugin/provider/xai.js +93 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -168
- package/dist/plugin/sdk.js +76 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -87
- package/dist/plugin/vcs/hg.js +88 -87
- package/dist/plugin/verbosity.js +95 -94
- package/dist/plugin/warming.js +116 -115
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -90
- package/dist/provider.js +103 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -90
- package/dist/reference/instructions.js +91 -90
- package/dist/reference.js +93 -92
- package/dist/repository-cache.js +83 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -96
- package/dist/rpc.js +88 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -75
- package/dist/session/compaction.js +133 -132
- package/dist/session/context.js +155 -154
- package/dist/session/diff.js +90 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -218
- package/dist/session/execution.js +127 -126
- package/dist/session/generate.js +154 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -130
- package/dist/session/projector.js +88 -87
- package/dist/session/prompt.js +107 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -99
- package/dist/session/runner/publish-llm-event.js +115 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -165
- package/dist/session/shell.js +132 -131
- package/dist/session/skill.js +105 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -74
- package/dist/session/store.js +87 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -152
- package/dist/session/to-session-error.js +113 -112
- package/dist/session/transfer.js +214 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -106
- package/dist/skill.js +116 -115
- package/dist/snapshot.js +91 -90
- 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 +130 -129
- package/dist/tool/plugin/edit.js +122 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -119
- package/dist/tool/plugin/grep.js +126 -125
- package/dist/tool/plugin/mcp-resource.js +119 -118
- package/dist/tool/plugin/opencode.js +111 -110
- package/dist/tool/plugin/patch.js +118 -117
- package/dist/tool/plugin/question.js +105 -104
- package/dist/tool/plugin/read.js +125 -124
- package/dist/tool/plugin/shell.js +210 -209
- package/dist/tool/plugin/skill.js +115 -114
- package/dist/tool/plugin/subagent.js +214 -213
- package/dist/tool/plugin/webfetch.js +114 -113
- package/dist/tool/plugin/websearch.js +114 -113
- package/dist/tool/plugin/write.js +122 -121
- package/dist/tool/read-filesystem.js +102 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/database/migration/20261010180456_project_time_archived.d.ts +3 -0
- package/dist/types/project/schema.d.ts +5 -0
- package/dist/types/project/sql.d.ts +16 -0
- package/dist/types/project.d.ts +9 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -90
- package/dist/websearch.js +82 -81
- package/dist/wellknown/plugin.js +76 -75
- package/dist/wellknown.js +83 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -83
- 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 -90
- package/dist/worktree.js +96 -95
- package/package.json +8 -8
- package/dist/chunks/schema-619r8v3y.js +0 -18
- package/dist/chunks/schema-anxvsj3j.js +0 -26
- package/dist/chunks/schema-s0y99pez.js +0 -253
- /package/dist/chunks/{schema-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → wellknown-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-bw78ga2c.js → wellknown-bw78ga2c.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-pyv0edze.js → wellknown-pyv0edze.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node83
|
|
4
|
+
} from "./wellknown-xk1n9kaj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node64
|
|
7
|
+
} from "./wellknown-e825dkyw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./wellknown-x5gff5v6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./wellknown-wh6pa4pr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service34
|
|
17
|
+
} from "./wellknown-by5v678g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
node26,
|
|
20
20
|
ID3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-t95ytspt.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service6,
|
|
24
|
+
node8
|
|
25
|
+
} from "./wellknown-pa8pe2x7.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-5gxnaa09.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make8,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./wellknown-zc0d9hvr.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service5,
|
|
38
|
+
node7
|
|
39
|
+
} from "./wellknown-h5g2zqv6.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service4,
|
|
42
|
+
node6
|
|
43
|
+
} from "./wellknown-n37c4crj.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
146
|
-
const bus = yield*
|
|
147
|
-
const updates = yield*
|
|
140
|
+
const managed = yield* Service16;
|
|
141
|
+
const registry = yield* Service34;
|
|
142
|
+
const sdk = yield* Service5;
|
|
143
|
+
const instance = yield* Service6;
|
|
144
|
+
const sources = yield* Service9;
|
|
145
|
+
const modules = yield* make8();
|
|
146
|
+
const bus = yield* Service80;
|
|
147
|
+
const updates = yield* Service4;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
node9,
|
|
226
|
-
node14,
|
|
223
|
+
node26,
|
|
224
|
+
node7,
|
|
227
225
|
node8,
|
|
228
|
-
|
|
226
|
+
node11,
|
|
227
|
+
node6,
|
|
228
|
+
node83,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node64,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service80,
|
|
4
|
+
node83
|
|
5
|
+
} from "./wellknown-xk1n9kaj.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service80;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node83] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer5, node7, exports_sdk };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./wellknown-033ejm38.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update3(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update2, exports_message_updater };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service50,
|
|
10
|
+
node: () => node52
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service50 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node52 = LayerNode.unbound(Service50, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service50, node52, exports_service2 };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-n43vcqp0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node83
|
|
8
|
+
} from "./wellknown-xk1n9kaj.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service76,
|
|
15
|
+
node79
|
|
16
|
+
} from "./wellknown-1bh5qdrr.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-2vvh33eb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service67,
|
|
22
|
+
node70
|
|
23
|
+
} from "./wellknown-033ejm38.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./wellknown-4j4tgtq5.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./wellknown-vcjvn6yt.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./wellknown-xt4njr3s.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service35,
|
|
47
|
+
node38
|
|
48
|
+
} from "./wellknown-g36xdyny.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service49,
|
|
51
|
+
node51
|
|
52
|
+
} from "./wellknown-j63xtz0z.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./wellknown-b3f8fkhc.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./wellknown-tgj70b2r.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./wellknown-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
@@ -75,7 +75,7 @@ __export(exports_compaction2, {
|
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
78
|
+
layer: () => layer8,
|
|
79
79
|
node: () => node13,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer8 = Layer.effect(Service11, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service76;
|
|
176
|
+
const bus = yield* Service80;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service67;
|
|
179
|
+
const models = yield* Service49;
|
|
180
180
|
const db = (yield* Service85).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service35;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID14.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -480,8 +480,8 @@ ${text}`;
|
|
|
480
480
|
}));
|
|
481
481
|
var node13 = makeLocationNode({
|
|
482
482
|
service: Service11,
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
483
|
+
layer: layer8,
|
|
484
|
+
deps: [node79, node83, node89, llmClient2, node70, node38, node51]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export { Service11, buildPrompt2,
|
|
689
|
+
export { Service11, buildPrompt2, layer8, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./wellknown-rtpc87ef.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-ysyc45db.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service63;
|
|
335
|
+
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node66] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service59,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node62
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service59 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service59.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node62 = makeLocationNode({
|
|
137
|
+
service: Service59,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service59, node62, exports_tool_output2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node83
|
|
4
|
+
} from "./wellknown-xk1n9kaj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./wellknown-8vc8vna7.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
21
|
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service24,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node27
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service24 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service80;
|
|
70
|
+
const kv = yield* Service83;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service24.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node27 = makeLocationNode({
|
|
188
|
+
service: Service24,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node83, node87]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node27, exports_websearch3, Event6 };
|