@opencode/core 0.0.0-dev-21832 → 0.0.0-dev-21834
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 +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{worktree-e9p3jgk6.js → skill-00gjqycq.js} +25 -25
- package/dist/chunks/{worktree-jneg3k74.js → skill-02pz8arg.js} +8 -8
- package/dist/chunks/{worktree-aj7mw0zk.js → skill-034tev2y.js} +2 -2
- package/dist/chunks/{worktree-3dj841q6.js → skill-04hm4bt0.js} +40 -40
- package/dist/chunks/{worktree-ds26jgk3.js → skill-06nd5b66.js} +14 -14
- package/dist/chunks/{worktree-arbdk1zr.js → skill-0be85waj.js} +21 -21
- package/dist/chunks/{worktree-3647s6zq.js → skill-0cbbnd0e.js} +6 -6
- package/dist/chunks/{worktree-tp98z23w.js → skill-0n9ahcch.js} +10 -10
- package/dist/chunks/{worktree-5p205wab.js → skill-0nrdvnna.js} +4 -4
- package/dist/chunks/{worktree-s4cnera1.js → skill-0nx6k2c3.js} +17 -17
- package/dist/chunks/{worktree-7193gb3b.js → skill-0rq01gt9.js} +5 -5
- package/dist/chunks/{worktree-zqjghnyq.js → skill-0trxxenf.js} +31 -31
- package/dist/chunks/{worktree-jg3dfvq9.js → skill-0vyqaw1y.js} +1 -1
- package/dist/chunks/{worktree-qpbq1ttd.js → skill-0y9nmzdh.js} +16 -16
- package/dist/chunks/{worktree-qravd527.js → skill-0zg0wj8r.js} +29 -29
- package/dist/chunks/{worktree-11hfp36g.js → skill-11hfp36g.js} +1 -1
- package/dist/chunks/{worktree-ydsespw1.js → skill-160yv0cs.js} +4 -4
- package/dist/chunks/{worktree-d2dx6a7h.js → skill-173t91w5.js} +4 -4
- package/dist/chunks/{worktree-695afxk5.js → skill-17b5xsvs.js} +20 -20
- package/dist/chunks/{worktree-d85xqdn3.js → skill-1adswb2h.js} +24 -24
- package/dist/chunks/{worktree-rh3bv7hm.js → skill-1e5bw0rs.js} +10 -10
- package/dist/chunks/{worktree-j1rq0xw8.js → skill-1egxbjqn.js} +6 -6
- package/dist/chunks/{worktree-27w5k9zf.js → skill-1ep2p91f.js} +2 -2
- package/dist/chunks/{worktree-p9g6dw9y.js → skill-1fecs8e0.js} +92 -92
- package/dist/chunks/{worktree-wzcykjgt.js → skill-1hmnwk5s.js} +66 -66
- package/dist/chunks/{worktree-bdyzd1jt.js → skill-1mm7n2nj.js} +14 -14
- package/dist/chunks/{worktree-xxjr0q4c.js → skill-1t1xece5.js} +3 -3
- package/dist/chunks/{worktree-1x2knyw4.js → skill-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-y35tw0d0.js → skill-21atppj8.js} +35 -35
- package/dist/chunks/{worktree-45t4pvv9.js → skill-231a8wys.js} +8 -8
- package/dist/chunks/{worktree-rphf3yd4.js → skill-2dgzezj9.js} +27 -27
- package/dist/chunks/{worktree-6xsx1z0g.js → skill-2eqjdh0q.js} +26 -26
- package/dist/chunks/{worktree-2bvfvv2f.js → skill-2eqy3gj5.js} +11 -11
- package/dist/chunks/{worktree-w78vkh9t.js → skill-2je7xwd4.js} +22 -22
- package/dist/chunks/{worktree-2z1j29yd.js → skill-2z1j29yd.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-mcbcg4yq.js → skill-3j2fevem.js} +11 -11
- package/dist/chunks/{worktree-3nnrz6f6.js → skill-3nnrz6f6.js} +1 -1
- package/dist/chunks/{worktree-rc8w65gm.js → skill-3pav5zsa.js} +23 -23
- package/dist/chunks/{worktree-w2eysc6j.js → skill-40za9wsf.js} +9 -9
- package/dist/chunks/{worktree-bjhzkqyk.js → skill-42jd4697.js} +4 -4
- package/dist/chunks/{worktree-bgcmwhzg.js → skill-4ek8vd21.js} +11 -11
- package/dist/chunks/{worktree-e50pjhb3.js → skill-4jqg84dk.js} +16 -16
- package/dist/chunks/{worktree-43dhkpfn.js → skill-4kpphzt0.js} +9 -9
- package/dist/chunks/{worktree-z4rz3s0w.js → skill-4kvnwz1d.js} +16 -16
- package/dist/chunks/{worktree-4v008n1t.js → skill-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-4xvmh7wp.js → skill-4xvmh7wp.js} +3 -3
- package/dist/chunks/{worktree-00cp3g78.js → skill-54pbqzcr.js} +35 -35
- package/dist/chunks/{worktree-mzf7pqqe.js → skill-5dyn294f.js} +7 -7
- package/dist/chunks/{worktree-yj3d1z1y.js → skill-5gfep4at.js} +35 -35
- package/dist/chunks/{worktree-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-9m513bsn.js → skill-5pck7wvj.js} +16 -16
- package/dist/chunks/{worktree-6e20mv58.js → skill-5y0frafb.js} +6 -6
- package/dist/chunks/{worktree-p7vhpwh8.js → skill-5zrxpy3q.js} +5 -5
- package/dist/chunks/{worktree-9n98ejx3.js → skill-62sayf8a.js} +35 -35
- package/dist/chunks/{worktree-3akbsydm.js → skill-6bpq0ecf.js} +24 -24
- package/dist/chunks/{worktree-2bzhzvzq.js → skill-6c4tda3b.js} +5 -5
- package/dist/chunks/{worktree-6esdw8yj.js → skill-6esdw8yj.js} +1 -1
- package/dist/chunks/{worktree-w145qvk2.js → skill-6pdpw644.js} +10 -10
- package/dist/chunks/{worktree-6pjqjmy2.js → skill-6pjqjmy2.js} +1 -1
- package/dist/chunks/{worktree-krcgmfx1.js → skill-72an0bmj.js} +5 -5
- package/dist/chunks/{worktree-vx60mxx6.js → skill-7412659d.js} +12 -12
- package/dist/chunks/{worktree-76cb1hcw.js → skill-76cb1hcw.js} +1 -1
- package/dist/chunks/{worktree-nah043kf.js → skill-770pw0s1.js} +4 -4
- package/dist/chunks/{worktree-36p3y7jg.js → skill-77kepa5s.js} +22 -22
- package/dist/chunks/{worktree-vta5p220.js → skill-77wcrcrr.js} +7 -7
- package/dist/chunks/{worktree-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-ad2qwzwg.js → skill-7ete3fjn.js} +49 -49
- package/dist/chunks/{worktree-5z2q9a8r.js → skill-7h2sr6bm.js} +24 -24
- package/dist/chunks/{worktree-p8rd148r.js → skill-7md7twpt.js} +5 -5
- package/dist/chunks/{worktree-zyz3pmwr.js → skill-7p112bbq.js} +8 -8
- package/dist/chunks/{worktree-t65tnfxg.js → skill-7pyt5zq6.js} +5 -5
- package/dist/chunks/{worktree-ksj36tw4.js → skill-7scb859s.js} +6 -6
- package/dist/chunks/{worktree-7w2ypzdf.js → skill-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-jjg5yz1h.js → skill-7x19yq7v.js} +9 -9
- package/dist/chunks/{worktree-n3nby4kh.js → skill-85ynyc4w.js} +10 -10
- package/dist/chunks/{worktree-cd50e0wg.js → skill-8ecwpcxg.js} +11 -11
- package/dist/chunks/{worktree-fsre0723.js → skill-8eprwqzy.js} +40 -40
- package/dist/chunks/{worktree-h2fy2dat.js → skill-8hnyj9sr.js} +13 -13
- package/dist/chunks/{worktree-xy4vra7r.js → skill-8j2r6s7s.js} +13 -13
- package/dist/chunks/{worktree-a8mb2d06.js → skill-8mnbshzt.js} +27 -27
- package/dist/chunks/{worktree-qaky2rz3.js → skill-8vcctmfr.js} +19 -19
- package/dist/chunks/{worktree-arz7hw7x.js → skill-8whp40kv.js} +3 -3
- package/dist/chunks/{worktree-8wtp7s3z.js → skill-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-sz7p3par.js → skill-8x3yvqxw.js} +15 -15
- package/dist/chunks/{worktree-91rj84md.js → skill-91rj84md.js} +1 -1
- package/dist/chunks/{worktree-80yrqs2x.js → skill-97xzxk8a.js} +28 -28
- package/dist/chunks/{worktree-dvj9ct8m.js → skill-998yhzzq.js} +3 -3
- package/dist/chunks/{worktree-8yqsymsg.js → skill-9a62epdc.js} +6 -6
- package/dist/chunks/{worktree-yrdnce5a.js → skill-9bd0cbwc.js} +5 -5
- package/dist/chunks/{worktree-9cx9sm2q.js → skill-9cx9sm2q.js} +1 -1
- package/dist/chunks/{worktree-z1dp9nz5.js → skill-9czcsnv2.js} +7 -7
- package/dist/chunks/{worktree-yxhh0eg2.js → skill-9etm08e8.js} +2 -2
- package/dist/chunks/{worktree-sfzvze88.js → skill-9mpf12xv.js} +6 -6
- package/dist/chunks/{worktree-7e8scw2k.js → skill-9w36kdqj.js} +32 -32
- package/dist/chunks/{worktree-erswfzqj.js → skill-9wck53cd.js} +16 -16
- package/dist/chunks/{worktree-pbjge5gp.js → skill-9wn9b57t.js} +5 -5
- package/dist/chunks/{worktree-gsb6mw3d.js → skill-9zgjf50m.js} +187 -187
- package/dist/chunks/{worktree-edvcby6a.js → skill-a4cqfe3h.js} +10 -10
- package/dist/chunks/{worktree-aykhvqdn.js → skill-a78hr7yt.js} +9 -9
- package/dist/chunks/{worktree-7a4k0486.js → skill-a92dmqhy.js} +4 -4
- package/dist/chunks/{worktree-gdr92bwx.js → skill-a9b9gd9t.js} +11 -11
- package/dist/chunks/{worktree-wx8nkbb1.js → skill-afeb4rgf.js} +23 -23
- package/dist/chunks/{worktree-z54qrd8r.js → skill-ajncej77.js} +4 -4
- package/dist/chunks/{worktree-skkyj46b.js → skill-ajygxxmq.js} +13 -13
- package/dist/chunks/{worktree-hb5n2c5k.js → skill-avesyp7a.js} +18 -18
- package/dist/chunks/{worktree-3e59rph2.js → skill-avzzjsq4.js} +9 -9
- package/dist/chunks/skill-axfnrvhr.js +261 -0
- package/dist/chunks/{worktree-3cbjf1nt.js → skill-ayjs7tqn.js} +2 -2
- package/dist/chunks/{worktree-b0mv4wxm.js → skill-b0mv4wxm.js} +2 -2
- package/dist/chunks/{worktree-m30wvgj2.js → skill-b333880x.js} +34 -34
- package/dist/chunks/{worktree-b6vsg801.js → skill-b6vsg801.js} +2 -2
- package/dist/chunks/{worktree-abr51mnh.js → skill-ba7dfhfp.js} +8 -8
- package/dist/chunks/{worktree-0zpa3jfg.js → skill-bhfgb36z.js} +24 -24
- package/dist/chunks/{worktree-x8rzfgrc.js → skill-bmjgccg8.js} +9 -9
- package/dist/chunks/{worktree-cf3d3h2s.js → skill-bs8kzehq.js} +20 -20
- package/dist/chunks/{worktree-xd9cc171.js → skill-bstexjd6.js} +5 -5
- package/dist/chunks/{worktree-f21hf6dz.js → skill-bz8b4c6r.js} +11 -11
- package/dist/chunks/{worktree-x2457qsk.js → skill-c3wtnm2w.js} +330 -330
- package/dist/chunks/{worktree-adrm93f2.js → skill-c4gxyfvh.js} +6 -6
- package/dist/chunks/{worktree-qyzf8248.js → skill-cd8a27jh.js} +36 -36
- package/dist/chunks/{worktree-n5xdxtnj.js → skill-cdzgrgbz.js} +23 -23
- package/dist/chunks/{worktree-sq4s6wq1.js → skill-ceq6pwch.js} +6 -6
- package/dist/chunks/{worktree-cw1ztss7.js → skill-cmf65zxm.js} +21 -21
- package/dist/chunks/{worktree-p0wrzpeb.js → skill-cmn63q56.js} +18 -18
- package/dist/chunks/{worktree-95exz2bq.js → skill-ctxfjdfm.js} +17 -17
- package/dist/chunks/{worktree-hn0qbz2m.js → skill-d124qykh.js} +35 -35
- package/dist/chunks/{worktree-d4v9tmah.js → skill-d4v9tmah.js} +2 -2
- package/dist/chunks/skill-d77dj7jw.js +18 -0
- package/dist/chunks/{worktree-mn53dk4j.js → skill-djjzzs3c.js} +3 -3
- package/dist/chunks/{worktree-gstbwwx4.js → skill-dmhr0cwa.js} +6 -6
- package/dist/chunks/{worktree-j7vbh7t2.js → skill-dq4yndb5.js} +3 -3
- package/dist/chunks/{worktree-rd5c3v22.js → skill-dvqxp2fr.js} +38 -38
- package/dist/chunks/{worktree-e834z07m.js → skill-e834z07m.js} +1 -1
- package/dist/chunks/{worktree-z8e9ff6b.js → skill-edr0v86s.js} +15 -15
- package/dist/chunks/{worktree-j6grf6bb.js → skill-ep701ytr.js} +22 -22
- package/dist/chunks/{worktree-d30eyz0g.js → skill-er1g1bvg.js} +48 -48
- package/dist/chunks/{worktree-06nywv30.js → skill-ercd8kmt.js} +28 -28
- package/dist/chunks/{worktree-6hasb7jx.js → skill-f0h0qhsv.js} +12 -12
- package/dist/chunks/{worktree-qyk31xf6.js → skill-fbbj2f9m.js} +26 -26
- package/dist/chunks/{worktree-yt6kymc0.js → skill-feqd3nyp.js} +4 -4
- package/dist/chunks/{worktree-fffv3p7h.js → skill-fffv3p7h.js} +1 -1
- package/dist/chunks/{worktree-jjbrt4w4.js → skill-fg74as85.js} +19 -19
- package/dist/chunks/{worktree-x6bmqb9g.js → skill-fj5727b0.js} +20 -20
- package/dist/chunks/{worktree-bs5a9a9v.js → skill-ftegdgb6.js} +5 -5
- package/dist/chunks/{worktree-dds9zz6p.js → skill-g1e2r5aa.js} +4 -4
- package/dist/chunks/{worktree-g5h9c0rr.js → skill-g5h9c0rr.js} +2 -2
- package/dist/chunks/{worktree-a74nhg91.js → skill-g8dsp257.js} +45 -45
- package/dist/chunks/{worktree-gcjdgkn2.js → skill-gcjdgkn2.js} +2 -2
- package/dist/chunks/{worktree-8wezqzag.js → skill-gfjrd4e2.js} +33 -33
- package/dist/chunks/{worktree-6k2rkf8h.js → skill-ghmsr1ac.js} +9 -9
- package/dist/chunks/{worktree-86djksxe.js → skill-gt561mjr.js} +16 -16
- package/dist/chunks/{worktree-8n09hdvs.js → skill-h097nhc1.js} +8 -8
- package/dist/chunks/{worktree-8h6r4m67.js → skill-h8crf5kq.js} +27 -27
- package/dist/chunks/{worktree-7e510nwg.js → skill-h9re2tn8.js} +14 -14
- package/dist/chunks/{worktree-pnqk97j3.js → skill-hbqckzs6.js} +13 -13
- package/dist/chunks/{worktree-e2x7gzav.js → skill-hdfrs5mg.js} +7 -7
- package/dist/chunks/{worktree-g7esga4v.js → skill-hfgk9wzg.js} +7 -7
- package/dist/chunks/{worktree-rs5sv2a8.js → skill-hkfq79xc.js} +18 -18
- package/dist/chunks/{worktree-2hn3edqp.js → skill-hnpjybsn.js} +13 -13
- package/dist/chunks/{worktree-zm3q4tch.js → skill-hqd3zsvt.js} +25 -25
- package/dist/chunks/{worktree-j0xszzq0.js → skill-hre0n7rd.js} +30 -30
- package/dist/chunks/{worktree-n4q2bts1.js → skill-hwypf69j.js} +32 -32
- package/dist/chunks/{worktree-ntp0y56p.js → skill-j0wdjrjq.js} +35 -35
- package/dist/chunks/{worktree-j113cymg.js → skill-j113cymg.js} +1 -1
- package/dist/chunks/{worktree-s7e49xxs.js → skill-j577xwbf.js} +22 -22
- package/dist/chunks/{worktree-0s95dftc.js → skill-j5hd8hn7.js} +5 -5
- package/dist/chunks/{worktree-5nftfhq6.js → skill-jg1m0r49.js} +37 -37
- package/dist/chunks/{worktree-r73cphfz.js → skill-jw5j4v0h.js} +9 -9
- package/dist/chunks/{worktree-zyeyds15.js → skill-k1x3cnpd.js} +9 -9
- package/dist/chunks/{worktree-4sarpyhn.js → skill-k2mww7e3.js} +24 -24
- package/dist/chunks/{worktree-s602p396.js → skill-k62cyg57.js} +6 -6
- package/dist/chunks/{worktree-k814nvkf.js → skill-k814nvkf.js} +1 -1
- package/dist/chunks/{worktree-pdt2ff5a.js → skill-k88b30qa.js} +12 -12
- package/dist/chunks/{worktree-x564bgvm.js → skill-kfy4zy3j.js} +14 -14
- package/dist/chunks/{worktree-2nph1nr4.js → skill-kg86qhz3.js} +25 -25
- package/dist/chunks/{worktree-w78kaheb.js → skill-kgex5j78.js} +11 -11
- package/dist/chunks/{worktree-geqny0bq.js → skill-khgjxzfs.js} +6 -6
- package/dist/chunks/{worktree-0p25w9ph.js → skill-kkew1p9e.js} +6 -6
- package/dist/chunks/{worktree-hem0ycea.js → skill-kmhnqez1.js} +33 -33
- package/dist/chunks/{worktree-kt3bjfbg.js → skill-kt3bjfbg.js} +1 -1
- package/dist/chunks/{worktree-x29n1dd5.js → skill-kx5dznpq.js} +24 -24
- package/dist/chunks/{worktree-m1714858.js → skill-m1714858.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-zweymgaq.js → skill-mabn13q5.js} +7 -7
- package/dist/chunks/{worktree-maspj1v3.js → skill-maspj1v3.js} +1 -1
- package/dist/chunks/{worktree-6hxyv8w6.js → skill-mck06rjh.js} +18 -18
- package/dist/chunks/{worktree-mhmzddah.js → skill-mfpkpefx.js} +9 -9
- package/dist/chunks/{worktree-2fjys8ky.js → skill-my6dh6dm.js} +4 -4
- package/dist/chunks/{worktree-yv6n3e4t.js → skill-mzyv1r8q.js} +8 -8
- package/dist/chunks/{worktree-f403h8b4.js → skill-n4sq8h3f.js} +11 -11
- package/dist/chunks/{worktree-b5qn2jt5.js → skill-n4ygatty.js} +11 -11
- package/dist/chunks/{worktree-j78bae2j.js → skill-nfbensgb.js} +15 -15
- package/dist/chunks/{worktree-9c77wjje.js → skill-njtpn054.js} +19 -19
- package/dist/chunks/{worktree-4jj79f23.js → skill-nkj7ejgf.js} +8 -8
- package/dist/chunks/{worktree-24kf08q0.js → skill-npkxyn8y.js} +24 -24
- package/dist/chunks/{worktree-f4bg9t37.js → skill-nxy7se6b.js} +4 -4
- package/dist/chunks/{worktree-97p8nte2.js → skill-nyzgr9mz.js} +5 -5
- package/dist/chunks/{worktree-p015t6z3.js → skill-p015t6z3.js} +2 -2
- package/dist/chunks/{worktree-p58azk3d.js → skill-p0n3fcv8.js} +9 -9
- package/dist/chunks/{worktree-fwfdmgk0.js → skill-p3p972wa.js} +5 -5
- package/dist/chunks/{worktree-e2ne77ac.js → skill-p7f9amnf.js} +8 -8
- package/dist/chunks/{worktree-ax1j2da4.js → skill-p82tt7j1.js} +11 -11
- package/dist/chunks/{worktree-hjpd440b.js → skill-pa0dea9e.js} +22 -22
- package/dist/chunks/{worktree-rdrpd67x.js → skill-pacbbjc0.js} +6 -6
- package/dist/chunks/{worktree-e91b353h.js → skill-pfw200mj.js} +4 -4
- package/dist/chunks/{worktree-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-stn0kadw.js → skill-ppmh5vyf.js} +36 -36
- package/dist/chunks/{worktree-wvyfhptm.js → skill-prg65b25.js} +20 -20
- package/dist/chunks/{worktree-hthy47ds.js → skill-ps0mkw1v.js} +16 -16
- package/dist/chunks/{worktree-wggsh2ew.js → skill-q0phr7xp.js} +21 -21
- package/dist/chunks/{worktree-j28jswtw.js → skill-q2b8kbm5.js} +15 -15
- package/dist/chunks/{worktree-dks4h55m.js → skill-qjsrg47w.js} +57 -57
- package/dist/chunks/{worktree-rm75chpx.js → skill-qnw5bx26.js} +35 -35
- package/dist/chunks/{worktree-m3sy78y2.js → skill-qsgzt8d8.js} +43 -43
- package/dist/chunks/{worktree-b6h3agk1.js → skill-qyq8h28g.js} +3 -3
- package/dist/chunks/{worktree-r0yr0wbs.js → skill-r0yr0wbs.js} +1 -1
- package/dist/chunks/{worktree-r542h3bh.js → skill-r542h3bh.js} +1 -1
- package/dist/chunks/{worktree-qyky1vbj.js → skill-r8hzrbfh.js} +16 -16
- package/dist/chunks/{worktree-42dtxe9w.js → skill-r971kbe0.js} +19 -19
- package/dist/chunks/{worktree-rtapny2j.js → skill-rah08q8j.js} +24 -24
- package/dist/chunks/{worktree-rb9dy4dg.js → skill-rb9dy4dg.js} +1 -1
- package/dist/chunks/{worktree-rn2kv32m.js → skill-rm2t5ma7.js} +9 -9
- package/dist/chunks/{worktree-rt5dr6hb.js → skill-rt5dr6hb.js} +1 -1
- package/dist/chunks/skill-rvejayd9.js +26 -0
- package/dist/chunks/{worktree-fp6jbq7y.js → skill-rvhc0q80.js} +7 -7
- package/dist/chunks/{worktree-5fy5wh6g.js → skill-ry0m9tn2.js} +11 -11
- package/dist/chunks/{worktree-kb4178cy.js → skill-s6f1tzs1.js} +17 -17
- package/dist/chunks/{worktree-sa3fpqfw.js → skill-sa3fpqfw.js} +2 -2
- package/dist/chunks/{worktree-setr6b4n.js → skill-savsbs8r.js} +38 -38
- package/dist/chunks/{worktree-q2d8rzza.js → skill-sj9vbdm2.js} +9 -9
- package/dist/chunks/{worktree-mkt943y8.js → skill-skm03efc.js} +8 -8
- package/dist/chunks/{worktree-5pq867hf.js → skill-sm1y76r2.js} +3 -3
- package/dist/chunks/{worktree-sqjzf8x2.js → skill-sqjzf8x2.js} +1 -1
- package/dist/chunks/{worktree-ssfehs1z.js → skill-ssfehs1z.js} +1 -1
- package/dist/chunks/{worktree-hkemg6xf.js → skill-svmpqen7.js} +11 -11
- package/dist/chunks/{worktree-afmnpta1.js → skill-szcgc7h4.js} +5 -5
- package/dist/chunks/{worktree-h9t23wpm.js → skill-szcvdtb1.js} +15 -15
- package/dist/chunks/{worktree-kd4chd64.js → skill-t211gxpv.js} +7 -7
- package/dist/chunks/{worktree-q066xmm0.js → skill-t7ch0rgv.js} +24 -24
- package/dist/chunks/{worktree-8kk74xj2.js → skill-ta7416gx.js} +16 -16
- package/dist/chunks/{worktree-tczq8hjw.js → skill-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-d6sbn13z.js → skill-ted04mbz.js} +13 -13
- package/dist/chunks/{worktree-k8f39ak3.js → skill-tfkn5990.js} +47 -47
- package/dist/chunks/{worktree-vcpvdpk3.js → skill-tg7v3kdh.js} +21 -21
- package/dist/chunks/{worktree-dz8hhvgv.js → skill-tpm1qpxt.js} +9 -9
- package/dist/chunks/{worktree-twv2r8f4.js → skill-twv2r8f4.js} +2 -2
- package/dist/chunks/{worktree-9qpye6ef.js → skill-txy76bqw.js} +11 -11
- package/dist/chunks/{worktree-z3dz6gn5.js → skill-ty59g5hq.js} +4 -4
- package/dist/chunks/{worktree-8qa3g5sa.js → skill-ty9tdn63.js} +2 -2
- package/dist/chunks/{worktree-11aje976.js → skill-v1dcgevh.js} +4 -4
- package/dist/chunks/{worktree-v2r1d0zg.js → skill-v2r1d0zg.js} +1 -1
- package/dist/chunks/{worktree-vd3b3yk9.js → skill-vd3b3yk9.js} +1 -1
- package/dist/chunks/{worktree-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-m6f7840m.js → skill-vnm637sj.js} +32 -32
- package/dist/chunks/{worktree-gbbgar44.js → skill-vp04qmca.js} +19 -19
- package/dist/chunks/{worktree-ewyr86ft.js → skill-vrhfh655.js} +27 -27
- package/dist/chunks/{worktree-3nnh6x8n.js → skill-vsvv2e2n.js} +30 -30
- package/dist/chunks/{worktree-hhafapa0.js → skill-vwvg46tm.js} +2 -2
- package/dist/chunks/{worktree-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wr3re1en.js → skill-w687dnns.js} +4 -4
- package/dist/chunks/{worktree-wakvkjy4.js → skill-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-s6fqr474.js → skill-wepwhyhm.js} +14 -14
- package/dist/chunks/{worktree-4fkatqpa.js → skill-wes5520y.js} +9 -9
- package/dist/chunks/{worktree-0pv1adqs.js → skill-wggz5dcx.js} +8 -8
- package/dist/chunks/{worktree-rkhtrhzc.js → skill-x78ehrnn.js} +19 -19
- package/dist/chunks/{worktree-t2n4qmf3.js → skill-x9sp13q1.js} +1 -1
- package/dist/chunks/{worktree-4f15exd5.js → skill-xgwp5qw1.js} +1 -1
- package/dist/chunks/{worktree-a5vkyr04.js → skill-xmeg9r5c.js} +38 -38
- package/dist/chunks/{worktree-6k95y278.js → skill-xs87h7sc.js} +14 -14
- package/dist/chunks/{worktree-ztf6n3de.js → skill-xsact9zs.js} +4 -4
- package/dist/chunks/{worktree-wcnxy81f.js → skill-y455aja3.js} +52 -52
- package/dist/chunks/{worktree-30r67fxy.js → skill-y8dcjgfv.js} +20 -20
- package/dist/chunks/{worktree-y82h6rr8.js → skill-yavw29v2.js} +23 -23
- package/dist/chunks/{worktree-yb20nhc3.js → skill-yb20nhc3.js} +1 -1
- package/dist/chunks/{worktree-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-z6b1690w.js → skill-z0db4kf0.js} +39 -39
- package/dist/chunks/{worktree-z38nccrw.js → skill-z38nccrw.js} +1 -1
- package/dist/chunks/{worktree-24cx9b7z.js → skill-z8ytgzmn.js} +26 -26
- package/dist/chunks/{worktree-93wp6b6w.js → skill-zbz46kc9.js} +5 -5
- package/dist/chunks/{worktree-nbwz5qgq.js → skill-zg6f644q.js} +45 -45
- package/dist/chunks/{worktree-zkg84ctx.js → skill-zkg84ctx.js} +1 -1
- package/dist/chunks/{worktree-fepbbevx.js → skill-zsmny15c.js} +79 -79
- package/dist/chunks/{worktree-smrfb97d.js → skill-zswh72fp.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +87 -87
- package/dist/config/integration.js +5 -5
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +119 -119
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +76 -76
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -376
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +107 -107
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +367 -367
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -364
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode-legacy.js +105 -105
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +356 -356
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +165 -165
- package/dist/session/diff.js +93 -93
- 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 +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- 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 +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +96 -96
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +107 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- 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/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +105 -105
- package/package.json +8 -8
- package/dist/chunks/worktree-00yw50eq.js +0 -261
- package/dist/chunks/worktree-f8ma18fn.js +0 -18
- package/dist/chunks/worktree-wntn4vfk.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5fjb7ams.js → skill-5fjb7ams.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a058387c.js → skill-a058387c.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → skill-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → skill-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_mcp5, {
|
|
|
12
12
|
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
|
-
Remote: () =>
|
|
15
|
+
Remote: () => Remote2
|
|
16
16
|
});
|
|
17
17
|
import { Schema } from "effect";
|
|
18
18
|
var Local2 = Schema.Struct({
|
|
@@ -48,7 +48,7 @@ var OAuth2 = Schema.Struct({
|
|
|
48
48
|
description: "OAuth redirect URI (default: http://127.0.0.1:19876/mcp/oauth/callback)."
|
|
49
49
|
})
|
|
50
50
|
}).annotate({ identifier: "McpOAuthConfig" });
|
|
51
|
-
var
|
|
51
|
+
var Remote2 = Schema.Struct({
|
|
52
52
|
type: Schema.Literal("remote").annotate({ description: "Type of MCP server connection" }),
|
|
53
53
|
url: Schema.String.annotate({ description: "URL of the remote MCP server" }),
|
|
54
54
|
enabled: Schema.optional(Schema.Boolean).annotate({
|
|
@@ -64,6 +64,6 @@ var Remote3 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var Info14 = Schema.Union([Local2,
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./skill-gfjrd4e2.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-a92dmqhy.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Form } from "@opencode/schema/form";
|
|
12
|
-
var providerID =
|
|
12
|
+
var providerID = ID8.make("cloudflare-workers-ai");
|
|
13
13
|
var CloudflareWorkersAIPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./skill-bz8b4c6r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node36
|
|
8
|
+
} from "./skill-7ete3fjn.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service76,
|
|
14
|
+
node80
|
|
15
|
+
} from "./skill-er1g1bvg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service64,
|
|
18
|
+
node67
|
|
19
|
+
} from "./skill-2je7xwd4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service39,
|
|
22
|
+
node42
|
|
23
|
+
} from "./skill-kgex5j78.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-fg74as85.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service31,
|
|
36
|
+
layer: () => layer14,
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node34
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service33;
|
|
54
|
+
const tools = yield* Service64;
|
|
55
55
|
const bus = yield* Service86;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service76;
|
|
57
|
+
const toolOutput = yield* Service39;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node34 = makeLocationNode({
|
|
148
|
+
service: Service31,
|
|
149
|
+
layer: layer14,
|
|
150
|
+
deps: [node67, node36, node90, node80, node42]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service31, layer14, node34, exports_mcp3 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./skill-bz8b4c6r.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event18,
|
|
18
|
+
ID: () => ID14,
|
|
19
|
+
Info: () => Info25,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node83
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event18 } from "@opencode/schema/agent";
|
|
29
|
+
var ID14 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID14.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info25 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service79 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service86;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info25.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service79.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID14.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
101
|
}));
|
|
102
|
-
var
|
|
102
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [node90] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID14, Name3, defaultID2, Color2, Info25, Service79, node83, exports_agent4, Event18 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info11
|
|
9
|
-
} from "./worktree-yv6n3e4t.js";
|
|
6
|
+
} from "./skill-173t91w5.js";
|
|
10
7
|
import {
|
|
11
8
|
Info15
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./skill-mzyv1r8q.js";
|
|
10
|
+
import {
|
|
11
|
+
Info12
|
|
12
|
+
} from "./skill-t211gxpv.js";
|
|
13
13
|
import {
|
|
14
14
|
Info14
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-pacbbjc0.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-5zrxpy3q.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info13
|
|
21
|
+
} from "./skill-szcgc7h4.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-feqd3nyp.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-8ecwpcxg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-bz8b4c6r.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service71
|
|
11
|
+
} from "./skill-vnm637sj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-0trxxenf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-gfjrd4e2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info18
|
|
24
|
+
} from "./skill-5gfep4at.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-a92dmqhy.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID8.openai;
|
|
47
|
+
var integrationID = ID9.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service86;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service71;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info18.default(ID8.openai, ID7.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-k88b30qa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./skill-er1g1bvg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./skill-cmn63q56.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info6,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-8eprwqzy.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin24,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin24 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service14;
|
|
104
|
+
const permission = yield* Service76;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin12 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info6,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin24, exports_opencode };
|