@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
node70
|
|
7
|
+
} from "./usage-limits-9t8mm2bk.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./usage-limits-9cx9sm2q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate2 = {};
|
|
17
17
|
__export(exports_generate2, {
|
|
18
18
|
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service36,
|
|
21
|
+
UnavailableError: () => UnavailableError2,
|
|
22
|
+
layer: () => layer15,
|
|
23
|
+
node: () => node39
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai/effect";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service36 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service66;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service36.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node39 = makeLocationNode({
|
|
77
|
+
service: Service36,
|
|
78
|
+
layer: layer15,
|
|
79
|
+
deps: [node70, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service36, layer15, node39, exports_generate2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info30,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info30 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info30, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service86,
|
|
4
|
+
node90
|
|
5
|
+
} from "./usage-limits-jjhjh3kk.js";
|
|
6
6
|
import {
|
|
7
7
|
Service78,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node82
|
|
9
|
+
} from "./usage-limits-e0vn053m.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event16,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
22
|
Service: () => Service77,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node81,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -48,7 +48,7 @@ var Manifest2 = Schema.Struct({
|
|
|
48
48
|
|
|
49
49
|
class Service77 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event16 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -82,7 +82,7 @@ var Configs = Schema.Array(Config2);
|
|
|
82
82
|
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
84
|
const kv = yield* Service78;
|
|
85
|
-
const bus = yield*
|
|
85
|
+
const bus = yield* Service86;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,7 +113,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
119
|
return Service77.of({
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [httpClient, node82, node90] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2, Service77,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service77, Event16, inspect2, resolve4, node81, exports_wellknown };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make16,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make16(tools) {
|
|
32
|
+
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render3(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render2(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make16, render3, exports_system_prompt };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-98j1bw8x.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-8bzt12aq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options9,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service87,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer29,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node91
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options9 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service87 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service87, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service87, layer: layer29(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service87,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node91 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options9,
|
|
96
|
+
export { Options9, Service87, layer29, layerFromClient2, configured13, configuredClient2, node91, exports_database };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./usage-limits-jjhjh3kk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./usage-limits-g6vqe96w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service84,
|
|
11
|
+
node88
|
|
12
|
+
} from "./usage-limits-cyjt7j27.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref5,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./usage-limits-p1y3scnp.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-df5wz3aa.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node72
|
|
27
|
+
} from "./usage-limits-sbgvc55t.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service59,
|
|
30
|
+
node64
|
|
31
|
+
} from "./usage-limits-q6n5978e.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service58,
|
|
41
|
+
node: () => node63
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service58 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service86;
|
|
52
|
+
const location = yield* Service83;
|
|
53
|
+
const permission = yield* Service68;
|
|
54
|
+
const forms = yield* Service80;
|
|
55
|
+
const rpc = yield* Service59;
|
|
56
|
+
const project = yield* Service84;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service58.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node63 = makeLocationNode({
|
|
89
|
+
service: Service58,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node90, node87, node72, node88, node84, node64]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service58, node63, exports_location_lifecycle };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info19 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info21 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info19, exports_provider2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./usage-limits-zczrc06z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./usage-limits-mt2kpseg.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-1n7xqf83.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin8
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin8 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service73;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service74;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin8, exports_compatibility };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-bst727gy.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-5enarcya.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin23 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin4 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint4,
|
|
80
|
+
export { endpoint4, Plugin23, exports_firecrawl };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service87,
|
|
3
|
+
node91
|
|
4
|
+
} from "./usage-limits-httc3ny9.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-11hfp36g.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service86,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node90,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
78
78
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
79
79
|
var isDefinition = (input) => !Array.isArray(input);
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service86 extends Context.Service()("@opencode/Bus") {
|
|
82
82
|
}
|
|
83
83
|
function configured12(options) {
|
|
84
84
|
return makeGlobalNode({
|
|
85
|
-
service:
|
|
86
|
-
deps: [
|
|
87
|
-
layer: Layer.effect(
|
|
85
|
+
service: Service86,
|
|
86
|
+
deps: [node91],
|
|
87
|
+
layer: Layer.effect(Service86, Effect.gen(function* () {
|
|
88
88
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
89
89
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
90
90
|
const pubsub = {
|
|
@@ -95,7 +95,7 @@ function configured12(options) {
|
|
|
95
95
|
const projectors = new Map;
|
|
96
96
|
const listeners = new Array;
|
|
97
97
|
const durableLocks = makeUnsafe2();
|
|
98
|
-
const { db } = yield*
|
|
98
|
+
const { db } = yield* Service87;
|
|
99
99
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
100
100
|
const persist = options?.persist ?? false;
|
|
101
101
|
const sessions = new Map;
|
|
@@ -526,7 +526,7 @@ function configured12(options) {
|
|
|
526
526
|
list.push((event) => projector(event));
|
|
527
527
|
projectors.set(key, list);
|
|
528
528
|
});
|
|
529
|
-
return
|
|
529
|
+
return Service86.of({
|
|
530
530
|
publish,
|
|
531
531
|
publishAll,
|
|
532
532
|
subscribe,
|
|
@@ -540,6 +540,6 @@ function configured12(options) {
|
|
|
540
540
|
}))
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
var
|
|
543
|
+
var node90 = configured12();
|
|
544
544
|
|
|
545
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
545
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service86, configured12, node90, exports_bus };
|