@opencode/core 0.0.0-dev-19959 → 0.0.0-dev-19962
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 +89 -89
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{worktree-etkky4xb.js → app-00hgdb0m.js} +30 -30
- package/dist/chunks/{worktree-0gdmqesm.js → app-02nrjc1r.js} +8 -8
- package/dist/chunks/{worktree-e01ptnw8.js → app-04ewta5r.js} +16 -16
- package/dist/chunks/{worktree-az11wfvr.js → app-0dxkcwkq.js} +16 -16
- package/dist/chunks/{worktree-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-jqjs9tcv.js → app-0pw4vw5f.js} +4 -4
- package/dist/chunks/{worktree-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-mfhfdr54.js → app-1hc11dc4.js} +4 -4
- package/dist/chunks/{worktree-33gh8jtn.js → app-1neascwm.js} +35 -35
- package/dist/chunks/{worktree-mc0tbgbx.js → app-1qf1fr1q.js} +12 -12
- package/dist/chunks/{worktree-ab5e65y7.js → app-1v1y3h46.js} +18 -18
- package/dist/chunks/{worktree-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-rzt5b11j.js → app-22yappzv.js} +12 -12
- package/dist/chunks/{worktree-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-2yyeacqq.js → app-2akn3e7d.js} +18 -18
- package/dist/chunks/{worktree-njzmkv4t.js → app-2jw0gqmb.js} +24 -24
- package/dist/chunks/{worktree-fch79rh9.js → app-2jz473v5.js} +1 -1
- package/dist/chunks/{worktree-7dqw4kz8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{worktree-5kq5qec8.js → app-33e6e908.js} +32 -32
- package/dist/chunks/{worktree-akvwcqv3.js → app-35p3x5j5.js} +27 -27
- package/dist/chunks/{worktree-y0fk3wmz.js → app-36nehvj7.js} +35 -35
- package/dist/chunks/{worktree-00npq5hg.js → app-36yjffmn.js} +44 -44
- package/dist/chunks/{worktree-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-tpw6cwsb.js → app-3hfr6h8q.js} +4 -4
- package/dist/chunks/{worktree-mx9vqzsb.js → app-3ppptnan.js} +6 -6
- package/dist/chunks/{worktree-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-vrd7bw94.js → app-3vg5q0hm.js} +19 -19
- package/dist/chunks/{worktree-rr5qrs97.js → app-47bcapsc.js} +13 -13
- package/dist/chunks/{worktree-2zj1evwc.js → app-49xh4knz.js} +36 -36
- package/dist/chunks/{worktree-5ca5497x.js → app-4demphjr.js} +6 -6
- package/dist/chunks/{worktree-21cb4yfq.js → app-4hrvdzte.js} +1 -1
- package/dist/chunks/{worktree-jzzy94zk.js → app-4nj4bn9q.js} +9 -9
- package/dist/chunks/{worktree-d96qny3q.js → app-4s22ks3b.js} +5 -5
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{worktree-dg6kkwqt.js → app-4zevm03n.js} +3 -3
- package/dist/chunks/{worktree-8q7cq0y1.js → app-539jk4fq.js} +3 -3
- package/dist/chunks/{worktree-899bmpw2.js → app-54vj2jfs.js} +6 -6
- package/dist/chunks/{worktree-7jx0v3wz.js → app-56xvr3m5.js} +11 -11
- package/dist/chunks/{worktree-3885gykz.js → app-580xytsw.js} +27 -27
- package/dist/chunks/{worktree-wg3ah9vk.js → app-5ax4qnhd.js} +15 -15
- package/dist/chunks/{worktree-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-6f8fr4j0.js → app-5qkjszbf.js} +5 -5
- package/dist/chunks/{worktree-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-twn8y427.js → app-62snwjy6.js} +23 -23
- package/dist/chunks/{worktree-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{worktree-8aaqm6qj.js → app-69j91c1q.js} +8 -8
- package/dist/chunks/{worktree-1r0y6anp.js → app-6bnhs0t6.js} +27 -27
- package/dist/chunks/{worktree-6h73sxmp.js → app-6h73sxmp.js} +1 -1
- package/dist/chunks/app-6kdq0pjd.js +4 -0
- package/dist/chunks/{worktree-gsnqjxmg.js → app-6m2en2x4.js} +51 -51
- package/dist/chunks/{worktree-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-58rxp6d3.js → app-6qw3sa0y.js} +5 -5
- package/dist/chunks/{worktree-esh8snah.js → app-6vtqbgbq.js} +37 -37
- package/dist/chunks/{worktree-8c88k4y9.js → app-6y2h1b0z.js} +11 -11
- package/dist/chunks/{worktree-awaee7qt.js → app-6zz0jjar.js} +6 -6
- package/dist/chunks/{worktree-yxy08kjz.js → app-74183p9e.js} +30 -30
- package/dist/chunks/{worktree-swxr5sk9.js → app-7akjnz43.js} +23 -23
- package/dist/chunks/{worktree-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-2hz0qpna.js → app-7bv32vg5.js} +14 -14
- package/dist/chunks/{worktree-g0jbnnkv.js → app-7dghmw1c.js} +46 -46
- package/dist/chunks/{worktree-qvreyy9g.js → app-84zcxbc9.js} +5 -5
- package/dist/chunks/{worktree-g3jdw4qe.js → app-87738vnr.js} +14 -14
- package/dist/chunks/{worktree-y19g1g3c.js → app-87sq4ns4.js} +24 -24
- package/dist/chunks/{worktree-ryvvaahd.js → app-8bp92270.js} +14 -14
- package/dist/chunks/{worktree-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-dj2t23y0.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-03513dpk.js → app-8qktnpz7.js} +17 -17
- package/dist/chunks/{worktree-5mtzsd3b.js → app-8z00fdkb.js} +4 -4
- package/dist/chunks/{worktree-pgd96ws3.js → app-92r1w9xd.js} +32 -32
- package/dist/chunks/{worktree-e47wcd5s.js → app-938etnqy.js} +7 -7
- package/dist/chunks/{worktree-v1szefp9.js → app-943e2jvx.js} +21 -21
- package/dist/chunks/{worktree-2w250fb9.js → app-94y6grsq.js} +9 -9
- package/dist/chunks/{worktree-7x8vr9wx.js → app-95snkdmn.js} +40 -40
- package/dist/chunks/{worktree-t2ebar3s.js → app-99ab7et3.js} +6 -6
- package/dist/chunks/app-9aknjnhf.js +26 -0
- package/dist/chunks/{worktree-9vmxtf8m.js → app-9dhf40d2.js} +15 -15
- package/dist/chunks/{worktree-5gq0j8y6.js → app-9s6rx2cc.js} +42 -42
- package/dist/chunks/{worktree-anv5cbp8.js → app-9shy6a5e.js} +11 -11
- package/dist/chunks/{worktree-bc773w9a.js → app-9z3vkseh.js} +20 -20
- package/dist/chunks/{worktree-d5z19hk1.js → app-a0bp3fsc.js} +10 -10
- package/dist/chunks/{worktree-5c4hm403.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-rfw8gvq9.js → app-a82gmppq.js} +15 -15
- package/dist/chunks/{worktree-g190xswt.js → app-a8bn8zg0.js} +4 -4
- package/dist/chunks/{worktree-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-4947sgj4.js → app-ab3fy251.js} +13 -13
- package/dist/chunks/{worktree-jc7s5yzp.js → app-abyy57qk.js} +11 -11
- package/dist/chunks/{worktree-gdexxn2e.js → app-atk4whyf.js} +3 -3
- package/dist/chunks/{worktree-g2swn6b7.js → app-ay076qxp.js} +25 -25
- package/dist/chunks/{worktree-sbwttkaf.js → app-azbd23ze.js} +11 -11
- package/dist/chunks/{worktree-87tqv0m9.js → app-b21gbg50.js} +4 -4
- package/dist/chunks/{worktree-1sfwps64.js → app-b5abhfx7.js} +15 -15
- package/dist/chunks/{worktree-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-kw4nys0v.js → app-bahb1c52.js} +32 -32
- package/dist/chunks/{worktree-j6fv3d6x.js → app-bcbe83a7.js} +3 -3
- package/dist/chunks/{worktree-nbhvjqq0.js → app-bfph4vb6.js} +16 -16
- package/dist/chunks/{worktree-5eer2xf9.js → app-bnmr3cva.js} +8 -8
- package/dist/chunks/{worktree-1p2ds4p0.js → app-br2enyvp.js} +16 -16
- package/dist/chunks/{worktree-j6q6f4de.js → app-bw8p8d0g.js} +39 -39
- package/dist/chunks/{worktree-8dged86n.js → app-bxc0gw8b.js} +24 -24
- package/dist/chunks/{worktree-ex22b358.js → app-ca0amnmc.js} +25 -25
- package/dist/chunks/{worktree-m0jqrx5p.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-f7ehr1hv.js → app-cmgf2jjc.js} +8 -8
- package/dist/chunks/{worktree-cr07tj7n.js → app-cr07tj7n.js} +2 -2
- package/dist/chunks/{worktree-depwh34e.js → app-ct0p4hmk.js} +6 -6
- package/dist/chunks/{worktree-b04n12yt.js → app-ctrfp6k3.js} +35 -35
- package/dist/chunks/{worktree-77aa2ptm.js → app-d1yevav1.js} +5 -5
- package/dist/chunks/{worktree-bw8gdwks.js → app-d8xrcppj.js} +10 -10
- package/dist/chunks/{worktree-k75g3hfp.js → app-da3bnvm5.js} +12 -12
- package/dist/chunks/{worktree-dn7365jx.js → app-dfns4g3x.js} +4 -4
- package/dist/chunks/{worktree-rbykwf8h.js → app-dhtadd1m.js} +5 -5
- package/dist/chunks/{worktree-dpkg50ah.js → app-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-51a1jr9z.js → app-dq7bhc1n.js} +9 -9
- package/dist/chunks/{worktree-zqerkhaz.js → app-dqt1anda.js} +24 -24
- package/dist/chunks/{worktree-drwq78ky.js → app-drwq78ky.js} +1 -1
- package/dist/chunks/{worktree-0edr8emb.js → app-e2zdx18w.js} +11 -11
- package/dist/chunks/{worktree-486a1zpr.js → app-e63tarq5.js} +32 -32
- package/dist/chunks/{worktree-hxmf60ar.js → app-eekxqy1c.js} +28 -28
- package/dist/chunks/{worktree-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-940d36ge.js → app-egt363yj.js} +15 -15
- package/dist/chunks/{worktree-27w3txew.js → app-er4256hm.js} +15 -15
- package/dist/chunks/{worktree-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-evbgk2k8.js → app-evbgk2k8.js} +2 -2
- package/dist/chunks/{worktree-32g4c5x7.js → app-ex8ktbze.js} +8 -8
- package/dist/chunks/{worktree-rw0j17jy.js → app-exc1vzys.js} +16 -16
- package/dist/chunks/{worktree-wb2290kd.js → app-f7y52kxg.js} +42 -42
- package/dist/chunks/{worktree-hdnk95c8.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-qm0v3jhh.js → app-fdv30zvt.js} +4 -4
- package/dist/chunks/{worktree-k7xvw3dw.js → app-fe6qwrgk.js} +20 -20
- package/dist/chunks/{worktree-b6xy6jda.js → app-fmcqyzhx.js} +9 -9
- package/dist/chunks/{worktree-6ggbzja4.js → app-fmf120va.js} +5 -5
- package/dist/chunks/{worktree-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-bg2gq5qa.js → app-fxqygnfa.js} +4 -4
- package/dist/chunks/{worktree-fd7j5y5t.js → app-fz9mh2y2.js} +11 -11
- package/dist/chunks/{worktree-g2xawn2z.js → app-g3mn8s68.js} +2 -2
- package/dist/chunks/{worktree-97qjdx9c.js → app-g6pjt58h.js} +23 -23
- package/dist/chunks/{worktree-yaf95dqt.js → app-gcn4rvn9.js} +10 -10
- package/dist/chunks/{worktree-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-j7fts5t0.js → app-gg72wa45.js} +11 -11
- package/dist/chunks/{worktree-q9em23va.js → app-gk3wjayh.js} +77 -77
- package/dist/chunks/{worktree-1qsv2vsq.js → app-gnnyvzb4.js} +24 -24
- package/dist/chunks/{worktree-0ahhqjdx.js → app-grv6h7yp.js} +31 -31
- package/dist/chunks/{worktree-yyk09s5y.js → app-grvh109k.js} +7 -7
- package/dist/chunks/{worktree-kne8f3cn.js → app-gst7axd9.js} +4 -4
- package/dist/chunks/{worktree-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-ag8e42mr.js → app-h3vfnnb5.js} +28 -28
- package/dist/chunks/{worktree-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-qzj3p1a8.js → app-hexskcr5.js} +19 -19
- package/dist/chunks/{worktree-hepbeetm.js → app-hnc80k8f.js} +32 -32
- package/dist/chunks/{worktree-2993mdqz.js → app-hskrzcap.js} +5 -5
- package/dist/chunks/{worktree-36g34y2m.js → app-htkz5b9p.js} +29 -29
- package/dist/chunks/{worktree-mhkvc446.js → app-j028xdjb.js} +3 -3
- package/dist/chunks/{worktree-mdk3y3z1.js → app-j04nwq7r.js} +11 -11
- package/dist/chunks/{worktree-9ftphk66.js → app-j3azhb7z.js} +28 -28
- package/dist/chunks/{worktree-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-6x0h2hvg.js → app-j7zc0ft0.js} +7 -7
- package/dist/chunks/{worktree-rr0tph7c.js → app-j99nxr5r.js} +44 -44
- package/dist/chunks/{worktree-5dmcr3b1.js → app-jd0ec2vp.js} +30 -30
- package/dist/chunks/{worktree-qtp3z5jz.js → app-jmfvx9s5.js} +20 -20
- package/dist/chunks/{worktree-n2k8kfr2.js → app-jng4by6n.js} +10 -10
- package/dist/chunks/{worktree-6ysrkrkr.js → app-jpgzdbsd.js} +8 -8
- package/dist/chunks/{worktree-54h1gy1n.js → app-k0nqkats.js} +26 -26
- package/dist/chunks/{worktree-28d8znnm.js → app-k1e29702.js} +4 -4
- package/dist/chunks/{worktree-nzks3jc8.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-c282yhkm.js → app-k5r9x8j7.js} +32 -32
- package/dist/chunks/{worktree-22da35st.js → app-k72y7s9z.js} +15 -15
- package/dist/chunks/{worktree-5gvw5jwx.js → app-k807sq0r.js} +20 -20
- package/dist/chunks/{worktree-mps7kt98.js → app-k97cgbvd.js} +7 -7
- package/dist/chunks/{worktree-1mq78cxw.js → app-kgq2j1px.js} +55 -55
- package/dist/chunks/{worktree-fkjmw100.js → app-knb7evpn.js} +6 -6
- package/dist/chunks/{worktree-3s810fg1.js → app-kv8awt1x.js} +3 -3
- package/dist/chunks/{worktree-6wg7wrda.js → app-kxtwbv1b.js} +8 -8
- package/dist/chunks/{worktree-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-0mkssq3p.js → app-m77d5zrr.js} +24 -24
- package/dist/chunks/{worktree-spdrvks9.js → app-m9hajnka.js} +22 -22
- package/dist/chunks/{worktree-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-r4xk7wzn.js → app-mbkm2fyz.js} +11 -11
- package/dist/chunks/{worktree-33w4ejhs.js → app-mfqp6xfm.js} +9 -9
- package/dist/chunks/{worktree-yd28dp38.js → app-mg9jjtrh.js} +29 -29
- package/dist/chunks/{worktree-ebmcp6jg.js → app-mq83qn8x.js} +21 -21
- package/dist/chunks/{worktree-vfnexndp.js → app-n0pywpq4.js} +6 -6
- package/dist/chunks/{worktree-s4m6wqxh.js → app-n23hd4ap.js} +9 -9
- package/dist/chunks/{worktree-vycw7md4.js → app-n2srvep7.js} +4 -4
- package/dist/chunks/{worktree-v7j76yb7.js → app-n571wmch.js} +13 -13
- package/dist/chunks/{worktree-adrjdcdv.js → app-n7egt4g5.js} +5 -5
- package/dist/chunks/{worktree-45hwf2ve.js → app-n93ehy3t.js} +25 -25
- package/dist/chunks/{worktree-9yk5tkmn.js → app-nfynv00w.js} +8 -8
- package/dist/chunks/app-nkrpwcne.js +252 -0
- package/dist/chunks/{worktree-stz8t2v6.js → app-nm1fs8j1.js} +4 -4
- package/dist/chunks/{worktree-421r5d5v.js → app-ns11qcmf.js} +12 -12
- package/dist/chunks/{worktree-wzhchsdw.js → app-nzc01whq.js} +23 -23
- package/dist/chunks/{worktree-nce5244k.js → app-p1f9wrr8.js} +29 -29
- package/dist/chunks/{worktree-evq1m25b.js → app-p53dvdxd.js} +10 -10
- package/dist/chunks/{worktree-5pdqrmgg.js → app-p5tsmpsj.js} +12 -12
- package/dist/chunks/{worktree-0ft9cg2j.js → app-pjmceen1.js} +6 -6
- package/dist/chunks/{worktree-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-r9dtcy7v.js → app-pjx7q10q.js} +20 -20
- package/dist/chunks/{worktree-q7b8tk1j.js → app-pkmd9pg0.js} +17 -17
- package/dist/chunks/{worktree-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-x2r5cysr.js → app-pw75v0se.js} +18 -18
- package/dist/chunks/{worktree-phvc5gz1.js → app-pyxgdpbm.js} +33 -33
- package/dist/chunks/{worktree-s003wxah.js → app-q46041zc.js} +3 -3
- package/dist/chunks/{worktree-a70dqpwr.js → app-q4aagae2.js} +5 -5
- package/dist/chunks/{worktree-pnbzcb80.js → app-qant3epe.js} +4 -4
- package/dist/chunks/{worktree-zfjnvatg.js → app-qb9bfxht.js} +31 -31
- package/dist/chunks/{worktree-1nd760hn.js → app-qcw5zjkg.js} +28 -28
- package/dist/chunks/{worktree-v731dxt6.js → app-qgcgj089.js} +13 -13
- package/dist/chunks/{worktree-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-4wx50nne.js → app-qyf8ynzm.js} +18 -18
- package/dist/chunks/{worktree-m3qcd0gh.js → app-rd7j0r7s.js} +17 -17
- package/dist/chunks/{worktree-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-qmqgtz8f.js → app-rey5gbxv.js} +9 -9
- package/dist/chunks/{worktree-6rywya1e.js → app-rnhtns9m.js} +8 -8
- package/dist/chunks/{worktree-a3w3ek2p.js → app-rnnfvfmz.js} +5 -5
- package/dist/chunks/{worktree-6rjq4ad6.js → app-s0hza5ac.js} +4 -4
- package/dist/chunks/{worktree-asqy4pdp.js → app-s197j8aa.js} +1 -1
- package/dist/chunks/{worktree-w049avsm.js → app-s57j6h06.js} +12 -12
- package/dist/chunks/{worktree-sa6gj9bw.js → app-s8r4qnwb.js} +15 -15
- package/dist/chunks/{worktree-w2a0me0w.js → app-saqgrh58.js} +91 -91
- package/dist/chunks/{worktree-46dahfew.js → app-sk19vycr.js} +47 -47
- package/dist/chunks/{worktree-yhc2vnw0.js → app-spjvwqgk.js} +10 -10
- package/dist/chunks/{worktree-tpj75mzy.js → app-svzmgsme.js} +19 -19
- package/dist/chunks/{worktree-vykevjvn.js → app-sykc9y4a.js} +5 -5
- package/dist/chunks/{worktree-t3m7g1te.js → app-t3m71znj.js} +11 -11
- package/dist/chunks/{worktree-nqyhrfcc.js → app-t9d84gp7.js} +4 -4
- package/dist/chunks/{worktree-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-p28j5sbe.js → app-tbz0fdvh.js} +5 -5
- package/dist/chunks/{worktree-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-83da929p.js → app-tcfe36vw.js} +33 -33
- package/dist/chunks/{worktree-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-kqhyc4a5.js → app-teqkkx0y.js} +18 -18
- package/dist/chunks/{worktree-ydcyakjt.js → app-tfm9qqy2.js} +9 -9
- package/dist/chunks/{worktree-x2bnk29x.js → app-tk7qtz96.js} +9 -9
- package/dist/chunks/{worktree-hjxmeyjq.js → app-tkg6wrcp.js} +25 -25
- package/dist/chunks/{worktree-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-ccenzmm6.js → app-tx8s6w99.js} +10 -10
- package/dist/chunks/{worktree-ganm2r9k.js → app-tyc4kq75.js} +3 -3
- package/dist/chunks/{worktree-wt3fns9r.js → app-v38d2txv.js} +11 -11
- package/dist/chunks/{worktree-5frpvc34.js → app-v5j4d43x.js} +2 -2
- package/dist/chunks/{worktree-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-t1np0tqc.js → app-vgn3rvzw.js} +22 -22
- package/dist/chunks/{worktree-2k92p94a.js → app-vkhpq047.js} +54 -54
- package/dist/chunks/{worktree-6xtgx1bn.js → app-vkt5wt51.js} +11 -11
- package/dist/chunks/{worktree-5w1b7248.js → app-vrxtv5kp.js} +3 -3
- package/dist/chunks/{worktree-t6191ead.js → app-vsvscstt.js} +35 -35
- package/dist/chunks/{worktree-ae05hxc9.js → app-vx2e2qd2.js} +60 -60
- package/dist/chunks/{worktree-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-epqzss3m.js → app-w1pfwvrv.js} +35 -35
- package/dist/chunks/{worktree-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-m2ma7v7h.js → app-w4ggsreb.js} +6 -6
- package/dist/chunks/{worktree-efqd9j5j.js → app-w9a7bxjv.js} +33 -33
- package/dist/chunks/{worktree-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-nq7qbqzc.js → app-xk747vep.js} +9 -9
- package/dist/chunks/{worktree-qy3x5fkw.js → app-xkadcde5.js} +36 -36
- package/dist/chunks/{worktree-dnjvrtng.js → app-xq2kvd0a.js} +182 -182
- package/dist/chunks/{worktree-g9p6zv33.js → app-xsagr3cx.js} +8 -8
- package/dist/chunks/{worktree-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-9aeamryp.js → app-y6h54wc7.js} +29 -29
- package/dist/chunks/{worktree-818pfwc9.js → app-y7x142mt.js} +8 -8
- package/dist/chunks/{worktree-yjptyezs.js → app-yjptyezs.js} +2 -2
- package/dist/chunks/{worktree-hmcspfjz.js → app-ykg38shc.js} +22 -22
- package/dist/chunks/{worktree-yp2x3t23.js → app-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-g91wcgpj.js → app-yqyqkq2b.js} +4 -4
- package/dist/chunks/{worktree-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → app-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-9wg8f7rp.js → app-yv1416d3.js} +19 -19
- package/dist/chunks/{worktree-7k8hwkm4.js → app-ywpb47cp.js} +22 -22
- package/dist/chunks/{worktree-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-z6s2ptjh.js → app-z0v6s3vd.js} +28 -28
- package/dist/chunks/{worktree-z63w68vq.js → app-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-dvxrp605.js → app-z6kv2pk9.js} +5 -5
- package/dist/chunks/{worktree-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-s58zdxfq.js → app-zjf20deb.js} +330 -330
- package/dist/chunks/{worktree-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-jpz4t714.js → app-zrf3t8cx.js} +15 -15
- package/dist/chunks/{worktree-pk05hrqc.js → app-ztv0xwza.js} +28 -28
- package/dist/chunks/{worktree-q3brf889.js → app-zvffvgzw.js} +7 -7
- package/dist/chunks/{worktree-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-xrhwvysg.js → app-zy1vcdg8.js} +94 -94
- package/dist/chunks/{worktree-j83byb14.js → app-zzabxn0f.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +124 -124
- 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 +123 -123
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +91 -91
- 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 +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- 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 +90 -90
- package/dist/model-resolver.js +93 -93
- 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 +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +5 -5
- 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 +121 -121
- 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 +119 -119
- 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 +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +133 -133
- 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 +85 -85
- 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 +4 -4
- 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 +1 -1
- 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 +213 -213
- 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 +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- 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 +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +92 -92
- 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 +76 -76
- package/dist/workspace/driver.js +7 -7
- 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-x9psk7ht.js +0 -252
- /package/dist/chunks/{worktree-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./app-bfph4vb6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./app-m77d5zrr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service56
|
|
15
|
+
} from "./app-1v1y3h46.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-k0nqkats.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service68
|
|
24
|
+
} from "./app-kgq2j1px.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service43
|
|
27
|
+
} from "./app-2akn3e7d.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin45,
|
|
39
|
+
name: () => name10,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name10 = "glob";
|
|
46
|
+
var Input10 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin45 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service57;
|
|
70
|
+
const ripgrep = yield* Service56;
|
|
71
|
+
const location = yield* Service71;
|
|
72
|
+
const access = yield* Service43;
|
|
73
|
+
const permission = yield* Service68;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name10,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin3 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name10, Input10, Output6, toModelContent6, Plugin45, exports_glob };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-vsvscstt.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service44
|
|
8
|
+
} from "./app-j99nxr5r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve4
|
|
11
|
+
} from "./app-w4ggsreb.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin14
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin14 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service44;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin47 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve4({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin14, exports_provider };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node59
|
|
9
|
+
} from "./app-m77d5zrr.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service56,
|
|
24
|
+
node: () => node58
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service56 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service57;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service56.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node58 = makeLocationNode({ service: Service56, layer, deps: [node59, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service56, node58, exports_ripgrep };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-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: () => Service34,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node37
|
|
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 Service34 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(Service34, 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(Service84, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service34.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 node37 = makeLocationNode({
|
|
143
|
+
service: Service34,
|
|
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, Service34, node37, exports_tool_output2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-k5r9x8j7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service71,
|
|
9
|
+
node74
|
|
10
|
+
} from "./app-bfph4vb6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service68,
|
|
13
|
+
node71
|
|
14
|
+
} from "./app-kgq2j1px.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service43,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node45,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service43 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service71;
|
|
61
|
+
const permission = yield* Service68;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service43.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node45 = makeLocationNode({ service: Service43, layer, deps: [FSUtil.node, node74, node71] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service43, resolvePath2, node45, exports_file_access };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./app-vkt5wt51.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./app-04ewta5r.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update3
|
|
18
|
+
} from "./app-tbz0fdvh.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-8p4f9s12.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-a1bz86dw.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-87sq4ns4.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-fxqygnfa.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./app-fe6qwrgk.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./app-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./app-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node22
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -246,7 +246,7 @@ function run(db, event) {
|
|
|
246
246
|
updateCompaction: updateMessage,
|
|
247
247
|
appendMessage
|
|
248
248
|
};
|
|
249
|
-
yield*
|
|
249
|
+
yield* update3(adapter, event);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function insertMessage(db, event, message) {
|
|
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
280
|
-
const db = (yield*
|
|
279
|
+
const bus = yield* Service80;
|
|
280
|
+
const db = (yield* Service81).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
283
283
|
id: event.data.sessionID,
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node22 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node22, exports_projector };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|