@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,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./skill-bz8b4c6r.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./skill-gt561mjr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service73,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node77
|
|
16
|
+
} from "./skill-vp04qmca.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event16,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID11,
|
|
28
|
+
Info: () => Info23,
|
|
29
|
+
NotFoundError: () => NotFoundError7,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service72,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node76
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event16 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID11 = Pty.ID;
|
|
43
|
+
var Info23 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID11
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID11
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service72 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service86;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service83;
|
|
62
|
+
const shell = yield* Service73;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID11.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service72.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node76 = makeLocationNode({
|
|
273
|
+
service: Service72,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node90, node87, node77]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID11, Info23, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service72, node76, exports_pty, Event16 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service27,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service27 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service27.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service27, awaitActivation2, exports_service };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9cx9sm2q.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-00gjqycq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID6.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-y455aja3.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
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
|
+
ID10,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event15
|
|
11
|
+
} from "./skill-vnm637sj.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-42jd4697.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-0trxxenf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID8
|
|
22
|
+
} from "./skill-gfjrd4e2.js";
|
|
23
23
|
import {
|
|
24
24
|
Service55
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./skill-54pbqzcr.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Remote3,
|
|
28
28
|
Document2,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
make21
|
|
30
|
+
} from "./skill-5y0frafb.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-hnpjybsn.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service62
|
|
41
|
+
} from "./skill-n4ygatty.js";
|
|
42
42
|
import {
|
|
43
43
|
ID4,
|
|
44
|
-
|
|
44
|
+
Input15,
|
|
45
45
|
Response3
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./skill-cmf65zxm.js";
|
|
47
47
|
import {
|
|
48
48
|
Response2,
|
|
49
|
-
|
|
49
|
+
make9,
|
|
50
50
|
statements2,
|
|
51
51
|
providerIDs2,
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
52
|
+
register2
|
|
53
|
+
} from "./skill-ta7416gx.js";
|
|
54
54
|
|
|
55
55
|
// src/plugin/provider/opencode.ts
|
|
56
56
|
import {
|
|
@@ -113,7 +113,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
113
113
|
}
|
|
114
114
|
function oauth(http) {
|
|
115
115
|
return {
|
|
116
|
-
integrationID:
|
|
116
|
+
integrationID: ID9.make("opencode"),
|
|
117
117
|
method: {
|
|
118
118
|
id: methodID,
|
|
119
119
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpencodePlugin2 = define({
|
|
|
181
181
|
const bus = yield* Service86;
|
|
182
182
|
const client = yield* HttpClient.HttpClient;
|
|
183
183
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
184
|
-
const managed = yield*
|
|
184
|
+
const managed = yield* Service62;
|
|
185
185
|
const config = yield* Service55;
|
|
186
186
|
const scope = yield* Scope.Scope;
|
|
187
187
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
if (!credential || credential.type === "external")
|
|
205
205
|
return Effect.succeed({ remote: undefined, connection, organization: undefined });
|
|
206
206
|
return fetchConfig(http, credential).pipe(Effect.map((remote) => ({
|
|
207
|
-
remote: remote?.type === "legacy" ?
|
|
207
|
+
remote: remote?.type === "legacy" ? make9(remote.response, headers2(credential)) : remote,
|
|
208
208
|
connection,
|
|
209
209
|
organization: organizationName(credential)
|
|
210
210
|
})));
|
|
@@ -218,16 +218,16 @@ var OpencodePlugin2 = define({
|
|
|
218
218
|
});
|
|
219
219
|
let integrated;
|
|
220
220
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
221
|
-
yield* config.integration?.(
|
|
222
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID ===
|
|
221
|
+
yield* config.integration?.(ID9.make("opencode"), document) ?? Effect.void;
|
|
222
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID9.make("opencode"));
|
|
223
223
|
});
|
|
224
224
|
const publish = Effect.fnUntraced(function* (next) {
|
|
225
225
|
switch (next.remote?.type) {
|
|
226
226
|
case "config":
|
|
227
227
|
yield* managed.set({ statements: [], organization: next.organization });
|
|
228
|
-
return yield* integrate(next.connection &&
|
|
229
|
-
integrationID:
|
|
230
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
228
|
+
return yield* integrate(next.connection && make21({
|
|
229
|
+
integrationID: ID9.make("opencode"),
|
|
230
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID10.make(next.connection.id) } : next.connection,
|
|
231
231
|
organization: next.organization,
|
|
232
232
|
info: next.remote.info
|
|
233
233
|
}));
|
|
@@ -254,7 +254,7 @@ var OpencodePlugin2 = define({
|
|
|
254
254
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
255
255
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
256
256
|
const server = yield* normalizeServer(server2(credential));
|
|
257
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
257
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
258
258
|
query: input.query,
|
|
259
259
|
providerID
|
|
260
260
|
}));
|
|
@@ -277,13 +277,13 @@ var OpencodePlugin2 = define({
|
|
|
277
277
|
});
|
|
278
278
|
snapshot = yield* load();
|
|
279
279
|
yield* publish(snapshot);
|
|
280
|
-
yield*
|
|
280
|
+
yield* register2(ctx, () => snapshot, search);
|
|
281
281
|
yield* ctx.provider.transform((providers) => {
|
|
282
282
|
if (integrated)
|
|
283
283
|
integrate2(providers, integrated);
|
|
284
284
|
});
|
|
285
285
|
yield* ctx.provider.transform((providers) => {
|
|
286
|
-
const item = providers.get(
|
|
286
|
+
const item = providers.get(ID8.opencode);
|
|
287
287
|
if (!item)
|
|
288
288
|
return;
|
|
289
289
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
});
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.model.transform((models) => {
|
|
298
|
-
const item = models.provider.get(
|
|
298
|
+
const item = models.provider.get(ID8.opencode);
|
|
299
299
|
if (!item)
|
|
300
300
|
return;
|
|
301
301
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -348,7 +348,7 @@ var OpencodePlugin2 = define({
|
|
|
348
348
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
349
349
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
350
350
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
351
|
-
|
|
351
|
+
ID8.opencode,
|
|
352
352
|
...next.remote?.type === "config" ? Object.keys(next.remote.info.providers ?? {}) : providerIDs2(next.remote)
|
|
353
353
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
354
354
|
});
|
|
@@ -361,7 +361,7 @@ var OpencodePlugin2 = define({
|
|
|
361
361
|
onlyIfMissing: true
|
|
362
362
|
});
|
|
363
363
|
});
|
|
364
|
-
yield* bus.subscribe(
|
|
364
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
365
365
|
yield* poll();
|
|
366
366
|
})
|
|
367
367
|
});
|
|
@@ -384,7 +384,7 @@ function fetchConfig(http, value) {
|
|
|
384
384
|
}
|
|
385
385
|
const body = yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap((ok) => ok.json));
|
|
386
386
|
if (Predicate.hasProperty(body, "$schema"))
|
|
387
|
-
return { type: "config", info: yield* Schema.decodeUnknownEffect(
|
|
387
|
+
return { type: "config", info: yield* Schema.decodeUnknownEffect(Remote3)(body) };
|
|
388
388
|
return { type: "legacy", response: yield* Schema.decodeUnknownEffect(Response2)(body) };
|
|
389
389
|
})), Effect.scoped);
|
|
390
390
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./skill-gt561mjr.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/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service42,
|
|
17
|
+
node: () => node45
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service42 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service83;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service42.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node45 = makeLocationNode({
|
|
91
|
+
service: Service42,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node87, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service42, node45, exports_formatter2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node91
|
|
4
|
+
} from "./skill-txy76bqw.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-11hfp36g.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node90
|
|
11
|
+
} from "./skill-bz8b4c6r.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2,
|
|
20
20
|
SessionInboxTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-998yhzzq.js";
|
|
22
22
|
import {
|
|
23
23
|
decodeMessageRowSync2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9czcsnv2.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info11,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service52,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make19,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node55,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info11,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -159,9 +159,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service52 extends Context.Service()("@opencode/SessionInbox") {
|
|
163
163
|
}
|
|
164
|
-
var
|
|
164
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
165
165
|
const database = yield* Service87;
|
|
166
166
|
const db = database.db;
|
|
167
167
|
const bus = yield* Service86;
|
|
@@ -181,7 +181,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
181
181
|
inboxID: request.id,
|
|
182
182
|
sessionID: request.sessionID,
|
|
183
183
|
item: request.item
|
|
184
|
-
}).pipe(Effect.map((event) =>
|
|
184
|
+
}).pipe(Effect.map((event) => Info11.make({
|
|
185
185
|
id: request.id,
|
|
186
186
|
sessionID: request.sessionID,
|
|
187
187
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -235,8 +235,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
235
235
|
queue
|
|
236
236
|
};
|
|
237
237
|
});
|
|
238
|
-
var
|
|
239
|
-
var
|
|
238
|
+
var layer20 = Layer.effect(Service52, make19());
|
|
239
|
+
var node55 = makeGlobalNode({ service: Service52, layer: layer20, deps: [node91, node90] });
|
|
240
240
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
241
241
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
242
242
|
if (message !== undefined)
|
|
@@ -333,4 +333,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
333
333
|
return rows;
|
|
334
334
|
}));
|
|
335
335
|
|
|
336
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
336
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service52, make19, layer20, node55, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|