@opencode/core 0.0.0-dev-1298 → 0.0.0-dev-1299
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 +95 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +110 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +243 -242
- package/dist/bus.js +85 -84
- package/dist/chunks/{app-034tev2y.js → reference-034tev2y.js} +2 -2
- package/dist/chunks/{app-sz7d4zjb.js → reference-09yvw0mr.js} +25 -25
- package/dist/chunks/{app-c6x7d2ts.js → reference-0ahs07zn.js} +4 -4
- package/dist/chunks/{app-y7t27j8q.js → reference-0da36nhd.js} +15 -15
- package/dist/chunks/{app-0fvxehme.js → reference-0fvxehme.js} +2 -2
- package/dist/chunks/{app-9yawg07m.js → reference-0qmbz6n9.js} +52 -52
- package/dist/chunks/{app-vaghfqb7.js → reference-0t2pfgdp.js} +13 -13
- package/dist/chunks/{app-te1466qx.js → reference-0tfgktw9.js} +1 -1
- package/dist/chunks/{app-cm7m5qht.js → reference-0zgxx6e3.js} +4 -4
- package/dist/chunks/{app-a9pn54qx.js → reference-140p7wba.js} +6 -6
- package/dist/chunks/{app-vaq0jxkj.js → reference-15bt4k80.js} +33 -33
- package/dist/chunks/{app-e0ec7nxg.js → reference-160avepg.js} +41 -41
- package/dist/chunks/{app-y8hac0w9.js → reference-1ah6h1c8.js} +4 -4
- package/dist/chunks/{app-1aqsckx4.js → reference-1aqsckx4.js} +1 -1
- package/dist/chunks/{app-br8q3jev.js → reference-1cf8e300.js} +6 -6
- package/dist/chunks/{app-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
- package/dist/chunks/{app-zehp2v3z.js → reference-1mhhmgmt.js} +8 -8
- package/dist/chunks/{app-86hgqwed.js → reference-1mmczb7m.js} +350 -350
- package/dist/chunks/{app-07zzgv1d.js → reference-1sxy957q.js} +33 -33
- package/dist/chunks/{app-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-m2mt1nke.js → reference-1ygs4haa.js} +9 -9
- package/dist/chunks/{app-1yq9hg58.js → reference-1yq9hg58.js} +1 -1
- package/dist/chunks/{app-6z7z85pz.js → reference-1yxvqtag.js} +10 -10
- package/dist/chunks/{app-x53wsq7n.js → reference-24y5y724.js} +7 -7
- package/dist/chunks/{app-1q07fp1w.js → reference-26wfx3k0.js} +4 -4
- package/dist/chunks/{app-mz0yj2ps.js → reference-29kgfcs4.js} +19 -19
- package/dist/chunks/{app-pabxy23d.js → reference-2c2gnwbs.js} +17 -17
- package/dist/chunks/{app-2fc7eemy.js → reference-2fc7eemy.js} +1 -1
- package/dist/chunks/{app-4kk1sm3s.js → reference-2j5rqqks.js} +4 -4
- package/dist/chunks/{app-nv2c5e9q.js → reference-2n444ktb.js} +3 -3
- package/dist/chunks/{app-2prt43t7.js → reference-2prt43t7.js} +1 -1
- package/dist/chunks/{app-azyk24y0.js → reference-2qq9re5v.js} +17 -17
- package/dist/chunks/{app-swe1e0er.js → reference-2tbbsa1w.js} +15 -15
- package/dist/chunks/{app-4bgm4kr6.js → reference-2wa1kc21.js} +34 -34
- package/dist/chunks/{app-t5zzg8qw.js → reference-2wzc7q0z.js} +13 -13
- package/dist/chunks/{app-w2b6eh26.js → reference-2x93n1ej.js} +9 -9
- package/dist/chunks/{app-vtd1x7ac.js → reference-349pq75d.js} +24 -24
- package/dist/chunks/{app-3adw4bt5.js → reference-3adw4bt5.js} +2 -2
- package/dist/chunks/{app-gqz2ymha.js → reference-3cj79q64.js} +24 -24
- package/dist/chunks/reference-3ds0bstw.js +273 -0
- package/dist/chunks/{app-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-ee1t5wzz.js → reference-3j4qesnv.js} +145 -145
- package/dist/chunks/{app-3nnrz6f6.js → reference-3nnrz6f6.js} +1 -1
- package/dist/chunks/{app-06d1bbvt.js → reference-3raywgqr.js} +16 -16
- package/dist/chunks/{app-40y6dtc2.js → reference-40y6dtc2.js} +1 -1
- package/dist/chunks/{app-544xx0nq.js → reference-4bde0nmr.js} +4 -4
- package/dist/chunks/{app-m4p4r8nc.js → reference-4dfqsw0d.js} +4 -4
- package/dist/chunks/{app-4dx1dgte.js → reference-4dx1dgte.js} +1 -1
- package/dist/chunks/{app-daaw4tr5.js → reference-4f007zx7.js} +22 -22
- package/dist/chunks/{app-4f25tdd0.js → reference-4f25tdd0.js} +1 -1
- package/dist/chunks/{app-19wmfrq0.js → reference-4gnxwjvc.js} +11 -11
- package/dist/chunks/{app-cz7g0zqk.js → reference-4h8vhxff.js} +5 -5
- package/dist/chunks/{app-qk7j08t6.js → reference-4ppd04am.js} +25 -25
- package/dist/chunks/{app-4v008n1t.js → reference-4v008n1t.js} +1 -1
- package/dist/chunks/{app-04qc8z7j.js → reference-4vzr2b15.js} +3 -3
- package/dist/chunks/{app-wmx7csfb.js → reference-5bmm57mk.js} +21 -21
- package/dist/chunks/{app-4zszwbgd.js → reference-5bmsmh2h.js} +31 -31
- package/dist/chunks/{app-431bah1h.js → reference-5cqcj65p.js} +10 -10
- package/dist/chunks/{app-h6ygtv77.js → reference-5cztv455.js} +15 -15
- package/dist/chunks/{app-qewwq68x.js → reference-5dxtpe4t.js} +14 -14
- package/dist/chunks/{app-40za9wsf.js → reference-5enarcya.js} +6 -6
- package/dist/chunks/{app-aaky3beq.js → reference-5gkzd2cg.js} +14 -14
- package/dist/chunks/{app-m1a4txwc.js → reference-5kvw8a0x.js} +47 -47
- package/dist/chunks/{app-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-tf44etg2.js → reference-5rf5fny6.js} +8 -8
- package/dist/chunks/{app-v571cyrw.js → reference-5z1224kk.js} +16 -16
- package/dist/chunks/{app-3jwc3awv.js → reference-60tnzmc4.js} +4 -4
- package/dist/chunks/{app-ga1em9dk.js → reference-63mc9ghj.js} +11 -11
- package/dist/chunks/{app-1emtaxvd.js → reference-646ec68m.js} +80 -80
- package/dist/chunks/reference-6bshxcsx.js +18 -0
- package/dist/chunks/{app-45tshjrx.js → reference-6ddxa9ny.js} +59 -59
- package/dist/chunks/{app-hzbgrnvg.js → reference-6es1dp4c.js} +8 -8
- package/dist/chunks/{app-s2hw13ek.js → reference-6ffwtn0f.js} +3 -3
- package/dist/chunks/{app-qpt9tdxm.js → reference-6gfzdxma.js} +15 -15
- package/dist/chunks/{app-6h8vcvjm.js → reference-6h8vcvjm.js} +2 -2
- package/dist/chunks/{app-9vnkqwh1.js → reference-6mt11s64.js} +2 -2
- package/dist/chunks/{app-0tpxjk5q.js → reference-6mvvpckb.js} +11 -11
- package/dist/chunks/{app-0az7rsk5.js → reference-6pnr6kvt.js} +5 -5
- package/dist/chunks/{app-6y2b864j.js → reference-6y2b864j.js} +1 -1
- package/dist/chunks/{app-7nbwejb6.js → reference-76crged4.js} +9 -9
- package/dist/chunks/{app-80mg3ag8.js → reference-775hqbnd.js} +3 -3
- package/dist/chunks/{app-z3bc9594.js → reference-77gyrf4e.js} +17 -17
- package/dist/chunks/{app-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-6bzjsc4b.js → reference-7k563s2s.js} +15 -15
- package/dist/chunks/{app-kdvmt146.js → reference-7mgqnej7.js} +4 -4
- package/dist/chunks/reference-7nyex9j3.js +54 -0
- package/dist/chunks/{app-7tx5zndv.js → reference-7tx5zndv.js} +2 -2
- package/dist/chunks/{app-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-7weczvnd.js → reference-7weczvnd.js} +1 -1
- package/dist/chunks/{app-80pdk984.js → reference-80pdk984.js} +1 -1
- package/dist/chunks/{app-m1pdhrmp.js → reference-842xs9ev.js} +8 -8
- package/dist/chunks/{app-yx6x3fyd.js → reference-84tzw0hb.js} +3 -3
- package/dist/chunks/{app-85jq8dht.js → reference-85jq8dht.js} +1 -1
- package/dist/chunks/{app-2ymyhs2n.js → reference-895rbha0.js} +32 -32
- package/dist/chunks/{app-71bejjcv.js → reference-8b1fnpp4.js} +2 -2
- package/dist/chunks/{app-8b3vzgkx.js → reference-8b3vzgkx.js} +1 -1
- package/dist/chunks/{app-63fcs8k3.js → reference-8jf97bfe.js} +5 -2
- package/dist/chunks/{app-4q2aw7tk.js → reference-8jkr9nzy.js} +29 -29
- package/dist/chunks/{app-8kjyvwy5.js → reference-8kjyvwy5.js} +1 -1
- package/dist/chunks/{app-mnw3aa7v.js → reference-8rcah7bz.js} +20 -20
- package/dist/chunks/{app-8sxe6kv8.js → reference-8sxe6kv8.js} +2 -2
- package/dist/chunks/{app-8b714bza.js → reference-8tdv4j48.js} +8 -8
- package/dist/chunks/{app-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-d93erz9q.js → reference-8ydxba3r.js} +5 -5
- package/dist/chunks/{app-8zv0xmg5.js → reference-8zv0xmg5.js} +1 -1
- package/dist/chunks/{app-67r5xtjx.js → reference-907zabr0.js} +5 -5
- package/dist/chunks/{app-kzdam8c6.js → reference-93xmyh8q.js} +5 -5
- package/dist/chunks/{app-kh1mqnxp.js → reference-963hk181.js} +9 -9
- package/dist/chunks/{app-c80me66y.js → reference-98841e2j.js} +33 -33
- package/dist/chunks/{app-n661s8xa.js → reference-9e10291s.js} +5 -5
- package/dist/chunks/{app-daanyjbe.js → reference-9ea275t2.js} +28 -28
- package/dist/chunks/{app-2c0kftgm.js → reference-9exxy594.js} +8 -8
- package/dist/chunks/{app-jkgt3vcx.js → reference-9f771hzk.js} +17 -17
- package/dist/chunks/{app-tgeg2vgn.js → reference-9n8tnhz2.js} +14 -14
- package/dist/chunks/{app-wzsrta6c.js → reference-9q871ccp.js} +11 -11
- package/dist/chunks/{app-s6e0apz7.js → reference-9se2sd9k.js} +8 -8
- package/dist/chunks/{app-cjaaxpzv.js → reference-9vafp96s.js} +39 -39
- package/dist/chunks/{app-h487gr3z.js → reference-a0s2st0f.js} +45 -45
- package/dist/chunks/{app-qn6jndk4.js → reference-a1adkc9f.js} +29 -29
- package/dist/chunks/{app-hretfjjx.js → reference-a3fn0gmm.js} +2 -2
- package/dist/chunks/{app-1vjnvnf4.js → reference-a3yd9412.js} +20 -20
- package/dist/chunks/{app-e45hehnp.js → reference-a69vsmja.js} +12 -12
- package/dist/chunks/{app-22w39cyn.js → reference-abmsf3fs.js} +6 -6
- package/dist/chunks/{app-2p60zmnr.js → reference-ad21tgm2.js} +4 -4
- package/dist/chunks/{app-anvcme1c.js → reference-anvcme1c.js} +1 -1
- package/dist/chunks/{app-w3kg3ne7.js → reference-arvnv41s.js} +21 -21
- package/dist/chunks/{app-wa8k00xj.js → reference-at1kchjw.js} +6 -6
- package/dist/chunks/{app-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-njga73jc.js → reference-b2ye4m2n.js} +91 -91
- package/dist/chunks/{app-d0by684y.js → reference-b68ermf5.js} +51 -51
- package/dist/chunks/{app-t7vam4k4.js → reference-b90wsfgm.js} +27 -27
- package/dist/chunks/{app-pb1x6ngw.js → reference-bg23z55d.js} +10 -10
- package/dist/chunks/{app-jkdcm5hg.js → reference-bhfd478d.js} +4 -4
- package/dist/chunks/{app-bstexjd6.js → reference-bstexjd6.js} +1 -1
- package/dist/chunks/{app-e8xb975w.js → reference-btz4vdf2.js} +9 -9
- package/dist/chunks/{app-v0rc9y1j.js → reference-bx20ef8w.js} +44 -44
- package/dist/chunks/{app-yjfpwsh1.js → reference-byg3evpx.js} +2 -2
- package/dist/chunks/{app-6j9kvj0r.js → reference-bz298c0e.js} +9 -9
- package/dist/chunks/{app-32scqvk9.js → reference-c7wvhm3n.js} +13 -13
- package/dist/chunks/{app-8679mcme.js → reference-cjsjkmmf.js} +4 -4
- package/dist/chunks/{app-0vgdx4k8.js → reference-cprv8pe1.js} +19 -19
- package/dist/chunks/{app-mk1wzm15.js → reference-cs53cha0.js} +6 -6
- package/dist/chunks/{app-zc6q7qmw.js → reference-ctbyzw6h.js} +7 -7
- package/dist/chunks/{app-wdhayyn2.js → reference-cthcgjcr.js} +12 -12
- package/dist/chunks/{app-cwrgdav8.js → reference-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-q9tr9ra0.js → reference-cykhyy0b.js} +19 -19
- package/dist/chunks/{app-9qdyq2sv.js → reference-czm9pz93.js} +7 -7
- package/dist/chunks/{app-rxwyy6eg.js → reference-czyshrsa.js} +11 -11
- package/dist/chunks/{app-y9f5jet0.js → reference-d44kf1gs.js} +15 -15
- package/dist/chunks/{app-g7qww3hk.js → reference-d46fzswe.js} +13 -13
- package/dist/chunks/{app-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-h3b857xk.js → reference-d8p3t516.js} +4 -4
- package/dist/chunks/{app-y9g025vh.js → reference-d9gsy12g.js} +41 -41
- package/dist/chunks/{app-f4r5m85w.js → reference-d9vtvrnf.js} +14 -14
- package/dist/chunks/{app-9rqfe4ad.js → reference-dbatw319.js} +3 -3
- package/dist/chunks/{app-qzzy82sx.js → reference-dgyjw8xn.js} +26 -26
- package/dist/chunks/{app-dt77769w.js → reference-dt77769w.js} +1 -1
- package/dist/chunks/{app-eyprspan.js → reference-e3dzhadh.js} +10 -10
- package/dist/chunks/{app-xr798hwy.js → reference-e90d3155.js} +25 -25
- package/dist/chunks/{app-4zkxqe3p.js → reference-ebvpjh9k.js} +9 -9
- package/dist/chunks/{app-47sr2ta0.js → reference-ecg0s3fk.js} +12 -12
- package/dist/chunks/reference-ehz6qvp6.js +35 -0
- package/dist/chunks/{app-kmzgegqq.js → reference-enkpkfwx.js} +8 -8
- package/dist/chunks/{app-ffr7yn5g.js → reference-eqma6dsj.js} +14 -14
- package/dist/chunks/{app-eqw4pqj1.js → reference-eqw4pqj1.js} +2 -2
- package/dist/chunks/{app-qfdvj3xm.js → reference-etrnj9s7.js} +11 -11
- package/dist/chunks/{app-2xkdvfhw.js → reference-exhywyk0.js} +24 -24
- package/dist/chunks/{app-7vwswne4.js → reference-f1vhs7g6.js} +3 -3
- package/dist/chunks/{app-53td2d95.js → reference-f561ag7y.js} +26 -26
- package/dist/chunks/{app-2356x7xp.js → reference-f83rra1p.js} +12 -12
- package/dist/chunks/{app-n179w0k7.js → reference-f8915yqa.js} +2 -2
- package/dist/chunks/{app-ywmqht7w.js → reference-faeaqd3n.js} +16 -16
- package/dist/chunks/{app-fax097qp.js → reference-fax097qp.js} +1 -1
- package/dist/chunks/{app-m3fpj52g.js → reference-ffz5mdja.js} +25 -25
- package/dist/chunks/{app-fg9p65nk.js → reference-fg9p65nk.js} +2 -2
- package/dist/chunks/{app-v37s2wsg.js → reference-fqcq75s6.js} +19 -19
- package/dist/chunks/{app-cdg2vbbp.js → reference-fw5b8w2v.js} +5 -5
- package/dist/chunks/{app-nmhjrzks.js → reference-fybacw3w.js} +13 -13
- package/dist/chunks/{app-0n6r4h2p.js → reference-g3928a0r.js} +6 -6
- package/dist/chunks/{app-gbjdnr5j.js → reference-gbjdnr5j.js} +2 -2
- package/dist/chunks/{app-ghrv1g9c.js → reference-ghrv1g9c.js} +1 -1
- package/dist/chunks/{app-adzb3c23.js → reference-gnbwta0v.js} +8 -8
- package/dist/chunks/{app-f92q3ny7.js → reference-gqwdy2ja.js} +21 -21
- package/dist/chunks/{app-19vycv7j.js → reference-grtpag7b.js} +32 -32
- package/dist/chunks/{app-gxs71cxp.js → reference-gxs71cxp.js} +1 -1
- package/dist/chunks/reference-gytv1yy4.js +26 -0
- package/dist/chunks/{app-3erdzsm5.js → reference-h0sqfhxy.js} +50 -50
- package/dist/chunks/{app-1f6wc9pb.js → reference-h83nrb4v.js} +7 -7
- package/dist/chunks/{app-yhhkh6aw.js → reference-hf54tcy3.js} +11 -11
- package/dist/chunks/{app-hgzwgvze.js → reference-hgzwgvze.js} +2 -2
- package/dist/chunks/{app-es48y8zb.js → reference-hh1bncry.js} +29 -29
- package/dist/chunks/{app-hj0xet7m.js → reference-hj0xet7m.js} +2 -2
- package/dist/chunks/{app-k1v0gnv1.js → reference-hk3y1mfk.js} +13 -13
- package/dist/chunks/{app-faw8jez5.js → reference-hn5aq7fc.js} +25 -25
- package/dist/chunks/{app-bfpzgz6w.js → reference-hty9eptx.js} +5 -5
- package/dist/chunks/{app-0n37z8fa.js → reference-hvaz0f14.js} +30 -30
- package/dist/chunks/{app-0q4ygg3k.js → reference-hxxrf92k.js} +7 -7
- package/dist/chunks/{app-twghvwpe.js → reference-hze8chsk.js} +11 -11
- package/dist/chunks/{app-625axahf.js → reference-j7km1s7q.js} +7 -7
- package/dist/chunks/{app-ze75qvmd.js → reference-j9nxzz3g.js} +3 -3
- package/dist/chunks/{app-z0dn1p3b.js → reference-j9wsckqw.js} +4 -4
- package/dist/chunks/{app-7xhhpq6k.js → reference-jc4hddva.js} +8 -8
- package/dist/chunks/{app-1v2g13eq.js → reference-jcz74541.js} +6 -6
- package/dist/chunks/{app-9kqew2hp.js → reference-jd854n9h.js} +35 -35
- package/dist/chunks/{app-50s5b1q5.js → reference-jgfn7qyr.js} +24 -24
- package/dist/chunks/{app-tr8x705m.js → reference-jht64jd1.js} +4 -4
- package/dist/chunks/{app-pmtjj8dd.js → reference-jja1z2vg.js} +8 -8
- package/dist/chunks/{app-jm70asfg.js → reference-jm70asfg.js} +1 -1
- package/dist/chunks/{app-gxstn5bh.js → reference-jyjn8g0g.js} +6 -6
- package/dist/chunks/{app-8nh9m173.js → reference-k1tsppx9.js} +18 -18
- package/dist/chunks/{app-42r1s2k0.js → reference-k79ts4c4.js} +13 -13
- package/dist/chunks/{app-dr34tymh.js → reference-k8ym5mz8.js} +15 -15
- package/dist/chunks/{app-7qzetcpd.js → reference-kmdfewpn.js} +10 -10
- package/dist/chunks/{app-kt3bjfbg.js → reference-kt3bjfbg.js} +1 -1
- package/dist/chunks/{app-ptwm6tx9.js → reference-kx167wjf.js} +17 -17
- package/dist/chunks/{app-enaxfrgc.js → reference-kxd8t73g.js} +41 -41
- package/dist/chunks/{app-rcbjwvze.js → reference-ky596kc3.js} +4 -4
- package/dist/chunks/{app-4079f73p.js → reference-kyarcgap.js} +37 -37
- package/dist/chunks/{app-kzczzf4v.js → reference-kzczzf4v.js} +1 -1
- package/dist/chunks/{app-m1714858.js → reference-m1714858.js} +1 -1
- package/dist/chunks/{app-735v3pxn.js → reference-m625wzge.js} +24 -24
- package/dist/chunks/reference-m6cfdtf3.js +16 -0
- package/dist/chunks/{app-m90tx7mw.js → reference-m90tx7mw.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-mb7mbhnz.js → reference-mb7mbhnz.js} +3 -3
- package/dist/chunks/{app-m0pckdyb.js → reference-mbpn787b.js} +16 -16
- package/dist/chunks/{app-q963thn8.js → reference-mcbq1bax.js} +4 -4
- package/dist/chunks/{app-sbzezcpx.js → reference-mkxevfrg.js} +4 -4
- package/dist/chunks/{app-mwnxvxbk.js → reference-mwnxvxbk.js} +1 -1
- package/dist/chunks/{app-b6sat52w.js → reference-n1g6vy3k.js} +3 -3
- package/dist/chunks/{app-qzggkds8.js → reference-n2jw42fy.js} +30 -30
- package/dist/chunks/{app-cjqsf6bw.js → reference-nd2qx06s.js} +9 -9
- package/dist/chunks/{app-ygp1k3t4.js → reference-nds6v727.js} +4 -4
- package/dist/chunks/{app-e5dst17p.js → reference-ne8km3tq.js} +55 -55
- package/dist/chunks/{app-09dn9t9r.js → reference-nj35chds.js} +10 -10
- package/dist/chunks/{app-g9e3kgq6.js → reference-njyb0yar.js} +11 -11
- package/dist/chunks/{app-zysxbxh3.js → reference-nkq0r34s.js} +7 -7
- package/dist/chunks/{app-nsrvxy6e.js → reference-nn5tx5gq.js} +10 -10
- package/dist/chunks/{app-dsp72m8j.js → reference-ns5mzj5n.js} +9 -9
- package/dist/chunks/{app-ctghw4hb.js → reference-nw59ky66.js} +10 -10
- package/dist/chunks/{app-zrbszj5w.js → reference-p315n7wk.js} +1 -1
- package/dist/chunks/{app-6q0spbws.js → reference-p3pff46z.js} +2 -2
- package/dist/chunks/{app-0wx31zef.js → reference-p5tk1xdz.js} +9 -9
- package/dist/chunks/{app-xkq365q2.js → reference-p6btpwxy.js} +35 -35
- package/dist/chunks/{app-3w524gp2.js → reference-pg4h2v2x.js} +34 -34
- package/dist/chunks/{app-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{app-hfajz7sw.js → reference-ptst5q5b.js} +9 -9
- package/dist/chunks/{app-28kz7qz4.js → reference-pwn7s42w.js} +7 -7
- package/dist/chunks/{app-aheatdmh.js → reference-px11kq8x.js} +15 -15
- package/dist/chunks/{app-s79v6bct.js → reference-px7qpgcn.js} +4 -4
- package/dist/chunks/{app-74bqwk0w.js → reference-pz2rpg56.js} +19 -19
- package/dist/chunks/{app-f2zjpyt5.js → reference-q5bk3gvt.js} +5 -5
- package/dist/chunks/{app-x53vnvay.js → reference-q8efd4h8.js} +15 -15
- package/dist/chunks/{app-nac3z01w.js → reference-qberbke4.js} +19 -19
- package/dist/chunks/{app-fmjsjtqm.js → reference-qffk4v12.js} +4 -4
- package/dist/chunks/{app-kj9n5bvh.js → reference-qfz6bxfd.js} +4 -4
- package/dist/chunks/{app-y8yvvwvq.js → reference-qj7h0xhd.js} +29 -29
- package/dist/chunks/{app-bxa700c2.js → reference-qn1s2xtg.js} +28 -28
- package/dist/chunks/{app-qp7r0hxv.js → reference-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-9jahc3gn.js → reference-qt06qqgg.js} +15 -15
- package/dist/chunks/{app-xw8fecae.js → reference-r3dyarc0.js} +18 -18
- package/dist/chunks/{app-tfdmcrnk.js → reference-r688a1py.js} +26 -26
- package/dist/chunks/{app-9ttyq9xh.js → reference-r8ap5qmt.js} +31 -31
- package/dist/chunks/{app-e2nrqgcx.js → reference-r93s3fj9.js} +23 -23
- package/dist/chunks/{app-7mrx0efj.js → reference-ras62pb2.js} +5 -5
- package/dist/chunks/{app-4memcdqc.js → reference-raztesy5.js} +17 -17
- package/dist/chunks/{app-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-rgc9cx3e.js → reference-rgc9cx3e.js} +2 -2
- package/dist/chunks/{app-7c4b50qb.js → reference-rhnyjarm.js} +12 -12
- package/dist/chunks/{app-ckn0kvtp.js → reference-rkd48pdt.js} +6 -6
- package/dist/chunks/{app-xgxp02tx.js → reference-rmq68yqt.js} +3 -3
- package/dist/chunks/{app-g4cg0jb2.js → reference-rn81edrx.js} +6 -6
- package/dist/chunks/{app-67wwskyb.js → reference-rt5qjrvj.js} +4 -4
- package/dist/chunks/{app-xatc8hq4.js → reference-rwdjy60w.js} +9 -9
- package/dist/chunks/{app-ykx2t3j1.js → reference-s0ygqa02.js} +15 -15
- package/dist/chunks/{app-9x4w6e37.js → reference-s3hzycef.js} +3 -3
- package/dist/chunks/{app-s47rahr7.js → reference-s47rahr7.js} +1 -1
- package/dist/chunks/{app-4kga4xxa.js → reference-s5hc8crh.js} +22 -22
- package/dist/chunks/{app-74gv5g7n.js → reference-s95kd71e.js} +3 -3
- package/dist/chunks/{app-sbya78hr.js → reference-sbya78hr.js} +1 -1
- package/dist/chunks/{app-0yt7qfan.js → reference-sg9qvcf7.js} +16 -16
- package/dist/chunks/{app-z243ybe9.js → reference-shr5j6fv.js} +18 -18
- package/dist/chunks/{app-5s00fg7y.js → reference-sk5qsbcw.js} +5 -5
- package/dist/chunks/{app-svcy3p9a.js → reference-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-n8nw9hqk.js → reference-t4bagt3j.js} +28 -28
- package/dist/chunks/{app-scmk72rv.js → reference-t8erkws8.js} +5 -5
- package/dist/chunks/{app-e04erymp.js → reference-ta557hq4.js} +21 -21
- package/dist/chunks/{app-tbpn7jtk.js → reference-tbpn7jtk.js} +1 -1
- package/dist/chunks/{app-4jwgj074.js → reference-tc0dkx12.js} +81 -81
- package/dist/chunks/{app-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-zh8sfh29.js → reference-tersd549.js} +21 -21
- package/dist/chunks/{app-rwmyjw40.js → reference-tnqch5a7.js} +15 -15
- package/dist/chunks/{app-b26ddj6h.js → reference-tp1jb13k.js} +7 -7
- package/dist/chunks/{app-j1mrfqwt.js → reference-tvhyfeqf.js} +6 -6
- package/dist/chunks/{app-tvtps2q9.js → reference-tvtps2q9.js} +1 -1
- package/dist/chunks/{app-44pmzq9c.js → reference-twhtcdx9.js} +4 -4
- package/dist/chunks/{app-twssxy5n.js → reference-twssxy5n.js} +2 -2
- package/dist/chunks/{app-fndc768s.js → reference-tz6v41kq.js} +32 -32
- package/dist/chunks/{app-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
- package/dist/chunks/{app-x9wzcjbs.js → reference-v5pg3v9h.js} +11 -11
- package/dist/chunks/{app-kjb1xvsn.js → reference-v8mqk12g.js} +13 -13
- package/dist/chunks/{app-ffn6bn54.js → reference-vfpwj1z9.js} +22 -22
- package/dist/chunks/{app-vjf35v1f.js → reference-vjf35v1f.js} +1 -1
- package/dist/chunks/{app-e0zepttq.js → reference-vkf7jdr5.js} +10 -10
- package/dist/chunks/{app-fzsy9ndn.js → reference-vky7yb82.js} +18 -18
- package/dist/chunks/{app-4atz2jbc.js → reference-vne9161z.js} +3 -3
- package/dist/chunks/{app-fe1p0jex.js → reference-vrcqvppy.js} +3 -3
- package/dist/chunks/{app-gjwc87xs.js → reference-w37kx9ey.js} +14 -14
- package/dist/chunks/{app-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-hvwc7xt2.js → reference-w5303trh.js} +5 -5
- package/dist/chunks/{app-2kg89srt.js → reference-w79nt68w.js} +4 -4
- package/dist/chunks/{app-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{app-wegkxhrn.js → reference-wegkxhrn.js} +2 -2
- package/dist/chunks/{app-vsf147qc.js → reference-wm71t73q.js} +7 -7
- package/dist/chunks/{app-w687dnns.js → reference-wr3re1en.js} +4 -4
- package/dist/chunks/{app-1k8ft69k.js → reference-wvn014fh.js} +36 -36
- package/dist/chunks/{app-ek8gjwfh.js → reference-wwwafkx4.js} +9 -9
- package/dist/chunks/{app-s4kyhetj.js → reference-wyrr125q.js} +6 -6
- package/dist/chunks/{app-wy44f1hc.js → reference-x0atgr6t.js} +24 -24
- package/dist/chunks/{app-wce61sd1.js → reference-x334e86p.js} +9 -9
- package/dist/chunks/{app-kspj1mw9.js → reference-x99rj23t.js} +5 -5
- package/dist/chunks/{app-xacrkbdt.js → reference-xacrkbdt.js} +1 -1
- package/dist/chunks/{app-4kkyttm2.js → reference-xb29rgj5.js} +9 -9
- package/dist/chunks/{app-chdbb7vb.js → reference-xd4hy0hz.js} +25 -25
- package/dist/chunks/{app-bkk47srm.js → reference-xeejg63p.js} +3 -3
- package/dist/chunks/{app-tkcme4h8.js → reference-xnmsq12f.js} +9 -9
- package/dist/chunks/{app-1xd6f24x.js → reference-xpwer43m.js} +14 -14
- package/dist/chunks/{app-g903rh98.js → reference-xv84ez3t.js} +10 -10
- package/dist/chunks/{app-xvn8mnch.js → reference-xvn8mnch.js} +1 -1
- package/dist/chunks/{app-xjr6c8m4.js → reference-xxschbft.js} +4 -4
- package/dist/chunks/{app-xz07m27x.js → reference-xz07m27x.js} +2 -2
- package/dist/chunks/{app-2t8gnrpp.js → reference-y2varjre.js} +9 -9
- package/dist/chunks/{app-md5se987.js → reference-y3zgrqjt.js} +20 -20
- package/dist/chunks/{app-tcv02c8z.js → reference-y92tkm2s.js} +25 -25
- package/dist/chunks/{app-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-4dgqrgn1.js → reference-yhjem5gc.js} +38 -38
- package/dist/chunks/{app-scvkc8dk.js → reference-ym845wmg.js} +10 -10
- package/dist/chunks/{app-bbkjcv9d.js → reference-yn3b7pm8.js} +3 -3
- package/dist/chunks/{app-yr705xyq.js → reference-yr705xyq.js} +1 -1
- package/dist/chunks/{app-ztmds42j.js → reference-ytfr5x0q.js} +5 -5
- package/dist/chunks/{app-yvtc2x31.js → reference-yvtc2x31.js} +1 -1
- package/dist/chunks/{app-z0wbgq7s.js → reference-z0wbgq7s.js} +1 -1
- package/dist/chunks/{app-g3jdt0a7.js → reference-z2tnev7z.js} +29 -29
- package/dist/chunks/{app-928dsdmw.js → reference-zgbghj0q.js} +16 -16
- package/dist/chunks/{app-vzqpzn6v.js → reference-zj8xybwn.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +151 -150
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +158 -157
- package/dist/command.js +91 -90
- package/dist/config/discovery.js +96 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +114 -113
- package/dist/config/plugin/agent.js +135 -134
- package/dist/config/plugin/command.js +250 -249
- package/dist/config/plugin/compaction.js +176 -175
- package/dist/config/plugin/compatibility.js +156 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +133 -132
- package/dist/config/plugin/image.js +132 -131
- package/dist/config/plugin/instruction.js +133 -132
- package/dist/config/plugin/location-watcher.js +132 -131
- package/dist/config/plugin/mcp.js +151 -150
- package/dist/config/plugin/policy.js +132 -131
- package/dist/config/plugin/provider.js +132 -131
- package/dist/config/plugin/reference.js +134 -133
- package/dist/config/plugin/shell.js +132 -131
- package/dist/config/plugin/skill-file.js +152 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +159 -158
- package/dist/config/plugin/snapshot.js +132 -131
- package/dist/config/plugin/source.js +136 -135
- package/dist/config/plugin/tool-output.js +133 -132
- package/dist/config/plugin/websearch.js +131 -130
- package/dist/config/plugin/worktree.js +134 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -88
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +78 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -12
- package/dist/database/drizzle/effect-sqlite/index.js +13 -12
- package/dist/database/drizzle/effect-sqlite/session.js +12 -11
- package/dist/database/drizzle/index.js +14 -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 +15 -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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +77 -76
- 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 +3 -0
- package/dist/database/sqlite.node.js +4 -1
- package/dist/database/sqlite.workerd.js +4 -0
- package/dist/database/storage-failure.js +12 -0
- package/dist/database/v1-migration.bun.js +106 -105
- package/dist/effect/app-node-builder.js +451 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- 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 +106 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +86 -85
- package/dist/file-access.js +163 -162
- package/dist/file-mutation.js +109 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +167 -166
- 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/file-watch.js +90 -89
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +259 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +114 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +119 -118
- package/dist/flag.js +137 -136
- package/dist/form.js +94 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +101 -100
- package/dist/generate.js +116 -115
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +106 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +442 -441
- package/dist/instruction-discovery.js +93 -92
- package/dist/instructions/builtins.js +102 -101
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +93 -92
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +87 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +85 -84
- package/dist/location-activity.js +188 -187
- package/dist/location-lifecycle.js +156 -155
- package/dist/location-service-map.js +100 -99
- package/dist/location-services.js +439 -438
- package/dist/location.js +101 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +162 -161
- package/dist/mcp/connection.js +105 -104
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +148 -147
- package/dist/mcp/instructions.js +189 -188
- package/dist/mcp/oauth.js +88 -87
- package/dist/mcp/pool.js +111 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +162 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +108 -107
- package/dist/model-resolver.js +114 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +94 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +161 -160
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +87 -86
- package/dist/plugin/agent.js +88 -87
- package/dist/plugin/command.js +149 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +252 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +419 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +112 -111
- package/dist/plugin/module.js +131 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +152 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +108 -107
- package/dist/plugin/provider/azure.js +135 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +136 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +119 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +150 -149
- package/dist/plugin/provider/claude-agent/instructions.js +114 -113
- package/dist/plugin/provider/claude-agent/integration.js +117 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +112 -111
- package/dist/plugin/provider/claude-agent/session.js +114 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +132 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +132 -131
- package/dist/plugin/provider/configured.js +128 -127
- package/dist/plugin/provider/credential-settings.js +89 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +111 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +113 -112
- package/dist/plugin/provider/gitlab.js +112 -111
- package/dist/plugin/provider/google-vertex.js +129 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +90 -89
- package/dist/plugin/provider/lmstudio.js +145 -144
- package/dist/plugin/provider/local.js +142 -141
- package/dist/plugin/provider/modal.js +110 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +145 -144
- package/dist/plugin/provider/openai-context-caps.js +108 -107
- package/dist/plugin/provider/openai.js +136 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +164 -163
- package/dist/plugin/provider/openrouter.js +106 -105
- package/dist/plugin/provider/poe.js +92 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +88 -87
- package/dist/plugin/provider/sap-ai-core.js +106 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +134 -133
- package/dist/plugin/provider/vllm.js +145 -144
- package/dist/plugin/provider/xai.js +106 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +243 -242
- package/dist/plugin/sdk.js +88 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +155 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +431 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +100 -99
- package/dist/plugin/vcs/hg.js +100 -99
- package/dist/plugin/verbosity.js +108 -107
- package/dist/plugin/warming.js +132 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -254
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +106 -105
- package/dist/provider.js +108 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -109
- package/dist/reference/instructions.js +101 -100
- package/dist/reference.js +104 -103
- package/dist/repository-cache.js +92 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +112 -111
- package/dist/rpc.js +100 -99
- package/dist/schedule/check.js +257 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +271 -270
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -133
- package/dist/session/command.js +86 -85
- package/dist/session/compaction.js +172 -171
- package/dist/session/context.js +209 -208
- package/dist/session/diff.js +102 -101
- 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 +275 -274
- package/dist/session/execution/subagent-report.js +146 -145
- package/dist/session/execution.js +173 -172
- package/dist/session/generate.js +209 -208
- package/dist/session/history.js +142 -141
- package/dist/session/inbox.js +151 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -87
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +143 -142
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -171
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +175 -174
- package/dist/session/projector.js +149 -148
- package/dist/session/prompt.js +154 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +145 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +264 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +116 -115
- package/dist/session/runner/publish-llm-event.js +156 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +169 -168
- package/dist/session/runner/to-llm-message.js +143 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +195 -194
- package/dist/session/shell.js +150 -149
- package/dist/session/skill.js +153 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -85
- package/dist/session/store.js +148 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +168 -167
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +213 -212
- package/dist/session/to-session-error.js +155 -154
- package/dist/session/transfer.js +261 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +252 -251
- package/dist/shared-cache.js +5 -5
- 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 +11 -11
- package/dist/shell.js +152 -151
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +155 -154
- package/dist/skill.js +160 -159
- package/dist/snapshot.js +105 -104
- 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 +188 -187
- package/dist/tool/plugin/artifact.js +247 -246
- package/dist/tool/plugin/edit.js +171 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +177 -176
- package/dist/tool/plugin/grep.js +174 -173
- package/dist/tool/plugin/image-generate.js +258 -257
- package/dist/tool/plugin/mcp-events.js +169 -168
- package/dist/tool/plugin/mcp-resource.js +173 -172
- package/dist/tool/plugin/opencode.js +169 -168
- package/dist/tool/plugin/patch.js +172 -171
- package/dist/tool/plugin/question.js +150 -149
- package/dist/tool/plugin/read.js +178 -177
- package/dist/tool/plugin/schedule.js +263 -262
- package/dist/tool/plugin/shell.js +252 -251
- package/dist/tool/plugin/skill.js +161 -160
- package/dist/tool/plugin/subagent.js +252 -251
- package/dist/tool/plugin/todo.js +159 -158
- package/dist/tool/plugin/webfetch.js +161 -160
- package/dist/tool/plugin/websearch.js +159 -158
- package/dist/tool/plugin/write.js +168 -167
- package/dist/tool/read-filesystem.js +115 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +110 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +168 -167
- package/dist/types/database/sqlite.bun.d.ts +1 -0
- package/dist/types/database/sqlite.node.d.ts +1 -0
- package/dist/types/database/sqlite.workerd.d.ts +1 -0
- package/dist/types/database/storage-failure.d.ts +9 -0
- package/dist/usage-limits.js +97 -96
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +107 -106
- package/dist/v1/config/permission.js +3 -3
- 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 +106 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -100
- package/dist/voice.js +98 -97
- package/dist/websearch.js +92 -91
- package/dist/wellknown/plugin.js +88 -87
- package/dist/wellknown.js +89 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +94 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +103 -102
- package/dist/worktree.js +108 -107
- package/package.json +8 -8
- package/dist/chunks/app-aqczazaa.js +0 -16
- package/dist/chunks/app-b5x87b7y.js +0 -273
- package/dist/chunks/app-m62510k4.js +0 -26
- package/dist/chunks/app-pw6xa0kf.js +0 -35
- package/dist/chunks/app-z7bdqmx5.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kah00gy.js → reference-1kah00gy.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4qk9sjk2.js → reference-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → reference-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6agm2x70.js → reference-6agm2x70.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-7rvsyqjv.js → reference-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9ceax7yg.js → reference-9ceax7yg.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-ade8csyh.js → reference-ade8csyh.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → reference-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → reference-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-ean2d8b5.js → reference-ean2d8b5.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → reference-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → reference-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-nh4v3znn.js → reference-nh4v3znn.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → reference-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-syrav9an.js → reference-syrav9an.js} +0 -0
- /package/dist/chunks/{app-t03h4f5z.js → reference-t03h4f5z.js} +0 -0
- /package/dist/chunks/{app-ty7weeps.js → reference-ty7weeps.js} +0 -0
- /package/dist/chunks/{app-v2dnd5dt.js → reference-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-vtarvj67.js → reference-vtarvj67.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x4th4bpe.js → reference-x4th4bpe.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → reference-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zxpyjp51.js → reference-zxpyjp51.js} +0 -0
- /package/dist/chunks/{app-zz5vv3aq.js → reference-zz5vv3aq.js} +0 -0
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-1ah6h1c8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service89,
|
|
7
|
+
node91
|
|
8
|
+
} from "./reference-faeaqd3n.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
12
|
Service82,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node83
|
|
14
|
+
} from "./reference-f561ag7y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID13,
|
|
17
|
+
Service66,
|
|
18
|
+
node67
|
|
19
|
+
} from "./reference-4ppd04am.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./reference-wyrr125q.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./reference-q5bk3gvt.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-5cqcj65p.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service64,
|
|
31
|
+
node65
|
|
32
|
+
} from "./reference-a69vsmja.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./reference-5kvw8a0x.js";
|
|
36
36
|
import {
|
|
37
37
|
make25
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./reference-ytfr5x0q.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service49,
|
|
41
|
+
node51
|
|
42
|
+
} from "./reference-r93s3fj9.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service35,
|
|
45
|
+
node39
|
|
46
|
+
} from "./reference-3raywgqr.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service56,
|
|
49
|
+
node57
|
|
50
|
+
} from "./reference-ta557hq4.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service45,
|
|
53
|
+
node48
|
|
54
|
+
} from "./reference-b90wsfgm.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./
|
|
56
|
+
Service41,
|
|
57
|
+
node44
|
|
58
|
+
} from "./reference-1sxy957q.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./
|
|
60
|
+
Service38,
|
|
61
|
+
node42
|
|
62
|
+
} from "./reference-2qq9re5v.js";
|
|
63
63
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
64
|
+
Service32,
|
|
65
|
+
node35
|
|
66
|
+
} from "./reference-px11kq8x.js";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service40,
|
|
69
|
+
node43
|
|
70
|
+
} from "./reference-77gyrf4e.js";
|
|
71
71
|
import {
|
|
72
72
|
Service34,
|
|
73
|
-
node37
|
|
74
|
-
} from "./app-tkcme4h8.js";
|
|
75
|
-
import {
|
|
76
|
-
Service35,
|
|
77
73
|
node38
|
|
78
|
-
} from "./
|
|
74
|
+
} from "./reference-xnmsq12f.js";
|
|
75
|
+
import {
|
|
76
|
+
Service36,
|
|
77
|
+
node40
|
|
78
|
+
} from "./reference-hh1bncry.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./reference-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service31,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node34
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service31 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
94
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service66;
|
|
96
|
+
const builtins = yield* Service35;
|
|
97
97
|
const model = yield* Service82;
|
|
98
98
|
const db = (yield* Service94).db;
|
|
99
|
-
const discovery = yield*
|
|
99
|
+
const discovery = yield* Service49;
|
|
100
100
|
const entries = yield* Service34;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
101
|
+
const location = yield* Service89;
|
|
102
|
+
const mcpInstructions = yield* Service38;
|
|
103
|
+
const mcpTools = yield* Service41;
|
|
104
|
+
const models = yield* Service56;
|
|
105
|
+
const request = yield* Service36;
|
|
106
|
+
const referenceInstructions = yield* Service32;
|
|
107
|
+
const skillInstructions = yield* Service40;
|
|
108
|
+
const store = yield* Service64;
|
|
109
|
+
const registry = yield* Service45;
|
|
110
110
|
const resolveModel = (session, request) => models.resolve(session, model.available, request);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID13.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session, { kind: "title", agent: agent.id }).pipe(Effect.orElseSucceed(() => {
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service31.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node34 = makeLocationNode({
|
|
203
|
+
service: Service31,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
node67,
|
|
207
|
+
node83,
|
|
208
208
|
node96,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
node37,
|
|
212
|
-
node88,
|
|
213
|
-
node40,
|
|
214
|
-
node43,
|
|
215
|
-
node34,
|
|
216
|
-
node73,
|
|
209
|
+
node39,
|
|
210
|
+
node51,
|
|
217
211
|
node38,
|
|
218
|
-
|
|
212
|
+
node91,
|
|
219
213
|
node42,
|
|
220
|
-
|
|
214
|
+
node44,
|
|
215
|
+
node35,
|
|
216
|
+
node57,
|
|
217
|
+
node40,
|
|
218
|
+
node65,
|
|
219
|
+
node43,
|
|
220
|
+
node48
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service31, node34, exports_context };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./reference-cthcgjcr.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-xvn8mnch.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
Service84,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
node85,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./reference-zgbghj0q.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service89,
|
|
20
|
+
node91
|
|
21
|
+
} from "./reference-faeaqd3n.js";
|
|
22
22
|
import {
|
|
23
23
|
AISDK_PREFIX2,
|
|
24
24
|
isAISDK2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
mergeOverlay2,
|
|
28
28
|
mergeHeaders2,
|
|
29
29
|
rewrite2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-m90tx7mw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/provider.ts
|
|
36
36
|
var exports_provider5 = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_provider5, {
|
|
|
40
40
|
Compaction: () => Compaction3,
|
|
41
41
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
42
42
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
43
|
-
Event: () =>
|
|
43
|
+
Event: () => Event17,
|
|
44
44
|
ID: () => ID16,
|
|
45
45
|
Info: () => Info24,
|
|
46
46
|
LoadError: () => LoadError3,
|
|
@@ -58,7 +58,7 @@ __export(exports_provider5, {
|
|
|
58
58
|
mergeOverlay: () => mergeOverlay2,
|
|
59
59
|
modelSettings: () => modelSettings2,
|
|
60
60
|
nativeSettings: () => nativeSettings2,
|
|
61
|
-
node: () =>
|
|
61
|
+
node: () => node84,
|
|
62
62
|
packageName: () => packageName2,
|
|
63
63
|
timeout: () => timeout2,
|
|
64
64
|
timeouts: () => timeouts2,
|
|
@@ -72,7 +72,7 @@ import { HttpTimeout } from "@opencode/ai/effect";
|
|
|
72
72
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
73
73
|
import { Credential } from "@opencode/schema/credential";
|
|
74
74
|
import { freeze } from "immer";
|
|
75
|
-
import { Event as
|
|
75
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
76
76
|
var ID16 = Provider.ID;
|
|
77
77
|
|
|
78
78
|
class LoadError3 extends Schema.TaggedError()("Provider.LoadError", {
|
|
@@ -328,9 +328,9 @@ function index(providerID, models) {
|
|
|
328
328
|
return result;
|
|
329
329
|
}
|
|
330
330
|
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
331
|
-
const bus = yield*
|
|
331
|
+
const bus = yield* Service92;
|
|
332
332
|
const integrations = yield* Service84;
|
|
333
|
-
const location = yield*
|
|
333
|
+
const location = yield* Service89;
|
|
334
334
|
const state = create4({
|
|
335
335
|
name: "provider",
|
|
336
336
|
initial: () => new Map,
|
|
@@ -450,7 +450,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
450
450
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
451
451
|
});
|
|
452
452
|
});
|
|
453
|
-
yield* bus.subscribe([
|
|
453
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
454
454
|
return Service83.of({
|
|
455
455
|
transform: state.transform,
|
|
456
456
|
reload: state.reload,
|
|
@@ -460,7 +460,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
460
460
|
snapshot
|
|
461
461
|
});
|
|
462
462
|
}));
|
|
463
|
-
var
|
|
463
|
+
var node84 = makeLocationNode({ service: Service83, layer, deps: [node94, node85, node91] });
|
|
464
464
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
465
465
|
const module = yield* Effect.tryPromise({
|
|
466
466
|
try: () => {
|
|
@@ -482,4 +482,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
482
482
|
return module;
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
export { ID16, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, tls2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service83,
|
|
485
|
+
export { ID16, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, tls2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service83, node84, exports_provider5, Event17 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeFiles2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-rgc9cx3e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeLocalDriver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service87
|
|
9
|
+
} from "./reference-y3zgrqjt.js";
|
|
10
10
|
import {
|
|
11
11
|
fingerprint2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-6es1dp4c.js";
|
|
13
13
|
import {
|
|
14
14
|
make27
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-6pnr6kvt.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/mcp/pool.ts
|
|
21
21
|
var exports_pool = {};
|
|
22
22
|
__export(exports_pool, {
|
|
23
23
|
McpPool: () => exports_pool,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service43,
|
|
25
25
|
key: () => key2,
|
|
26
26
|
layer: () => layer19,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node46
|
|
28
28
|
});
|
|
29
29
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -32,7 +32,7 @@ import { httpFetch } from "@opencode/util/effect/app-node-platform";
|
|
|
32
32
|
import { Cause, Context, Deferred, Effect, Exit, Fiber, FiberSet, Layer, Scope, Semaphore } from "effect";
|
|
33
33
|
import { FetchHttpClient } from "effect/http";
|
|
34
34
|
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
|
|
35
|
-
class
|
|
35
|
+
class Service43 extends Context.Service()("@opencode/McpPool") {
|
|
36
36
|
}
|
|
37
37
|
var key2 = (input) => {
|
|
38
38
|
const config = input.config;
|
|
@@ -61,11 +61,11 @@ function fingerprint(secret) {
|
|
|
61
61
|
return null;
|
|
62
62
|
return fingerprint2(typeof secret === "string" ? secret : JSON.stringify(Object.entries(secret).toSorted(([a], [b]) => a.localeCompare(b))));
|
|
63
63
|
}
|
|
64
|
-
var layer19 = Layer.effect(
|
|
64
|
+
var layer19 = Layer.effect(Service43, Effect.gen(function* () {
|
|
65
65
|
const scope = yield* Effect.scope;
|
|
66
66
|
const run = yield* FiberSet.makeRuntime();
|
|
67
67
|
const driver = makeLocalDriver2(yield* ChildProcessSpawner);
|
|
68
|
-
const host =
|
|
68
|
+
const host = Service87.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
70
70
|
const slots = new Map;
|
|
71
71
|
const unpoolable = new Set;
|
|
@@ -270,8 +270,8 @@ var layer19 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
270
270
|
catalog: (client) => live().catalog(client)
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
|
-
return
|
|
273
|
+
return Service43.of({ connection });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
275
|
+
var node46 = makeGlobalNode({ service: Service43, layer: layer19, deps: [CrossSpawnSpawner.node, httpFetch] });
|
|
276
276
|
|
|
277
|
-
export {
|
|
277
|
+
export { Service43, key2, layer19, node46, exports_pool };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-x4th4bpe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./reference-jht64jd1.js";
|
|
7
7
|
import {
|
|
8
8
|
create2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-twhtcdx9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/claude/io.ts
|
|
15
15
|
var exports_io = {};
|
|
@@ -21,12 +21,12 @@ var real2 = {
|
|
|
21
21
|
which: () => process.env.OPENCODE_CLAUDE_PATH || which2("claude") || undefined,
|
|
22
22
|
env: () => process.env,
|
|
23
23
|
sessionExists: async (sessionID) => {
|
|
24
|
-
const { getSessionInfo } = await
|
|
24
|
+
const { getSessionInfo } = await load4();
|
|
25
25
|
return await getSessionInfo(sessionID) !== undefined;
|
|
26
26
|
},
|
|
27
27
|
fork: create2,
|
|
28
28
|
remove: async (sessionID) => {
|
|
29
|
-
const { deleteSession } = await
|
|
29
|
+
const { deleteSession } = await load4();
|
|
30
30
|
await deleteSession(sessionID);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER2,
|
|
3
3
|
FORK_HEADER2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-9q871ccp.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/session.ts
|
|
13
13
|
var exports_session2 = {};
|
|
14
14
|
__export(exports_session2, {
|
|
15
15
|
ClaudeSessionHooks: () => exports_session2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register6
|
|
17
17
|
});
|
|
18
18
|
import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
|
|
|
28
28
|
};
|
|
29
29
|
return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
|
|
30
30
|
};
|
|
31
|
-
var
|
|
31
|
+
var register6 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
|
|
33
33
|
event.headers[HEADER2] = event.kind;
|
|
34
34
|
if (event.kind !== "primary")
|
|
@@ -53,4 +53,4 @@ var register4 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
|
53
53
|
}), { providerID: ID3 });
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { register6, exports_session2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
load4
|
|
3
|
+
} from "./reference-jht64jd1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/fork.ts
|
|
9
9
|
var exports_fork = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_fork, {
|
|
|
12
12
|
create: () => create2
|
|
13
13
|
});
|
|
14
14
|
async function create2(sessionID, messageID) {
|
|
15
|
-
const { deleteSession, forkSession, getSessionMessages } = await
|
|
15
|
+
const { deleteSession, forkSession, getSessionMessages } = await load4();
|
|
16
16
|
const source = await getSessionMessages(sessionID);
|
|
17
17
|
const end = source.findIndex((message) => message.uuid === messageID);
|
|
18
18
|
if (end < 0)
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./reference-faeaqd3n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service87
|
|
9
|
+
} from "./reference-y3zgrqjt.js";
|
|
10
10
|
import {
|
|
11
11
|
InvalidGlobError2,
|
|
12
12
|
InvalidPatternError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./reference-29kgfcs4.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_SEARCH_LIMIT2,
|
|
17
17
|
GrepInput2,
|
|
18
18
|
Entry2,
|
|
19
19
|
Match2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-895rbha0.js";
|
|
21
21
|
import {
|
|
22
22
|
invocation2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service62
|
|
24
|
+
} from "./reference-5kvw8a0x.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service22
|
|
27
|
+
} from "./reference-xd4hy0hz.js";
|
|
28
28
|
import {
|
|
29
29
|
pathType2,
|
|
30
30
|
bounded2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-n1g6vy3k.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./reference-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/grep.ts
|
|
37
37
|
var exports_grep = {};
|
|
38
38
|
__export(exports_grep, {
|
|
39
39
|
GrepTool: () => exports_grep,
|
|
40
|
-
Input: () =>
|
|
41
|
-
Output: () =>
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
40
|
+
Input: () => Input8,
|
|
41
|
+
Output: () => Output6,
|
|
42
|
+
Plugin: () => Plugin47,
|
|
43
|
+
name: () => name8,
|
|
44
44
|
toModelContent: () => toModelContent2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import path from "path";
|
|
49
|
-
var
|
|
50
|
-
var
|
|
49
|
+
var name8 = "grep";
|
|
50
|
+
var Input8 = Schema.Struct({
|
|
51
51
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
52
52
|
description: "Regular expression or literal text to match in file contents."
|
|
53
53
|
}),
|
|
@@ -67,7 +67,7 @@ var Input5 = Schema.Struct({
|
|
|
67
67
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var
|
|
70
|
+
var Output6 = Schema.Array(Match2);
|
|
71
71
|
var toModelContent2 = (matches, truncated = false) => {
|
|
72
72
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
73
73
|
let current = "";
|
|
@@ -85,25 +85,25 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
85
85
|
return lines.join(`
|
|
86
86
|
`);
|
|
87
87
|
};
|
|
88
|
-
var
|
|
88
|
+
var Plugin47 = {
|
|
89
89
|
id: "opencode.tool.grep",
|
|
90
90
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
91
|
-
const environment = yield*
|
|
92
|
-
const ripgrep = yield*
|
|
93
|
-
const location = yield*
|
|
94
|
-
const access = yield*
|
|
95
|
-
const permission = yield*
|
|
91
|
+
const environment = yield* Service87;
|
|
92
|
+
const ripgrep = yield* Service72;
|
|
93
|
+
const location = yield* Service89;
|
|
94
|
+
const access = yield* Service22;
|
|
95
|
+
const permission = yield* Service62;
|
|
96
96
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
97
|
-
name:
|
|
97
|
+
name: name8,
|
|
98
98
|
options: { codemode: false },
|
|
99
99
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
100
|
-
input:
|
|
101
|
-
output:
|
|
100
|
+
input: Input8,
|
|
101
|
+
output: Output6,
|
|
102
102
|
execute: (input, context) => Effect.gen(function* () {
|
|
103
103
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
104
104
|
yield* access.authorizeExternal([target], context);
|
|
105
105
|
yield* permission.assert({
|
|
106
|
-
action:
|
|
106
|
+
action: name8,
|
|
107
107
|
resources: [input.pattern],
|
|
108
108
|
save: ["*"],
|
|
109
109
|
metadata: {
|
|
@@ -158,4 +158,4 @@ var Plugin43 = {
|
|
|
158
158
|
})
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { name8, Input8, Output6, toModelContent2, Plugin47, exports_grep };
|