@opencode/core 0.0.0-dev-19959 → 0.0.0-dev-19961
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{worktree-g0jbnnkv.js → tool-052jad2t.js} +43 -43
- package/dist/chunks/{worktree-mfhfdr54.js → tool-06dxphr1.js} +4 -4
- package/dist/chunks/{worktree-njzmkv4t.js → tool-0dzbpygc.js} +22 -22
- package/dist/chunks/{worktree-5pdqrmgg.js → tool-0h7zqhk1.js} +13 -13
- package/dist/chunks/{worktree-dg6kkwqt.js → tool-0mw5jzcs.js} +1 -1
- package/dist/chunks/{worktree-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-7k8hwkm4.js → tool-0qsq8avf.js} +22 -22
- package/dist/chunks/{worktree-qvreyy9g.js → tool-0ryd0fps.js} +5 -5
- package/dist/chunks/{worktree-awaee7qt.js → tool-10jtetaj.js} +6 -6
- package/dist/chunks/tool-1ck0eb67.js +252 -0
- package/dist/chunks/{worktree-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-s4m6wqxh.js → tool-1nxe83bq.js} +9 -9
- package/dist/chunks/{worktree-s003wxah.js → tool-207vtrn6.js} +3 -3
- package/dist/chunks/{worktree-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-3885gykz.js → tool-223h8e4b.js} +22 -22
- package/dist/chunks/{worktree-phvc5gz1.js → tool-227eqkj4.js} +33 -33
- package/dist/chunks/{worktree-6h73sxmp.js → tool-2402vzrj.js} +5 -5
- package/dist/chunks/{worktree-jqjs9tcv.js → tool-26aezvr0.js} +4 -4
- package/dist/chunks/{worktree-v7j76yb7.js → tool-27v469nr.js} +13 -13
- package/dist/chunks/{worktree-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-j7fts5t0.js → tool-2c24r6b8.js} +8 -8
- package/dist/chunks/{worktree-7jx0v3wz.js → tool-2d46v4jb.js} +11 -11
- package/dist/chunks/{worktree-2yyeacqq.js → tool-2hsfmsjg.js} +18 -18
- package/dist/chunks/{worktree-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
- package/dist/chunks/{worktree-21cb4yfq.js → tool-2q12e7yc.js} +1 -1
- package/dist/chunks/{worktree-wg3ah9vk.js → tool-2qez6wf9.js} +15 -15
- package/dist/chunks/{worktree-mx9vqzsb.js → tool-321x2wtd.js} +6 -6
- package/dist/chunks/{worktree-twn8y427.js → tool-356sz14e.js} +20 -20
- package/dist/chunks/{worktree-y0fk3wmz.js → tool-3cwbe53h.js} +34 -34
- package/dist/chunks/{worktree-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-5ca5497x.js → tool-483vxbq6.js} +6 -6
- package/dist/chunks/{worktree-1p2ds4p0.js → tool-4969znen.js} +16 -16
- package/dist/chunks/{worktree-27w3txew.js → tool-4mw75b8e.js} +15 -15
- package/dist/chunks/{worktree-evbgk2k8.js → tool-4xbskmpe.js} +5 -5
- package/dist/chunks/{worktree-c282yhkm.js → tool-533n7pr6.js} +44 -44
- package/dist/chunks/{worktree-33w4ejhs.js → tool-56gdpj1q.js} +6 -6
- package/dist/chunks/{worktree-5c4hm403.js → tool-5c4hm403.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-22da35st.js → tool-5e9skgpm.js} +17 -17
- package/dist/chunks/{worktree-421r5d5v.js → tool-5npp0aqe.js} +12 -12
- package/dist/chunks/{worktree-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-mdk3y3z1.js → tool-5yk85840.js} +19 -19
- package/dist/chunks/{worktree-rzt5b11j.js → tool-5zc6skgb.js} +12 -12
- package/dist/chunks/{worktree-t1np0tqc.js → tool-62297ddh.js} +20 -20
- package/dist/chunks/{worktree-ryvvaahd.js → tool-63ppx069.js} +14 -14
- package/dist/chunks/{worktree-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{worktree-kw4nys0v.js → tool-6713kt06.js} +32 -32
- package/dist/chunks/{worktree-stz8t2v6.js → tool-69tq260k.js} +4 -4
- package/dist/chunks/{worktree-evq1m25b.js → tool-6htwetdg.js} +13 -13
- package/dist/chunks/{worktree-28d8znnm.js → tool-6khsxrsf.js} +4 -4
- package/dist/chunks/{worktree-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-t3m7g1te.js → tool-6nfxmhqk.js} +14 -14
- package/dist/chunks/{worktree-g91wcgpj.js → tool-6tty3e9h.js} +4 -4
- package/dist/chunks/{worktree-hmcspfjz.js → tool-6yj6tbhz.js} +22 -22
- package/dist/chunks/{worktree-t2ebar3s.js → tool-6zd6bfsr.js} +6 -6
- package/dist/chunks/tool-70jsskm8.js +18 -0
- package/dist/chunks/{worktree-5eer2xf9.js → tool-73kdj4zj.js} +8 -8
- package/dist/chunks/{worktree-9yk5tkmn.js → tool-751d8h98.js} +8 -8
- package/dist/chunks/{worktree-qmqgtz8f.js → tool-79qaa2kf.js} +9 -9
- package/dist/chunks/{worktree-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-f7ehr1hv.js → tool-7jqfrm98.js} +8 -8
- package/dist/chunks/{worktree-6rywya1e.js → tool-7kshtdzt.js} +12 -12
- package/dist/chunks/{worktree-0mkssq3p.js → tool-7mmmgkzb.js} +24 -24
- package/dist/chunks/{worktree-8q7cq0y1.js → tool-7w99qc9d.js} +3 -3
- package/dist/chunks/{worktree-a3w3ek2p.js → tool-7ykgbnpc.js} +5 -5
- package/dist/chunks/{worktree-fd7j5y5t.js → tool-8b47r7w2.js} +11 -11
- package/dist/chunks/{worktree-qzj3p1a8.js → tool-8d78w7dx.js} +19 -19
- package/dist/chunks/{worktree-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-xrhwvysg.js → tool-8ehm0xb8.js} +94 -94
- package/dist/chunks/{worktree-ebmcp6jg.js → tool-8j0g64bg.js} +20 -20
- package/dist/chunks/{worktree-46dahfew.js → tool-8qdtywy4.js} +47 -47
- package/dist/chunks/{worktree-nq7qbqzc.js → tool-8tz9mcp0.js} +9 -9
- package/dist/chunks/{worktree-spdrvks9.js → tool-92gxwggs.js} +18 -18
- package/dist/chunks/{worktree-rr5qrs97.js → tool-952y256t.js} +13 -13
- package/dist/chunks/{worktree-rfw8gvq9.js → tool-953ef62m.js} +15 -15
- package/dist/chunks/{worktree-kqhyc4a5.js → tool-96gp88bm.js} +24 -24
- package/dist/chunks/{worktree-esh8snah.js → tool-96y5k2e2.js} +43 -43
- package/dist/chunks/{worktree-j6q6f4de.js → tool-9df2h92x.js} +42 -42
- package/dist/chunks/{worktree-ab5e65y7.js → tool-9dnsb0hw.js} +18 -18
- package/dist/chunks/{worktree-x2bnk29x.js → tool-9erckna5.js} +9 -9
- package/dist/chunks/{worktree-9ftphk66.js → tool-9g3bpc12.js} +26 -26
- package/dist/chunks/{worktree-6ysrkrkr.js → tool-9kw8973d.js} +8 -8
- package/dist/chunks/{worktree-g2swn6b7.js → tool-9mp97stb.js} +25 -25
- package/dist/chunks/{worktree-wt3fns9r.js → tool-9zrmz628.js} +11 -11
- package/dist/chunks/{worktree-yjptyezs.js → tool-9zzv5pgc.js} +5 -5
- package/dist/chunks/{worktree-y19g1g3c.js → tool-a6h4rwtp.js} +30 -30
- package/dist/chunks/{worktree-x2r5cysr.js → tool-a771gyms.js} +18 -18
- package/dist/chunks/{worktree-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-bw8gdwks.js → tool-aeh0dgne.js} +12 -12
- package/dist/chunks/{worktree-kne8f3cn.js → tool-afdssyjb.js} +4 -4
- package/dist/chunks/{worktree-ag8e42mr.js → tool-ag7x3tep.js} +31 -31
- package/dist/chunks/{worktree-qy3x5fkw.js → tool-ah7j68gv.js} +33 -33
- package/dist/chunks/{worktree-818pfwc9.js → tool-anarwj6h.js} +8 -8
- package/dist/chunks/{worktree-5gq0j8y6.js → tool-arm62n8x.js} +45 -45
- package/dist/chunks/{worktree-2zj1evwc.js → tool-as54p17p.js} +36 -36
- package/dist/chunks/{worktree-depwh34e.js → tool-ayj8hn2b.js} +9 -9
- package/dist/chunks/{worktree-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-etkky4xb.js → tool-b92hwcrq.js} +28 -28
- package/dist/chunks/{worktree-qtp3z5jz.js → tool-bqm56rap.js} +18 -18
- package/dist/chunks/{worktree-6wg7wrda.js → tool-bqszwq89.js} +6 -6
- package/dist/chunks/{worktree-a70dqpwr.js → tool-btasn2qa.js} +5 -5
- package/dist/chunks/{worktree-940d36ge.js → tool-bv9vpxf1.js} +15 -15
- package/dist/chunks/{worktree-cr07tj7n.js → tool-bx4qmb9g.js} +5 -5
- package/dist/chunks/{worktree-fch79rh9.js → tool-bz85s9hh.js} +1 -1
- package/dist/chunks/{worktree-rr0tph7c.js → tool-c14p3nf7.js} +41 -41
- package/dist/chunks/{worktree-g190xswt.js → tool-cavr175a.js} +4 -4
- package/dist/chunks/{worktree-5dmcr3b1.js → tool-cb9s9s15.js} +30 -30
- package/dist/chunks/{worktree-899bmpw2.js → tool-cf04bqj1.js} +6 -6
- package/dist/chunks/{worktree-z6s2ptjh.js → tool-ch0wdc2q.js} +22 -22
- package/dist/chunks/tool-crjg2n55.js +503 -0
- package/dist/chunks/{worktree-yd28dp38.js → tool-cvqzmya4.js} +26 -26
- package/dist/chunks/{worktree-ccenzmm6.js → tool-cxpv6f5j.js} +5 -5
- package/dist/chunks/{worktree-1sfwps64.js → tool-d1nag333.js} +18 -18
- package/dist/chunks/{worktree-6x0h2hvg.js → tool-d9s573fh.js} +9 -9
- package/dist/chunks/{worktree-nce5244k.js → tool-dcrzta4z.js} +26 -26
- package/dist/chunks/{worktree-hxmf60ar.js → tool-dhj1bndq.js} +32 -32
- package/dist/chunks/{worktree-dj2t23y0.js → tool-dj2t23y0.js} +2 -2
- package/dist/chunks/{worktree-0edr8emb.js → tool-dns740p1.js} +11 -11
- package/dist/chunks/{worktree-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-drwq78ky.js → tool-drwq78ky.js} +1 -1
- package/dist/chunks/{worktree-vfnexndp.js → tool-dtz9s4b3.js} +6 -6
- package/dist/chunks/{worktree-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-q9em23va.js → tool-egh78b95.js} +77 -77
- package/dist/chunks/{worktree-erw5rpbs.js → tool-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-q7b8tk1j.js → tool-et1rwp1c.js} +15 -15
- package/dist/chunks/{worktree-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-bg2gq5qa.js → tool-evq6r5pz.js} +4 -4
- package/dist/chunks/{worktree-tpw6cwsb.js → tool-eys57y9b.js} +6 -6
- package/dist/chunks/{worktree-epqzss3m.js → tool-f17sp9w8.js} +35 -35
- package/dist/chunks/{worktree-jpz4t714.js → tool-f3yhmzb7.js} +19 -19
- package/dist/chunks/{worktree-sbwttkaf.js → tool-fadk8h2y.js} +11 -11
- package/dist/chunks/{worktree-00npq5hg.js → tool-fp9zptb1.js} +44 -44
- package/dist/chunks/{worktree-nqyhrfcc.js → tool-fwrss4ad.js} +4 -4
- package/dist/chunks/{worktree-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-vykevjvn.js → tool-fyjp43ss.js} +5 -5
- package/dist/chunks/{worktree-1nd760hn.js → tool-g1a4gtq5.js} +28 -28
- package/dist/chunks/{worktree-1qsv2vsq.js → tool-g49j1kpf.js} +24 -24
- package/dist/chunks/{worktree-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-54h1gy1n.js → tool-ggvw6grp.js} +28 -28
- package/dist/chunks/{worktree-pnbzcb80.js → tool-gk46542b.js} +11 -11
- package/dist/chunks/{worktree-1r0y6anp.js → tool-gns1g86j.js} +25 -25
- package/dist/chunks/{worktree-97qjdx9c.js → tool-gwcbygb9.js} +23 -23
- package/dist/chunks/{worktree-8aaqm6qj.js → tool-h04cqsq0.js} +8 -8
- package/dist/chunks/{worktree-rbykwf8h.js → tool-h10s6dah.js} +8 -8
- package/dist/chunks/{worktree-5gvw5jwx.js → tool-h2xwsekh.js} +20 -20
- package/dist/chunks/{worktree-6rjq4ad6.js → tool-h6jr292a.js} +4 -4
- package/dist/chunks/{worktree-5mtzsd3b.js → tool-h6r3nrb9.js} +4 -4
- package/dist/chunks/{worktree-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-hdnk95c8.js → tool-hdnk95c8.js} +2 -2
- package/dist/chunks/{worktree-r4xk7wzn.js → tool-hjj1jfge.js} +11 -11
- package/dist/chunks/{worktree-9vmxtf8m.js → tool-hkx1eav1.js} +14 -14
- package/dist/chunks/{worktree-8c88k4y9.js → tool-hs2gas49.js} +11 -11
- package/dist/chunks/{worktree-wzhchsdw.js → tool-j020r4b8.js} +23 -23
- package/dist/chunks/{worktree-0ft9cg2j.js → tool-j15mfg1p.js} +6 -6
- package/dist/chunks/{worktree-5w1b7248.js → tool-j2m1k0mf.js} +3 -3
- package/dist/chunks/{worktree-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-zqerkhaz.js → tool-jcqz283k.js} +30 -30
- package/dist/chunks/{worktree-03513dpk.js → tool-jkhbgvt8.js} +17 -17
- package/dist/chunks/{worktree-wb2290kd.js → tool-js4h49s3.js} +43 -43
- package/dist/chunks/{worktree-jc7s5yzp.js → tool-jyyhzxje.js} +11 -11
- package/dist/chunks/{worktree-2w250fb9.js → tool-jzcaxwhd.js} +9 -9
- package/dist/chunks/{worktree-g2xawn2z.js → tool-k0ageqhp.js} +2 -2
- package/dist/chunks/{worktree-nzks3jc8.js → tool-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-3s810fg1.js → tool-k9avtbwf.js} +3 -3
- package/dist/chunks/{worktree-j6fv3d6x.js → tool-k9gc50dd.js} +3 -3
- package/dist/chunks/{worktree-6ggbzja4.js → tool-kc4njv9x.js} +5 -5
- package/dist/chunks/{worktree-vycw7md4.js → tool-kkp8zx71.js} +4 -4
- package/dist/chunks/{worktree-zfjnvatg.js → tool-kkye0g1c.js} +26 -26
- package/dist/chunks/{worktree-yyk09s5y.js → tool-kkzze73x.js} +6 -6
- package/dist/chunks/{worktree-fkjmw100.js → tool-knb7evpn.js} +6 -6
- package/dist/chunks/tool-kt46ze3v.js +26 -0
- package/dist/chunks/{worktree-sa6gj9bw.js → tool-kwy905ev.js} +15 -15
- package/dist/chunks/{worktree-mps7kt98.js → tool-kzb7j8ba.js} +8 -8
- package/dist/chunks/{worktree-m0jqrx5p.js → tool-m0jqrx5p.js} +2 -2
- package/dist/chunks/{worktree-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-dvxrp605.js → tool-m3k2zkjm.js} +8 -8
- package/dist/chunks/{worktree-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-k75g3hfp.js → tool-mb4e1d4e.js} +12 -12
- package/dist/chunks/{worktree-r9dtcy7v.js → tool-mb7h37gf.js} +11 -11
- package/dist/chunks/{worktree-v731dxt6.js → tool-mbdx9w3r.js} +13 -13
- package/dist/chunks/{worktree-9aeamryp.js → tool-mjanay65.js} +29 -29
- package/dist/chunks/{worktree-w2a0me0w.js → tool-mpqms32c.js} +91 -91
- package/dist/chunks/{worktree-w049avsm.js → tool-ms8h2pfd.js} +19 -19
- package/dist/chunks/{worktree-mhkvc446.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{worktree-yhc2vnw0.js → tool-n36tynep.js} +10 -10
- package/dist/chunks/{worktree-1mq78cxw.js → tool-n9asgjfy.js} +37 -37
- package/dist/chunks/{worktree-77aa2ptm.js → tool-ncb7wxzt.js} +5 -5
- package/dist/chunks/{worktree-dn7365jx.js → tool-ne9ed71s.js} +4 -4
- package/dist/chunks/{worktree-5frpvc34.js → tool-nng2ktcm.js} +2 -2
- package/dist/chunks/{worktree-d5z19hk1.js → tool-nqxt4fmg.js} +10 -10
- package/dist/chunks/{worktree-hepbeetm.js → tool-nstzyrqb.js} +32 -32
- package/dist/chunks/{worktree-tpj75mzy.js → tool-nt5fy3c2.js} +19 -19
- package/dist/chunks/{worktree-p28j5sbe.js → tool-p28j5sbe.js} +2 -2
- package/dist/chunks/{worktree-g3jdw4qe.js → tool-p2tjmvvm.js} +11 -11
- package/dist/chunks/{worktree-d96qny3q.js → tool-p2vw6waa.js} +5 -5
- package/dist/chunks/{worktree-36g34y2m.js → tool-p7g6sxqe.js} +29 -29
- package/dist/chunks/{worktree-33gh8jtn.js → tool-p8bq92d1.js} +35 -35
- package/dist/chunks/{worktree-vrd7bw94.js → tool-p8gjgk5f.js} +20 -20
- package/dist/chunks/{worktree-q3brf889.js → tool-p8jkva87.js} +7 -7
- package/dist/chunks/{worktree-87tqv0m9.js → tool-pc244188.js} +4 -4
- package/dist/chunks/{worktree-az11wfvr.js → tool-pd7bzezz.js} +16 -16
- package/dist/chunks/{worktree-v1szefp9.js → tool-pe8d6tfn.js} +21 -21
- package/dist/chunks/{worktree-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-yxy08kjz.js → tool-pnbm2g53.js} +28 -28
- package/dist/chunks/{worktree-b6xy6jda.js → tool-px76j0pk.js} +9 -9
- package/dist/chunks/{worktree-6f8fr4j0.js → tool-pyd82k98.js} +5 -5
- package/dist/chunks/{worktree-58rxp6d3.js → tool-pz9ad17p.js} +5 -5
- package/dist/chunks/{worktree-5kq5qec8.js → tool-q65dfppr.js} +29 -29
- package/dist/chunks/{worktree-7x8vr9wx.js → tool-q7r7q8jv.js} +34 -34
- package/dist/chunks/tool-qapv375x.js +4 -0
- package/dist/chunks/{worktree-bc773w9a.js → tool-qmh3qcq0.js} +23 -23
- package/dist/chunks/{worktree-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-k7xvw3dw.js → tool-qvmr90x2.js} +18 -18
- package/dist/chunks/{worktree-51a1jr9z.js → tool-qwvthsc1.js} +9 -9
- package/dist/chunks/{worktree-83da929p.js → tool-qxdz2nh0.js} +30 -30
- package/dist/chunks/{worktree-2hz0qpna.js → tool-qz02d4gv.js} +9 -9
- package/dist/chunks/{worktree-yp2x3t23.js → tool-r8xr0va3.js} +4 -4
- package/dist/chunks/{worktree-hjxmeyjq.js → tool-r9ezg2qv.js} +23 -23
- package/dist/chunks/{worktree-jzzy94zk.js → tool-r9w3djhf.js} +9 -9
- package/dist/chunks/{worktree-ydcyakjt.js → tool-rb4bj52x.js} +6 -6
- package/dist/chunks/{worktree-dnjvrtng.js → tool-rcs6zvep.js} +182 -182
- package/dist/chunks/{worktree-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-0gdmqesm.js → tool-rhjbct0v.js} +4 -4
- package/dist/chunks/{worktree-zeh9ct20.js → tool-rq775frq.js} +2 -2
- package/dist/chunks/{worktree-gsnqjxmg.js → tool-rs2j7e68.js} +47 -47
- package/dist/chunks/{worktree-n2k8kfr2.js → tool-rtjdhp7j.js} +8 -8
- package/dist/chunks/{worktree-mc0tbgbx.js → tool-s5zt3m1z.js} +10 -10
- package/dist/chunks/{worktree-9wg8f7rp.js → tool-sa82vsrh.js} +16 -16
- package/dist/chunks/{worktree-yaf95dqt.js → tool-sbnjvcyv.js} +11 -11
- package/dist/chunks/{worktree-g9p6zv33.js → tool-se013gpv.js} +8 -8
- package/dist/chunks/{worktree-adrjdcdv.js → tool-shtf6z8w.js} +5 -5
- package/dist/chunks/{worktree-0ahhqjdx.js → tool-t1835t6e.js} +28 -28
- package/dist/chunks/{worktree-j83byb14.js → tool-t9zs3egg.js} +4 -4
- package/dist/chunks/{worktree-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-nbhvjqq0.js → tool-tkg6e3eb.js} +16 -16
- package/dist/chunks/{worktree-ex22b358.js → tool-tp36e26b.js} +28 -28
- package/dist/chunks/{worktree-m3qcd0gh.js → tool-tr36y7yy.js} +17 -17
- package/dist/chunks/{worktree-b04n12yt.js → tool-tvdq5ra2.js} +37 -37
- package/dist/chunks/{worktree-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-45hwf2ve.js → tool-ty38hkz0.js} +21 -21
- package/dist/chunks/{worktree-rw0j17jy.js → tool-v199xdse.js} +21 -21
- package/dist/chunks/{worktree-anv5cbp8.js → tool-v2a3veg8.js} +8 -8
- package/dist/chunks/{worktree-qm0v3jhh.js → tool-v5dkyp31.js} +7 -7
- package/dist/chunks/{worktree-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-pk05hrqc.js → tool-vx3ypjf6.js} +28 -28
- package/dist/chunks/{worktree-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-akvwcqv3.js → tool-w0by17jr.js} +27 -27
- package/dist/chunks/{worktree-486a1zpr.js → tool-w0exn9qd.js} +32 -32
- package/dist/chunks/{worktree-2k92p94a.js → tool-w2zggh9c.js} +54 -54
- package/dist/chunks/{worktree-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-t6191ead.js → tool-wcbhsh5x.js} +33 -33
- package/dist/chunks/{worktree-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-ganm2r9k.js → tool-wfrx59p8.js} +3 -3
- package/dist/chunks/{worktree-6xtgx1bn.js → tool-wm0tnrwj.js} +11 -11
- package/dist/chunks/{worktree-32g4c5x7.js → tool-wnzj6q9c.js} +8 -8
- package/dist/chunks/{worktree-4wx50nne.js → tool-wrcedmy5.js} +18 -18
- package/dist/chunks/{worktree-8dged86n.js → tool-wt8p9awf.js} +22 -22
- package/dist/chunks/{worktree-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-swxr5sk9.js → tool-x38yyj79.js} +23 -23
- package/dist/chunks/{worktree-e47wcd5s.js → tool-xgamz1br.js} +7 -7
- package/dist/chunks/{worktree-efqd9j5j.js → tool-xhfakj7b.js} +32 -32
- package/dist/chunks/{worktree-e01ptnw8.js → tool-xq2w2bqm.js} +16 -16
- package/dist/chunks/{worktree-4947sgj4.js → tool-xqsp1avr.js} +13 -13
- package/dist/chunks/{worktree-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-asqy4pdp.js → tool-ybw5q8sx.js} +1 -1
- package/dist/chunks/{worktree-pgd96ws3.js → tool-yqjvyrkg.js} +28 -28
- package/dist/chunks/{worktree-ae05hxc9.js → tool-yrcva06b.js} +58 -58
- package/dist/chunks/{worktree-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → tool-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
- package/dist/chunks/{worktree-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-z63w68vq.js → tool-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-m2ma7v7h.js → tool-zf1tr6ve.js} +3 -3
- package/dist/chunks/{worktree-gdexxn2e.js → tool-zfn6rd9c.js} +3 -3
- package/dist/chunks/{worktree-2993mdqz.js → tool-zjy3ah92.js} +5 -5
- package/dist/chunks/{worktree-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- 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 +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- 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 +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/worktree-0mesazry.js +0 -4
- package/dist/chunks/worktree-3p652h0e.js +0 -26
- package/dist/chunks/worktree-619r8v3y.js +0 -18
- package/dist/chunks/worktree-s58zdxfq.js +0 -503
- package/dist/chunks/worktree-x9psk7ht.js +0 -252
- /package/dist/chunks/{worktree-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./tool-5npp0aqe.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-gebd4c9n.js";
|
|
11
|
+
import {
|
|
12
|
+
Service84,
|
|
13
|
+
node88
|
|
14
|
+
} from "./tool-wm0tnrwj.js";
|
|
11
15
|
import {
|
|
12
16
|
Service83,
|
|
13
17
|
node87
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
Service82,
|
|
17
|
-
node86
|
|
18
|
-
} from "./worktree-e01ptnw8.js";
|
|
18
|
+
} from "./tool-xq2w2bqm.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
ID17,
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./tool-533n7pr6.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-tkg6e3eb.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node74
|
|
35
|
+
} from "./tool-qwvthsc1.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./tool-yyb7tjpc.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make16
|
|
42
|
+
} from "./tool-751d8h98.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service56
|
|
45
|
+
} from "./tool-pe8d6tfn.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event13,
|
|
57
|
+
Info: () => Info19,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service55,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node59
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,11 +79,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info19 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event13 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service55 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const database = yield*
|
|
103
|
+
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service71;
|
|
108
|
+
const gitStrategy = yield* make16;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError11({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service56).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event13.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service55.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node59 = Node.makeGlobalNode({
|
|
265
|
+
service: Service55,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node74]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info19, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event13, Service55, node59, exports_worktree2, OperationError2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./tool-tkg6e3eb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./tool-7mmmgkzb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service30
|
|
14
|
+
} from "./tool-953ef62m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service72,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-0h7zqhk1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./tool-n9asgjfy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service40,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-2hsfmsjg.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-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: () => Input4,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin5,
|
|
42
|
+
name: () => name4,
|
|
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 name4 = "patch";
|
|
89
|
+
var Input4 = 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 Output4 = 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 Plugin5 = {
|
|
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* Service73;
|
|
112
|
+
const access = yield* Service40;
|
|
113
|
+
const fileMutation = yield* Service72;
|
|
114
|
+
const formatter = yield* Service30;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service64;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin8 = {
|
|
|
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
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name4, Input4, Applied2, Output4, toModelContent2, Plugin5, exports_patch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-sbnjvcyv.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin41,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin41 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin23 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin23 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin41, exports_firecrawl };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./tool-xq2w2bqm.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event3,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options3,
|
|
30
|
+
Service: () => Service26,
|
|
31
|
+
configured: () => configured3,
|
|
32
|
+
layer: () => layer13,
|
|
33
|
+
node: () => node29
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event3 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service26 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event3.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service26.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured3(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service26,
|
|
110
|
+
layer: layer13(options),
|
|
111
|
+
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node29 = configured3();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event3, Options3, Service26, layer13, configured3, node29, exports_instruction_discovery };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service27,
|
|
3
|
+
node30
|
|
4
|
+
} from "./tool-p7g6sxqe.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service25,
|
|
20
|
+
node: () => node28
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service25 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service27;
|
|
64
|
+
return Service25.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make20({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node30] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service25, node28, exports_instructions5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node78,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node78 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node78, exports_driver };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./tool-wcbhsh5x.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-cf04bqj1.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|