@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./filesystem-7h5ye0bq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node46
|
|
12
|
+
} from "./filesystem-wav3c6xe.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service9,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer7,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer7 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service44;
|
|
40
|
+
const watcher = yield* Service45;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service9.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service9,
|
|
75
75
|
layer: layer7,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node46, FSUtil.node, node47, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service9,
|
|
80
|
+
layer: Layer.succeed(Service9, Service9.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service9, layer7, node11, empty2, exports_source };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node79
|
|
8
|
+
} from "./filesystem-9p42wv5p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./filesystem-grdteyps.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-gfhtznv3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service58,
|
|
26
|
+
node60
|
|
27
|
+
} from "./filesystem-n33rgabk.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service56,
|
|
30
|
+
node58
|
|
31
|
+
} from "./filesystem-pjw9389s.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
|
+
node: () => node57
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service55 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service58;
|
|
54
|
+
const forms = yield* Service76;
|
|
55
|
+
const rpc = yield* Service56;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service55.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node57 = makeLocationNode({
|
|
84
|
+
service: Service55,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node87, node84, node60, node85, node79, node58]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service55, node57, exports_location_lifecycle };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID13,
|
|
11
|
+
Service74,
|
|
12
|
+
node77,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./filesystem-zcsbmsrf.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-4dgbcxzg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID12,
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service73,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node76,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID12 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info26 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service73 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
228
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service83;
|
|
230
|
+
const integrations = yield* Service74;
|
|
231
|
+
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info26.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service73.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node76 = makeLocationNode({ service: Service73, layer, deps: [node87, node77, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service73, node76, exports_provider3, Event17 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service39
|
|
7
|
+
} from "./filesystem-wy048fd6.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-8q7cq0y1.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-cf01cagz.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service39;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service43,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service43, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service43.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service46, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node45 = makeGlobalNode({ service: Service43, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service43, node45, exports_environment };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID9 = Session.ID;
|
|
5
|
+
var Info22 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID9, Info22, SessionSchema2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-1gfephy1.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service84,
|
|
7
|
-
node88
|
|
8
|
-
} from "./workspace-ypzhfwa9.js";
|
|
8
|
+
} from "./filesystem-afed7ext.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./filesystem-kkkrdp4w.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-phz3h32g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service45,
|
|
18
|
+
node47
|
|
19
|
+
} from "./filesystem-7h5ye0bq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node15
|
|
22
|
+
} from "./filesystem-9zrft0gr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service11,
|
|
25
|
+
node13
|
|
26
|
+
} from "./filesystem-2sejkfem.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service10,
|
|
36
|
+
node: () => node12
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service45;
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service10.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node12 = makeLocationNode({
|
|
106
|
+
service: Service10,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node47, FSUtil.node, node84, node86, node87, node15, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service10, node12, exports_location_watcher2 };
|