@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node70
|
|
5
|
+
} from "./skill-8ecwpcxg.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./skill-231a8wys.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-er1g1bvg.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-kfy4zy3j.js";
|
|
16
16
|
import {
|
|
17
17
|
Error5
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-2je7xwd4.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service30,
|
|
24
|
+
node33
|
|
25
|
+
} from "./skill-2eqy3gj5.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make16
|
|
28
|
+
} from "./skill-hfgk9wzg.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-9etm08e8.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service29,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer12,
|
|
44
|
+
node: () => node32,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
|
|
|
77
77
|
return {
|
|
78
78
|
providerMetadataKey,
|
|
79
79
|
system: [
|
|
80
|
-
input.agent.system ? input.agent.system :
|
|
80
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
81
81
|
input.initial
|
|
82
82
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
83
83
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service80;
|
|
165
|
+
const transport = yield* Service30;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -264,17 +264,17 @@ var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service29.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node32 = makeLocationNode({
|
|
275
|
+
service: Service29,
|
|
276
|
+
layer: layer12,
|
|
277
|
+
deps: [node84, node33, node70]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service29, layer12, node32, exports_model_request };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./skill-kx5dznpq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-8j2r6s7s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service42
|
|
11
|
+
} from "./skill-edr0v86s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service76
|
|
14
|
+
} from "./skill-er1g1bvg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./skill-cmn63q56.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin22,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin22 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service48;
|
|
58
|
+
const formatter = yield* Service42;
|
|
59
|
+
const permission = yield* Service76;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output5, toModelContent4, Plugin22, exports_write };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service83
|
|
9
|
+
} from "./skill-gt561mjr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./skill-kx5dznpq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service47
|
|
15
|
+
} from "./skill-xs87h7sc.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-vsvv2e2n.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service76
|
|
24
|
+
} from "./skill-er1g1bvg.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service14
|
|
27
|
+
} from "./skill-cmn63q56.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input8,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin26,
|
|
39
|
+
name: () => name8,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name8 = "glob";
|
|
46
|
+
var Input8 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin26 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service48;
|
|
70
|
+
const ripgrep = yield* Service47;
|
|
71
|
+
const location = yield* Service83;
|
|
72
|
+
const access = yield* Service14;
|
|
73
|
+
const permission = yield* Service76;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name8,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input8,
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name8,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin7 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name8, Input8, Output6, toModelContent5, Plugin26, exports_glob };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-gfjrd4e2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info18
|
|
11
|
+
} from "./skill-5gfep4at.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info18.make({
|
|
122
|
+
...Info18.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-p7f9amnf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin7,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin7 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin42 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin7, exports_identity };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node91
|
|
4
|
+
} from "./skill-txy76bqw.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node90
|
|
8
|
+
} from "./skill-bz8b4c6r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./skill-4jqg84dk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service53,
|
|
15
|
+
node56
|
|
16
|
+
} from "./skill-ceq6pwch.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make18
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-ssfehs1z.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./skill-xsact9zs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service77,
|
|
29
|
+
node81
|
|
30
|
+
} from "./skill-hbqckzs6.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-72an0bmj.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./skill-ep701ytr.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./skill-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service50,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node54,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service77;
|
|
64
|
+
const instances = yield* Service53;
|
|
65
65
|
const bus = yield* Service86;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service58;
|
|
67
67
|
const db = (yield* Service87).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node54 = makeGlobalNode({
|
|
127
|
+
service: Service50,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node81, node56, node90, node91, node61]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service50, terminal2, layer19, node54, noopLayer3, exports_execution };
|