@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./filesystem-1gfephy1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./filesystem-d4a7av5z.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service23,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-phz3h32g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-vn0yq8gz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service23,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node15
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service71;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service23.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node15 = Node.makeLocationNode({
|
|
226
|
+
service: Service23,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./filesystem-1gfephy1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./filesystem-y1vpz5e6.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service70;
|
|
33
|
+
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event15.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./filesystem-n33rgabk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./filesystem-bg71ph9x.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input8,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin24,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description3,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name8,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name8 = "skill";
|
|
30
|
+
var Input8 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin24 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service32;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name8,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description3,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input8,
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name8,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin5 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name8, Input8, Output6, description3, toModelOutput2, Plugin24, exports_skill2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service82,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node86
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service82 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service82.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service59,
|
|
14
|
+
node61
|
|
15
|
+
} from "./filesystem-7601emta.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service59;
|
|
41
|
+
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node61]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./filesystem-m15jmbbr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./filesystem-n33rgabk.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service29;
|
|
26
|
+
const permission = yield* Service58;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin7 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin27, exports_mcp_resource };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./filesystem-tks0bnq5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node75
|
|
14
|
+
} from "./filesystem-6j06p5mc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID10,
|
|
17
|
+
Service62,
|
|
18
|
+
node64
|
|
19
|
+
} from "./filesystem-cj5wqxwp.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-cf01cagz.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-t550f9t1.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-c35597j6.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-t918d8cq.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service59,
|
|
34
|
+
node61
|
|
35
|
+
} from "./filesystem-7601emta.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-n33rgabk.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./filesystem-39z47dss.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service46,
|
|
44
|
+
node48
|
|
45
|
+
} from "./filesystem-9jgr38p9.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
47
|
+
Service24,
|
|
48
48
|
node27
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./filesystem-zeytjcpa.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service40,
|
|
52
|
+
node42
|
|
53
|
+
} from "./filesystem-pq2pd6hh.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
58
|
-
import {
|
|
59
|
-
Service20,
|
|
60
|
-
node24
|
|
61
|
-
} from "./workspace-dgzzq6er.js";
|
|
62
|
-
import {
|
|
63
|
-
Service19,
|
|
64
|
-
node23
|
|
65
|
-
} from "./workspace-ey9veasj.js";
|
|
55
|
+
Service26,
|
|
56
|
+
node29
|
|
57
|
+
} from "./filesystem-6shp5cvc.js";
|
|
66
58
|
import {
|
|
67
59
|
Service25,
|
|
68
60
|
node28
|
|
69
|
-
} from "./
|
|
61
|
+
} from "./filesystem-2np3k2bf.js";
|
|
62
|
+
import {
|
|
63
|
+
Service30,
|
|
64
|
+
node33
|
|
65
|
+
} from "./filesystem-0mh2q183.js";
|
|
70
66
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
67
|
+
Service31,
|
|
68
|
+
node34
|
|
69
|
+
} from "./filesystem-6pmqbm9x.js";
|
|
70
|
+
import {
|
|
71
|
+
Service22,
|
|
72
|
+
node26
|
|
73
|
+
} from "./filesystem-f2515zf3.js";
|
|
74
74
|
import {
|
|
75
75
|
Service27,
|
|
76
76
|
node30
|
|
77
|
-
} from "./
|
|
77
|
+
} from "./filesystem-fqftz3yh.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service37,
|
|
80
|
+
node39
|
|
81
|
+
} from "./filesystem-g344s1sv.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service21,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node25
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service21 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
101
|
-
const db = (yield*
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
97
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service62;
|
|
99
|
+
const builtins = yield* Service24;
|
|
100
|
+
const model = yield* Service72;
|
|
101
|
+
const db = (yield* Service84).db;
|
|
102
|
+
const discovery = yield* Service46;
|
|
103
|
+
const entries = yield* Service22;
|
|
104
|
+
const location = yield* Service80;
|
|
105
|
+
const mcpInstructions = yield* Service25;
|
|
106
|
+
const mcpTools = yield* Service26;
|
|
107
|
+
const models = yield* Service37;
|
|
108
108
|
const request = yield* Service27;
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
109
|
+
const referenceInstructions = yield* Service30;
|
|
110
|
+
const skillInstructions = yield* Service31;
|
|
111
|
+
const store = yield* Service59;
|
|
112
|
+
const registry = yield* Service40;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID10.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
168
|
loaded.builtins,
|
|
169
|
-
|
|
169
|
+
make14(loaded.tools.codeModeCatalog),
|
|
170
170
|
loaded.discovery,
|
|
171
171
|
loaded.skills,
|
|
172
172
|
loaded.references,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service21.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node25 = makeLocationNode({
|
|
195
|
+
service: Service21,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
node64,
|
|
199
|
+
node75,
|
|
200
|
+
node88,
|
|
201
201
|
node27,
|
|
202
|
-
|
|
203
|
-
node25,
|
|
204
|
-
node76,
|
|
205
|
-
node24,
|
|
202
|
+
node48,
|
|
206
203
|
node26,
|
|
207
|
-
|
|
208
|
-
node35,
|
|
209
|
-
node30,
|
|
210
|
-
node75,
|
|
204
|
+
node84,
|
|
211
205
|
node28,
|
|
212
|
-
|
|
206
|
+
node29,
|
|
207
|
+
node33,
|
|
208
|
+
node39,
|
|
209
|
+
node30,
|
|
210
|
+
node61,
|
|
211
|
+
node34,
|
|
212
|
+
node42
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service21, node25, exports_context };
|