@opencode/core 0.0.0-dev-19420 → 0.0.0-dev-19421
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{pty-n4a39eeb.js → catalog-096qjar8.js} +24 -24
- package/dist/chunks/{pty-pb7rznbt.js → catalog-09mbdkdm.js} +29 -29
- package/dist/chunks/{pty-3q64r879.js → catalog-0e10aagy.js} +2 -2
- package/dist/chunks/{pty-8w9kqk9z.js → catalog-0fp0hv1f.js} +25 -25
- package/dist/chunks/{pty-rhjbct0v.js → catalog-0gdmqesm.js} +4 -4
- package/dist/chunks/{pty-2d9xefx9.js → catalog-0nrxxk59.js} +11 -11
- package/dist/chunks/{pty-0paq2nw3.js → catalog-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → catalog-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-rvkgvnp4.js → catalog-0s1ey65d.js} +22 -22
- package/dist/chunks/{pty-8ns6tfjc.js → catalog-14w9z8mt.js} +13 -13
- package/dist/chunks/{pty-yp2x3t23.js → catalog-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-1awm1f41.js → catalog-1awm1f41.js} +2 -2
- package/dist/chunks/{pty-hzdwdwfn.js → catalog-1c8dkfpr.js} +9 -9
- package/dist/chunks/{pty-1dazxqgg.js → catalog-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-1eyaby9q.js → catalog-1eyaby9q.js} +2 -2
- package/dist/chunks/{pty-bgbx6e98.js → catalog-1rr79kmz.js} +12 -12
- package/dist/chunks/{pty-c4xgk3w6.js → catalog-1wjzc2an.js} +36 -36
- package/dist/chunks/{pty-1ygqh575.js → catalog-1ygqh575.js} +2 -2
- package/dist/chunks/{pty-a9cb7y0n.js → catalog-20ckysjq.js} +12 -12
- package/dist/chunks/{pty-21r38tys.js → catalog-21r38tys.js} +1 -1
- package/dist/chunks/{pty-2336b01z.js → catalog-2336b01z.js} +2 -2
- package/dist/chunks/{pty-2402vzrj.js → catalog-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-vx0zf1rd.js → catalog-257a301k.js} +9 -9
- package/dist/chunks/{pty-qhxqw38h.js → catalog-29eyam7f.js} +88 -88
- package/dist/chunks/{pty-29zj8nk3.js → catalog-29zj8nk3.js} +2 -2
- package/dist/chunks/{pty-2a5m3afh.js → catalog-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-rwzmtr9v.js → catalog-2aq8zh33.js} +8 -8
- package/dist/chunks/{pty-r5cznk00.js → catalog-2aw2bahc.js} +8 -8
- package/dist/chunks/{pty-3q5ghkvv.js → catalog-2c1x4vfg.js} +60 -60
- package/dist/chunks/{pty-2ehqxkpw.js → catalog-2ehqxkpw.js} +3 -3
- package/dist/chunks/{pty-cxtr0n7z.js → catalog-2g2mwke6.js} +33 -33
- package/dist/chunks/{pty-32hgx738.js → catalog-34qdwt3d.js} +25 -25
- package/dist/chunks/{pty-3w1p8qpk.js → catalog-35sn1nyz.js} +9 -9
- package/dist/chunks/{pty-3fc6dm20.js → catalog-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → catalog-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-qzyph8ek.js → catalog-3hf7z3yq.js} +11 -11
- package/dist/chunks/{pty-3smtnn6g.js → catalog-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → catalog-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-0eywepte.js → catalog-3ynpp59z.js} +14 -14
- package/dist/chunks/{pty-fhtn8pe4.js → catalog-401c3emj.js} +45 -45
- package/dist/chunks/{pty-qsak9770.js → catalog-42p95m5x.js} +7 -7
- package/dist/chunks/{pty-43k15f45.js → catalog-43k15f45.js} +2 -2
- package/dist/chunks/{pty-p2hgsd7c.js → catalog-47p710b6.js} +11 -11
- package/dist/chunks/{pty-tb5vvj5y.js → catalog-4j9k53r8.js} +34 -34
- package/dist/chunks/{pty-kf5fq0jw.js → catalog-4ym1zxcm.js} +13 -13
- package/dist/chunks/{pty-kz49q7tk.js → catalog-5bzz8zqy.js} +21 -21
- package/dist/chunks/{pty-5daktx2q.js → catalog-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-qn64kb1t.js → catalog-5j0caxn5.js} +6 -6
- package/dist/chunks/{pty-4s814m4t.js → catalog-5p1vxe83.js} +15 -15
- package/dist/chunks/{pty-6jyd9m4h.js → catalog-5p27wq2r.js} +24 -24
- package/dist/chunks/{pty-5t3nmthw.js → catalog-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-rraf0nd7.js → catalog-5v8j1p3d.js} +35 -35
- package/dist/chunks/{pty-vttwtvvs.js → catalog-5wgphx02.js} +10 -10
- package/dist/chunks/{pty-006ygbhe.js → catalog-5xw6r2tx.js} +10 -10
- package/dist/chunks/{pty-n8xg2ma0.js → catalog-646r1qz7.js} +16 -16
- package/dist/chunks/{pty-669tq793.js → catalog-669tq793.js} +1 -1
- package/dist/chunks/{pty-rarc5met.js → catalog-6fv95ev0.js} +20 -20
- package/dist/chunks/{pty-2bt6bea8.js → catalog-6jnybvqn.js} +9 -9
- package/dist/chunks/catalog-6kdq0pjd.js +4 -0
- package/dist/chunks/{pty-b9grawmm.js → catalog-6kg1vfnr.js} +8 -8
- package/dist/chunks/{pty-6msgmcgs.js → catalog-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-jjn3rsgb.js → catalog-6pz43rm5.js} +21 -21
- package/dist/chunks/{pty-xp0rt39m.js → catalog-6vbzaqwv.js} +3 -3
- package/dist/chunks/{pty-71q4at8m.js → catalog-71q4at8m.js} +1 -1
- package/dist/chunks/{pty-73tb2d7t.js → catalog-73tb2d7t.js} +1 -1
- package/dist/chunks/{pty-mnhvjrs5.js → catalog-78t1te5x.js} +12 -12
- package/dist/chunks/{pty-7bmhse3q.js → catalog-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-gh03ewrb.js → catalog-7c9s91hx.js} +10 -10
- package/dist/chunks/{pty-qgn6gcr1.js → catalog-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-9pntmsg4.js → catalog-7h0en3hk.js} +5 -5
- package/dist/chunks/{pty-e9sazpk6.js → catalog-7prk99mn.js} +15 -15
- package/dist/chunks/{pty-h6qjyrdy.js → catalog-7vvptm0f.js} +11 -11
- package/dist/chunks/{pty-z85yjvt1.js → catalog-7z10q2g6.js} +6 -6
- package/dist/chunks/{pty-vxea98nr.js → catalog-7zywehe1.js} +13 -13
- package/dist/chunks/{pty-a8emfn6x.js → catalog-86eya36b.js} +37 -37
- package/dist/chunks/{pty-xhct4fr6.js → catalog-8cw5ks0r.js} +11 -11
- package/dist/chunks/{pty-8d7r5vzw.js → catalog-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-qh5p97jn.js → catalog-8dnxqjce.js} +11 -11
- package/dist/chunks/{pty-2mr7854h.js → catalog-8fh98ntf.js} +43 -43
- package/dist/chunks/{pty-erx15syr.js → catalog-8g7sa228.js} +11 -11
- package/dist/chunks/{pty-nwt9sqb3.js → catalog-8gw909ma.js} +10 -10
- package/dist/chunks/{pty-8p4f9s12.js → catalog-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-8dar2rz8.js → catalog-8t5w0ytw.js} +5 -5
- package/dist/chunks/{pty-rbqs1qrs.js → catalog-8y7zmbxm.js} +5 -5
- package/dist/chunks/{pty-zh1p0kdw.js → catalog-94p0cvfj.js} +11 -11
- package/dist/chunks/{pty-96yt6zt0.js → catalog-96yt6zt0.js} +1 -1
- package/dist/chunks/{pty-nqjz9y7k.js → catalog-9b2r499f.js} +7 -7
- package/dist/chunks/{pty-v5w9803s.js → catalog-9cg0vjy1.js} +8 -8
- package/dist/chunks/{pty-da0ktbgy.js → catalog-9pp0jvs1.js} +6 -6
- package/dist/chunks/{pty-amjvb84v.js → catalog-9qxn9a94.js} +18 -18
- package/dist/chunks/{pty-6b3s6aqg.js → catalog-9w6mp6td.js} +32 -32
- package/dist/chunks/{pty-a08t2777.js → catalog-a08t2777.js} +3 -3
- package/dist/chunks/{pty-a1bz86dw.js → catalog-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-nkbhzqgd.js → catalog-a4mk06xm.js} +6 -6
- package/dist/chunks/{pty-aaet6srn.js → catalog-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-z00sg2d9.js → catalog-ahz6hdks.js} +89 -89
- package/dist/chunks/{pty-s0r9fgtt.js → catalog-b1yfj7k0.js} +19 -19
- package/dist/chunks/{pty-b6gygkdw.js → catalog-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-3f3d0cbx.js → catalog-bc3ktrh4.js} +26 -26
- package/dist/chunks/{pty-bgmtf57a.js → catalog-bfhds99h.js} +10 -10
- package/dist/chunks/{pty-bv56xrks.js → catalog-bv56xrks.js} +2 -2
- package/dist/chunks/catalog-by5v678g.js +18 -0
- package/dist/chunks/{pty-6c4bvb4z.js → catalog-cdmx21ka.js} +19 -19
- package/dist/chunks/{pty-cfpkc3c9.js → catalog-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-c3se2jx9.js → catalog-chpbykcw.js} +7 -7
- package/dist/chunks/{pty-a8q88f3r.js → catalog-cjskqwkw.js} +15 -15
- package/dist/chunks/{pty-say8dh30.js → catalog-cxdpe6d0.js} +5 -5
- package/dist/chunks/{pty-m6d2cj38.js → catalog-d2ss2y7r.js} +4 -4
- package/dist/chunks/{pty-8q2tgr3h.js → catalog-d4jhq56q.js} +23 -23
- package/dist/chunks/{pty-nh7chm7x.js → catalog-d5nz6k69.js} +26 -26
- package/dist/chunks/{pty-9kcgsz93.js → catalog-dc3grkzs.js} +13 -13
- package/dist/chunks/{pty-88wvctcq.js → catalog-dd4pzvme.js} +163 -163
- package/dist/chunks/{pty-8450mckp.js → catalog-ddab6zvy.js} +6 -6
- package/dist/chunks/{pty-hxntfwr9.js → catalog-dee3rmyt.js} +13 -13
- package/dist/chunks/{pty-dwdkpfft.js → catalog-dr996qcb.js} +13 -13
- package/dist/chunks/{pty-rggw41sg.js → catalog-ds9gcqak.js} +34 -34
- package/dist/chunks/{pty-hwxg80b8.js → catalog-dyhhtcqf.js} +9 -9
- package/dist/chunks/{pty-5ryy25dn.js → catalog-e3b07ner.js} +9 -9
- package/dist/chunks/{pty-49ycyj1k.js → catalog-e5xpd6yj.js} +6 -6
- package/dist/chunks/{pty-86g9bn8f.js → catalog-e60sjc08.js} +4 -4
- package/dist/chunks/{pty-23kefcxh.js → catalog-e89xj288.js} +5 -5
- package/dist/chunks/{pty-cfts79d7.js → catalog-e8t7k6x8.js} +18 -18
- package/dist/chunks/{pty-1qacn438.js → catalog-efs5cre5.js} +25 -25
- package/dist/chunks/{pty-6ty5fy48.js → catalog-ejgv3ya2.js} +9 -9
- package/dist/chunks/{pty-etq0c3wd.js → catalog-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-5ax6r0h3.js → catalog-f73eem0v.js} +10 -10
- package/dist/chunks/{pty-f828m53h.js → catalog-f828m53h.js} +2 -2
- package/dist/chunks/{pty-f8q7mv7a.js → catalog-f8q7mv7a.js} +1 -1
- package/dist/chunks/{pty-sj3w9yv9.js → catalog-f96rmzz4.js} +15 -15
- package/dist/chunks/{pty-ghkvzh5e.js → catalog-ffffymng.js} +4 -4
- package/dist/chunks/{pty-fgh0kbhd.js → catalog-fgh0kbhd.js} +1 -1
- package/dist/chunks/{pty-fxbjtjnd.js → catalog-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-7ttnvawf.js → catalog-fxqaq8wb.js} +6 -6
- package/dist/chunks/{pty-60r077ss.js → catalog-fy6wap14.js} +17 -17
- package/dist/chunks/{pty-fygdb7h7.js → catalog-fygdb7h7.js} +1 -1
- package/dist/chunks/{pty-3823wgjp.js → catalog-g2hwc37w.js} +35 -35
- package/dist/chunks/{pty-gd4qta3r.js → catalog-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-63xctefh.js → catalog-gjmk74th.js} +6 -6
- package/dist/chunks/{pty-wgyrh7vh.js → catalog-gk63c9gv.js} +24 -24
- package/dist/chunks/{pty-yvvvp4gn.js → catalog-gn2hfjap.js} +8 -8
- package/dist/chunks/{pty-f3m1sgfp.js → catalog-gshe8956.js} +17 -17
- package/dist/chunks/{pty-gv6a8nnw.js → catalog-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-y1vaxj9s.js → catalog-gvhyfcw6.js} +32 -32
- package/dist/chunks/{pty-b80d24dq.js → catalog-gyw6v8xj.js} +11 -11
- package/dist/chunks/{pty-h03wrkyp.js → catalog-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-h6vf3j39.js → catalog-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-a8kmq1k9.js → catalog-h73m94yd.js} +8 -8
- package/dist/chunks/{pty-hjt4xg1x.js → catalog-hjt4xg1x.js} +1 -1
- package/dist/chunks/{pty-t0x5rdq8.js → catalog-hrvd6t1f.js} +9 -9
- package/dist/chunks/{pty-j56e64zr.js → catalog-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-v52wsnkd.js → catalog-jfkc9b5n.js} +2 -2
- package/dist/chunks/{pty-0ffx963t.js → catalog-jjgf1r7p.js} +8 -8
- package/dist/chunks/{pty-bpkstfbw.js → catalog-jnz361r4.js} +18 -18
- package/dist/chunks/{pty-5nymmjtk.js → catalog-jr7tvfe7.js} +284 -284
- package/dist/chunks/{pty-zm6ygejy.js → catalog-jvr4g1yr.js} +21 -21
- package/dist/chunks/{pty-k16ay38w.js → catalog-k16ay38w.js} +1 -1
- package/dist/chunks/{pty-kg06axw8.js → catalog-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-r5sbhmnk.js → catalog-kk3fke24.js} +20 -20
- package/dist/chunks/{pty-d4xwsxra.js → catalog-kq0g3v8j.js} +25 -25
- package/dist/chunks/{pty-dbqxyz5k.js → catalog-krsvpehf.js} +9 -9
- package/dist/chunks/{pty-mzjyw1z2.js → catalog-krtecayb.js} +2 -2
- package/dist/chunks/{pty-ksz0h0wp.js → catalog-ksz0h0wp.js} +1 -1
- package/dist/chunks/{pty-tyv8sfss.js → catalog-ky6zg389.js} +11 -11
- package/dist/chunks/{pty-h10ynz7s.js → catalog-m03n2fr8.js} +27 -27
- package/dist/chunks/{pty-m27pyyd3.js → catalog-m27pyyd3.js} +1 -1
- package/dist/chunks/{pty-3tr3rker.js → catalog-m8fkcrrj.js} +5 -5
- package/dist/chunks/{pty-gcmx30na.js → catalog-m998hh83.js} +16 -16
- package/dist/chunks/{pty-m9w0rfyh.js → catalog-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-g190xswt.js → catalog-magykp64.js} +4 -4
- package/dist/chunks/{pty-d9wx0zpv.js → catalog-marnn1hp.js} +6 -6
- package/dist/chunks/{pty-wfjha01d.js → catalog-mbe3t21w.js} +21 -21
- package/dist/chunks/{pty-mkcjrzeh.js → catalog-mkcjrzeh.js} +1 -1
- package/dist/chunks/{pty-a86hjwx2.js → catalog-mkg2hz17.js} +11 -11
- package/dist/chunks/{pty-6xsw6ps4.js → catalog-mm9m56rr.js} +9 -9
- package/dist/chunks/{pty-njn7yhkn.js → catalog-mnsq5x0d.js} +11 -11
- package/dist/chunks/{pty-mfhfdr54.js → catalog-msq0jde0.js} +4 -4
- package/dist/chunks/{pty-19xhtx11.js → catalog-mvvpb29f.js} +8 -8
- package/dist/chunks/{pty-hsrgy9qb.js → catalog-my1bnest.js} +13 -13
- package/dist/chunks/{pty-n76fdqym.js → catalog-n76fdqym.js} +1 -1
- package/dist/chunks/{pty-4jk5hnnm.js → catalog-n95vr217.js} +47 -47
- package/dist/chunks/{pty-dpgvjqy9.js → catalog-nf37xfz6.js} +7 -7
- package/dist/chunks/{pty-3mk88g01.js → catalog-nwkbwbnk.js} +8 -8
- package/dist/chunks/{pty-mewy3jp3.js → catalog-p0eb35gv.js} +9 -9
- package/dist/chunks/{pty-39r80e1r.js → catalog-p33ejz0k.js} +1 -1
- package/dist/chunks/{pty-v2hnet1n.js → catalog-p9453vbz.js} +11 -11
- package/dist/chunks/{pty-ebcate35.js → catalog-parpfmsh.js} +20 -20
- package/dist/chunks/{pty-818pfwc9.js → catalog-pb1eahw5.js} +8 -8
- package/dist/chunks/{pty-pecb0brz.js → catalog-pecb0brz.js} +2 -2
- package/dist/chunks/{pty-q1fb8c0j.js → catalog-pgagk2n5.js} +8 -8
- package/dist/chunks/{pty-pjvnvgmy.js → catalog-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → catalog-pknna89w.js} +1 -1
- package/dist/chunks/{pty-pmr4s4kc.js → catalog-pmr4s4kc.js} +1 -1
- package/dist/chunks/{pty-aqajd40k.js → catalog-py0psvk6.js} +16 -16
- package/dist/chunks/{pty-d4sp9rf7.js → catalog-qbkt3cqr.js} +11 -11
- package/dist/chunks/{pty-yv9w4q4m.js → catalog-qckvq7ze.js} +1 -1
- package/dist/chunks/{pty-rk0rec3h.js → catalog-qg6emqy4.js} +9 -9
- package/dist/chunks/{pty-510m7gjw.js → catalog-qjnxxf51.js} +5 -5
- package/dist/chunks/{pty-nk3rvkbx.js → catalog-qmqdbsyp.js} +8 -8
- package/dist/chunks/{pty-qsdy395h.js → catalog-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-0d9yhhfb.js → catalog-r0rjaysr.js} +17 -17
- package/dist/chunks/{pty-w4arg62q.js → catalog-r33ff4dw.js} +6 -6
- package/dist/chunks/{pty-r9babyk8.js → catalog-r9babyk8.js} +1 -1
- package/dist/chunks/{pty-9t3jdf5e.js → catalog-rabejanc.js} +4 -4
- package/dist/chunks/{pty-ws7bqrrq.js → catalog-rbgg92x1.js} +17 -17
- package/dist/chunks/{pty-t5q1ccxn.js → catalog-re4qdzyd.js} +9 -9
- package/dist/chunks/{pty-kwyz01v4.js → catalog-rmmgprsx.js} +21 -21
- package/dist/chunks/{pty-rpbnx6sk.js → catalog-rpbnx6sk.js} +2 -2
- package/dist/chunks/{pty-qa3qhgw8.js → catalog-ryr25ayn.js} +4 -4
- package/dist/chunks/{pty-8vhbqs5w.js → catalog-s7r3rv6b.js} +28 -28
- package/dist/chunks/{pty-0gr7cw0d.js → catalog-shh6fz4q.js} +4 -4
- package/dist/chunks/{pty-f4nygem8.js → catalog-smdbyfnz.js} +27 -27
- package/dist/chunks/{pty-3yb9f54f.js → catalog-smz8vx7d.js} +30 -30
- package/dist/chunks/{pty-jgbb8tsx.js → catalog-ssb336et.js} +30 -30
- package/dist/chunks/{pty-j0et5bvq.js → catalog-sx5y9atv.js} +4 -4
- package/dist/chunks/{pty-t0fxg8b9.js → catalog-t0fxg8b9.js} +2 -2
- package/dist/chunks/{pty-7pbw46cf.js → catalog-t39b4j3m.js} +18 -18
- package/dist/chunks/{pty-8vfk5djw.js → catalog-t47g515s.js} +22 -22
- package/dist/chunks/{pty-tazgh4e4.js → catalog-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → catalog-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-h51vtk5a.js → catalog-tcv55qx3.js} +43 -43
- package/dist/chunks/{pty-tdstcens.js → catalog-tdstcens.js} +1 -1
- package/dist/chunks/{pty-tfngb0ww.js → catalog-tfngb0ww.js} +4 -4
- package/dist/chunks/catalog-tnrm9pmd.js +247 -0
- package/dist/chunks/{pty-tvtrv512.js → catalog-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-7ae0mvzm.js → catalog-vb0rrkx1.js} +40 -40
- package/dist/chunks/{pty-veqvce7d.js → catalog-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-ew5awps8.js → catalog-vgvtqqnf.js} +4 -4
- package/dist/chunks/{pty-cq37gk0t.js → catalog-vkxpz7g2.js} +4 -4
- package/dist/chunks/{pty-q8z5f87d.js → catalog-vn9nfs41.js} +18 -18
- package/dist/chunks/{pty-vzcthcp8.js → catalog-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-kbme4tjs.js → catalog-w0f4sqqg.js} +15 -15
- package/dist/chunks/{pty-074fwbj6.js → catalog-w2gd5esx.js} +15 -15
- package/dist/chunks/{pty-w3wsvvr9.js → catalog-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-ca5anfan.js → catalog-w6qvpxdp.js} +22 -22
- package/dist/chunks/{pty-wd87259q.js → catalog-wd87259q.js} +1 -1
- package/dist/chunks/{pty-3zxpfz3n.js → catalog-wfappt0f.js} +46 -46
- package/dist/chunks/{pty-7amj9884.js → catalog-wg5nj85k.js} +17 -17
- package/dist/chunks/{pty-m0wa7k5y.js → catalog-wmrf8rra.js} +25 -25
- package/dist/chunks/{pty-jrrn2k62.js → catalog-wt5gx8pc.js} +4 -4
- package/dist/chunks/{pty-dmwr866w.js → catalog-ww3jadv6.js} +59 -59
- package/dist/chunks/{pty-1fn3nkf0.js → catalog-wy9stygh.js} +11 -11
- package/dist/chunks/{pty-w6ja367g.js → catalog-wzmeq92a.js} +23 -23
- package/dist/chunks/{pty-x1ezjp6w.js → catalog-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-844ef7ks.js → catalog-x3et2xth.js} +8 -8
- package/dist/chunks/{pty-x43y2vfs.js → catalog-x43y2vfs.js} +2 -2
- package/dist/chunks/{pty-s9smgjtn.js → catalog-x9fm7tbh.js} +40 -40
- package/dist/chunks/{pty-4zf12mth.js → catalog-xam6jtxm.js} +4 -4
- package/dist/chunks/{pty-83z0r7r5.js → catalog-xg5ntxkv.js} +15 -15
- package/dist/chunks/{pty-jwx4y25k.js → catalog-xhmq8qgk.js} +9 -9
- package/dist/chunks/{pty-44dkc7mg.js → catalog-xjqe4jre.js} +11 -11
- package/dist/chunks/{pty-r76r37wq.js → catalog-xmqjckhb.js} +26 -26
- package/dist/chunks/{pty-zc2nqsz3.js → catalog-xqw41bt4.js} +15 -15
- package/dist/chunks/{pty-8shp1cm6.js → catalog-xtzf92np.js} +17 -17
- package/dist/chunks/{pty-kn492g1c.js → catalog-xzbqpaz0.js} +18 -18
- package/dist/chunks/{pty-y1fvbwt7.js → catalog-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-8q7cq0y1.js → catalog-y6f0p4jw.js} +3 -3
- package/dist/chunks/{pty-y71avatq.js → catalog-y71avatq.js} +1 -1
- package/dist/chunks/{pty-9fwp41vh.js → catalog-y74fwv73.js} +10 -10
- package/dist/chunks/{pty-9d99dnb1.js → catalog-y78vezpt.js} +5 -5
- package/dist/chunks/{pty-dc2sw694.js → catalog-y7a7ype3.js} +9 -9
- package/dist/chunks/{pty-k5pz2tr3.js → catalog-yct2m3d7.js} +20 -20
- package/dist/chunks/{pty-m9339hx9.js → catalog-ydnnsxqq.js} +29 -29
- package/dist/chunks/{pty-hd15tamq.js → catalog-yejefgc0.js} +35 -35
- package/dist/chunks/{pty-g5vvmx54.js → catalog-yn1kry4w.js} +41 -41
- package/dist/chunks/{pty-sqmjn1cn.js → catalog-ynbne05d.js} +25 -25
- package/dist/chunks/{pty-d9hwvmgm.js → catalog-yp85tz3d.js} +26 -26
- package/dist/chunks/{pty-yrhqyw5v.js → catalog-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → catalog-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-nh799jn3.js → catalog-yyzsc29j.js} +48 -48
- package/dist/chunks/{pty-z0bkrqjs.js → catalog-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-2hkg1ese.js → catalog-z36ygr7g.js} +11 -11
- package/dist/chunks/{pty-9nepbqpa.js → catalog-z4jtqfv3.js} +6 -6
- package/dist/chunks/{pty-z63w68vq.js → catalog-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-z69s9t6b.js → catalog-z69s9t6b.js} +2 -2
- package/dist/chunks/{pty-8v8d9k4f.js → catalog-z8nrghbq.js} +17 -17
- package/dist/chunks/{pty-ca7w653e.js → catalog-zav06jzw.js} +4 -4
- package/dist/chunks/{pty-8qp2ga0e.js → catalog-zd059wz8.js} +14 -14
- package/dist/chunks/{pty-zeh9ct20.js → catalog-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-zr2ceqn5.js → catalog-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → catalog-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-2d1yy68x.js → catalog-zxq653ct.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +70 -70
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +2 -2
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +217 -217
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/pty-hr9dp009.js +0 -4
- package/dist/chunks/pty-q509s3k3.js +0 -18
- package/dist/chunks/pty-vw5vjtsa.js +0 -247
- /package/dist/chunks/{pty-0qkdqm5v.js → catalog-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → catalog-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → catalog-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → catalog-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → catalog-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → catalog-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → catalog-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → catalog-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → catalog-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → catalog-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → catalog-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → catalog-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → catalog-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → catalog-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → catalog-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → catalog-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → catalog-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → catalog-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → catalog-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → catalog-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → catalog-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → catalog-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → catalog-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → catalog-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → catalog-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → catalog-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → catalog-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → catalog-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → catalog-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → catalog-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → catalog-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → catalog-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → catalog-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → catalog-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → catalog-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → catalog-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → catalog-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → catalog-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → catalog-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → catalog-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → catalog-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → catalog-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → catalog-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → catalog-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → catalog-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → catalog-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → catalog-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → catalog-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → catalog-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → catalog-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → catalog-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → catalog-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → catalog-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → catalog-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → catalog-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → catalog-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → catalog-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → catalog-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → catalog-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-hrnqkpcd.js → catalog-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → catalog-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → catalog-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → catalog-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → catalog-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → catalog-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → catalog-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → catalog-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → catalog-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → catalog-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → catalog-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-paphc93g.js → catalog-paphc93g.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → catalog-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → catalog-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → catalog-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → catalog-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → catalog-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → catalog-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → catalog-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → catalog-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → catalog-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → catalog-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → catalog-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → catalog-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → catalog-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → catalog-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → catalog-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → catalog-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → catalog-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → catalog-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → catalog-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → catalog-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → catalog-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./catalog-gjmk74th.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-by5v678g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-e5xpd6yj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./catalog-gk63c9gv.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./catalog-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./catalog-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service56,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service56 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service56.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node59 = makeLocationNode({
|
|
143
|
+
service: Service56,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service56, node59, exports_tool_output2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./catalog-fy6wap14.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service46
|
|
11
|
+
} from "./catalog-5p27wq2r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./catalog-f96rmzz4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service21,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./catalog-14w9z8mt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./catalog-401c3emj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./catalog-e8t7k6x8.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./catalog-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./catalog-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin16,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin16 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service46;
|
|
112
|
+
const access = yield* Service22;
|
|
113
|
+
const fileMutation = yield* Service21;
|
|
114
|
+
const formatter = yield* Service74;
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service57;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin23 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin16, exports_patch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./catalog-t47g515s.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./catalog-401c3emj.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./catalog-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin13
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin13 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin11 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin11 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin11 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin13, exports_agent };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-3hf7z3yq.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./catalog-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./catalog-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: () => Plugin3,
|
|
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/unstable/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 Plugin3 = 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 Plugin4 = 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 Plugin4 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint3, Plugin3, exports_parallel };
|