@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
|
@@ -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/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-n33rgabk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service32,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
42
|
var Info6 = Skill.Info;
|
|
43
|
-
var
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service32 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service32.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node35 = makeLocationNode({
|
|
112
|
+
service: Service32,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service32, node35, exports_skill5, Event5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-8e5zyrwm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service65,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node67
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
153
|
-
providerID:
|
|
153
|
+
providerID: ID12,
|
|
154
154
|
cause: Schema.Defect()
|
|
155
155
|
}) {
|
|
156
156
|
}
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service65 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service65.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node67 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service65, locationLayer2, node67, exports_aisdk };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-8e5zyrwm.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-6j06p5mc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./filesystem-8e5zyrwm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service44
|
|
7
|
+
} from "./filesystem-wav3c6xe.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service73;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service44);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service47
|
|
9
|
-
} from "./workspace-yb4mq2bj.js";
|
|
5
|
+
Service80
|
|
6
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
10
7
|
import {
|
|
11
8
|
Service44
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./filesystem-wav3c6xe.js";
|
|
10
|
+
import {
|
|
11
|
+
Service52
|
|
12
|
+
} from "./filesystem-mxn40ybh.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin48
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin48 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service44;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service52;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin45 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin48, exports_worktree };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info20,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info20 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info20, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-fzts1kpm.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin6 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin16 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin16 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin6, exports_firecrawl };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./filesystem-cht1zc30.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service53,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-mv22x3wf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./filesystem-nd0783xw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./filesystem-n33rgabk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service54
|
|
17
|
+
} from "./filesystem-fhd6f79b.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin23,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin23 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service54;
|
|
56
|
+
const fileMutation = yield* Service53;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service16;
|
|
59
|
+
const permission = yield* Service58;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output5, toModelContent4, Plugin23, exports_write };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-8q7cq0y1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError6,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError6, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service79,
|
|
22
|
+
node82
|
|
23
|
+
} from "./filesystem-z4gv22m1.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service78,
|
|
33
|
+
node: () => node81
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service78,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node81,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service78 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service79;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service78.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node81 = makeLocationNode({
|
|
71
|
+
service: Service78,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node82]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service78, node81, exports_environment2, makeFiles2, exports_environment3 };
|