@opencode/core 0.0.0-dev-20238 → 0.0.0-dev-20240
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +73 -73
- package/dist/chunks/{workspace-eefz1cnf.js → filesystem-08mcr500.js} +23 -23
- package/dist/chunks/{workspace-73zbfbv7.js → filesystem-09fmdqc3.js} +10 -10
- package/dist/chunks/{workspace-41czef58.js → filesystem-0br3sbwn.js} +4 -4
- package/dist/chunks/{workspace-ceejba7k.js → filesystem-0hhvd48t.js} +10 -10
- package/dist/chunks/{workspace-fwwk8vbp.js → filesystem-0jq9fyba.js} +9 -9
- package/dist/chunks/{workspace-ey9veasj.js → filesystem-0mh2q183.js} +20 -20
- package/dist/chunks/{workspace-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-9skvqb4b.js → filesystem-0pcvbqvq.js} +18 -18
- package/dist/chunks/{workspace-4dxafkqb.js → filesystem-0qhtvwpj.js} +3 -3
- package/dist/chunks/{workspace-95x7y5k8.js → filesystem-0qx4m1me.js} +11 -11
- package/dist/chunks/{workspace-awhgtamw.js → filesystem-0w7xa6ee.js} +25 -25
- package/dist/chunks/{workspace-hh5kkd24.js → filesystem-0yevmncv.js} +10 -10
- package/dist/chunks/{workspace-4qrmk4ra.js → filesystem-13n5q7dt.js} +42 -42
- package/dist/chunks/{workspace-6aebm42n.js → filesystem-1cn5a5mh.js} +13 -13
- package/dist/chunks/{workspace-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-fk76ksd4.js → filesystem-1gfephy1.js} +16 -16
- package/dist/chunks/{workspace-c8gr6drp.js → filesystem-1p1fqfpr.js} +11 -11
- package/dist/chunks/{workspace-maye8mhe.js → filesystem-1y3mx57g.js} +19 -19
- package/dist/chunks/{workspace-33w4ejhs.js → filesystem-1ygqh575.js} +6 -6
- package/dist/chunks/{workspace-2re12hwp.js → filesystem-1zh729eh.js} +3 -3
- package/dist/chunks/{workspace-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-rgnqfr3v.js → filesystem-228pzppe.js} +23 -23
- package/dist/chunks/{workspace-k8dasee7.js → filesystem-2336b01z.js} +8 -8
- package/dist/chunks/{workspace-16jcs5eh.js → filesystem-24yp57y1.js} +7 -7
- package/dist/chunks/{workspace-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-tsve2r88.js → filesystem-2arffnsn.js} +4 -4
- package/dist/chunks/{workspace-zbn85w19.js → filesystem-2at83sxs.js} +74 -74
- package/dist/chunks/{workspace-ce5fknq2.js → filesystem-2cmv458r.js} +5 -5
- package/dist/chunks/{workspace-sx7yxhmc.js → filesystem-2jnrxcaz.js} +22 -22
- package/dist/chunks/{workspace-dgzzq6er.js → filesystem-2np3k2bf.js} +22 -22
- package/dist/chunks/{workspace-cydxmqrz.js → filesystem-2qdytgm4.js} +10 -10
- package/dist/chunks/{workspace-cwa6csj7.js → filesystem-2sejkfem.js} +9 -9
- package/dist/chunks/{workspace-jf7tajsg.js → filesystem-2w4eq4pf.js} +11 -11
- package/dist/chunks/{workspace-1efy3mt3.js → filesystem-2x1f9zwj.js} +32 -32
- package/dist/chunks/{workspace-d5czjx5e.js → filesystem-32jxf96r.js} +19 -19
- package/dist/chunks/{workspace-akqk8sab.js → filesystem-39z47dss.js} +17 -17
- package/dist/chunks/{workspace-ab9238g2.js → filesystem-3a6re68j.js} +6 -6
- package/dist/chunks/{workspace-k3x2sf3r.js → filesystem-3cjwh6g5.js} +12 -12
- package/dist/chunks/{workspace-spmh1vek.js → filesystem-3dgq6m1n.js} +45 -45
- package/dist/chunks/{workspace-rb06gkc1.js → filesystem-3f9dn8j5.js} +3 -3
- package/dist/chunks/{workspace-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-g390ytxs.js → filesystem-44mxtx8s.js} +8 -8
- package/dist/chunks/{workspace-b7k25wxh.js → filesystem-47syppsm.js} +32 -32
- package/dist/chunks/{workspace-p89640sn.js → filesystem-4dfa1csd.js} +27 -27
- package/dist/chunks/{workspace-nzyhnfxz.js → filesystem-4dgbcxzg.js} +4 -4
- package/dist/chunks/{workspace-5s43rmdb.js → filesystem-4ev5vm6j.js} +6 -6
- package/dist/chunks/{workspace-2ejs92bv.js → filesystem-4hdsm0pm.js} +17 -17
- package/dist/chunks/{workspace-6x0h2hvg.js → filesystem-57ez7d0k.js} +9 -9
- package/dist/chunks/{workspace-9b86kaje.js → filesystem-5c120nwe.js} +5 -5
- package/dist/chunks/{workspace-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-4bt902dy.js → filesystem-5e7rf9zs.js} +37 -37
- package/dist/chunks/{workspace-hkagk5ex.js → filesystem-5frpvc34.js} +2 -2
- package/dist/chunks/{workspace-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-pedttwxr.js → filesystem-5y480sgp.js} +8 -8
- package/dist/chunks/{workspace-mrbnkvws.js → filesystem-61126d0d.js} +24 -24
- package/dist/chunks/{workspace-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{workspace-0n965b9a.js → filesystem-6b713qfj.js} +5 -5
- package/dist/chunks/{workspace-6qr29wt1.js → filesystem-6j06p5mc.js} +35 -35
- package/dist/chunks/{workspace-r3gmntzt.js → filesystem-6ma10yar.js} +9 -9
- package/dist/chunks/{workspace-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-gcch2vjz.js → filesystem-6nczgvap.js} +29 -29
- package/dist/chunks/{workspace-hkwj0bg6.js → filesystem-6pmqbm9x.js} +22 -22
- package/dist/chunks/{workspace-qd546yrf.js → filesystem-6shp5cvc.js} +26 -26
- package/dist/chunks/{workspace-k5e7yqx1.js → filesystem-6vvbwd4g.js} +60 -60
- package/dist/chunks/{workspace-hbexs1ta.js → filesystem-72b58gz1.js} +13 -13
- package/dist/chunks/{workspace-eq1pz5kg.js → filesystem-73tb2d7t.js} +3 -3
- package/dist/chunks/{workspace-46gv8nvg.js → filesystem-7601emta.js} +17 -17
- package/dist/chunks/{workspace-3eavv4sq.js → filesystem-76eeqvp0.js} +6 -6
- package/dist/chunks/{workspace-ppc50qyr.js → filesystem-7b1f8sqc.js} +32 -32
- package/dist/chunks/{workspace-rgdhtqj5.js → filesystem-7bgd9sa5.js} +37 -37
- package/dist/chunks/{workspace-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-kr1avhb0.js → filesystem-7btysaay.js} +5 -5
- package/dist/chunks/{workspace-rkprpv83.js → filesystem-7fkffz83.js} +4 -4
- package/dist/chunks/{workspace-nf6159fp.js → filesystem-7h5ye0bq.js} +22 -22
- package/dist/chunks/{workspace-mhgx8wws.js → filesystem-7zpeh0yx.js} +4 -4
- package/dist/chunks/{workspace-e6zxwbax.js → filesystem-80023xb3.js} +25 -25
- package/dist/chunks/{workspace-w1eejvng.js → filesystem-84txncab.js} +5 -5
- package/dist/chunks/{workspace-jabm8zzh.js → filesystem-85j366jc.js} +36 -36
- package/dist/chunks/{workspace-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{workspace-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-j6wgtyv7.js → filesystem-8e5zyrwm.js} +35 -35
- package/dist/chunks/{workspace-9bzf6wdj.js → filesystem-8hh75t8h.js} +11 -11
- package/dist/chunks/{workspace-be7qvw84.js → filesystem-8n69n882.js} +8 -8
- package/dist/chunks/{workspace-ndmv45hp.js → filesystem-8q7cq0y1.js} +3 -3
- package/dist/chunks/{workspace-npnt4k9w.js → filesystem-8r56x03s.js} +35 -35
- package/dist/chunks/{workspace-y2nra5ch.js → filesystem-8zqs9j7p.js} +6 -6
- package/dist/chunks/{workspace-gfvb90ym.js → filesystem-94ek1h2f.js} +2 -2
- package/dist/chunks/{workspace-jmp6pjcj.js → filesystem-95svx96e.js} +5 -5
- package/dist/chunks/{workspace-8hry8h31.js → filesystem-9g8aqzdg.js} +28 -28
- package/dist/chunks/{workspace-k0y9f3c4.js → filesystem-9jgr38p9.js} +30 -30
- package/dist/chunks/{workspace-5d3kt81x.js → filesystem-9p42wv5p.js} +29 -29
- package/dist/chunks/{workspace-dt2m10bg.js → filesystem-9sdebhyw.js} +35 -35
- package/dist/chunks/{workspace-48b9emvv.js → filesystem-9y094rtb.js} +11 -11
- package/dist/chunks/{workspace-xab4b6ma.js → filesystem-9zrft0gr.js} +18 -18
- package/dist/chunks/{workspace-0csdmtm4.js → filesystem-a48f9ws0.js} +8 -8
- package/dist/chunks/{workspace-79d41h82.js → filesystem-a4ym3kq6.js} +25 -25
- package/dist/chunks/{workspace-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-ypzhfwa9.js → filesystem-afed7ext.js} +12 -12
- package/dist/chunks/{workspace-naqwnkkp.js → filesystem-akdn9jnb.js} +22 -22
- package/dist/chunks/{workspace-n7khmxjc.js → filesystem-av5s1sdw.js} +10 -10
- package/dist/chunks/{workspace-73gyw9md.js → filesystem-awczx5q5.js} +87 -87
- package/dist/chunks/{workspace-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-83z9h53v.js → filesystem-bg71ph9x.js} +24 -24
- package/dist/chunks/{workspace-zgrbnmf2.js → filesystem-bk2qgnaw.js} +11 -11
- package/dist/chunks/{workspace-b9hkethe.js → filesystem-bnkgx7re.js} +3 -3
- package/dist/chunks/{workspace-m1jktbz8.js → filesystem-bw0ym531.js} +6 -6
- package/dist/chunks/{workspace-a4tqrw51.js → filesystem-c2zxq3ay.js} +15 -15
- package/dist/chunks/{workspace-p6wxjpka.js → filesystem-c35597j6.js} +4 -4
- package/dist/chunks/{workspace-ktef7j4m.js → filesystem-cbwhh3ee.js} +9 -9
- package/dist/chunks/{workspace-9a29ceb3.js → filesystem-cd22b0cq.js} +32 -32
- package/dist/chunks/{workspace-y6mjvh6p.js → filesystem-cf01cagz.js} +6 -6
- package/dist/chunks/{workspace-dwpz52md.js → filesystem-cht1zc30.js} +24 -24
- package/dist/chunks/{workspace-zjyqk7jh.js → filesystem-cj5wqxwp.js} +24 -24
- package/dist/chunks/{workspace-54tcyq79.js → filesystem-ckecvw8r.js} +2 -2
- package/dist/chunks/{workspace-cyc2wncq.js → filesystem-cm0vdedy.js} +32 -32
- package/dist/chunks/{workspace-r29hx2n2.js → filesystem-cwy3e0f0.js} +17 -17
- package/dist/chunks/{workspace-rcqvxznz.js → filesystem-d43zz4nj.js} +14 -14
- package/dist/chunks/{workspace-rhdmxfkx.js → filesystem-d4a7av5z.js} +13 -13
- package/dist/chunks/{workspace-hk03ff6z.js → filesystem-dah9s5zy.js} +11 -11
- package/dist/chunks/{workspace-0v53mg2y.js → filesystem-dfe8djrf.js} +4 -4
- package/dist/chunks/{workspace-gp14635f.js → filesystem-dh864dnf.js} +13 -13
- package/dist/chunks/{workspace-bffz3vk9.js → filesystem-dqfphc03.js} +9 -9
- package/dist/chunks/{workspace-t0pyh7pd.js → filesystem-dqhaz4gz.js} +3 -3
- package/dist/chunks/{workspace-n92e0945.js → filesystem-drvrjmpp.js} +15 -15
- package/dist/chunks/{workspace-qn4ba14w.js → filesystem-e6hmchc5.js} +5 -5
- package/dist/chunks/{workspace-ecfe7b91.js → filesystem-ecfe7b91.js} +2 -2
- package/dist/chunks/{workspace-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-x9ctzyqd.js → filesystem-enhz8yge.js} +5 -5
- package/dist/chunks/{workspace-1xm4vf8s.js → filesystem-erxx58th.js} +11 -11
- package/dist/chunks/{workspace-qgn6gcr1.js → filesystem-esafk7q3.js} +5 -5
- package/dist/chunks/{workspace-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-5jgcqyeb.js → filesystem-f0368xkp.js} +41 -41
- package/dist/chunks/{workspace-p8wv2ncz.js → filesystem-f2515zf3.js} +20 -20
- package/dist/chunks/{workspace-g88fbw77.js → filesystem-f2fkfqad.js} +5 -5
- package/dist/chunks/{workspace-yp2x3t23.js → filesystem-f2n192rq.js} +4 -4
- package/dist/chunks/{workspace-d3m7nd9b.js → filesystem-f2sgpmsp.js} +13 -13
- package/dist/chunks/{workspace-2eryhk75.js → filesystem-f9231ptw.js} +28 -28
- package/dist/chunks/{workspace-h1jz91a9.js → filesystem-fbzhwgzx.js} +12 -12
- package/dist/chunks/{workspace-h8qnj1c8.js → filesystem-ff7x310r.js} +31 -31
- package/dist/chunks/{workspace-wxyy423z.js → filesystem-fhd6f79b.js} +18 -18
- package/dist/chunks/{workspace-150yg2gd.js → filesystem-fhz5gfgy.js} +5 -5
- package/dist/chunks/{workspace-hekxc47r.js → filesystem-fp2xarvc.js} +1 -1
- package/dist/chunks/{workspace-9b31mr9v.js → filesystem-fp8ek5zt.js} +43 -43
- package/dist/chunks/{workspace-czdw7bxj.js → filesystem-fqftz3yh.js} +23 -23
- package/dist/chunks/{workspace-s5h1yxee.js → filesystem-fzts1kpm.js} +4 -4
- package/dist/chunks/{workspace-fyac72vw.js → filesystem-g344s1sv.js} +13 -13
- package/dist/chunks/{workspace-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-c203jhqw.js → filesystem-gfhtznv3.js} +9 -9
- package/dist/chunks/{workspace-ykpgxs72.js → filesystem-grdteyps.js} +42 -42
- package/dist/chunks/{workspace-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/filesystem-h32wa76p.js +507 -0
- package/dist/chunks/{workspace-pyctfm1s.js → filesystem-h46f4tx0.js} +18 -18
- package/dist/chunks/{workspace-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-1xw4hqxx.js → filesystem-h7y0hqxr.js} +15 -15
- package/dist/chunks/{workspace-3dv7a6vg.js → filesystem-hbmgyr7d.js} +4 -4
- package/dist/chunks/{workspace-qw5c8m98.js → filesystem-hd23g7nz.js} +8 -8
- package/dist/chunks/{workspace-fm2mk21r.js → filesystem-hedm60x3.js} +15 -15
- package/dist/chunks/{workspace-zy2n98kk.js → filesystem-hjj02mgg.js} +51 -51
- package/dist/chunks/{workspace-wx59m8c7.js → filesystem-hn8wsm4z.js} +8 -8
- package/dist/chunks/{workspace-9vat1wnt.js → filesystem-hrpet7xn.js} +11 -11
- package/dist/chunks/{workspace-984e37tw.js → filesystem-hy0qjepx.js} +14 -14
- package/dist/chunks/{workspace-htrze483.js → filesystem-j2w0gmpe.js} +10 -10
- package/dist/chunks/{workspace-2y34zzjz.js → filesystem-j5208yae.js} +4 -4
- package/dist/chunks/{workspace-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-6ehbgqat.js → filesystem-j5w2yx54.js} +6 -6
- package/dist/chunks/{workspace-r3rh6mw3.js → filesystem-jdc9aac8.js} +25 -25
- package/dist/chunks/{workspace-synqbpwm.js → filesystem-jkcp7byf.js} +23 -23
- package/dist/chunks/{workspace-nx02as4e.js → filesystem-jt1vb5pc.js} +11 -11
- package/dist/chunks/{workspace-fgn7sf7e.js → filesystem-jtxbrew9.js} +5 -5
- package/dist/chunks/{workspace-fztsg0yk.js → filesystem-k030p904.js} +1 -1
- package/dist/chunks/{workspace-dgzqva13.js → filesystem-k1mgmdq6.js} +36 -36
- package/dist/chunks/{workspace-n3j4cxq5.js → filesystem-kkkrdp4w.js} +16 -16
- package/dist/chunks/{workspace-25c0jgp8.js → filesystem-kwbyxxx0.js} +8 -8
- package/dist/chunks/{workspace-e90gknse.js → filesystem-m15jmbbr.js} +51 -51
- package/dist/chunks/{workspace-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-nt39rg59.js → filesystem-m5q6th7b.js} +18 -18
- package/dist/chunks/{workspace-cxmh4q5b.js → filesystem-m70sbz6t.js} +4 -4
- package/dist/chunks/{workspace-3tqbg8ds.js → filesystem-m7fy2dv4.js} +12 -12
- package/dist/chunks/{workspace-sp54tfke.js → filesystem-m7kdp6gf.js} +11 -11
- package/dist/chunks/{workspace-aj2s28vj.js → filesystem-m8xa9e63.js} +1 -1
- package/dist/chunks/{workspace-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-jw80jp6b.js → filesystem-magykp64.js} +4 -4
- package/dist/chunks/{workspace-heh9s3tj.js → filesystem-mh9gscew.js} +11 -11
- package/dist/chunks/{workspace-ysd7sdvb.js → filesystem-mkdy6qkj.js} +6 -6
- package/dist/chunks/{workspace-xqagnatd.js → filesystem-mv22x3wf.js} +13 -13
- package/dist/chunks/{workspace-2kh7b0pr.js → filesystem-mwj78qbb.js} +22 -22
- package/dist/chunks/{workspace-ygpxda6d.js → filesystem-mxn40ybh.js} +19 -19
- package/dist/chunks/{workspace-g9wvc4df.js → filesystem-n09t85ck.js} +10 -10
- package/dist/chunks/{workspace-q7azfttr.js → filesystem-n1ka8r9d.js} +4 -4
- package/dist/chunks/{workspace-k7cxv1jz.js → filesystem-n1mk886p.js} +22 -22
- package/dist/chunks/{workspace-2tngcs8y.js → filesystem-n1rz67ba.js} +48 -48
- package/dist/chunks/{workspace-16srrwpp.js → filesystem-n33rgabk.js} +58 -58
- package/dist/chunks/{workspace-dtmpjap9.js → filesystem-n83saq1s.js} +10 -10
- package/dist/chunks/{workspace-hyjxey4b.js → filesystem-n8gssbbw.js} +4 -4
- package/dist/chunks/{workspace-90ns493a.js → filesystem-n8zx0qm6.js} +34 -34
- package/dist/chunks/{workspace-bxdyab95.js → filesystem-nd0783xw.js} +15 -15
- package/dist/chunks/{workspace-pnv527nz.js → filesystem-nq7qbqzc.js} +9 -9
- package/dist/chunks/{workspace-p8q21zge.js → filesystem-nta5r5g3.js} +25 -25
- package/dist/chunks/{workspace-k3c624dm.js → filesystem-nzks3jc8.js} +3 -3
- package/dist/chunks/{workspace-e1hy5pz5.js → filesystem-p3192dp6.js} +2 -2
- package/dist/chunks/{workspace-5xtgfte3.js → filesystem-p37cw4rj.js} +4 -4
- package/dist/chunks/{workspace-7k4ya4mk.js → filesystem-p5hnzy35.js} +25 -25
- package/dist/chunks/{workspace-7bav93g1.js → filesystem-p751nfh9.js} +17 -17
- package/dist/chunks/{workspace-h2r7bbkd.js → filesystem-pb1eahw5.js} +8 -8
- package/dist/chunks/{workspace-pecb0brz.js → filesystem-pecb0brz.js} +2 -2
- package/dist/chunks/filesystem-phz3h32g.js +18 -0
- package/dist/chunks/{workspace-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-6nh4s561.js → filesystem-pjw9389s.js} +18 -18
- package/dist/chunks/{workspace-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-aa5zmkvc.js → filesystem-pq2pd6hh.js} +25 -25
- package/dist/chunks/{workspace-w84g4023.js → filesystem-qcg4vfgs.js} +6 -6
- package/dist/chunks/{workspace-t6v48v8f.js → filesystem-qh690qjv.js} +92 -92
- package/dist/chunks/{workspace-qae9ahxg.js → filesystem-qkfs2zns.js} +9 -9
- package/dist/chunks/{workspace-drwq78ky.js → filesystem-qqeeq2t9.js} +7 -7
- package/dist/chunks/{workspace-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-8zm3c697.js → filesystem-qzz1k0t8.js} +7 -7
- package/dist/chunks/{workspace-4waey5yj.js → filesystem-r45jhqb9.js} +5 -5
- package/dist/chunks/{workspace-f4fb4ahx.js → filesystem-r56fmryn.js} +12 -12
- package/dist/chunks/{workspace-11pm3r9v.js → filesystem-rd8q201w.js} +12 -12
- package/dist/chunks/{workspace-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-qzc07359.js → filesystem-rw86hr2t.js} +22 -22
- package/dist/chunks/{workspace-e1vtdn37.js → filesystem-s3srg93r.js} +41 -41
- package/dist/chunks/filesystem-scfp8aft.js +252 -0
- package/dist/chunks/{workspace-e8wk7e8v.js → filesystem-sh2daxqk.js} +9 -9
- package/dist/chunks/{workspace-a8fp7ezv.js → filesystem-smp49fay.js} +25 -25
- package/dist/chunks/{workspace-5rjs1zbx.js → filesystem-svp7d0fp.js} +22 -22
- package/dist/chunks/{workspace-eaj1djv9.js → filesystem-t550f9t1.js} +8 -8
- package/dist/chunks/{workspace-n6p6yg9c.js → filesystem-t918d8cq.js} +8 -8
- package/dist/chunks/{workspace-1mdxwgjq.js → filesystem-t9636gx1.js} +16 -16
- package/dist/chunks/{workspace-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-mtq6xxnx.js → filesystem-tkmwgdpd.js} +4 -4
- package/dist/chunks/{workspace-waefp8y5.js → filesystem-tks0bnq5.js} +11 -11
- package/dist/chunks/{workspace-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-dj9sq318.js → filesystem-tz2bjj40.js} +5 -5
- package/dist/chunks/{workspace-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-m43etvqh.js → filesystem-vgm83cgp.js} +21 -21
- package/dist/chunks/{workspace-m8dj6xzb.js → filesystem-vmepscws.js} +20 -20
- package/dist/chunks/{workspace-y10fxw0n.js → filesystem-vn0yq8gz.js} +180 -180
- package/dist/chunks/{workspace-2spzn6st.js → filesystem-vzawmjdf.js} +33 -33
- package/dist/chunks/{workspace-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-zxgcz1z1.js → filesystem-w2qmsxre.js} +15 -15
- package/dist/chunks/{workspace-rt447pd7.js → filesystem-w3bkza1g.js} +5 -5
- package/dist/chunks/{workspace-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-yb4mq2bj.js → filesystem-wav3c6xe.js} +49 -49
- package/dist/chunks/{workspace-psazpmmj.js → filesystem-wd3x2cqz.js} +2 -2
- package/dist/chunks/{workspace-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-m8erdd9w.js → filesystem-wfz5d65w.js} +31 -31
- package/dist/chunks/{workspace-pg7gpga9.js → filesystem-wjeg1wsf.js} +8 -8
- package/dist/chunks/filesystem-wmqnggde.js +26 -0
- package/dist/chunks/{workspace-sw70eac5.js → filesystem-wy048fd6.js} +24 -24
- package/dist/chunks/{workspace-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-k1qrnqst.js → filesystem-x2qdxhwm.js} +8 -8
- package/dist/chunks/{workspace-xttd1tj2.js → filesystem-xdh9m6e8.js} +18 -18
- package/dist/chunks/{workspace-eyfs9fn9.js → filesystem-xjaef4xf.js} +5 -5
- package/dist/chunks/{workspace-xkntkrq7.js → filesystem-xkntkrq7.js} +2 -2
- package/dist/chunks/{workspace-a28msnrx.js → filesystem-xm3bqwwb.js} +4 -4
- package/dist/chunks/{workspace-g5agzp2h.js → filesystem-xvp1j2dc.js} +5 -5
- package/dist/chunks/{workspace-a89e0tac.js → filesystem-xxxym934.js} +4 -4
- package/dist/chunks/{workspace-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-hfwvq92w.js → filesystem-y1vpz5e6.js} +38 -38
- package/dist/chunks/{workspace-ybsgjnb0.js → filesystem-y34854y5.js} +39 -39
- package/dist/chunks/{workspace-dpkg50ah.js → filesystem-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-862ar548.js → filesystem-ydgy0jv4.js} +8 -8
- package/dist/chunks/{workspace-38phfjcn.js → filesystem-ypx73geg.js} +9 -9
- package/dist/chunks/{workspace-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-g9r2hcbj.js → filesystem-yvr0je1c.js} +37 -37
- package/dist/chunks/{workspace-bjtzbw4r.js → filesystem-z07pqspn.js} +3 -3
- package/dist/chunks/{workspace-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-h8d9xkaq.js → filesystem-z29005y7.js} +15 -15
- package/dist/chunks/{workspace-p0wnzdte.js → filesystem-z4gv22m1.js} +29 -29
- package/dist/chunks/{workspace-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-gjdct0ng.js → filesystem-zcsbmsrf.js} +32 -32
- package/dist/chunks/{workspace-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-5wna7wmm.js → filesystem-zeytjcpa.js} +18 -18
- package/dist/chunks/{workspace-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-tf88t1eh.js → filesystem-zy8e99jb.js} +43 -43
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.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 +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/workspace-3ecdent5.js +0 -26
- package/dist/chunks/workspace-95agse3a.js +0 -252
- package/dist/chunks/workspace-v1faaxn9.js +0 -18
- package/dist/chunks/workspace-yqzfvmg9.js +0 -507
- /package/dist/chunks/{workspace-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service73,
|
|
20
|
+
node76,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./filesystem-8e5zyrwm.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node75,
|
|
44
|
+
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
+
var ID11 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info25 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service73;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service72.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node75 = makeLocationNode({ service: Service72, layer, deps: [node76, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service72, node75, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-vmepscws.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin4 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin4, exports_hg };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service50,
|
|
17
|
+
node52
|
|
18
|
+
} from "./filesystem-jkcp7byf.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info18,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service49,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node51
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info18 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service49 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service50;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info18.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info18.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service49.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node51 = makeLocationNode({
|
|
116
|
+
service: Service49,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node52]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info18, Service49, node51, exports_reference2, Event9 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service32,
|
|
12
|
+
node35
|
|
13
|
+
} from "./filesystem-bg71ph9x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service31,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node34
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service31 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service32;
|
|
67
|
+
return Service31.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make19({
|
|
71
|
+
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node35] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service31, node34, exports_instructions4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./filesystem-m15jmbbr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node60
|
|
12
|
+
} from "./filesystem-n33rgabk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node42
|
|
16
|
+
} from "./filesystem-pq2pd6hh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
layer: () => layer10,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service26 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer10 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service40;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service58;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node29 = makeLocationNode({
|
|
124
|
+
service: Service26,
|
|
125
125
|
layer: layer10,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node42, node32, node87, node60]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service26, layer10, node29, exports_mcp3 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./filesystem-tks0bnq5.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./workspace-fk76ksd4.js";
|
|
8
|
+
} from "./filesystem-1gfephy1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service36,
|
|
11
|
+
node38
|
|
12
|
+
} from "./filesystem-j5w2yx54.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./filesystem-grdteyps.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service57,
|
|
26
|
+
node59
|
|
27
|
+
} from "./filesystem-gfhtznv3.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError6
|
|
33
|
+
} from "./filesystem-cf01cagz.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./filesystem-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service34
|
|
39
|
+
} from "./filesystem-m70sbz6t.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service59,
|
|
42
|
+
node61
|
|
43
|
+
} from "./filesystem-7601emta.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service35,
|
|
48
|
+
node37,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./filesystem-0w7xa6ee.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service33,
|
|
53
|
+
node36
|
|
54
|
+
} from "./filesystem-y34854y5.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node24
|
|
57
|
+
} from "./filesystem-svp7d0fp.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service20,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node23
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service20 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service81;
|
|
92
|
+
const locations = yield* Service57;
|
|
93
|
+
const store = yield* Service59;
|
|
94
|
+
const execution = yield* Service33;
|
|
95
|
+
const instances = yield* Service36;
|
|
96
|
+
const admission = yield* Service35;
|
|
97
|
+
const database = yield* Service84;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError6({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service34.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service20.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node23 = makeGlobalNode({
|
|
167
|
+
service: Service20,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node85,
|
|
173
|
+
node59,
|
|
174
|
+
node61,
|
|
175
|
+
node36,
|
|
176
|
+
node38,
|
|
177
|
+
node37,
|
|
178
|
+
node88,
|
|
178
179
|
node87,
|
|
179
|
-
|
|
180
|
-
node21
|
|
180
|
+
node24
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service20, node23, exports_move };
|