@opencode/core 0.0.0-dev-21920 → 0.0.0-dev-21922
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{wellknown-sbtgcdj5.js → usage-limits-00y87jmz.js} +24 -24
- package/dist/chunks/{wellknown-y8fjqfz6.js → usage-limits-017htdkw.js} +18 -18
- package/dist/chunks/{wellknown-034tev2y.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{wellknown-nw3bgfm4.js → usage-limits-03efvwc7.js} +12 -12
- package/dist/chunks/{wellknown-dr8bgxdq.js → usage-limits-04pddjsn.js} +12 -10
- package/dist/chunks/{wellknown-2qbjrve9.js → usage-limits-04wrc2a0.js} +3 -3
- package/dist/chunks/{wellknown-h362shv8.js → usage-limits-05nyajy2.js} +4 -4
- package/dist/chunks/{wellknown-14dcnwrx.js → usage-limits-08j3fqcb.js} +2 -2
- package/dist/chunks/{wellknown-9ytkwk8q.js → usage-limits-09a8m3xd.js} +9 -9
- package/dist/chunks/{wellknown-vr1p6ca4.js → usage-limits-0e2mqxgr.js} +11 -11
- package/dist/chunks/{wellknown-v0hcd9zv.js → usage-limits-0h3ekpfr.js} +2 -2
- package/dist/chunks/{wellknown-hnj5zxrz.js → usage-limits-0rmv48be.js} +3 -3
- package/dist/chunks/{wellknown-125q1ps8.js → usage-limits-0t9ezrky.js} +26 -26
- package/dist/chunks/{wellknown-0w2jttgf.js → usage-limits-0w2jttgf.js} +2 -2
- package/dist/chunks/{wellknown-x8nvjgx0.js → usage-limits-11hfp36g.js} +4 -4
- package/dist/chunks/{wellknown-q9c81yt7.js → usage-limits-19gpxhf0.js} +15 -15
- package/dist/chunks/{wellknown-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{wellknown-q9wnq509.js → usage-limits-1ey8cgx4.js} +3 -3
- package/dist/chunks/{wellknown-hwrqw3h8.js → usage-limits-1g9ba1yb.js} +31 -31
- package/dist/chunks/{wellknown-whnxx8mv.js → usage-limits-1mbq4spa.js} +15 -15
- package/dist/chunks/{wellknown-dj3vwt7t.js → usage-limits-1n7xqf83.js} +4 -4
- package/dist/chunks/{wellknown-gc2j9cqs.js → usage-limits-1q93jaz5.js} +8 -8
- package/dist/chunks/{wellknown-w2cmnvxm.js → usage-limits-1v0pdvat.js} +13 -13
- package/dist/chunks/{wellknown-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{wellknown-w8xr7nv8.js → usage-limits-1x75wf9g.js} +5 -5
- package/dist/chunks/{wellknown-1yq9hg58.js → usage-limits-1yq9hg58.js} +1 -1
- package/dist/chunks/{wellknown-204s3925.js → usage-limits-204s3925.js} +1 -1
- package/dist/chunks/{wellknown-21pdxbx2.js → usage-limits-21pdxbx2.js} +3 -3
- package/dist/chunks/{wellknown-3v67cre7.js → usage-limits-2e93rzzy.js} +23 -23
- package/dist/chunks/{wellknown-v0t96s7a.js → usage-limits-2kg89srt.js} +4 -4
- package/dist/chunks/{wellknown-s6t1b4j6.js → usage-limits-2t8n36db.js} +11 -11
- package/dist/chunks/{wellknown-zqtsax9d.js → usage-limits-3g307r2d.js} +13 -13
- package/dist/chunks/{wellknown-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3nnrz6f6.js → usage-limits-3nnrz6f6.js} +1 -1
- package/dist/chunks/{wellknown-53g6s4ag.js → usage-limits-3p9c60sq.js} +15 -15
- package/dist/chunks/{wellknown-t4y7ct23.js → usage-limits-3rpwkwfp.js} +46 -46
- package/dist/chunks/{wellknown-phd9f911.js → usage-limits-3t5emda5.js} +12 -12
- package/dist/chunks/{wellknown-npjtk884.js → usage-limits-41qpfaqk.js} +22 -22
- package/dist/chunks/{wellknown-0gg8tnxq.js → usage-limits-44ewphs4.js} +36 -36
- package/dist/chunks/{wellknown-7g90vjnc.js → usage-limits-49mr2hqv.js} +16 -16
- package/dist/chunks/{wellknown-xf88twea.js → usage-limits-4f6bgrg8.js} +2 -2
- package/dist/chunks/{wellknown-9dtf119m.js → usage-limits-4f7671vw.js} +13 -13
- package/dist/chunks/{wellknown-qnr57htg.js → usage-limits-4jyfxaep.js} +28 -28
- package/dist/chunks/{wellknown-4pyp9zr9.js → usage-limits-4pyp9zr9.js} +1 -1
- package/dist/chunks/{wellknown-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{wellknown-q3zk63qm.js → usage-limits-4vwy4jat.js} +54 -54
- package/dist/chunks/{wellknown-4xvmh7wp.js → usage-limits-4xvmh7wp.js} +3 -3
- package/dist/chunks/{wellknown-2r4zmzmb.js → usage-limits-51bncfz5.js} +36 -36
- package/dist/chunks/{wellknown-7sxvebxe.js → usage-limits-55y9k0b4.js} +18 -18
- package/dist/chunks/{wellknown-hk78j51y.js → usage-limits-598bqetn.js} +44 -44
- package/dist/chunks/{wellknown-4jt7skys.js → usage-limits-5bcx7x9c.js} +12 -12
- package/dist/chunks/{wellknown-hx65ke5p.js → usage-limits-5bvwpje3.js} +22 -22
- package/dist/chunks/{wellknown-40za9wsf.js → usage-limits-5enarcya.js} +6 -6
- package/dist/chunks/{wellknown-qgp6m71r.js → usage-limits-5kjdegzn.js} +23 -23
- package/dist/chunks/{wellknown-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-g8tr5n07.js → usage-limits-5nxz0j3x.js} +40 -40
- package/dist/chunks/{wellknown-qqhrz1wm.js → usage-limits-5pqa69a9.js} +21 -21
- package/dist/chunks/{wellknown-d0gx834n.js → usage-limits-5qg6dt84.js} +17 -17
- package/dist/chunks/{wellknown-r96ere88.js → usage-limits-5w1mdqt7.js} +4 -4
- package/dist/chunks/{wellknown-8ndw73nb.js → usage-limits-5xdg5x94.js} +14 -14
- package/dist/chunks/{wellknown-t20d8q3a.js → usage-limits-5ztzzwt3.js} +12 -12
- package/dist/chunks/{wellknown-61ennm6n.js → usage-limits-61ennm6n.js} +1 -1
- package/dist/chunks/{wellknown-6katn5jb.js → usage-limits-62qqncfb.js} +27 -27
- package/dist/chunks/{wellknown-63x76nbs.js → usage-limits-678eqd6f.js} +21 -21
- package/dist/chunks/{wellknown-c0kyf5dr.js → usage-limits-6a8c7h5g.js} +36 -25
- package/dist/chunks/{wellknown-6esdw8yj.js → usage-limits-6esdw8yj.js} +1 -1
- package/dist/chunks/{wellknown-4skqtp9p.js → usage-limits-6fcb95c6.js} +8 -8
- package/dist/chunks/{wellknown-djjzzs3c.js → usage-limits-6jrjvs1q.js} +6 -6
- package/dist/chunks/{wellknown-yxnn9e9b.js → usage-limits-6kqv4y7c.js} +18 -18
- package/dist/chunks/{wellknown-gspvz5np.js → usage-limits-6m26wt0b.js} +9 -9
- package/dist/chunks/{wellknown-6pjqjmy2.js → usage-limits-6pjqjmy2.js} +1 -1
- package/dist/chunks/{wellknown-y4g98aeh.js → usage-limits-6r5vfrd2.js} +21 -21
- package/dist/chunks/{wellknown-0tpkjg9c.js → usage-limits-731keyrx.js} +5 -5
- package/dist/chunks/{wellknown-76cb1hcw.js → usage-limits-76cb1hcw.js} +1 -1
- package/dist/chunks/{wellknown-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-jnmyx7e4.js → usage-limits-7q318b7x.js} +76 -76
- package/dist/chunks/{wellknown-kmzgegqq.js → usage-limits-7tpyp9vw.js} +8 -8
- package/dist/chunks/{wellknown-s2tx6bjs.js → usage-limits-7vfr41g1.js} +9 -9
- package/dist/chunks/{wellknown-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{wellknown-ksffszx3.js → usage-limits-7xsh356b.js} +1 -1
- package/dist/chunks/{wellknown-e9z9agtf.js → usage-limits-7ydq43w6.js} +29 -29
- package/dist/chunks/{wellknown-sh36jtyp.js → usage-limits-81s6gp0d.js} +5 -5
- package/dist/chunks/{wellknown-pxer50tw.js → usage-limits-82yknam4.js} +15 -15
- package/dist/chunks/usage-limits-867c95q5.js +26 -0
- package/dist/chunks/{wellknown-zftkkf2m.js → usage-limits-88g4cw8v.js} +22 -22
- package/dist/chunks/{wellknown-qyq8h28g.js → usage-limits-8bc2ahr8.js} +3 -3
- package/dist/chunks/{wellknown-09090e8v.js → usage-limits-8bzt12aq.js} +3 -3
- package/dist/chunks/{wellknown-yefdp956.js → usage-limits-8ddem2bh.js} +14 -14
- package/dist/chunks/{wellknown-mb9k54pt.js → usage-limits-8k8pzbp4.js} +8 -8
- package/dist/chunks/{wellknown-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{wellknown-3dxzdqzy.js → usage-limits-90epfbx4.js} +22 -22
- package/dist/chunks/{wellknown-91rj84md.js → usage-limits-91rj84md.js} +1 -1
- package/dist/chunks/{wellknown-wbbfqag7.js → usage-limits-972kaxpv.js} +8 -8
- package/dist/chunks/{wellknown-q80bq26q.js → usage-limits-98j1bw8x.js} +6 -6
- package/dist/chunks/{wellknown-y952b79c.js → usage-limits-9cf51smv.js} +11 -11
- package/dist/chunks/{wellknown-9cx9sm2q.js → usage-limits-9cx9sm2q.js} +1 -1
- package/dist/chunks/{wellknown-q7gd9zh7.js → usage-limits-9dkxk464.js} +34 -34
- package/dist/chunks/{wellknown-5gdxwc09.js → usage-limits-9me8r9me.js} +24 -24
- package/dist/chunks/{wellknown-g1qvvw32.js → usage-limits-9pcgsarm.js} +25 -25
- package/dist/chunks/{wellknown-90gp0j9c.js → usage-limits-9q3x3rnx.js} +1 -1
- package/dist/chunks/{wellknown-fdg30131.js → usage-limits-9t8mm2bk.js} +29 -28
- package/dist/chunks/{wellknown-eb0ebbza.js → usage-limits-a07t2w3m.js} +21 -21
- package/dist/chunks/{wellknown-pw0pep3j.js → usage-limits-afygg0ym.js} +25 -25
- package/dist/chunks/{wellknown-rqspxrc1.js → usage-limits-am28afsd.js} +9 -9
- package/dist/chunks/{wellknown-cy55exg4.js → usage-limits-as0h5ak1.js} +23 -23
- package/dist/chunks/{wellknown-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{wellknown-b0mv4wxm.js → usage-limits-b0mv4wxm.js} +2 -2
- package/dist/chunks/{wellknown-b6vsg801.js → usage-limits-b6vsg801.js} +2 -2
- package/dist/chunks/{wellknown-49fagkab.js → usage-limits-b9my16kh.js} +22 -22
- package/dist/chunks/{wellknown-fx2b1b3j.js → usage-limits-bf8fdtcb.js} +42 -42
- package/dist/chunks/{wellknown-d04j6t4g.js → usage-limits-bn7trhcc.js} +4 -4
- package/dist/chunks/{wellknown-cyrrj3vn.js → usage-limits-bp0v66vn.js} +16 -16
- package/dist/chunks/{wellknown-swveggkf.js → usage-limits-bp7ec9ny.js} +13 -13
- package/dist/chunks/{wellknown-vxxrrfe0.js → usage-limits-bsq5a7tz.js} +14 -14
- package/dist/chunks/{wellknown-e10gzbhc.js → usage-limits-bst727gy.js} +11 -11
- package/dist/chunks/{wellknown-bstexjd6.js → usage-limits-bstexjd6.js} +1 -1
- package/dist/chunks/{wellknown-8tvz9phv.js → usage-limits-bww9hm97.js} +32 -32
- package/dist/chunks/{wellknown-ecwctf3g.js → usage-limits-bzr3ws0g.js} +32 -32
- package/dist/chunks/{wellknown-ccp6j38y.js → usage-limits-c4vfmmrn.js} +8 -8
- package/dist/chunks/{wellknown-wdvzjwq2.js → usage-limits-c71jd0w1.js} +59 -59
- package/dist/chunks/{wellknown-xr6tzfax.js → usage-limits-c75x6rdk.js} +1 -1
- package/dist/chunks/{wellknown-yn1q185v.js → usage-limits-c7nc8r0y.js} +21 -21
- package/dist/chunks/{wellknown-8j6zjvn4.js → usage-limits-cbxpjjp2.js} +7 -7
- package/dist/chunks/{wellknown-j2renyjr.js → usage-limits-cffg183s.js} +32 -32
- package/dist/chunks/{wellknown-ky596kc3.js → usage-limits-cnj75yzs.js} +4 -4
- package/dist/chunks/{wellknown-3ryz99p0.js → usage-limits-cpvd08na.js} +4 -4
- package/dist/chunks/{wellknown-zyz0cj63.js → usage-limits-cyjt7j27.js} +51 -51
- package/dist/chunks/{wellknown-neary136.js → usage-limits-d390zwf3.js} +8 -8
- package/dist/chunks/{wellknown-xre94b5v.js → usage-limits-d3n1hdek.js} +34 -34
- package/dist/chunks/{wellknown-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{wellknown-48rxq2nm.js → usage-limits-d7gzgry1.js} +21 -21
- package/dist/chunks/{wellknown-8bfs1sgm.js → usage-limits-d9wr15jy.js} +33 -33
- package/dist/chunks/{wellknown-8hhyjxtn.js → usage-limits-da8a3238.js} +17 -17
- package/dist/chunks/{wellknown-apsy5ahh.js → usage-limits-df5wz3aa.js} +9 -9
- package/dist/chunks/{wellknown-de619e1b.js → usage-limits-dgat6cf4.js} +3 -3
- package/dist/chunks/{wellknown-7yhc6exb.js → usage-limits-dmkj1tz7.js} +9 -9
- package/dist/chunks/{wellknown-2qe92jhz.js → usage-limits-dnf89vfw.js} +8 -8
- package/dist/chunks/{wellknown-xvd6zczk.js → usage-limits-dvkbf0fy.js} +19 -19
- package/dist/chunks/{wellknown-pcc6rjnf.js → usage-limits-e07q2w5p.js} +4 -4
- package/dist/chunks/{wellknown-fb4cnss3.js → usage-limits-e0vn053m.js} +9 -9
- package/dist/chunks/{wellknown-e834z07m.js → usage-limits-e834z07m.js} +1 -1
- package/dist/chunks/{wellknown-v4wa8mpc.js → usage-limits-ebt9h4q4.js} +42 -42
- package/dist/chunks/{wellknown-vjmaafeq.js → usage-limits-enbshayc.js} +9 -9
- package/dist/chunks/{wellknown-fffv3p7h.js → usage-limits-fffv3p7h.js} +1 -1
- package/dist/chunks/{wellknown-fg9p65nk.js → usage-limits-fg9p65nk.js} +2 -2
- package/dist/chunks/{wellknown-cgbxrjpk.js → usage-limits-fjw78s5f.js} +16 -16
- package/dist/chunks/{wellknown-fc6mge9b.js → usage-limits-fkckm43x.js} +11 -11
- package/dist/chunks/{wellknown-fhym6smd.js → usage-limits-fmpdeqb5.js} +11 -11
- package/dist/chunks/{wellknown-dbemrfqv.js → usage-limits-fvy6sq6t.js} +32 -32
- package/dist/chunks/{wellknown-0124gy6r.js → usage-limits-fw516jka.js} +2 -2
- package/dist/chunks/{wellknown-g5h9c0rr.js → usage-limits-g5h9c0rr.js} +2 -2
- package/dist/chunks/{wellknown-wnjd27sh.js → usage-limits-g5w2gpe1.js} +17 -17
- package/dist/chunks/{wellknown-hsjdcght.js → usage-limits-g5wzwpvc.js} +24 -24
- package/dist/chunks/{wellknown-0xv9h4nb.js → usage-limits-g6vqe96w.js} +15 -15
- package/dist/chunks/{wellknown-mfnjseb2.js → usage-limits-gf435z7c.js} +14 -14
- package/dist/chunks/{wellknown-cxxq6shy.js → usage-limits-gfhc0hb1.js} +15 -15
- package/dist/chunks/{wellknown-gg8p9cgs.js → usage-limits-gg8p9cgs.js} +3 -3
- package/dist/chunks/{wellknown-sdtzry9x.js → usage-limits-grvpkp8m.js} +3 -3
- package/dist/chunks/{wellknown-2kzj9rs3.js → usage-limits-gtn06jkh.js} +88 -88
- package/dist/chunks/{wellknown-m75bxvp1.js → usage-limits-gwf9348p.js} +23 -23
- package/dist/chunks/{wellknown-wdmx20pv.js → usage-limits-hdfrs5mg.js} +9 -9
- package/dist/chunks/{wellknown-qse3wkg3.js → usage-limits-hey5d68j.js} +15 -15
- package/dist/chunks/{wellknown-xnh55p1t.js → usage-limits-hfgk9wzg.js} +7 -7
- package/dist/chunks/{wellknown-dhfzyyxh.js → usage-limits-httc3ny9.js} +11 -11
- package/dist/chunks/{wellknown-ntpfk5qx.js → usage-limits-hw9efqx5.js} +36 -36
- package/dist/chunks/{wellknown-j113cymg.js → usage-limits-j113cymg.js} +1 -1
- package/dist/chunks/{wellknown-8p5baybq.js → usage-limits-ja63h2sr.js} +5 -5
- package/dist/chunks/{wellknown-pw6gcn4x.js → usage-limits-jgp92ez5.js} +12 -12
- package/dist/chunks/{wellknown-kxymkrsz.js → usage-limits-jj2zqra8.js} +6 -6
- package/dist/chunks/{wellknown-hrtx3eh0.js → usage-limits-jjhjh3kk.js} +16 -16
- package/dist/chunks/{wellknown-9y8xp722.js → usage-limits-jsghge5n.js} +6 -6
- package/dist/chunks/{wellknown-jtzgr0na.js → usage-limits-k1s2y5nr.js} +5 -5
- package/dist/chunks/{wellknown-ty7xyaae.js → usage-limits-k2ehsfqk.js} +7 -7
- package/dist/chunks/{wellknown-radh0f4v.js → usage-limits-k2ty6p27.js} +7 -7
- package/dist/chunks/{wellknown-xqctgmq0.js → usage-limits-k3hv7qsk.js} +30 -30
- package/dist/chunks/usage-limits-k62y2wy8.js +18 -0
- package/dist/chunks/{wellknown-k814nvkf.js → usage-limits-k814nvkf.js} +1 -1
- package/dist/chunks/{wellknown-ssfehs1z.js → usage-limits-kkqethq7.js} +4 -4
- package/dist/chunks/{wellknown-5snrzpn2.js → usage-limits-kpm5e2na.js} +18 -18
- package/dist/chunks/{wellknown-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{wellknown-3bqphbas.js → usage-limits-kw773dbp.js} +15 -15
- package/dist/chunks/{wellknown-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{wellknown-tcxz7f1z.js → usage-limits-m34dtctp.js} +28 -28
- package/dist/chunks/{wellknown-60maxesw.js → usage-limits-m3sf5m0x.js} +4 -4
- package/dist/chunks/{wellknown-15xz4cvy.js → usage-limits-m97p4zfb.js} +15 -15
- package/dist/chunks/{wellknown-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-maspj1v3.js → usage-limits-maspj1v3.js} +1 -1
- package/dist/chunks/{wellknown-nt6mqvwx.js → usage-limits-mg0ejb6w.js} +9 -9
- package/dist/chunks/{wellknown-71vjzq8c.js → usage-limits-mqywm14h.js} +16 -17
- package/dist/chunks/{wellknown-ewz324b7.js → usage-limits-mt2kpseg.js} +46 -46
- package/dist/chunks/{wellknown-18tp64nm.js → usage-limits-mx2hpj3w.js} +4 -4
- package/dist/chunks/{wellknown-gtn9c16a.js → usage-limits-n01qhj0y.js} +4 -4
- package/dist/chunks/{wellknown-c1pf56e9.js → usage-limits-n2ednh3b.js} +14 -14
- package/dist/chunks/{wellknown-w5cna773.js → usage-limits-n8gxr7mj.js} +29 -29
- package/dist/chunks/{wellknown-nah043kf.js → usage-limits-nah043kf.js} +1 -1
- package/dist/chunks/{wellknown-vavkps5a.js → usage-limits-nbx95k9y.js} +12 -12
- package/dist/chunks/{wellknown-6hbjb0nc.js → usage-limits-nmrzq4b4.js} +17 -17
- package/dist/chunks/{wellknown-4campf80.js → usage-limits-np12dgr8.js} +4 -4
- package/dist/chunks/{wellknown-nf3nsvxh.js → usage-limits-nz7ydnky.js} +4 -4
- package/dist/chunks/{wellknown-p015t6z3.js → usage-limits-p015t6z3.js} +2 -2
- package/dist/chunks/{wellknown-xfap1w58.js → usage-limits-p1y3scnp.js} +16 -16
- package/dist/chunks/{wellknown-j81g92s0.js → usage-limits-p7f9amnf.js} +4 -4
- package/dist/chunks/{wellknown-qz6rkytq.js → usage-limits-p9a4fkqx.js} +8 -8
- package/dist/chunks/{wellknown-4833vkmt.js → usage-limits-p9wrd8qj.js} +8 -8
- package/dist/chunks/{wellknown-4eyc3kpp.js → usage-limits-paends5k.js} +88 -88
- package/dist/chunks/{wellknown-2320mcv1.js → usage-limits-pf357wtm.js} +26 -26
- package/dist/chunks/{wellknown-1hvsjts9.js → usage-limits-pf8h48ke.js} +11 -11
- package/dist/chunks/{wellknown-xhfxx4da.js → usage-limits-pk5kr4hd.js} +11 -11
- package/dist/chunks/{wellknown-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-ke5gy3tk.js → usage-limits-ppx83vn9.js} +46 -46
- package/dist/chunks/{wellknown-p7h66p9t.js → usage-limits-ptm0a8dx.js} +11 -11
- package/dist/chunks/{wellknown-vt0drty8.js → usage-limits-q06akkn6.js} +5 -5
- package/dist/chunks/{wellknown-024g9ezh.js → usage-limits-q6n5978e.js} +18 -18
- package/dist/chunks/{wellknown-mvj8zay5.js → usage-limits-q84ept6j.js} +12 -12
- package/dist/chunks/{wellknown-xk9nzyx6.js → usage-limits-qdcjsrgg.js} +32 -32
- package/dist/chunks/{wellknown-qp7r0hxv.js → usage-limits-qp7r0hxv.js} +1 -1
- package/dist/chunks/{wellknown-h8v7ynv1.js → usage-limits-qqf54ck0.js} +8 -8
- package/dist/chunks/{wellknown-1xr13nyq.js → usage-limits-qr5y3ppe.js} +13 -13
- package/dist/chunks/{wellknown-r0yr0wbs.js → usage-limits-r0yr0wbs.js} +1 -1
- package/dist/chunks/{wellknown-r542h3bh.js → usage-limits-r542h3bh.js} +1 -1
- package/dist/chunks/{wellknown-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{wellknown-2p4cawxc.js → usage-limits-rcf5z941.js} +15 -15
- package/dist/chunks/{wellknown-2eqy3gj5.js → usage-limits-rfhefnxg.js} +11 -11
- package/dist/chunks/{wellknown-kkg9xr14.js → usage-limits-rfn9smw4.js} +1 -1
- package/dist/chunks/{wellknown-vvzp50rp.js → usage-limits-rfzw4ash.js} +19 -19
- package/dist/chunks/{wellknown-42e9prds.js → usage-limits-rg861281.js} +45 -45
- package/dist/chunks/{wellknown-6hxv0b70.js → usage-limits-rhs2npc4.js} +21 -21
- package/dist/chunks/{wellknown-7dfq0tqd.js → usage-limits-rq2sgyhr.js} +13 -13
- package/dist/chunks/{wellknown-rt5dr6hb.js → usage-limits-rt5dr6hb.js} +1 -1
- package/dist/chunks/{wellknown-rww2kjr8.js → usage-limits-rz5xez4e.js} +16 -16
- package/dist/chunks/{wellknown-1vmknwag.js → usage-limits-s6xn3z5f.js} +8 -8
- package/dist/chunks/{wellknown-3ech5htw.js → usage-limits-s7w3vg3t.js} +5 -5
- package/dist/chunks/{wellknown-sa3fpqfw.js → usage-limits-sa3fpqfw.js} +2 -2
- package/dist/chunks/{wellknown-xqdzg0d1.js → usage-limits-sbgvc55t.js} +35 -35
- package/dist/chunks/{wellknown-5j9hygp5.js → usage-limits-sewrnvqp.js} +25 -25
- package/dist/chunks/{wellknown-1er5yem5.js → usage-limits-sg4gyp2q.js} +35 -35
- package/dist/chunks/{wellknown-18m168yb.js → usage-limits-sjt6c43d.js} +11 -11
- package/dist/chunks/{wellknown-sqjzf8x2.js → usage-limits-sqjzf8x2.js} +1 -1
- package/dist/chunks/{wellknown-1yww55sr.js → usage-limits-sxsrf208.js} +21 -21
- package/dist/chunks/{wellknown-rwvswa9y.js → usage-limits-t3eatzzt.js} +6 -6
- package/dist/chunks/{wellknown-ey3vkt1q.js → usage-limits-t9rbc5fr.js} +29 -29
- package/dist/chunks/{wellknown-0db4hbv7.js → usage-limits-tby5mkys.js} +2 -2
- package/dist/chunks/{wellknown-0ft0yr9w.js → usage-limits-tc1bwtzj.js} +6 -6
- package/dist/chunks/{wellknown-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/usage-limits-tdttqht2.js +257 -0
- package/dist/chunks/{wellknown-bf3y8h5f.js → usage-limits-thxwdnj5.js} +158 -158
- package/dist/chunks/{wellknown-bqct9qsz.js → usage-limits-tt5vrtnd.js} +13 -13
- package/dist/chunks/{wellknown-twv2r8f4.js → usage-limits-twv2r8f4.js} +2 -2
- package/dist/chunks/{wellknown-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{wellknown-zrz12vnv.js → usage-limits-vcsf46ab.js} +11 -11
- package/dist/chunks/{wellknown-veqvce7d.js → usage-limits-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-47dnmp34.js → usage-limits-vm463weg.js} +17 -17
- package/dist/chunks/{wellknown-gcjdgkn2.js → usage-limits-vrcsa8qx.js} +9 -9
- package/dist/chunks/{wellknown-h2hkggp3.js → usage-limits-vrm0gnkg.js} +25 -25
- package/dist/chunks/{wellknown-0h78vc96.js → usage-limits-vz6tneve.js} +12 -12
- package/dist/chunks/{wellknown-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-r5zh54gw.js → usage-limits-w40kn9e0.js} +48 -48
- package/dist/chunks/{wellknown-2wdrepbb.js → usage-limits-w7wb1kw0.js} +18 -18
- package/dist/chunks/{wellknown-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{wellknown-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-fznmdakp.js → usage-limits-wr3re1en.js} +4 -4
- package/dist/chunks/{wellknown-m6kv1khg.js → usage-limits-x78knad5.js} +3 -3
- package/dist/chunks/{wellknown-0f80a8fy.js → usage-limits-x9b32rzn.js} +33 -32
- package/dist/chunks/{wellknown-y79gjjan.js → usage-limits-xbav9n5z.js} +15 -15
- package/dist/chunks/{wellknown-egcgdjrp.js → usage-limits-xdqampcn.js} +4 -4
- package/dist/chunks/{wellknown-pevtk2h0.js → usage-limits-xn2qebtj.js} +4 -4
- package/dist/chunks/{wellknown-wgxkdtrn.js → usage-limits-xt31cxt3.js} +9 -9
- package/dist/chunks/{wellknown-7zefs2yx.js → usage-limits-xvxtnz2r.js} +6 -6
- package/dist/chunks/usage-limits-xwxxqkka.js +517 -0
- package/dist/chunks/{wellknown-2vgv6k8t.js → usage-limits-y0psn2qh.js} +13 -13
- package/dist/chunks/{wellknown-yara3q77.js → usage-limits-yara3q77.js} +2 -2
- package/dist/chunks/{wellknown-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{wellknown-2q60wewa.js → usage-limits-yvd776ry.js} +35 -35
- package/dist/chunks/{wellknown-vxr65stp.js → usage-limits-yyhawyxv.js} +25 -25
- package/dist/chunks/{wellknown-z0bkrqjs.js → usage-limits-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-ttz88pvr.js → usage-limits-z11pmy76.js} +7 -7
- package/dist/chunks/{wellknown-ex2ghmgq.js → usage-limits-z226nxt7.js} +5 -5
- package/dist/chunks/{wellknown-z38nccrw.js → usage-limits-z38nccrw.js} +1 -1
- package/dist/chunks/{wellknown-724c9pfv.js → usage-limits-z3czf3fh.js} +10 -10
- package/dist/chunks/{wellknown-tyy5np2s.js → usage-limits-z5g0wk4p.js} +5 -5
- package/dist/chunks/{wellknown-w68dkr85.js → usage-limits-zczrc06z.js} +18 -18
- package/dist/chunks/{wellknown-05ps92hd.js → usage-limits-zgjdg34p.js} +24 -24
- package/dist/chunks/{wellknown-0anyt1n6.js → usage-limits-zh7bbm8x.js} +9 -9
- package/dist/chunks/{wellknown-4e498fz4.js → usage-limits-zk9m6t02.js} +14 -14
- package/dist/chunks/{wellknown-zkg84ctx.js → usage-limits-zkg84ctx.js} +1 -1
- package/dist/chunks/{wellknown-ef1x4s0c.js → usage-limits-zn491x3r.js} +6 -6
- package/dist/chunks/{wellknown-w7n30nfw.js → usage-limits-zsss5rke.js} +14 -14
- package/dist/chunks/{wellknown-xqf52ny9.js → usage-limits-zxbb6dcf.js} +18 -18
- 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 +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- 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/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +80 -80
- package/dist/file-access.js +140 -140
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- 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 +99 -99
- 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-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 +372 -372
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +89 -89
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +139 -139
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +104 -104
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +234 -234
- 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 +96 -96
- package/dist/provider.js +103 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +228 -228
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +99 -99
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +145 -145
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +157 -157
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +5 -0
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/model.d.ts +20 -0
- package/dist/types/provider.d.ts +24 -0
- package/dist/usage-limits.js +95 -95
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/wellknown-00ve6mdn.js +0 -18
- package/dist/chunks/wellknown-kgvgf0mp.js +0 -257
- package/dist/chunks/wellknown-wep3vcvy.js +0 -26
- package/dist/chunks/wellknown-wrcr1wzr.js +0 -517
- /package/dist/chunks/{wellknown-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2bv980vf.js → usage-limits-2bv980vf.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → usage-limits-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → usage-limits-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4m86bj6y.js → usage-limits-4m86bj6y.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → usage-limits-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → usage-limits-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → usage-limits-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5fjb7ams.js → usage-limits-5fjb7ams.js} +0 -0
- /package/dist/chunks/{wellknown-5w3e23ze.js → usage-limits-5w3e23ze.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a058387c.js → usage-limits-a058387c.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → usage-limits-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → usage-limits-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → usage-limits-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → usage-limits-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → usage-limits-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → usage-limits-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → usage-limits-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fkpq3x5p.js → usage-limits-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → usage-limits-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → usage-limits-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{wellknown-jze0r7bz.js → usage-limits-jze0r7bz.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-ncqqe42p.js → usage-limits-ncqqe42p.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → usage-limits-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wjj7prxr.js → usage-limits-wjj7prxr.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → usage-limits-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → usage-limits-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → usage-limits-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
- /package/dist/chunks/{wellknown-zb5gs1ba.js → usage-limits-zb5gs1ba.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./usage-limits-00y87jmz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-1v0pdvat.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./usage-limits-m97p4zfb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./usage-limits-sbgvc55t.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service40
|
|
17
|
+
} from "./usage-limits-zxbb6dcf.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin39,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name4,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "write";
|
|
39
|
+
var Input4 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin39 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service40;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service54;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service68;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input4,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output3, toModelContent2, Plugin39, exports_write };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service85,
|
|
9
|
+
node89
|
|
10
|
+
} from "./usage-limits-03efvwc7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service83,
|
|
13
|
+
node87
|
|
14
|
+
} from "./usage-limits-p1y3scnp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./usage-limits-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service39,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service39 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service85;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service83;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID6.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node42 = makeLocationNode({
|
|
158
|
+
service: Service39,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node89, Global.node, node87]
|
|
161
161
|
});
|
|
162
|
-
var noopLayer2 = Layer.succeed(
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error3({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID6, Error3, Service39, node42, noopLayer2, exports_snapshot2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service52,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node56
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service52 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service52, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service52.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service48, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node56 = makeGlobalNode({ service: Service52, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service52, node56, exports_environment };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service87,
|
|
3
|
+
node91
|
|
4
|
+
} from "./usage-limits-httc3ny9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service86,
|
|
7
|
+
node90
|
|
8
|
+
} from "./usage-limits-jjhjh3kk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./usage-limits-t3eatzzt.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service84,
|
|
19
|
+
node88
|
|
20
|
+
} from "./usage-limits-cyjt7j27.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-p1y3scnp.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service82,
|
|
26
|
+
node86
|
|
27
|
+
} from "./usage-limits-df5wz3aa.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./usage-limits-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-21pdxbx2.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./usage-limits-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service61
|
|
39
|
+
} from "./usage-limits-cnj75yzs.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service69,
|
|
42
|
+
node73
|
|
43
|
+
} from "./usage-limits-19gpxhf0.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service62,
|
|
48
|
+
node66,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./usage-limits-m34dtctp.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service60,
|
|
53
|
+
node65
|
|
54
|
+
} from "./usage-limits-bf8fdtcb.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node22
|
|
57
|
+
} from "./usage-limits-vrm0gnkg.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service18,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node21
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service18 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service84;
|
|
92
|
+
const locations = yield* Service82;
|
|
93
|
+
const store = yield* Service69;
|
|
94
|
+
const execution = yield* Service60;
|
|
95
|
+
const instances = yield* Service64;
|
|
96
|
+
const admission = yield* Service62;
|
|
97
|
+
const database = yield* Service87;
|
|
98
|
+
const bus = yield* Service86;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service61.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service18.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node21 = makeGlobalNode({
|
|
167
|
+
service: Service18,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
node83,
|
|
173
|
-
node59,
|
|
174
|
-
node70,
|
|
175
|
-
node54,
|
|
176
|
-
node56,
|
|
177
|
-
node55,
|
|
178
172
|
node88,
|
|
179
|
-
|
|
180
|
-
|
|
173
|
+
node86,
|
|
174
|
+
node73,
|
|
175
|
+
node65,
|
|
176
|
+
node68,
|
|
177
|
+
node66,
|
|
178
|
+
node91,
|
|
179
|
+
node90,
|
|
180
|
+
node22
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node21, exports_move };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node89
|
|
6
|
+
} from "./usage-limits-03efvwc7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./usage-limits-p1y3scnp.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make17
|
|
16
|
+
} from "./usage-limits-p9a4fkqx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service42,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node45
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service42 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service83;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make17;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service42.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node45 = makeLocationNode({
|
|
61
|
+
service: Service42,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node87, Global.node, node89, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service42, node45, exports_strategies };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./usage-limits-mt2kpseg.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin35,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service73;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin10 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin35, exports_warming };
|