@opencode/core 0.0.0-dev-236 → 0.0.0-dev-248
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 +92 -92
- package/dist/aisdk-native.js +100 -100
- package/dist/aisdk.js +106 -106
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -78
- package/dist/chunks/{form-aj7mw0zk.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{form-0pzggwk2.js → image-04dwygev.js} +28 -28
- package/dist/chunks/{form-a66tgrbp.js → image-0hq318p0.js} +21 -21
- package/dist/chunks/{form-5s3wzs2b.js → image-0tdbgf6t.js} +6 -6
- package/dist/chunks/{form-sdft4pf2.js → image-0v1smhm7.js} +57 -57
- package/dist/chunks/{form-ratsm3et.js → image-10gwmmpt.js} +20 -20
- package/dist/chunks/{form-8jztxfpf.js → image-11hfp36g.js} +4 -4
- package/dist/chunks/{form-9qg9k9gh.js → image-1bf8edtk.js} +17 -17
- package/dist/chunks/{form-27w5k9zf.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-57pn975y.js → image-1sd3wnkk.js} +10 -10
- package/dist/chunks/{form-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{form-5zrxpy3q.js → image-1yq9hg58.js} +5 -5
- package/dist/chunks/{form-4j02pyve.js → image-1z3wvqve.js} +9 -9
- package/dist/chunks/{form-204s3925.js → image-204s3925.js} +1 -1
- package/dist/chunks/{form-0zh0yqdd.js → image-20pjvqtm.js} +12 -12
- package/dist/chunks/{form-b0tt7fbs.js → image-25f6p34y.js} +17 -17
- package/dist/chunks/{form-8b3vzgkx.js → image-25h84942.js} +4 -4
- package/dist/chunks/{form-26x8chrq.js → image-26x8chrq.js} +3 -3
- package/dist/chunks/{form-xty73vjp.js → image-28yqhrns.js} +5 -5
- package/dist/chunks/{form-xkkxpaxw.js → image-2ap97v08.js} +19 -19
- package/dist/chunks/{form-2dkjcnxp.js → image-2dkjcnxp.js} +1 -1
- package/dist/chunks/{form-f952zzwb.js → image-2haa1nrw.js} +4 -4
- package/dist/chunks/{form-femntydq.js → image-2m7vd2mn.js} +25 -25
- package/dist/chunks/{form-jrqnrhvj.js → image-2skrxz14.js} +16 -16
- package/dist/chunks/{form-cram7zgt.js → image-2xwjc3g5.js} +8 -8
- package/dist/chunks/{form-81s2k8vv.js → image-32epp8e4.js} +15 -15
- package/dist/chunks/{form-0g0wwtc6.js → image-39m5thjs.js} +34 -34
- package/dist/chunks/{form-jyvqgxbr.js → image-3ajqprdg.js} +30 -30
- package/dist/chunks/{form-xbts61dy.js → image-3bks771a.js} +36 -36
- package/dist/chunks/{form-4b42mt74.js → image-3gst0kgm.js} +14 -14
- package/dist/chunks/{form-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3r13qzkr.js → image-3jrww01t.js} +49 -53
- package/dist/chunks/{form-m7q6ddj2.js → image-3kdbrncp.js} +5 -5
- package/dist/chunks/{form-7tyeehtt.js → image-3qcna5dk.js} +1 -1
- package/dist/chunks/{form-8f066r9v.js → image-3rt29ewr.js} +17 -17
- package/dist/chunks/{form-30jfg8m2.js → image-3t9dgkdy.js} +11 -11
- package/dist/chunks/{form-39w9ysaz.js → image-3w0ntz8g.js} +11 -11
- package/dist/chunks/{form-kgf7qxx3.js → image-3y081v33.js} +56 -56
- package/dist/chunks/{form-ctfjhx7j.js → image-47tv8dfp.js} +15 -15
- package/dist/chunks/{form-m0nhvpz4.js → image-4c3xmdam.js} +21 -21
- package/dist/chunks/{form-rp624dek.js → image-4eqwcsj2.js} +15 -15
- package/dist/chunks/{form-zz5ve47h.js → image-4hhk1wq5.js} +33 -33
- package/dist/chunks/{form-rb8x5f8g.js → image-4mkdw68v.js} +6 -6
- package/dist/chunks/{form-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
- package/dist/chunks/{form-ax2a2y9p.js → image-4tkxmvmj.js} +10 -10
- package/dist/chunks/{form-1fgjq5yh.js → image-4tpjns74.js} +11 -11
- package/dist/chunks/{form-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{form-ex5g5fdx.js → image-4vb4pv6c.js} +4 -4
- package/dist/chunks/{form-g39z3c3d.js → image-4x8zw6t1.js} +28 -28
- package/dist/chunks/{form-s5h6z9gv.js → image-51y3dyvd.js} +5 -5
- package/dist/chunks/{form-2daekhsq.js → image-58d281yc.js} +18 -18
- package/dist/chunks/{form-6hc3w7dx.js → image-59few21w.js} +35 -35
- package/dist/chunks/{form-tvb592mm.js → image-5cdcvw12.js} +5 -5
- package/dist/chunks/{form-r41sfy63.js → image-5enarcya.js} +9 -9
- package/dist/chunks/{form-9nbm1qb8.js → image-5f9y2yjb.js} +5 -5
- package/dist/chunks/{form-bbex01q8.js → image-5gmpzygr.js} +18 -18
- package/dist/chunks/{form-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-c7vtx2cj.js → image-5sb780hn.js} +10 -10
- package/dist/chunks/{form-rx0a7xyh.js → image-5v2ww1a5.js} +15 -15
- package/dist/chunks/{form-gcdcpnqc.js → image-5v3yzjvk.js} +22 -22
- package/dist/chunks/{form-zgg8de7g.js → image-5y4p2mbw.js} +11 -11
- package/dist/chunks/{form-ma4f8va9.js → image-67eerw5j.js} +17 -17
- package/dist/chunks/{form-2az9w9qg.js → image-67xt1syw.js} +21 -21
- package/dist/chunks/{form-6h0z5jnc.js → image-6b5m6t85.js} +13 -13
- package/dist/chunks/{form-6esdw8yj.js → image-6esdw8yj.js} +1 -1
- package/dist/chunks/{form-4vhebqs8.js → image-6khf956j.js} +23 -23
- package/dist/chunks/{form-9wfhnavn.js → image-6m42rt11.js} +48 -48
- package/dist/chunks/{form-hex344mn.js → image-6r8yaq0c.js} +11 -11
- package/dist/chunks/{form-ztqjkmb7.js → image-6v2f7dvw.js} +4 -4
- package/dist/chunks/{form-76cb1hcw.js → image-76cb1hcw.js} +1 -1
- package/dist/chunks/{form-xtk91xpy.js → image-7bcfrs2x.js} +8 -8
- package/dist/chunks/{form-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-fymf9s41.js → image-7f054j3n.js} +7 -7
- package/dist/chunks/{form-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{form-2sqgfc56.js → image-7x8d5pk9.js} +45 -45
- package/dist/chunks/{form-wz4vvgzg.js → image-7zwtd1t5.js} +20 -20
- package/dist/chunks/{form-5chyaczp.js → image-816kk8rv.js} +10 -5
- package/dist/chunks/{form-mggs55rp.js → image-86fy72ae.js} +11 -11
- package/dist/chunks/{form-rs85nywm.js → image-86g1pe6q.js} +22 -22
- package/dist/chunks/{form-j99dhamb.js → image-89embc53.js} +6 -6
- package/dist/chunks/{form-s4j0n7b9.js → image-89ycw09x.js} +24 -24
- package/dist/chunks/{form-jxb3gtw0.js → image-8b714bza.js} +8 -8
- package/dist/chunks/{form-0neff2gh.js → image-8g8ajnhh.js} +6 -6
- package/dist/chunks/{form-9c3ec48c.js → image-8gxv70g9.js} +81 -81
- package/dist/chunks/{form-g3d9y95k.js → image-8jf3czjf.js} +23 -23
- package/dist/chunks/{form-69p76eyw.js → image-8nkb1bb0.js} +34 -34
- package/dist/chunks/{form-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{form-dnmen5cb.js → image-8ykqf5wm.js} +9 -9
- package/dist/chunks/{form-mdva19h8.js → image-8zgx0mk8.js} +15 -15
- package/dist/chunks/{form-90zstvax.js → image-90zstvax.js} +1 -1
- package/dist/chunks/{form-pebfq84r.js → image-92zdzejd.js} +21 -21
- package/dist/chunks/{form-38adaqc0.js → image-9b00c1fb.js} +5 -5
- package/dist/chunks/{form-zgd8t41s.js → image-9f3sjfep.js} +9 -9
- package/dist/chunks/{form-gfnmyn48.js → image-9grvd76r.js} +8 -8
- package/dist/chunks/{form-mf20dtnm.js → image-9sqzj7jg.js} +9 -9
- package/dist/chunks/{form-j3w1x649.js → image-9vmwptcj.js} +27 -27
- package/dist/chunks/{form-y3ryyqft.js → image-9ztt5qj6.js} +3 -3
- package/dist/chunks/{form-h2xt6wet.js → image-a4ww6fpm.js} +6 -6
- package/dist/chunks/{form-57ahrrn7.js → image-a862c78z.js} +19 -19
- package/dist/chunks/{form-c4q1vm7v.js → image-ack5fry6.js} +21 -21
- package/dist/chunks/{form-5n27fd96.js → image-ag44vf4f.js} +2 -2
- package/dist/chunks/{form-812q73hy.js → image-ahzw090p.js} +22 -22
- package/dist/chunks/{form-1sw1ga6z.js → image-avce3vrt.js} +13 -13
- package/dist/chunks/{form-rhry30kd.js → image-awtxj99r.js} +6 -6
- package/dist/chunks/{form-3cbjf1nt.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{form-bq3b16qk.js → image-azte55v6.js} +2 -2
- package/dist/chunks/{form-smej90w1.js → image-b0nx2azr.js} +9 -9
- package/dist/chunks/{form-b6vsg801.js → image-b6vsg801.js} +2 -2
- package/dist/chunks/{form-0568hmfx.js → image-bdsr3j33.js} +20 -20
- package/dist/chunks/{form-5xhxj3ma.js → image-bhdy8mdp.js} +26 -26
- package/dist/chunks/{form-2dzbnn5s.js → image-bn6dytgp.js} +6 -6
- package/dist/chunks/{form-s5pg1fnt.js → image-bqdeah0e.js} +27 -27
- package/dist/chunks/{form-bstexjd6.js → image-bstexjd6.js} +1 -1
- package/dist/chunks/{form-gsw63pph.js → image-c2az2pbz.js} +45 -45
- package/dist/chunks/{form-gfdy171d.js → image-c4104nvq.js} +90 -90
- package/dist/chunks/{form-z2s36kx0.js → image-c44160y8.js} +7 -7
- package/dist/chunks/{form-2azy8kv6.js → image-c6x7d2ts.js} +4 -4
- package/dist/chunks/{form-b1pn0vxn.js → image-c9t2ty9q.js} +4 -4
- package/dist/chunks/{form-58d2k2k8.js → image-cje1pfpn.js} +32 -32
- package/dist/chunks/{form-cwrgdav8.js → image-cwrgdav8.js} +2 -2
- package/dist/chunks/{form-gn8tkhbf.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{form-cpr2q5y2.js → image-d8pnfqg9.js} +35 -35
- package/dist/chunks/{form-x0kzwhb5.js → image-de8e9e1p.js} +6 -6
- package/dist/chunks/{form-dt7r1hfc.js → image-dgy090gd.js} +5 -5
- package/dist/chunks/{form-dt77769w.js → image-dt77769w.js} +1 -1
- package/dist/chunks/{form-hz4138gk.js → image-dxw797sb.js} +11 -11
- package/dist/chunks/{form-tn4wkvja.js → image-e16ncx1j.js} +22 -22
- package/dist/chunks/{form-drvbhkez.js → image-e2ne77ac.js} +4 -4
- package/dist/chunks/{form-nm34g1pn.js → image-e4v2mgyj.js} +6 -6
- package/dist/chunks/{form-m4mdhy98.js → image-e6v5qvkg.js} +11 -11
- package/dist/chunks/{form-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{form-jynhhecs.js → image-eahpwh8e.js} +4 -4
- package/dist/chunks/{form-apejkmwr.js → image-em6jm62j.js} +5 -5
- package/dist/chunks/{form-v54nvb2h.js → image-f01y088k.js} +5 -5
- package/dist/chunks/{form-f4mscg03.js → image-f1qxk96b.js} +11 -11
- package/dist/chunks/{form-wdxw6h8d.js → image-f3d4492r.js} +13 -13
- package/dist/chunks/{form-wcr7n0w7.js → image-f9vfey2v.js} +18 -18
- package/dist/chunks/{form-1gebr7re.js → image-fe7b6z6g.js} +21 -21
- package/dist/chunks/{form-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{form-prq7xxp2.js → image-fg9p65nk.js} +6 -6
- package/dist/chunks/{form-wmsrda0h.js → image-frevgasg.js} +28 -28
- package/dist/chunks/{form-r4bcfbbz.js → image-fskffsfd.js} +16 -16
- package/dist/chunks/{form-zep4evtf.js → image-fy9mjtsj.js} +20 -20
- package/dist/chunks/{form-np3f7rt0.js → image-fypmhnps.js} +2 -2
- package/dist/chunks/{form-8kvd5mpw.js → image-fysk4shs.js} +6 -6
- package/dist/chunks/{form-wr3re1en.js → image-fznmdakp.js} +4 -4
- package/dist/chunks/{form-t08mfb53.js → image-g6car740.js} +48 -48
- package/dist/chunks/{form-hfgk9wzg.js → image-g7esga4v.js} +7 -7
- package/dist/chunks/{form-nt9wvz87.js → image-g8mt74n4.js} +25 -25
- package/dist/chunks/{form-6733gk72.js → image-gacpt71r.js} +30 -30
- package/dist/chunks/{form-4ashkr7h.js → image-gbjdk4c3.js} +27 -27
- package/dist/chunks/{form-h5jrm83f.js → image-h3pnxjmh.js} +9 -9
- package/dist/chunks/{form-t5prmbbw.js → image-h4p3pyf8.js} +6 -6
- package/dist/chunks/{form-w5znx9nn.js → image-ha1g65f2.js} +14 -14
- package/dist/chunks/{form-1wap8mvb.js → image-hcc6p5a3.js} +28 -28
- package/dist/chunks/{form-cd6xe7sj.js → image-heqea18d.js} +24 -24
- package/dist/chunks/{form-pxsvpp78.js → image-hex7e87k.js} +11 -11
- package/dist/chunks/{form-hh7kjqtw.js → image-hh7kjqtw.js} +1 -1
- package/dist/chunks/{form-37qznj3x.js → image-hmthv8g3.js} +16 -16
- package/dist/chunks/{form-20h0fae3.js → image-hp23tba8.js} +40 -40
- package/dist/chunks/{form-hpg1pkwy.js → image-hpg1pkwy.js} +1 -1
- package/dist/chunks/{form-jh74jycr.js → image-hqxkkta1.js} +3 -3
- package/dist/chunks/{form-fs9kz63c.js → image-hxh3sdms.js} +14 -14
- package/dist/chunks/{form-a2qrzhrv.js → image-j0y2j2y9.js} +12 -12
- package/dist/chunks/{form-gm7a1s2a.js → image-j1k7c27p.js} +16 -16
- package/dist/chunks/{form-e3yq7vhq.js → image-j36nge33.js} +22 -22
- package/dist/chunks/{form-0wkkkdkf.js → image-j8ypmtmr.js} +12 -12
- package/dist/chunks/{form-k302pdnh.js → image-jcqm84fr.js} +9 -9
- package/dist/chunks/{form-jfaecv01.js → image-jfaecv01.js} +1 -1
- package/dist/chunks/{form-0gbb59p9.js → image-jn88007r.js} +2 -2
- package/dist/chunks/{form-2mbjfaxd.js → image-jns4gqy7.js} +4 -4
- package/dist/chunks/{form-03jqhmmy.js → image-jqcfy5ts.js} +33 -33
- package/dist/chunks/{form-45qxjkfx.js → image-js1q3m86.js} +9 -9
- package/dist/chunks/{form-jtnps1zs.js → image-jtnps1zs.js} +2 -2
- package/dist/chunks/{form-tsdwyhx3.js → image-jy8nsvvz.js} +3 -3
- package/dist/chunks/{form-xhr3cxyj.js → image-k0cyqgb5.js} +11 -11
- package/dist/chunks/{form-9rmw0sn3.js → image-k0e45ge6.js} +14 -14
- package/dist/chunks/{form-0j3zdga0.js → image-k5jndtya.js} +1 -1
- package/dist/chunks/{form-k814nvkf.js → image-k814nvkf.js} +1 -1
- package/dist/chunks/{form-k9zkdd2y.js → image-k9zkdd2y.js} +1 -1
- package/dist/chunks/{form-p71ca3rx.js → image-kag6nkv4.js} +21 -21
- package/dist/chunks/{form-kg2n5yz1.js → image-kee8ykx2.js} +8 -8
- package/dist/chunks/{form-5w8z11at.js → image-kprvh3r4.js} +18 -18
- package/dist/chunks/{form-4er7ty69.js → image-kqjfhnyk.js} +14 -14
- package/dist/chunks/{form-swhkgwn8.js → image-kssbtbt0.js} +77 -77
- package/dist/chunks/{form-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
- package/dist/chunks/{form-cqgdxhj0.js → image-m11k789k.js} +17 -17
- package/dist/chunks/{form-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{form-nes0j92p.js → image-m409210a.js} +2 -2
- package/dist/chunks/{form-pa26emph.js → image-m4rznpxk.js} +29 -29
- package/dist/chunks/{form-75q1s5an.js → image-m528r48h.js} +4 -4
- package/dist/chunks/{form-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-8z6m94af.js → image-mb7mbhnz.js} +3 -3
- package/dist/chunks/{form-7wx5knwb.js → image-mg0htjxc.js} +25 -25
- package/dist/chunks/{form-mg356nz4.js → image-mg356nz4.js} +3 -3
- package/dist/chunks/{form-65745s09.js → image-mj7659ab.js} +24 -24
- package/dist/chunks/{form-2nm4w996.js → image-n0ekdz40.js} +40 -40
- package/dist/chunks/{form-115q1jpg.js → image-n1c40vny.js} +3 -3
- package/dist/chunks/image-n4r6va5a.js +257 -0
- package/dist/chunks/{form-65w5xxws.js → image-n8x58739.js} +11 -11
- package/dist/chunks/{form-770pw0s1.js → image-nah043kf.js} +4 -4
- package/dist/chunks/{form-0a4nha02.js → image-nhjb6w3d.js} +8 -8
- package/dist/chunks/{form-eq9kvdfm.js → image-njw1ekhc.js} +11 -11
- package/dist/chunks/{form-3mt7h3sc.js → image-ntqnj75s.js} +4 -4
- package/dist/chunks/{form-whk88kq8.js → image-nwarprta.js} +28 -28
- package/dist/chunks/{form-6dgef8zt.js → image-nz92z2sf.js} +18 -18
- package/dist/chunks/{form-p015t6z3.js → image-p015t6z3.js} +2 -2
- package/dist/chunks/{form-1naqjf9j.js → image-p087ke4f.js} +43 -43
- package/dist/chunks/{form-6v96zr1h.js → image-pd4ndcwr.js} +20 -20
- package/dist/chunks/{form-wpm462xr.js → image-pebb1b2g.js} +10 -10
- package/dist/chunks/{form-w6rf4v00.js → image-penn2v67.js} +12 -12
- package/dist/chunks/{form-z1s357w5.js → image-pf7dnjhv.js} +23 -23
- package/dist/chunks/{form-9310e8g9.js → image-pfz9gkfy.js} +11 -11
- package/dist/chunks/{form-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{form-9avx4ajz.js → image-pkx7b8zb.js} +15 -15
- package/dist/chunks/{form-6yppqcev.js → image-q0f5tnzd.js} +26 -26
- package/dist/chunks/{form-75dkjs9q.js → image-q2akw4rt.js} +28 -28
- package/dist/chunks/{form-s6pdabng.js → image-q4jmz9te.js} +25 -25
- package/dist/chunks/{form-1xnfgx4x.js → image-q4rvt96e.js} +9 -9
- package/dist/chunks/{form-cv03a796.js → image-q4zyxfy7.js} +9 -9
- package/dist/chunks/{form-bhm8f5xf.js → image-q5gscbn2.js} +3 -3
- package/dist/chunks/{form-9bcxv424.js → image-qcsh9g2y.js} +11 -11
- package/dist/chunks/{form-crdv0qyn.js → image-qeqspr7f.js} +3 -3
- package/dist/chunks/{form-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
- package/dist/chunks/{form-60v1vsga.js → image-qp7zbdnj.js} +30 -30
- package/dist/chunks/{form-2gptajwx.js → image-qqsnbxa9.js} +1 -1
- package/dist/chunks/{form-qqvy8y24.js → image-qqvy8y24.js} +1 -1
- package/dist/chunks/{form-3yrks06x.js → image-qqyrafx2.js} +7 -7
- package/dist/chunks/{form-kg4r8sy9.js → image-qsv00416.js} +32 -32
- package/dist/chunks/{form-7fz7kdv3.js → image-qy3khhnd.js} +29 -29
- package/dist/chunks/{form-800hrrsd.js → image-qz9nzpv7.js} +24 -24
- package/dist/chunks/{form-r542h3bh.js → image-r542h3bh.js} +1 -1
- package/dist/chunks/{form-g4n1wayp.js → image-ra36q08n.js} +15 -15
- package/dist/chunks/{form-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{form-7pryy4s8.js → image-rj53dkn5.js} +46 -46
- package/dist/chunks/{form-tm4pda5m.js → image-rnm2nekc.js} +5 -5
- package/dist/chunks/{form-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{form-s7kyse9r.js → image-s7kyse9r.js} +1 -1
- package/dist/chunks/{form-nsd4cwk5.js → image-s9r9y5yp.js} +15 -15
- package/dist/chunks/{form-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{form-cn8yknkt.js → image-seap89fc.js} +11 -11
- package/dist/chunks/{form-dy2eaxm7.js → image-sm9ekc7r.js} +7 -7
- package/dist/chunks/{form-0j7gp832.js → image-sqjzf8x2.js} +4 -4
- package/dist/chunks/{form-pwarvv20.js → image-stv8d0fa.js} +25 -25
- package/dist/chunks/{form-svcy3p9a.js → image-svcy3p9a.js} +1 -1
- package/dist/chunks/{form-7hv4r7xp.js → image-t2rnpzgv.js} +18 -18
- package/dist/chunks/{form-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{form-6xa52pg9.js → image-tkm3ck5b.js} +343 -343
- package/dist/chunks/{form-3nnrz6f6.js → image-tmc7xdjs.js} +4 -4
- package/dist/chunks/{form-5m8x74ph.js → image-tn1wjjkb.js} +4 -4
- package/dist/chunks/{form-9a9c6hns.js → image-trpj6qs6.js} +18 -18
- package/dist/chunks/{form-twssxy5n.js → image-twssxy5n.js} +2 -2
- package/dist/chunks/{form-x4ym8htq.js → image-v1zexmjw.js} +21 -21
- package/dist/chunks/{form-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{form-6rtanm5a.js → image-v4ntjfa2.js} +28 -28
- package/dist/chunks/{form-4xd23xa0.js → image-vk8647fk.js} +4 -4
- package/dist/chunks/{form-37cecxny.js → image-vpfyxq3b.js} +25 -25
- package/dist/chunks/{form-99z41sf4.js → image-vx3jgdek.js} +3 -3
- package/dist/chunks/{form-jrzfxer4.js → image-w0sctsdt.js} +2 -2
- package/dist/chunks/{form-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{form-zsehzjv7.js → image-wec13qf8.js} +9 -9
- package/dist/chunks/{form-wnhgecwx.js → image-wnhgecwx.js} +1 -1
- package/dist/chunks/{form-gry98xea.js → image-wpv0pemx.js} +2 -2
- package/dist/chunks/{form-j4zj9swe.js → image-wwv5we4j.js} +20 -20
- package/dist/chunks/{form-p27rrfjt.js → image-wxae8jq7.js} +19 -19
- package/dist/chunks/{form-cykhmcxq.js → image-x219xq9r.js} +10 -10
- package/dist/chunks/{form-hpbhhm01.js → image-x5jjnb31.js} +5 -5
- package/dist/chunks/{form-mgkq9fbg.js → image-xcx6w6h2.js} +6 -6
- package/dist/chunks/{form-4nawp0d8.js → image-xg3m3sfb.js} +182 -182
- package/dist/chunks/{form-s6h2s3rz.js → image-xk2zn0cv.js} +4 -4
- package/dist/chunks/{form-x4r85fe4.js → image-xpryaxy7.js} +17 -17
- package/dist/chunks/{form-x26wqd07.js → image-xsvq7cjt.js} +4 -4
- package/dist/chunks/{form-gtn9c16a.js → image-xt0z8zst.js} +4 -4
- package/dist/chunks/{form-cbht8k07.js → image-xxbr9jsf.js} +21 -21
- package/dist/chunks/{form-202bxvr4.js → image-y6jzwgk6.js} +8 -8
- package/dist/chunks/{form-pxtfkpje.js → image-yara3q77.js} +2 -2
- package/dist/chunks/{form-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{form-h9bxdqvt.js → image-yc8ck43p.js} +5 -5
- package/dist/chunks/{form-kmzgegqq.js → image-ydsespw1.js} +8 -8
- package/dist/chunks/{form-vpakn3dw.js → image-ydx4vg6d.js} +16 -16
- package/dist/chunks/{form-67kez8k6.js → image-yhrdpjcs.js} +13 -13
- package/dist/chunks/{form-ymz7p2c9.js → image-ymz7p2c9.js} +3 -3
- package/dist/chunks/{form-z38nccrw.js → image-z38nccrw.js} +1 -1
- package/dist/chunks/{form-xffdvv21.js → image-z4vm3w9s.js} +15 -15
- package/dist/chunks/{form-ksddj7ae.js → image-zeytg9j8.js} +12 -12
- package/dist/chunks/{form-ffd03e03.js → image-zge8sn7n.js} +8 -8
- package/dist/chunks/{form-cenhz2kb.js → image-zm4870m6.js} +19 -19
- package/dist/chunks/{form-58k7dgzm.js → image-znxs0qdf.js} +24 -24
- package/dist/chunks/{form-skszvm0v.js → image-zp19ebaj.js} +10 -10
- package/dist/chunks/{form-3mtymbf0.js → image-zr9mjdac.js} +46 -46
- package/dist/chunks/image-zx247qgx.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +93 -93
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -110
- package/dist/config/plugin/agent.js +126 -126
- package/dist/config/plugin/command.js +224 -224
- package/dist/config/plugin/compaction.js +165 -165
- package/dist/config/plugin/compatibility.js +145 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -125
- package/dist/config/plugin/image.js +124 -124
- package/dist/config/plugin/instruction.js +124 -124
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +133 -133
- package/dist/config/plugin/policy.js +126 -126
- package/dist/config/plugin/provider.js +125 -125
- package/dist/config/plugin/reference.js +126 -126
- package/dist/config/plugin/shell.js +126 -126
- package/dist/config/plugin/skill-file.js +141 -141
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +148 -148
- package/dist/config/plugin/snapshot.js +124 -124
- package/dist/config/plugin/source.js +127 -127
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +125 -125
- package/dist/config/plugin/worktree.js +126 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +75 -75
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +58 -58
- package/dist/database/migration.js +60 -60
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +388 -388
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +104 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +79 -79
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +105 -105
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +111 -111
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +98 -98
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- 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 +102 -102
- 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/notice.js +3 -3
- 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 +379 -379
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job.js +87 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +376 -376
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +87 -87
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +102 -102
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -148
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -84
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +113 -113
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +349 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -108
- package/dist/plugin/module.js +126 -126
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -102
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/configured.js +120 -120
- package/dist/plugin/provider/credential-settings.js +83 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -106
- package/dist/plugin/provider/gitlab.js +105 -105
- package/dist/plugin/provider/google-vertex.js +121 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -87
- package/dist/plugin/provider/lmstudio.js +131 -131
- package/dist/plugin/provider/local.js +130 -130
- package/dist/plugin/provider/modal.js +103 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -133
- package/dist/plugin/provider/openai-context-caps.js +101 -101
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +102 -102
- package/dist/plugin/provider/poe.js +88 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -123
- package/dist/plugin/provider/vllm.js +133 -133
- package/dist/plugin/provider/xai.js +102 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +81 -81
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +363 -363
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +122 -122
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +237 -237
- 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 +99 -99
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +222 -222
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -123
- package/dist/session/command.js +83 -83
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +191 -191
- package/dist/session/diff.js +99 -99
- 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 +237 -237
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +193 -193
- package/dist/session/history.js +130 -130
- package/dist/session/inbox.js +139 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +135 -135
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +158 -158
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +159 -159
- package/dist/session/projector.js +137 -137
- package/dist/session/prompt.js +143 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -133
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +144 -144
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +157 -157
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +175 -175
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +144 -144
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +136 -136
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +222 -222
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +195 -195
- package/dist/session/to-session-error.js +143 -143
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +228 -228
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +146 -146
- package/dist/skill.js +151 -151
- package/dist/snapshot.js +104 -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 +168 -168
- package/dist/tool/plugin/edit.js +159 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +155 -155
- package/dist/tool/plugin/grep.js +155 -155
- package/dist/tool/plugin/image-generate.js +230 -230
- package/dist/tool/plugin/mcp-resource.js +157 -157
- package/dist/tool/plugin/opencode.js +156 -156
- package/dist/tool/plugin/patch.js +161 -161
- package/dist/tool/plugin/question.js +139 -139
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/schedule.js +222 -222
- package/dist/tool/plugin/shell.js +227 -227
- package/dist/tool/plugin/skill.js +152 -152
- package/dist/tool/plugin/subagent.js +229 -229
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +152 -152
- package/dist/tool/plugin/websearch.js +150 -150
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +10 -10
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/usage-limits.js +96 -96
- 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 +103 -103
- package/dist/v1/config/permission.js +1 -1
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -100
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/form-30vq0hkk.js +0 -26
- package/dist/chunks/form-er9840mn.js +0 -257
- /package/dist/chunks/{form-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kah00gy.js → image-1kah00gy.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5w3e23ze.js → image-5w3e23ze.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-7stb81gk.js → image-7stb81gk.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a058387c.js → image-a058387c.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-beh6qq61.js → image-beh6qq61.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-ncqqe42p.js → image-ncqqe42p.js} +0 -0
- /package/dist/chunks/{form-nh4v3znn.js → image-nh4v3znn.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-p71gwv9c.js → image-p71gwv9c.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qgfkghh1.js → image-qgfkghh1.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ty7weeps.js → image-ty7weeps.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-pfz9gkfy.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-5enarcya.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin21,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin21 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin19 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin19 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint3, Plugin21, exports_parallel };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-nwarprta.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-bn6dytgp.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-zge8sn7n.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service36
|
|
7
|
+
} from "./image-jqcfy5ts.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-h4p3pyf8.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service36;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-tn1wjjkb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./image-1bf8edtk.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service33
|
|
10
|
+
} from "./image-6m42rt11.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin28
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin28 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service79;
|
|
200
|
+
const mcp = yield* Service33;
|
|
201
201
|
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin28, exports_command2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./image-ydx4vg6d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service21,
|
|
7
|
+
node24
|
|
8
|
+
} from "./image-c4104nvq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service12,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node14
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service12 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service21;
|
|
30
|
+
const jobs = yield* Service45;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service12.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -53,7 +53,7 @@ var make = Effect.gen(function* () {
|
|
|
53
53
|
yield* sessions.resume(recovery.childSessionID);
|
|
54
54
|
const messages = yield* sessions.messages({ sessionID: recovery.childSessionID, order: "desc", limit: 20 });
|
|
55
55
|
const assistant = messages.find((message) => message.type === "assistant" && message.time.completed !== undefined && message.error === undefined);
|
|
56
|
-
return
|
|
56
|
+
return text2(assistant);
|
|
57
57
|
})
|
|
58
58
|
}).pipe(Effect.setContext(context)),
|
|
59
59
|
background: Effect.fn("SubagentJob.background")(function* (recovery) {
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node14 = Node.makeGlobalNode({
|
|
68
|
+
service: Service12,
|
|
69
|
+
layer: Layer.effect(Service12, make),
|
|
70
|
+
deps: [node24, node47]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service12, node14, exports_subagent_job };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./image-92zdzejd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./image-a4ww6fpm.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-2dkjcnxp.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service44;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service38;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node54
|
|
4
|
+
} from "./image-mj7659ab.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-xt0z8zst.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service24,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service24 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service52;
|
|
68
|
+
return Service24.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make20({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [node54] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service24, node27, exports_instructions2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-pfz9gkfy.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-5enarcya.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin24,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint4
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin24 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin20 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin20 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint4, Plugin24, exports_tinyfish };
|