@opencode/core 0.0.0-dev-531 → 0.0.0-dev-533
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +80 -80
- package/dist/chunks/{wellknown-1xqp3131.js → app-023tr5s6.js} +8 -8
- package/dist/chunks/{wellknown-034tev2y.js → app-034tev2y.js} +2 -2
- package/dist/chunks/{wellknown-yczq76nx.js → app-06vty4ag.js} +14 -14
- package/dist/chunks/{wellknown-njd9125x.js → app-071xepzr.js} +8 -8
- package/dist/chunks/{wellknown-6qb1gk4m.js → app-0djtmv4b.js} +24 -24
- package/dist/chunks/{wellknown-ang3qh6y.js → app-0hm3620q.js} +15 -15
- package/dist/chunks/{wellknown-sqjzf8x2.js → app-0j7gp832.js} +4 -4
- package/dist/chunks/{wellknown-0ma9gw4f.js → app-0ma9gw4f.js} +2 -2
- package/dist/chunks/{wellknown-erqmh0s3.js → app-0vhpcja6.js} +41 -41
- package/dist/chunks/{wellknown-w3xt6112.js → app-0vmgx0b1.js} +18 -18
- package/dist/chunks/{wellknown-gnbgpecn.js → app-0whjz4pc.js} +33 -33
- package/dist/chunks/{wellknown-fdk6jtg4.js → app-0wxqvfmz.js} +22 -22
- package/dist/chunks/{wellknown-356nhnj4.js → app-15gyfapn.js} +3 -3
- package/dist/chunks/{wellknown-qjp74qzt.js → app-169q198c.js} +11 -11
- package/dist/chunks/{wellknown-1aqsckx4.js → app-1aqsckx4.js} +1 -1
- package/dist/chunks/{wellknown-1ep2p91f.js → app-1ep2p91f.js} +2 -2
- package/dist/chunks/{wellknown-jfn76ce2.js → app-1k8ay1ny.js} +6 -6
- package/dist/chunks/{wellknown-0h86f0az.js → app-1v2g13eq.js} +4 -4
- package/dist/chunks/{wellknown-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{wellknown-1yq9hg58.js → app-1yq9hg58.js} +1 -1
- package/dist/chunks/{wellknown-vakx31vb.js → app-29hw4ss4.js} +10 -10
- package/dist/chunks/{wellknown-q37w70tr.js → app-2ar9wm5b.js} +36 -36
- package/dist/chunks/{wellknown-taw5sjg8.js → app-2dh93vah.js} +13 -13
- package/dist/chunks/app-2dkjcnxp.js +18 -0
- package/dist/chunks/app-2e4hd1ta.js +26 -0
- package/dist/chunks/{wellknown-sjwxftee.js → app-2hzhdr8n.js} +54 -54
- package/dist/chunks/{wellknown-3b3p5y89.js → app-2n0gzjy1.js} +6 -6
- package/dist/chunks/{wellknown-s1ba0vj0.js → app-2p60zmnr.js} +2 -2
- package/dist/chunks/{wellknown-320ja0ry.js → app-2q7aaym5.js} +10 -10
- package/dist/chunks/{wellknown-ddrsea9f.js → app-2v28484r.js} +14 -14
- package/dist/chunks/{wellknown-8qzgkkmg.js → app-351b30z6.js} +10 -10
- package/dist/chunks/{wellknown-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-kp7enk9s.js → app-3hxn8zvt.js} +21 -21
- package/dist/chunks/{wellknown-3nnrz6f6.js → app-3nnrz6f6.js} +1 -1
- package/dist/chunks/{wellknown-bkyq0cna.js → app-3q0n77m9.js} +9 -9
- package/dist/chunks/{wellknown-8t99kr38.js → app-3qgwywyc.js} +4 -4
- package/dist/chunks/{wellknown-17d9a00f.js → app-3sgnb8ye.js} +8 -8
- package/dist/chunks/{wellknown-gcscv2dp.js → app-3xcdf921.js} +4 -4
- package/dist/chunks/{wellknown-jtn88xg7.js → app-3yaf1m62.js} +5 -5
- package/dist/chunks/{wellknown-6cceh8zz.js → app-3ze6avpc.js} +20 -20
- package/dist/chunks/{wellknown-40y6dtc2.js → app-40y6dtc2.js} +1 -1
- package/dist/chunks/{wellknown-w2eysc6j.js → app-40za9wsf.js} +9 -9
- package/dist/chunks/{wellknown-swf5v17j.js → app-415jqnng.js} +21 -21
- package/dist/chunks/{wellknown-8ptmy0ae.js → app-41kfwpax.js} +17 -17
- package/dist/chunks/{wellknown-nnkx8df4.js → app-428pgh8a.js} +28 -28
- package/dist/chunks/{wellknown-jxd6f16v.js → app-44pmzq9c.js} +2 -2
- package/dist/chunks/{wellknown-a490b00c.js → app-48p0twde.js} +23 -23
- package/dist/chunks/{wellknown-ra34yqmw.js → app-4bwthz3m.js} +6 -6
- package/dist/chunks/{wellknown-9cc2pmfy.js → app-4cnwvq4h.js} +6 -6
- package/dist/chunks/{wellknown-w3zjyrct.js → app-4dkwhq0x.js} +12 -12
- package/dist/chunks/{wellknown-4dx1dgte.js → app-4dx1dgte.js} +1 -1
- package/dist/chunks/{wellknown-3511ny9y.js → app-4ebhcamw.js} +9 -9
- package/dist/chunks/{wellknown-4f25tdd0.js → app-4f25tdd0.js} +1 -1
- package/dist/chunks/{wellknown-w651bjdc.js → app-4fy04zw8.js} +15 -15
- package/dist/chunks/{wellknown-m7325bw9.js → app-4j2st2tz.js} +22 -22
- package/dist/chunks/{wellknown-ctjvtw4z.js → app-4kzsaxfv.js} +31 -31
- package/dist/chunks/{wellknown-4pyp9zr9.js → app-4pyp9zr9.js} +1 -1
- package/dist/chunks/{wellknown-s6nhsq50.js → app-4redp3t7.js} +22 -22
- package/dist/chunks/{wellknown-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{wellknown-d3sxgrq2.js → app-4v29yf8j.js} +26 -26
- package/dist/chunks/{wellknown-4g28f8pt.js → app-4ygb74tw.js} +11 -11
- package/dist/chunks/{wellknown-a3med3h7.js → app-57pzxzjx.js} +9 -9
- package/dist/chunks/{wellknown-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-ykytq59n.js → app-5p9pzyf2.js} +10 -10
- package/dist/chunks/{wellknown-abatvchf.js → app-5ty7kmb9.js} +20 -20
- package/dist/chunks/{wellknown-5pv5c9wc.js → app-5v3drhbv.js} +12 -12
- package/dist/chunks/{wellknown-xg7sp9tk.js → app-5waxe0zg.js} +7 -7
- package/dist/chunks/{wellknown-7ke2z32d.js → app-5zpqhmp2.js} +3 -3
- package/dist/chunks/{wellknown-vcj4kawz.js → app-6861a8w4.js} +1 -1
- package/dist/chunks/{wellknown-j8jgx42d.js → app-68yk0sbf.js} +14 -14
- package/dist/chunks/{wellknown-h91vm5r2.js → app-6h8vcvjm.js} +9 -9
- package/dist/chunks/{wellknown-0vrefp65.js → app-6wqybc29.js} +35 -35
- package/dist/chunks/{wellknown-gryg4n3p.js → app-6wz8nwr9.js} +11 -11
- package/dist/chunks/{wellknown-mjfm30ft.js → app-738setp6.js} +9 -9
- package/dist/chunks/{wellknown-98t6dtyj.js → app-73pbse2v.js} +4 -4
- package/dist/chunks/{wellknown-6ypphge5.js → app-7699c8n2.js} +13 -13
- package/dist/chunks/{wellknown-775hqbnd.js → app-775hqbnd.js} +3 -3
- package/dist/chunks/{wellknown-qx3sy2da.js → app-77apcsw3.js} +11 -11
- package/dist/chunks/{wellknown-vqrm0avg.js → app-77sxxbp4.js} +83 -83
- package/dist/chunks/{wellknown-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-aedwt843.js → app-7tpyp9vw.js} +8 -8
- package/dist/chunks/{wellknown-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{wellknown-7weczvnd.js → app-7weczvnd.js} +1 -1
- package/dist/chunks/{wellknown-bg97aksq.js → app-7zfjnsm1.js} +3 -3
- package/dist/chunks/{wellknown-yw0c8fgt.js → app-87mgrrkc.js} +21 -21
- package/dist/chunks/{wellknown-89287pr7.js → app-89287pr7.js} +1 -1
- package/dist/chunks/{wellknown-25h84942.js → app-8b3vzgkx.js} +4 -4
- package/dist/chunks/{wellknown-5whx36p1.js → app-8cg7mtm3.js} +4 -4
- package/dist/chunks/{wellknown-6wqe7z09.js → app-8cgan64h.js} +17 -17
- package/dist/chunks/{wellknown-gx76kxxn.js → app-8es3pha2.js} +9 -9
- package/dist/chunks/{wellknown-js0vevxn.js → app-8esgw3e4.js} +20 -20
- package/dist/chunks/{wellknown-9964m0jm.js → app-8g46d24t.js} +30 -30
- package/dist/chunks/{wellknown-107h98y2.js → app-8g6n6r2g.js} +31 -31
- package/dist/chunks/{wellknown-3dew7vmk.js → app-8jzdtxe1.js} +10 -10
- package/dist/chunks/{wellknown-vd310rs4.js → app-8sj943nq.js} +5 -5
- package/dist/chunks/{wellknown-ryzg12hz.js → app-8skzerzh.js} +18 -18
- package/dist/chunks/{wellknown-8sxe6kv8.js → app-8sxe6kv8.js} +2 -2
- package/dist/chunks/{wellknown-6pj6bcpx.js → app-8tbv5t3x.js} +14 -14
- package/dist/chunks/{wellknown-2byfh1vg.js → app-8v5mxf6a.js} +32 -32
- package/dist/chunks/{wellknown-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/{wellknown-8xz27cp9.js → app-8xz27cp9.js} +1 -1
- package/dist/chunks/{wellknown-90zstvax.js → app-90zstvax.js} +1 -1
- package/dist/chunks/{wellknown-7z47kxrk.js → app-933ag3kz.js} +356 -356
- package/dist/chunks/{wellknown-fgz3zd1g.js → app-93jzr7p3.js} +24 -24
- package/dist/chunks/{wellknown-6edbc7zm.js → app-93xmyh8q.js} +7 -7
- package/dist/chunks/{wellknown-081qm95b.js → app-94kcbdre.js} +10 -10
- package/dist/chunks/{wellknown-zyfhsknv.js → app-963hk181.js} +9 -9
- package/dist/chunks/{wellknown-gh2ahjhz.js → app-99f43fvk.js} +11 -11
- package/dist/chunks/{wellknown-7kas2y02.js → app-9a1bg1e0.js} +4 -4
- package/dist/chunks/{wellknown-vzhx5m24.js → app-9jnmndgv.js} +4 -4
- package/dist/chunks/{wellknown-5y411tjh.js → app-9kea9kdp.js} +11 -11
- package/dist/chunks/{wellknown-yfmbdz01.js → app-9rgr5dz2.js} +4 -4
- package/dist/chunks/{wellknown-0dxdx88v.js → app-9rma6r3d.js} +14 -14
- package/dist/chunks/{wellknown-p99vzxke.js → app-9tybept6.js} +12 -12
- package/dist/chunks/{wellknown-enhxan2w.js → app-9ydsfh5k.js} +13 -13
- package/dist/chunks/{wellknown-wyxmrg2m.js → app-adtfdgqn.js} +170 -170
- package/dist/chunks/{wellknown-kh1j8594.js → app-ae4ev18a.js} +16 -16
- package/dist/chunks/{wellknown-bc8ay2mj.js → app-ahbhp2ec.js} +19 -19
- package/dist/chunks/{wellknown-5wejpsa4.js → app-ap6cz3e4.js} +27 -27
- package/dist/chunks/{wellknown-75rx3vj8.js → app-av3nfg5h.js} +25 -25
- package/dist/chunks/{wellknown-d1zc28qn.js → app-axbznw5v.js} +25 -25
- package/dist/chunks/{wellknown-ayjs7tqn.js → app-ayjs7tqn.js} +2 -2
- package/dist/chunks/{wellknown-p4t8tnk2.js → app-b4bt5gam.js} +22 -22
- package/dist/chunks/{wellknown-b6vsg801.js → app-b6vsg801.js} +2 -2
- package/dist/chunks/{wellknown-wtd49933.js → app-b8yrdqmv.js} +20 -20
- package/dist/chunks/{wellknown-wv5ds497.js → app-bapm1zye.js} +4 -4
- package/dist/chunks/{wellknown-53pdkqje.js → app-becnq02w.js} +79 -79
- package/dist/chunks/{wellknown-364dw938.js → app-beffzag1.js} +6 -6
- package/dist/chunks/{wellknown-bstexjd6.js → app-bstexjd6.js} +1 -1
- package/dist/chunks/{wellknown-5f3kez8w.js → app-c48qafqz.js} +13 -13
- package/dist/chunks/{wellknown-vgzbcpzk.js → app-ca0nsfrc.js} +49 -49
- package/dist/chunks/{wellknown-4y1fx69b.js → app-cageb4n9.js} +38 -38
- package/dist/chunks/{wellknown-0xtd9zb1.js → app-ccna5efk.js} +26 -26
- package/dist/chunks/{wellknown-97pd8bef.js → app-cfjcx576.js} +3 -3
- package/dist/chunks/{wellknown-s3y9yth1.js → app-cjfw41j6.js} +7 -7
- package/dist/chunks/{wellknown-tabpk5z9.js → app-ck49668h.js} +11 -11
- package/dist/chunks/{wellknown-jkdcm5hg.js → app-cr4rfj9z.js} +4 -4
- package/dist/chunks/{wellknown-cwrgdav8.js → app-cwrgdav8.js} +2 -2
- package/dist/chunks/{wellknown-ecw7ptk2.js → app-cxn1zqes.js} +14 -14
- package/dist/chunks/{wellknown-79k544d0.js → app-czwy3yzx.js} +4 -4
- package/dist/chunks/{wellknown-gg4ph9tz.js → app-d3gfwtm4.js} +28 -28
- package/dist/chunks/{wellknown-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/app-d7zr3k29.js +265 -0
- package/dist/chunks/{wellknown-3wja4g8p.js → app-dcsm6amq.js} +5 -5
- package/dist/chunks/{wellknown-rp362he1.js → app-dfr4zkq4.js} +17 -17
- package/dist/chunks/{wellknown-nx191xnz.js → app-dfwwgke2.js} +13 -13
- package/dist/chunks/{wellknown-6gpk32et.js → app-dgn0z867.js} +16 -16
- package/dist/chunks/{wellknown-61qpxbtv.js → app-dhs6ajsf.js} +32 -32
- package/dist/chunks/{wellknown-pn3g6gb4.js → app-dj2p6exq.js} +4 -4
- package/dist/chunks/{wellknown-gefyy9na.js → app-dj4jbt3y.js} +16 -16
- package/dist/chunks/{wellknown-jx048c0m.js → app-dqee6hk6.js} +7 -7
- package/dist/chunks/{wellknown-dt77769w.js → app-dt77769w.js} +1 -1
- package/dist/chunks/{wellknown-5gsamv13.js → app-e555njzm.js} +14 -14
- package/dist/chunks/{wellknown-0wq4gppm.js → app-e6n9ma6q.js} +1 -1
- package/dist/chunks/{wellknown-e834z07m.js → app-e834z07m.js} +1 -1
- package/dist/chunks/{wellknown-zqx8a4by.js → app-e8yqp6nf.js} +21 -21
- package/dist/chunks/{wellknown-nyqed72y.js → app-e9x9f5s4.js} +20 -20
- package/dist/chunks/{wellknown-eqw4pqj1.js → app-eqw4pqj1.js} +2 -2
- package/dist/chunks/{wellknown-nwyfjcs7.js → app-exwhc5hz.js} +8 -8
- package/dist/chunks/{wellknown-dh8p6zn9.js → app-f081805b.js} +36 -36
- package/dist/chunks/{wellknown-f83hqnqt.js → app-f152d69v.js} +11 -11
- package/dist/chunks/{wellknown-z0y7qn54.js → app-f2nzj6et.js} +9 -9
- package/dist/chunks/{wellknown-4px71gfg.js → app-f36f6awb.js} +15 -15
- package/dist/chunks/{wellknown-0hxfk2gz.js → app-f568412b.js} +8 -8
- package/dist/chunks/{wellknown-4sx70pc0.js → app-f698gxgx.js} +6 -6
- package/dist/chunks/{wellknown-qqms5wpj.js → app-f8s27sep.js} +6 -6
- package/dist/chunks/{wellknown-fffv3p7h.js → app-fffv3p7h.js} +1 -1
- package/dist/chunks/{wellknown-fg9p65nk.js → app-fg9p65nk.js} +2 -2
- package/dist/chunks/{wellknown-2svafcs7.js → app-fs1yyne5.js} +42 -42
- package/dist/chunks/{wellknown-ssprfvc9.js → app-fwrnbwjt.js} +3 -3
- package/dist/chunks/{wellknown-pzwkddzv.js → app-g2xv4c4k.js} +21 -21
- package/dist/chunks/{wellknown-nxkpnagm.js → app-g6c5vbsh.js} +2 -2
- package/dist/chunks/{wellknown-gbjdnr5j.js → app-gbjdnr5j.js} +2 -2
- package/dist/chunks/{wellknown-yhdea3qa.js → app-gbpy8919.js} +3 -3
- package/dist/chunks/{wellknown-sdt5j0rm.js → app-ghrv1g9c.js} +4 -4
- package/dist/chunks/{wellknown-jeaa0fk6.js → app-gj6dq5y6.js} +17 -17
- package/dist/chunks/{wellknown-s9wr2fbj.js → app-gks4fcev.js} +23 -23
- package/dist/chunks/{wellknown-f71naqqp.js → app-gvjnjcdg.js} +27 -27
- package/dist/chunks/{wellknown-tg7s7b5t.js → app-gxs71cxp.js} +4 -4
- package/dist/chunks/{wellknown-s1j1gzmd.js → app-gze38h3p.js} +43 -43
- package/dist/chunks/{wellknown-6fpfwh0q.js → app-gzvgqn5v.js} +36 -36
- package/dist/chunks/{wellknown-ztf6n3de.js → app-h0rg6s60.js} +4 -4
- package/dist/chunks/{wellknown-hj6ddst1.js → app-h13930ja.js} +12 -12
- package/dist/chunks/{wellknown-1rwcsy2q.js → app-h763rggj.js} +6 -6
- package/dist/chunks/{wellknown-cpe35zww.js → app-h9hc66h4.js} +4 -4
- package/dist/chunks/{wellknown-v3dj5f5q.js → app-h9j1355w.js} +21 -21
- package/dist/chunks/{wellknown-vz6c6pp9.js → app-hh9z9kk8.js} +7 -7
- package/dist/chunks/{wellknown-4rqm7nn6.js → app-hp0r7qfy.js} +40 -40
- package/dist/chunks/{wellknown-jaeccbgx.js → app-ht03y230.js} +23 -23
- package/dist/chunks/{wellknown-a4j5r5t8.js → app-hwcc1nj5.js} +2 -2
- package/dist/chunks/{wellknown-k9hdmkpm.js → app-hwjex0zk.js} +7 -7
- package/dist/chunks/{wellknown-q2r4taf6.js → app-j89azhq6.js} +12 -12
- package/dist/chunks/{wellknown-11t5tcys.js → app-j9ntjbjw.js} +7 -7
- package/dist/chunks/{wellknown-j9nxzz3g.js → app-j9nxzz3g.js} +3 -3
- package/dist/chunks/{wellknown-1jf9ndj0.js → app-jb6bh10s.js} +59 -59
- package/dist/chunks/{wellknown-gfxfewza.js → app-jbwmawta.js} +9 -9
- package/dist/chunks/{wellknown-q65mdntm.js → app-jhwp234h.js} +4 -4
- package/dist/chunks/{wellknown-4cten6nt.js → app-jmpm2y7z.js} +22 -22
- package/dist/chunks/{wellknown-8bjyazka.js → app-jrq59xfw.js} +6 -6
- package/dist/chunks/{wellknown-scmk72rv.js → app-jv5ccajn.js} +5 -5
- package/dist/chunks/{wellknown-z5m1hhea.js → app-jxaghtyn.js} +25 -25
- package/dist/chunks/{wellknown-rtzr5k8y.js → app-jzkzesp4.js} +13 -13
- package/dist/chunks/{wellknown-kj9n5bvh.js → app-k46dd5bg.js} +4 -4
- package/dist/chunks/{wellknown-0f679rac.js → app-k4vdf3hn.js} +6 -6
- package/dist/chunks/{wellknown-vq0qepmc.js → app-kdmzdg5q.js} +12 -12
- package/dist/chunks/{wellknown-kh8gdsej.js → app-kh8gdsej.js} +1 -1
- package/dist/chunks/{wellknown-5kph07vb.js → app-knx8k99d.js} +14 -14
- package/dist/chunks/{wellknown-nk7x7stp.js → app-kqr2nxfm.js} +8 -8
- package/dist/chunks/{wellknown-dwvxybje.js → app-krarb4xw.js} +27 -27
- package/dist/chunks/{wellknown-p5t2y3wn.js → app-krsy2pbe.js} +23 -23
- package/dist/chunks/{wellknown-pfeqkd55.js → app-ks3bka04.js} +7 -7
- package/dist/chunks/{wellknown-kt3bjfbg.js → app-kt3bjfbg.js} +1 -1
- package/dist/chunks/{wellknown-kzczzf4v.js → app-kzczzf4v.js} +1 -1
- package/dist/chunks/{wellknown-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{wellknown-p0xvkhfd.js → app-m5a0fc4t.js} +12 -12
- package/dist/chunks/{wellknown-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mb7mbhnz.js → app-mb7mbhnz.js} +3 -3
- package/dist/chunks/{wellknown-ta94qaa0.js → app-mean7acv.js} +13 -13
- package/dist/chunks/{wellknown-e5w2gja1.js → app-mex5dxtg.js} +2 -2
- package/dist/chunks/{wellknown-v0t96s7a.js → app-mf63ygpr.js} +4 -4
- package/dist/chunks/{wellknown-xwwv64rx.js → app-mgtetj66.js} +27 -27
- package/dist/chunks/{wellknown-bfwdrtmt.js → app-mkvd73jg.js} +21 -21
- package/dist/chunks/{wellknown-prj5kdrp.js → app-mm9ydekk.js} +46 -46
- package/dist/chunks/{wellknown-07wzev3a.js → app-my8asq5t.js} +12 -12
- package/dist/chunks/{wellknown-ncqr0s15.js → app-n84nsxw0.js} +17 -17
- package/dist/chunks/{wellknown-skn07w2n.js → app-nsf78apk.js} +11 -11
- package/dist/chunks/{wellknown-nf6evpng.js → app-nsp0vp68.js} +11 -11
- package/dist/chunks/{wellknown-1f01bgjk.js → app-p5jqqejg.js} +11 -11
- package/dist/chunks/{wellknown-fhwn87jp.js → app-p9x26950.js} +8 -8
- package/dist/chunks/{wellknown-c0r8dgs1.js → app-peqnwnqb.js} +27 -27
- package/dist/chunks/{wellknown-51qtqqsm.js → app-pjms48w8.js} +7 -7
- package/dist/chunks/{wellknown-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-wp9g4hex.js → app-pkqtsexv.js} +18 -18
- package/dist/chunks/{wellknown-1jb1bb4c.js → app-pnak1v5v.js} +12 -12
- package/dist/chunks/{wellknown-9ne6s3an.js → app-pqh38k57.js} +5 -5
- package/dist/chunks/{wellknown-0b16thgf.js → app-pvb0wt0x.js} +7 -7
- package/dist/chunks/{wellknown-px7qpgcn.js → app-px7qpgcn.js} +1 -1
- package/dist/chunks/{wellknown-sp85y8nd.js → app-pyc3gczw.js} +5 -5
- package/dist/chunks/{wellknown-0280gfjz.js → app-q53z66dj.js} +16 -16
- package/dist/chunks/{wellknown-d1f3jx0m.js → app-qgnqczc7.js} +16 -16
- package/dist/chunks/{wellknown-zy3mc9pw.js → app-qk716t33.js} +48 -48
- package/dist/chunks/{wellknown-qp7r0hxv.js → app-qp7r0hxv.js} +1 -1
- package/dist/chunks/{wellknown-qqvy8y24.js → app-qqvy8y24.js} +1 -1
- package/dist/chunks/{wellknown-qsdghx1p.js → app-qsdghx1p.js} +1 -1
- package/dist/chunks/{wellknown-fyfzbt3s.js → app-qtf35215.js} +3 -3
- package/dist/chunks/{wellknown-9ng5vc9x.js → app-qwqahdfg.js} +19 -19
- package/dist/chunks/{wellknown-a95kcdyk.js → app-qze16xt8.js} +34 -34
- package/dist/chunks/{wellknown-0tc49dve.js → app-r0k8y559.js} +40 -40
- package/dist/chunks/{wellknown-h7wqf4wa.js → app-r6v5d5gw.js} +18 -18
- package/dist/chunks/{wellknown-9tvpxs1q.js → app-r96ere88.js} +4 -4
- package/dist/chunks/{wellknown-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{wellknown-fdst6hk0.js → app-rc4n4342.js} +18 -18
- package/dist/chunks/{wellknown-rgc9cx3e.js → app-rgc9cx3e.js} +2 -2
- package/dist/chunks/{wellknown-nt907s04.js → app-rj7jtxy8.js} +3 -3
- package/dist/chunks/{wellknown-3abk0zea.js → app-rmeffpf9.js} +11 -11
- package/dist/chunks/{wellknown-r1fnsf7p.js → app-rmv7fhs4.js} +6 -6
- package/dist/chunks/{wellknown-g7tkmgyh.js → app-rpz083xr.js} +3 -3
- package/dist/chunks/{wellknown-xk6h0yyq.js → app-rs0w3rej.js} +1 -1
- package/dist/chunks/{wellknown-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
- package/dist/chunks/{wellknown-r1zm8xn7.js → app-ry4q0rgv.js} +24 -24
- package/dist/chunks/{wellknown-vwd31fj8.js → app-rza8kqzc.js} +3 -3
- package/dist/chunks/{wellknown-37kjbv8b.js → app-s0t3mqd4.js} +41 -41
- package/dist/chunks/{wellknown-wh1rc5ma.js → app-s2z7me2g.js} +12 -12
- package/dist/chunks/{wellknown-b096peb1.js → app-s320htan.js} +8 -8
- package/dist/chunks/{wellknown-m7frzpbm.js → app-s7d9mxy2.js} +12 -12
- package/dist/chunks/{wellknown-bfmm6xpm.js → app-s8qtxmzm.js} +4 -4
- package/dist/chunks/{wellknown-sa3fpqfw.js → app-sa3fpqfw.js} +2 -2
- package/dist/chunks/{wellknown-sbya78hr.js → app-sbya78hr.js} +1 -1
- package/dist/chunks/{wellknown-yjjyz0e3.js → app-sbz71ybr.js} +3 -3
- package/dist/chunks/{wellknown-5hwa4yzv.js → app-scgrs5gk.js} +15 -15
- package/dist/chunks/{wellknown-ndezbnsw.js → app-sepvwm40.js} +27 -27
- package/dist/chunks/{wellknown-svcy3p9a.js → app-svcy3p9a.js} +1 -1
- package/dist/chunks/{wellknown-96djdqw5.js → app-szwm4crx.js} +4 -4
- package/dist/chunks/{wellknown-tb2mrvc9.js → app-tb2mrvc9.js} +1 -1
- package/dist/chunks/{wellknown-v6z04mrp.js → app-tbp70m14.js} +28 -28
- package/dist/chunks/{wellknown-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/{wellknown-h93s790p.js → app-tep5r3z4.js} +17 -17
- package/dist/chunks/{wellknown-akx0z025.js → app-tjxs9v8v.js} +18 -18
- package/dist/chunks/{wellknown-j376ae4e.js → app-tr8x705m.js} +5 -5
- package/dist/chunks/{wellknown-tvtps2q9.js → app-tvtps2q9.js} +1 -1
- package/dist/chunks/{wellknown-twssxy5n.js → app-twssxy5n.js} +2 -2
- package/dist/chunks/{wellknown-v2r1d0zg.js → app-v2r1d0zg.js} +1 -1
- package/dist/chunks/{wellknown-82m30djg.js → app-v39rthcz.js} +11 -11
- package/dist/chunks/{wellknown-rqr4epe9.js → app-v70a4ftn.js} +21 -21
- package/dist/chunks/{wellknown-1v2te4j6.js → app-v8wxce3j.js} +18 -18
- package/dist/chunks/{wellknown-q9ybnayx.js → app-vccbeb40.js} +47 -47
- package/dist/chunks/{wellknown-vjf35v1f.js → app-vjf35v1f.js} +1 -1
- package/dist/chunks/{wellknown-n2hcywd1.js → app-vn5z203d.js} +5 -5
- package/dist/chunks/{wellknown-nc5c90y6.js → app-vq7g5cgb.js} +33 -33
- package/dist/chunks/{wellknown-v2t64dfp.js → app-vva8v1sq.js} +5 -5
- package/dist/chunks/{wellknown-bn9pha5y.js → app-w0evfggq.js} +37 -37
- package/dist/chunks/{wellknown-ys2a46ta.js → app-w0wjeem8.js} +2 -2
- package/dist/chunks/{wellknown-tbgj8fp1.js → app-w2c7mkxr.js} +21 -21
- package/dist/chunks/{wellknown-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-7dyttmqp.js → app-w52z0eac.js} +28 -28
- package/dist/chunks/{wellknown-mc9s1za4.js → app-w5qm3j8h.js} +5 -5
- package/dist/chunks/{wellknown-w687dnns.js → app-w687dnns.js} +1 -1
- package/dist/chunks/{wellknown-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{wellknown-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-wegkxhrn.js → app-wegkxhrn.js} +2 -2
- package/dist/chunks/{wellknown-jdg0xch7.js → app-weqgtcgy.js} +29 -29
- package/dist/chunks/{wellknown-mc5p1z6c.js → app-wgepdrx8.js} +5 -5
- package/dist/chunks/{wellknown-jwnjk0vn.js → app-wn0kmnbv.js} +11 -11
- package/dist/chunks/{wellknown-wnhgecwx.js → app-wnhgecwx.js} +1 -1
- package/dist/chunks/{wellknown-9a6whvg4.js → app-wnvqrhn4.js} +79 -79
- package/dist/chunks/{wellknown-0estbv5x.js → app-wx5p54wp.js} +20 -20
- package/dist/chunks/{wellknown-z0c26qk4.js → app-x150ncgg.js} +2 -2
- package/dist/chunks/{wellknown-ntvsenrr.js → app-xcxgyafb.js} +28 -28
- package/dist/chunks/{wellknown-6j6cd7hw.js → app-xezxa014.js} +9 -9
- package/dist/chunks/{wellknown-0x9bxa2j.js → app-xjbsd7zy.js} +9 -9
- package/dist/chunks/{wellknown-xxschbft.js → app-xjr6c8m4.js} +4 -4
- package/dist/chunks/{wellknown-bt3bycn6.js → app-xkm85qpg.js} +6 -6
- package/dist/chunks/{wellknown-c6x7d2ts.js → app-xmx7xj34.js} +4 -4
- package/dist/chunks/{wellknown-rdra6c77.js → app-xxqzzn4e.js} +17 -17
- package/dist/chunks/{wellknown-75es6982.js → app-xzjvh1r0.js} +3 -3
- package/dist/chunks/{wellknown-qqy186j6.js → app-ya33m8dr.js} +11 -11
- package/dist/chunks/{wellknown-10zh3c6a.js → app-yaq6emrw.js} +38 -38
- package/dist/chunks/{wellknown-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{wellknown-xn7cqzsq.js → app-yc9fq4e8.js} +4 -4
- package/dist/chunks/{wellknown-qk9f4gay.js → app-yd5ac8hs.js} +17 -17
- package/dist/chunks/{wellknown-bbkx7td2.js → app-ygeqj5xt.js} +11 -11
- package/dist/chunks/{wellknown-yr705xyq.js → app-yr705xyq.js} +1 -1
- package/dist/chunks/{wellknown-v9jxw4v2.js → app-yrhp02xd.js} +32 -32
- package/dist/chunks/{wellknown-8ra00qse.js → app-yv4wm2m5.js} +5 -5
- package/dist/chunks/{wellknown-yvtc2x31.js → app-yvtc2x31.js} +1 -1
- package/dist/chunks/{wellknown-43tzxa74.js → app-yvynh0g6.js} +15 -15
- package/dist/chunks/{wellknown-n7pzgc7z.js → app-yyn80yge.js} +28 -28
- package/dist/chunks/{wellknown-90ct6wq4.js → app-z080rjh6.js} +4 -4
- package/dist/chunks/{wellknown-j429t9qm.js → app-z88rdk3t.js} +9 -9
- package/dist/chunks/{wellknown-606564tz.js → app-z8n5afnk.js} +4 -4
- package/dist/chunks/{wellknown-1jtx12r5.js → app-zbtxqjkv.js} +4 -4
- package/dist/chunks/{wellknown-bmsxe6ac.js → app-zcdgyvyy.js} +52 -52
- package/dist/chunks/{wellknown-bf5nhwse.js → app-zd97ezhm.js} +16 -16
- package/dist/chunks/{wellknown-x4mcewfn.js → app-znjfpv5m.js} +6 -6
- package/dist/chunks/{wellknown-8k22a8qk.js → app-zpqsxwba.js} +6 -6
- package/dist/chunks/{wellknown-m14s91eq.js → app-zq563afj.js} +16 -16
- package/dist/chunks/{wellknown-3jrts66m.js → app-zty0rhxm.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- 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/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +112 -112
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +426 -426
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +175 -175
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -402
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -414
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +244 -244
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +252 -252
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +180 -180
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +231 -231
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +239 -239
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +147 -147
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +102 -102
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +230 -230
- package/dist/tool/plugin/edit.js +165 -165
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +100 -100
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/wellknown-7cbhfjtk.js +0 -265
- package/dist/chunks/wellknown-j3qybxaa.js +0 -26
- package/dist/chunks/wellknown-z355x5yr.js +0 -18
- /package/dist/chunks/{wellknown-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-108x4f4w.js → app-108x4f4w.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kah00gy.js → app-1kah00gy.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3af0jn4w.js → app-3af0jn4w.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4qk9sjk2.js → app-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5w3e23ze.js → app-5w3e23ze.js} +0 -0
- /package/dist/chunks/{wellknown-6agm2x70.js → app-6agm2x70.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-beh6qq61.js → app-beh6qq61.js} +0 -0
- /package/dist/chunks/{wellknown-bhmrqjy3.js → app-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cqv5kn06.js → app-cqv5kn06.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-ean2d8b5.js → app-ean2d8b5.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fkpq3x5p.js → app-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jwr30sdr.js → app-jwr30sdr.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-nh4v3znn.js → app-nh4v3znn.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-p71gwv9c.js → app-p71gwv9c.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-syrav9an.js → app-syrav9an.js} +0 -0
- /package/dist/chunks/{wellknown-t03h4f5z.js → app-t03h4f5z.js} +0 -0
- /package/dist/chunks/{wellknown-ty7weeps.js → app-ty7weeps.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-vtarvj67.js → app-vtarvj67.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-z0h12gs8.js → app-z0h12gs8.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{wellknown-zxpyjp51.js → app-zxpyjp51.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-rpz083xr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./app-f2nzj6et.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-2dkjcnxp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./app-p9x26950.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-5zpqhmp2.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-k4vdf3hn.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service72
|
|
30
|
+
} from "./app-mkvd73jg.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service77;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service72;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -142,7 +142,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
142
142
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
143
143
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
144
144
|
return { data: Base64.make(data), mime };
|
|
145
|
-
const image = yield*
|
|
145
|
+
const image = yield* Service54;
|
|
146
146
|
const label = attachmentLabel(input);
|
|
147
147
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
148
148
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91,
|
|
6
6
|
node94
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-rpz083xr.js";
|
|
8
8
|
import {
|
|
9
9
|
Service90,
|
|
10
10
|
node93
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-z8n5afnk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service89,
|
|
14
|
+
node92
|
|
15
|
+
} from "./app-pnak1v5v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service88,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured12,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node91,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service88 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service89;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service90;
|
|
120
120
|
const db = (yield* Service91).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service88.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service88,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node93, node94, FSUtil.node,
|
|
354
|
+
deps: [node93, node94, FSUtil.node, node92, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node91 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service88;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node91]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service88, configured12, node91, sweepNode2, exports_project };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info18 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info18, SessionSchema2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service17
|
|
3
|
+
} from "./app-8g6n6r2g.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/tool/plugin/write.ts
|
|
9
9
|
var exports_write = {};
|
|
10
10
|
__export(exports_write, {
|
|
11
|
-
Input: () =>
|
|
12
|
-
Output: () =>
|
|
13
|
-
Plugin: () =>
|
|
11
|
+
Input: () => Input14,
|
|
12
|
+
Output: () => Output10,
|
|
13
|
+
Plugin: () => Plugin54,
|
|
14
14
|
WriteTool: () => exports_write,
|
|
15
|
-
name: () =>
|
|
16
|
-
toModelContent: () =>
|
|
15
|
+
name: () => name14,
|
|
16
|
+
toModelContent: () => toModelContent6
|
|
17
17
|
});
|
|
18
18
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
|
-
var
|
|
21
|
-
var
|
|
20
|
+
var name14 = "write";
|
|
21
|
+
var Input14 = Schema.Struct({
|
|
22
22
|
path: Schema.String.annotate({
|
|
23
23
|
description: "Path to the file to write to"
|
|
24
24
|
}),
|
|
25
25
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
26
26
|
});
|
|
27
|
-
var
|
|
27
|
+
var Output10 = Schema.Struct({
|
|
28
28
|
operation: Schema.Literal("write"),
|
|
29
29
|
target: Schema.String,
|
|
30
30
|
resource: Schema.String,
|
|
31
31
|
existed: Schema.Boolean
|
|
32
32
|
});
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
34
|
+
var Plugin54 = {
|
|
35
35
|
id: "opencode.tool.write",
|
|
36
36
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
37
|
-
const fileWrite = yield*
|
|
37
|
+
const fileWrite = yield* Service17;
|
|
38
38
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
39
|
-
name:
|
|
39
|
+
name: name14,
|
|
40
40
|
options: { codemode: false, permission: "edit" },
|
|
41
41
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
42
42
|
|
|
43
43
|
Missing parent directories are created automatically.
|
|
44
44
|
|
|
45
45
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
46
|
-
input:
|
|
47
|
-
output:
|
|
46
|
+
input: Input14,
|
|
47
|
+
output: Output10,
|
|
48
48
|
execute: (input, context) => Effect.gen(function* () {
|
|
49
49
|
const written = yield* fileWrite.write(input, context);
|
|
50
50
|
return {
|
|
@@ -53,9 +53,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
53
53
|
resource: written.resource,
|
|
54
54
|
existed: written.existed
|
|
55
55
|
};
|
|
56
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
56
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
57
57
|
})).pipe(Effect.orDie);
|
|
58
58
|
})
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { name14, Input14, Output10, toModelContent6, Plugin54, exports_write };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-rpz083xr.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./app-zcdgyvyy.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-8v5mxf6a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service42,
|
|
17
|
+
node44
|
|
18
|
+
} from "./app-4bwthz3m.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service39,
|
|
27
|
+
node42
|
|
28
|
+
} from "./app-vq7g5cgb.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service25,
|
|
31
|
+
node28
|
|
32
|
+
} from "./app-77sxxbp4.js";
|
|
33
33
|
import {
|
|
34
34
|
validate2,
|
|
35
35
|
describe2,
|
|
36
36
|
authorize2,
|
|
37
37
|
evaluate2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-dhs6ajsf.js";
|
|
39
39
|
import {
|
|
40
40
|
ScheduleTable2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-wegkxhrn.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./app-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/schedule.ts
|
|
47
47
|
var exports_schedule2 = {};
|
|
@@ -51,16 +51,16 @@ __export(exports_schedule2, {
|
|
|
51
51
|
CreateInput: () => CreateInput2,
|
|
52
52
|
DisabledError: () => DisabledError2,
|
|
53
53
|
ID: () => ID4,
|
|
54
|
-
Info: () =>
|
|
54
|
+
Info: () => Info4,
|
|
55
55
|
InvalidError: () => InvalidError2,
|
|
56
56
|
NotFoundError: () => NotFoundError2,
|
|
57
57
|
Outcome: () => Outcome3,
|
|
58
58
|
Request: () => Request2,
|
|
59
59
|
Schedule: () => exports_schedule2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service20,
|
|
61
61
|
Status: () => Status2,
|
|
62
62
|
When: () => When2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node22,
|
|
64
64
|
toCreateInput: () => toCreateInput2
|
|
65
65
|
});
|
|
66
66
|
import { randomUUID } from "node:crypto";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
CreateInput as CreateInput2,
|
|
74
74
|
durationMillis,
|
|
75
75
|
ID as ID4,
|
|
76
|
-
Info as
|
|
76
|
+
Info as Info4,
|
|
77
77
|
Outcome as Outcome3,
|
|
78
78
|
Request as Request2,
|
|
79
79
|
Status as Status2,
|
|
@@ -102,7 +102,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service20 extends Context.Service()("@opencode/Schedule") {
|
|
106
106
|
}
|
|
107
107
|
var MINUTE = 60000;
|
|
108
108
|
var HOUR = 60 * MINUTE;
|
|
@@ -188,15 +188,15 @@ var toInfo = (row, lastOutput) => ({
|
|
|
188
188
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
189
189
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
190
190
|
});
|
|
191
|
-
var layer = Layer.effect(
|
|
191
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
192
192
|
const database = yield* Service91;
|
|
193
193
|
const db = database.db;
|
|
194
|
-
const sessions = yield*
|
|
195
|
-
const instances = yield*
|
|
196
|
-
const execution = yield*
|
|
194
|
+
const sessions = yield* Service25;
|
|
195
|
+
const instances = yield* Service42;
|
|
196
|
+
const execution = yield* Service39;
|
|
197
197
|
const doorbell = yield* Latch.make();
|
|
198
198
|
const settings = (session) => Effect.gen(function* () {
|
|
199
|
-
const config = yield* Effect.serviceOption(
|
|
199
|
+
const config = yield* Effect.serviceOption(Service78);
|
|
200
200
|
if (Option.isNone(config))
|
|
201
201
|
return { enabled: false, timezone: undefined };
|
|
202
202
|
const entries = yield* config.value.entries();
|
|
@@ -479,7 +479,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
479
479
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
480
480
|
return Math.min(at.value, after ?? at.value);
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service20.of({
|
|
483
483
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
484
484
|
const session = yield* sessions.get(input.sessionID);
|
|
485
485
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -591,10 +591,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
591
591
|
run
|
|
592
592
|
});
|
|
593
593
|
}));
|
|
594
|
-
var
|
|
595
|
-
service:
|
|
594
|
+
var node22 = makeGlobalNode({
|
|
595
|
+
service: Service20,
|
|
596
596
|
layer,
|
|
597
|
-
deps: [node94,
|
|
597
|
+
deps: [node94, node28, node42, node44]
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
export { Condition2, ConditionInput2, CreateInput2, ID4,
|
|
600
|
+
export { Condition2, ConditionInput2, CreateInput2, ID4, Info4, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service20, node22, exports_schedule2 };
|