@opencode-ai/core 0.0.0-dev-19233 → 0.0.0-dev-19236
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{job-rhwzqy16.js → file-00pw28xp.js} +29 -29
- package/dist/chunks/{job-952aqqdh.js → file-049bzhxb.js} +9 -9
- package/dist/chunks/{job-fb135p40.js → file-04k4zjse.js} +17 -17
- package/dist/chunks/{job-9vw7vcdh.js → file-066kw2xy.js} +3 -3
- package/dist/chunks/{job-sq1ke05s.js → file-08abk570.js} +34 -34
- package/dist/chunks/{job-0e0xafbb.js → file-0e0xafbb.js} +2 -2
- package/dist/chunks/{job-hnb3gsp3.js → file-0gbwq0hg.js} +23 -23
- package/dist/chunks/{job-s604mysz.js → file-0gfv995g.js} +30 -30
- package/dist/chunks/{job-ggzqw02n.js → file-0kyj2j0j.js} +14 -14
- package/dist/chunks/{job-54ney90v.js → file-0nv781ed.js} +15 -15
- package/dist/chunks/{job-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
- package/dist/chunks/{job-xg3vtz5h.js → file-10ac5mb1.js} +4 -4
- package/dist/chunks/{job-0far9rqk.js → file-14ek8s6r.js} +15 -15
- package/dist/chunks/{job-36vsdr69.js → file-17hja9f4.js} +2 -2
- package/dist/chunks/{job-fyy22dcy.js → file-17qydk6p.js} +18 -18
- package/dist/chunks/{job-q1983gs3.js → file-19knqdbs.js} +3 -3
- package/dist/chunks/{job-1ct4r87x.js → file-1ct4r87x.js} +1 -1
- package/dist/chunks/{job-p54pbamy.js → file-1fyf70sm.js} +6 -6
- package/dist/chunks/{job-jjzmpkqm.js → file-1mrma768.js} +5 -5
- package/dist/chunks/{job-89cfd633.js → file-1pdtxp2d.js} +1 -1
- package/dist/chunks/{job-8tq3sb4p.js → file-1wfjb4fb.js} +1 -1
- package/dist/chunks/{job-r30z0r03.js → file-1zremn8p.js} +15 -15
- package/dist/chunks/{job-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{job-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{job-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-nrsmc0cn.js → file-2gtf4gxt.js} +9 -9
- package/dist/chunks/{job-2ht70gj7.js → file-2ht70gj7.js} +1 -1
- package/dist/chunks/{job-7dqw4kz8.js → file-2k8khapm.js} +5 -5
- package/dist/chunks/{job-crtth3kn.js → file-2yb0w078.js} +3 -3
- package/dist/chunks/{job-gdkf5h66.js → file-303p9w1h.js} +4 -4
- package/dist/chunks/{job-cj7mjqre.js → file-33j3s859.js} +4 -4
- package/dist/chunks/{job-2b8b9bdq.js → file-35agntz9.js} +27 -27
- package/dist/chunks/{job-7ngxwvqm.js → file-39cmf8tc.js} +9 -9
- package/dist/chunks/{job-gt58j5k0.js → file-39hqv1cv.js} +26 -26
- package/dist/chunks/{job-c7vadqv7.js → file-3ew3pzd4.js} +5 -5
- package/dist/chunks/{job-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-n99q5rq0.js → file-3hfq6gnd.js} +4 -4
- package/dist/chunks/{job-wj9ny62y.js → file-3k4x7jps.js} +9 -9
- package/dist/chunks/{job-mxstmdya.js → file-3qysrpvj.js} +18 -18
- package/dist/chunks/{job-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
- package/dist/chunks/{job-r6xmjf87.js → file-3s2nsa7k.js} +3 -3
- package/dist/chunks/{job-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-k1kwjnae.js → file-3vtq9f9y.js} +11 -11
- package/dist/chunks/{job-0v8sm5cm.js → file-428apkw1.js} +16 -16
- package/dist/chunks/{job-454k5vzh.js → file-454k5vzh.js} +1 -1
- package/dist/chunks/{job-fme6xxpb.js → file-4e8crvtb.js} +7 -7
- package/dist/chunks/{job-0bf0f982.js → file-4fv3rmvn.js} +16 -16
- package/dist/chunks/{job-8aaqmbct.js → file-4qjmbshy.js} +21 -21
- package/dist/chunks/{job-4r2nyarf.js → file-4r2nyarf.js} +1 -1
- package/dist/chunks/{job-6esbpxbg.js → file-4rx2ve8e.js} +32 -32
- package/dist/chunks/{job-67nr6jxm.js → file-4skn7rc2.js} +31 -31
- package/dist/chunks/{job-fraw6xjy.js → file-4xx57fsq.js} +8 -8
- package/dist/chunks/{job-0kxr4mw8.js → file-4z3jhc10.js} +35 -35
- package/dist/chunks/{job-mfqp6xfm.js → file-56gdpj1q.js} +6 -6
- package/dist/chunks/{job-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{job-wzmmj5c3.js → file-5fhcw59z.js} +38 -38
- package/dist/chunks/{job-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
- package/dist/chunks/{job-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
- package/dist/chunks/{job-d7qhd9es.js → file-5sqy5p9k.js} +3 -3
- package/dist/chunks/{job-v4kmtq0v.js → file-64hre8q8.js} +18 -18
- package/dist/chunks/{job-fkcyqnbs.js → file-65dn8j3v.js} +14 -14
- package/dist/chunks/{job-vgpse2jg.js → file-65g4zw8b.js} +12 -12
- package/dist/chunks/{job-ye3yabn9.js → file-66hkt5g6.js} +52 -52
- package/dist/chunks/{job-jtvvp2rb.js → file-6c94r859.js} +26 -26
- package/dist/chunks/{job-7c4j9tm2.js → file-6gg9h021.js} +9 -9
- package/dist/chunks/{job-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{job-5hbtvx61.js → file-6m3yr79m.js} +26 -26
- package/dist/chunks/{job-ahxzhcff.js → file-6pdxptdt.js} +2 -2
- package/dist/chunks/{job-711hfp6y.js → file-711hfp6y.js} +2 -2
- package/dist/chunks/{job-72nftnjy.js → file-72nftnjy.js} +2 -2
- package/dist/chunks/{job-1bbkgx8g.js → file-73tb2d7t.js} +3 -3
- package/dist/chunks/{job-g4p86hxj.js → file-754np4jn.js} +18 -18
- package/dist/chunks/{job-bjs50m4b.js → file-759pz1a2.js} +8 -8
- package/dist/chunks/{job-be82m630.js → file-75w3e9am.js} +33 -33
- package/dist/chunks/{job-mtcjf44p.js → file-75yf2d83.js} +8 -8
- package/dist/chunks/{job-76wr4mq2.js → file-76wr4mq2.js} +2 -2
- package/dist/chunks/{job-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-rgpp5x08.js → file-7grmgsg7.js} +4 -4
- package/dist/chunks/{job-9cnpj473.js → file-7n7dggr2.js} +8 -8
- package/dist/chunks/{job-9bfm6dbz.js → file-7ntygjpx.js} +6 -6
- package/dist/chunks/{job-5svb1j9h.js → file-7qxyrcbr.js} +11 -11
- package/dist/chunks/{job-1z8rthr1.js → file-7stz268c.js} +42 -42
- package/dist/chunks/{job-kxpygcw9.js → file-7yqjxrmz.js} +6 -6
- package/dist/chunks/file-7zk4hah4.js +4 -0
- package/dist/chunks/{job-g2vkv3me.js → file-81wsxtk4.js} +32 -32
- package/dist/chunks/{job-764nqqnc.js → file-8b48ft5s.js} +28 -28
- package/dist/chunks/{job-6ds36eyk.js → file-8dv8mw3k.js} +7 -7
- package/dist/chunks/{job-kp9qc20g.js → file-8ej6t0kx.js} +25 -25
- package/dist/chunks/{job-jy46tkpa.js → file-8p628rfe.js} +19 -19
- package/dist/chunks/{job-nge3vtdb.js → file-92k45pvj.js} +6 -6
- package/dist/chunks/{job-93a8yfjt.js → file-93a8yfjt.js} +2 -2
- package/dist/chunks/{job-rmtx79qf.js → file-99f55ymk.js} +6 -6
- package/dist/chunks/{job-p7g4wgs5.js → file-9ddpxva0.js} +16 -16
- package/dist/chunks/{job-kam18kqc.js → file-9m6tffr9.js} +85 -85
- package/dist/chunks/{job-6t6zp6fw.js → file-a73hhrgc.js} +10 -10
- package/dist/chunks/{job-1ydgq2r4.js → file-a9zfrvqc.js} +5 -5
- package/dist/chunks/{job-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{job-7dk0wx9f.js → file-af4svgqg.js} +11 -11
- package/dist/chunks/{job-0j000hfr.js → file-aj358c6r.js} +15 -15
- package/dist/chunks/{job-8qhh6y2r.js → file-ampcz2zy.js} +26 -26
- package/dist/chunks/{job-qz0x0s1g.js → file-at07c4b9.js} +15 -15
- package/dist/chunks/{job-e9sa9zxz.js → file-b01ryz8d.js} +11 -11
- package/dist/chunks/{job-1q5awywt.js → file-b29mbqx6.js} +5 -5
- package/dist/chunks/{job-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-yq5ja4q0.js → file-b82xwvp7.js} +6 -6
- package/dist/chunks/{job-b9wsbatv.js → file-b9wsbatv.js} +1 -1
- package/dist/chunks/{job-bsvvsrn1.js → file-bcezcar3.js} +5 -5
- package/dist/chunks/{job-dtkd4wwk.js → file-bj16ny09.js} +31 -31
- package/dist/chunks/{job-smvrzaws.js → file-bnce5g0a.js} +14 -14
- package/dist/chunks/{job-2hg40tsn.js → file-bsa9yb1r.js} +30 -30
- package/dist/chunks/{job-1gz0ta6j.js → file-btr637ng.js} +27 -27
- package/dist/chunks/{job-w8zd3pxg.js → file-bwrfg74g.js} +11 -11
- package/dist/chunks/{job-ybsdre70.js → file-c36t02qb.js} +36 -36
- package/dist/chunks/{job-22ra2ec6.js → file-cbq8agb2.js} +38 -38
- package/dist/chunks/{job-adhsr3tz.js → file-cctcmebf.js} +3 -3
- package/dist/chunks/{job-v517j8yy.js → file-cek9jpa8.js} +24 -24
- package/dist/chunks/{job-31h5rjhn.js → file-cryxk9jx.js} +15 -15
- package/dist/chunks/{job-t27w4pf2.js → file-d8ch6z4t.js} +22 -22
- package/dist/chunks/{job-gfzbjyhz.js → file-defv84qj.js} +13 -13
- package/dist/chunks/{job-099yzkay.js → file-dm7yrpwm.js} +5 -5
- package/dist/chunks/{job-34akyan7.js → file-dns6mj49.js} +9 -9
- package/dist/chunks/{job-ert66qwv.js → file-dtb0ws7g.js} +284 -284
- package/dist/chunks/{job-7k14zqa2.js → file-ebtdd58c.js} +20 -20
- package/dist/chunks/{job-7g4de1gz.js → file-eyx7m0wd.js} +46 -46
- package/dist/chunks/{job-jpavn7vf.js → file-ez0vzke5.js} +8 -8
- package/dist/chunks/{job-gw3vps06.js → file-f5n5pagv.js} +9 -9
- package/dist/chunks/{job-rae5gv57.js → file-f73jprk4.js} +10 -10
- package/dist/chunks/{job-ms3efxed.js → file-fd12r7gp.js} +6 -6
- package/dist/chunks/{job-3qpta3nq.js → file-fksjs2ph.js} +47 -47
- package/dist/chunks/{job-sbzv84es.js → file-fqrxtbzb.js} +9 -9
- package/dist/chunks/{job-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-fxypknc8.js → file-fxypknc8.js} +1 -1
- package/dist/chunks/{job-6sg32tdv.js → file-fyvm2v1v.js} +4 -4
- package/dist/chunks/{job-hrvm11jt.js → file-g2dy4bvs.js} +3 -3
- package/dist/chunks/{job-d72308c8.js → file-g2gt0w0k.js} +2 -2
- package/dist/chunks/file-g7tb25v3.js +247 -0
- package/dist/chunks/{job-ykzs9fww.js → file-ga7x5g5r.js} +15 -15
- package/dist/chunks/{job-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{job-vnzc40bj.js → file-ge7ds67b.js} +2 -2
- package/dist/chunks/{job-zvt5dnpc.js → file-gst7axd9.js} +4 -4
- package/dist/chunks/{job-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-39yamgtx.js → file-hczx788n.js} +11 -11
- package/dist/chunks/{job-heyhwy2w.js → file-heyhwy2w.js} +1 -1
- package/dist/chunks/{job-bntpbxe2.js → file-hg836chd.js} +22 -22
- package/dist/chunks/{job-18z4nfx4.js → file-hht6jkqw.js} +17 -17
- package/dist/chunks/{job-nhy5jxhy.js → file-hjt4xg1x.js} +4 -4
- package/dist/chunks/{job-9z6xj13s.js → file-ht963k40.js} +5 -5
- package/dist/chunks/{job-vssq7284.js → file-hx6eb5yw.js} +1 -1
- package/dist/chunks/{job-rhpqpny4.js → file-j01ht7zb.js} +18 -18
- package/dist/chunks/{job-awaee7qt.js → file-j5208yae.js} +6 -6
- package/dist/chunks/{job-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{job-9y5wqfte.js → file-jasnfvjs.js} +10 -10
- package/dist/chunks/{job-yvg0r0vc.js → file-jdnm8yea.js} +11 -11
- package/dist/chunks/{job-zc9338xq.js → file-jee1seff.js} +8 -8
- package/dist/chunks/{job-cw3cp746.js → file-jfx7w4w0.js} +52 -52
- package/dist/chunks/{job-f569ayv3.js → file-jg8hpbdb.js} +17 -17
- package/dist/chunks/{job-723tnx7j.js → file-jkbrzrrv.js} +24 -24
- package/dist/chunks/{job-13y9ya0v.js → file-jnv61ywj.js} +16 -16
- package/dist/chunks/{job-y75evwn6.js → file-jw46jgr9.js} +22 -22
- package/dist/chunks/{job-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
- package/dist/chunks/{job-tve492s9.js → file-k7ry919m.js} +19 -19
- package/dist/chunks/{job-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{job-60tbqhvj.js → file-kgx56mxq.js} +85 -85
- package/dist/chunks/{job-qq6z8s6d.js → file-kjsgxbnr.js} +19 -19
- package/dist/chunks/{job-yfbd16n1.js → file-kk3rr3qh.js} +5 -5
- package/dist/chunks/{job-ar2zsk5h.js → file-kkq7fz0t.js} +8 -8
- package/dist/chunks/{job-njb9p3v3.js → file-km1d5px4.js} +4 -4
- package/dist/chunks/{job-wefnnxbq.js → file-kmcjptjm.js} +1 -1
- package/dist/chunks/{job-6e5er5n1.js → file-kq7ayz9w.js} +11 -11
- package/dist/chunks/{job-j5axe61t.js → file-kt8ej3md.js} +14 -14
- package/dist/chunks/{job-hw4pv20g.js → file-kvsjn1dr.js} +2 -2
- package/dist/chunks/{job-a78wm4ce.js → file-m25102gb.js} +7 -7
- package/dist/chunks/{job-sw2z68vz.js → file-m6gkbcmq.js} +35 -35
- package/dist/chunks/{job-1vtw6nte.js → file-m7fncjt1.js} +20 -20
- package/dist/chunks/{job-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-b27vhd2z.js → file-mtq6xxnx.js} +7 -7
- package/dist/chunks/{job-tfyecq3b.js → file-mw9hhfke.js} +32 -32
- package/dist/chunks/{job-21h5670b.js → file-nknpaanp.js} +8 -8
- package/dist/chunks/{job-85yfw8f2.js → file-nw7wp838.js} +4 -4
- package/dist/chunks/{job-nxrz604p.js → file-nxrz604p.js} +2 -2
- package/dist/chunks/{job-v6ryzxxv.js → file-p0fvx2b7.js} +9 -9
- package/dist/chunks/{job-c7cd984x.js → file-p2bhzj9e.js} +9 -9
- package/dist/chunks/{job-1a276tzg.js → file-p5a9pe6q.js} +20 -20
- package/dist/chunks/{job-bdr6vkwq.js → file-p742g7s6.js} +24 -24
- package/dist/chunks/{job-g0ysksx1.js → file-pbhkjpds.js} +9 -9
- package/dist/chunks/{job-nraysfsj.js → file-phke90h3.js} +5 -5
- package/dist/chunks/{job-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{job-f1a3k8hk.js → file-pwphe3rf.js} +6 -6
- package/dist/chunks/{job-cr1qn5av.js → file-q06n7zjg.js} +5 -5
- package/dist/chunks/{job-mewap8c7.js → file-q6ypxst3.js} +4 -4
- package/dist/chunks/{job-mgg6b1b0.js → file-q87c86rb.js} +16 -16
- package/dist/chunks/{job-r1543tk3.js → file-qp4m35b7.js} +3 -3
- package/dist/chunks/{job-9185jwfw.js → file-qpfcbq6z.js} +11 -11
- package/dist/chunks/{job-j83byb14.js → file-qq11w61w.js} +4 -4
- package/dist/chunks/{job-gxpjz2fr.js → file-qqff7yvw.js} +12 -12
- package/dist/chunks/{job-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{job-9qm9egsn.js → file-qvbcabdc.js} +2 -2
- package/dist/chunks/{job-8j2rwc0w.js → file-qvrpv7pw.js} +21 -21
- package/dist/chunks/{job-ynf2m8sv.js → file-qyg26a5q.js} +60 -60
- package/dist/chunks/{job-gta7psvz.js → file-r5bh2vbg.js} +10 -10
- package/dist/chunks/{job-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
- package/dist/chunks/file-rap9a73h.js +18 -0
- package/dist/chunks/{job-krt69xys.js → file-rc3fvhed.js} +159 -159
- package/dist/chunks/{job-m5rgyzja.js → file-rg4vxe4z.js} +11 -11
- package/dist/chunks/{job-s0gpr7nd.js → file-rh7y5xh0.js} +1 -1
- package/dist/chunks/{job-vcwpx9hw.js → file-rs2df3q6.js} +9 -9
- package/dist/chunks/{job-nwdwhmak.js → file-rxkkpkzx.js} +9 -9
- package/dist/chunks/{job-988qcjmk.js → file-rzmvvtd3.js} +20 -20
- package/dist/chunks/{job-mj4bzwnf.js → file-sb82pmjh.js} +2 -2
- package/dist/chunks/{job-sba4qhjf.js → file-sba4qhjf.js} +1 -1
- package/dist/chunks/{job-4f62ejdk.js → file-sbnvhk9g.js} +20 -20
- package/dist/chunks/{job-vefskwcr.js → file-sd8ec36g.js} +3 -3
- package/dist/chunks/{job-8k41ncbx.js → file-sgecvmzg.js} +39 -39
- package/dist/chunks/{job-enq73cty.js → file-skb9jyq5.js} +46 -46
- package/dist/chunks/{job-be3ajq1c.js → file-skgjtp1k.js} +35 -35
- package/dist/chunks/{job-fjsjs8gs.js → file-sn5ar8h4.js} +1 -1
- package/dist/chunks/{job-3p4rd3p9.js → file-sthxzpft.js} +22 -22
- package/dist/chunks/{job-vkxy9tje.js → file-swhyn6z2.js} +4 -4
- package/dist/chunks/{job-2xq5ym6z.js → file-sxxkfwq9.js} +32 -32
- package/dist/chunks/{job-ztxeb84j.js → file-sy2xv61m.js} +1 -1
- package/dist/chunks/{job-hcpkpkrn.js → file-t9s2ckae.js} +22 -22
- package/dist/chunks/{job-k3fs0qt5.js → file-tag52meg.js} +7 -7
- package/dist/chunks/{job-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-n4w7srb8.js → file-te19xw12.js} +14 -14
- package/dist/chunks/{job-zc8xf61f.js → file-tjjz5xwe.js} +13 -13
- package/dist/chunks/{job-tjykrgmx.js → file-tjykrgmx.js} +1 -1
- package/dist/chunks/{job-s91rf68f.js → file-ts767fjw.js} +25 -25
- package/dist/chunks/{job-srp77x07.js → file-tsv3p22z.js} +16 -16
- package/dist/chunks/{job-rbztp1s7.js → file-v24vjsdb.js} +53 -53
- package/dist/chunks/{job-npsv0nay.js → file-v7z8bxbw.js} +11 -11
- package/dist/chunks/{job-pnabnhqb.js → file-vd657q2k.js} +22 -22
- package/dist/chunks/{job-3jj6bjb6.js → file-veabk5tt.js} +5 -5
- package/dist/chunks/{job-tyqynq3b.js → file-vhjdrq5e.js} +5 -5
- package/dist/chunks/{job-4dwv79pw.js → file-vqv04s3v.js} +4 -4
- package/dist/chunks/file-vz1btq9j.js +22 -0
- package/dist/chunks/{job-4kpe0rr7.js → file-vz6nxp08.js} +24 -24
- package/dist/chunks/{job-c28q5v06.js → file-w3v7t084.js} +25 -25
- package/dist/chunks/{job-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{job-6g7hnhz5.js → file-wd9xnjkn.js} +20 -20
- package/dist/chunks/{job-khqnst5w.js → file-wdmsjcnj.js} +8 -8
- package/dist/chunks/{job-zb979w0w.js → file-wgcrfrpe.js} +6 -6
- package/dist/chunks/{job-zbyx735k.js → file-wj16sq0a.js} +10 -10
- package/dist/chunks/{job-yfcf1nq6.js → file-ws7sq7f3.js} +20 -20
- package/dist/chunks/{job-ewrksnmv.js → file-wt8jf74x.js} +14 -14
- package/dist/chunks/{job-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-v9mzkcae.js → file-x5wdkkrz.js} +11 -11
- package/dist/chunks/{job-aeech1x6.js → file-x7ynhfcf.js} +24 -24
- package/dist/chunks/{job-29y2fmhm.js → file-xb5gd69p.js} +11 -11
- package/dist/chunks/{job-z6z3ddq4.js → file-xbh233pe.js} +6 -6
- package/dist/chunks/{job-6gw5f1b0.js → file-xqrgenjs.js} +5 -5
- package/dist/chunks/{job-k4wwzjdh.js → file-xysfxsss.js} +24 -24
- package/dist/chunks/{job-1pnbkzsb.js → file-y0hxjsdz.js} +20 -20
- package/dist/chunks/{job-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-pzk1wccs.js → file-y1r8n7hf.js} +20 -20
- package/dist/chunks/{job-y71avatq.js → file-y71avatq.js} +1 -1
- package/dist/chunks/{job-a88tc3ry.js → file-y8r8mqe0.js} +19 -19
- package/dist/chunks/{job-a0pph4fy.js → file-yb55v587.js} +5 -5
- package/dist/chunks/{job-mtqwgfqs.js → file-ybjzef57.js} +8 -8
- package/dist/chunks/{job-ajtjthsy.js → file-yg7sb877.js} +2 -2
- package/dist/chunks/{job-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/{job-j292zv19.js → file-yqgm3h52.js} +15 -15
- package/dist/chunks/{job-rw6x9wyb.js → file-z0xt53t1.js} +11 -11
- package/dist/chunks/{job-z1k01bn4.js → file-z1k01bn4.js} +2 -2
- package/dist/chunks/{job-zppqdj7p.js → file-z2aqhqx5.js} +15 -15
- package/dist/chunks/{job-tm928733.js → file-z98ztr55.js} +4 -4
- package/dist/chunks/{job-k2dt1yqc.js → file-z9bw2vtt.js} +25 -25
- package/dist/chunks/{job-52bfwkce.js → file-zkj92s1w.js} +6 -6
- package/dist/chunks/{job-bkh8009q.js → file-zmscwvaw.js} +13 -13
- package/dist/chunks/{job-nmw60bne.js → file-zwjsydpj.js} +9 -9
- package/dist/chunks/{job-5hbfwtys.js → file-zxhyecep.js} +24 -24
- package/dist/chunks/{job-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +354 -354
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +124 -124
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +77 -77
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +118 -118
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- 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 +4 -4
- 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 +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +73 -73
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/job-n95b3jav.js +0 -18
- package/dist/chunks/job-w3vb4krt.js +0 -4
- package/dist/chunks/job-ymysjfkp.js +0 -22
- package/dist/chunks/job-z7g6mnwh.js +0 -247
- /package/dist/chunks/{job-0fabt78z.js → file-0fabt78z.js} +0 -0
- /package/dist/chunks/{job-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t738kvx.js → file-3t738kvx.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-41nvscxy.js → file-41nvscxy.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-982e01ww.js → file-982e01ww.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mntxs535.js → file-mntxs535.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-p8qxwesx.js → file-p8qxwesx.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-se0s1eqw.js → file-se0s1eqw.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → file-z9919s4g.js} +0 -0
- /package/dist/chunks/{job-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./file-04k4zjse.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service16,
|
|
11
|
+
node19
|
|
12
|
+
} from "./file-jkbrzrrv.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service15,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node18
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -74,12 +74,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
74
74
|
}
|
|
75
75
|
var Event3 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service75;
|
|
82
|
+
const search = yield* Service16;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service15.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node18 = makeLocationNode({
|
|
126
|
+
service: Service15,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node80, node19]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -383,4 +383,4 @@ function update2(adapter, event) {
|
|
|
383
383
|
return project(event);
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
export {
|
|
386
|
+
export { update3, exports_message_updater };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node74,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (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 node74 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node74, exports_driver };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-zkj92s1w.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-65dn8j3v.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service34.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node38 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service34, makeLayer2, layer13, node38, exports_model_transport };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service44,
|
|
8
|
+
node47
|
|
9
|
+
} from "./file-xysfxsss.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service17,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service17 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ 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(Service17, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service44;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service17.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node47, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error2, InvalidPatternError2,
|
|
179
|
+
export { Error2, InvalidPatternError2, Service17, node20, exports_ripgrep };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-zkj92s1w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./file-8ej6t0kx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./file-cbq8agb2.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service62;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service66);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./file-04k4zjse.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./file-xysfxsss.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./file-kt8ej3md.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 "./file-kjsgxbnr.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service19
|
|
25
|
+
} from "./file-q87c86rb.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service54
|
|
28
|
+
} from "./file-66hkt5g6.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
38
|
-
Output: () =>
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
37
|
+
Input: () => Input8,
|
|
38
|
+
Output: () => Output4,
|
|
39
|
+
Plugin: () => Plugin8,
|
|
40
|
+
name: () => name8,
|
|
41
|
+
toModelContent: () => toModelContent3
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name8 = "glob";
|
|
47
|
+
var Input8 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,28 +56,28 @@ var Input10 = Schema.Struct({
|
|
|
56
56
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var Output4 = Schema.Array(Entry2);
|
|
60
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin8 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
|
-
const environment = yield*
|
|
71
|
-
const ripgrep = yield*
|
|
72
|
-
const location = yield*
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
70
|
+
const environment = yield* Service44;
|
|
71
|
+
const ripgrep = yield* Service17;
|
|
72
|
+
const location = yield* Service75;
|
|
73
|
+
const mutation = yield* Service19;
|
|
74
|
+
const permission = yield* Service54;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name8,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
79
|
+
input: Input8,
|
|
80
|
+
output: Output4,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
83
83
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -91,7 +91,7 @@ var Plugin41 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name8,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -126,11 +126,11 @@ var Plugin41 = {
|
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name8, Input8, Output4, toModelContent3, Plugin8, exports_glob };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node82
|
|
7
|
+
} from "./file-jasnfvjs.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
15
|
Service72,
|
|
16
16
|
node77
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-qp4m35b7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service49,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node52,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service49 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service77;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service72;
|
|
110
|
-
return
|
|
110
|
+
return Service49.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node52 = makeGlobalNode({
|
|
171
|
+
service: Service49,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node77]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service49, isError2, validateBranch2, node52, exports_repository_cache };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command4 };
|