@opencode/core 0.0.0-dev-21915 → 0.0.0-dev-21920
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 +87 -87
- 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-00ve6mdn.js +18 -0
- package/dist/chunks/{event-logger-fh08m5h2.js → wellknown-0124gy6r.js} +4 -4
- package/dist/chunks/{event-logger-5rn25pwd.js → wellknown-024g9ezh.js} +18 -18
- package/dist/chunks/{event-logger-034tev2y.js → wellknown-034tev2y.js} +2 -2
- package/dist/chunks/{event-logger-sjt0aqsb.js → wellknown-05ps92hd.js} +24 -24
- package/dist/chunks/{event-logger-mq16y592.js → wellknown-09090e8v.js} +3 -3
- package/dist/chunks/{event-logger-9z9tayqc.js → wellknown-0anyt1n6.js} +5 -5
- package/dist/chunks/{event-logger-nn2wptpk.js → wellknown-0db4hbv7.js} +5 -5
- package/dist/chunks/{event-logger-t5zwprfx.js → wellknown-0f80a8fy.js} +33 -33
- package/dist/chunks/{event-logger-jxr5ks98.js → wellknown-0ft0yr9w.js} +6 -6
- package/dist/chunks/{event-logger-zt0grhjq.js → wellknown-0gg8tnxq.js} +33 -33
- package/dist/chunks/{event-logger-hwadrnp3.js → wellknown-0h78vc96.js} +17 -17
- package/dist/chunks/{event-logger-pacbbjc0.js → wellknown-0tpkjg9c.js} +7 -7
- package/dist/chunks/{event-logger-st7p3hwb.js → wellknown-0w2jttgf.js} +2 -2
- package/dist/chunks/{event-logger-179sgv51.js → wellknown-0xv9h4nb.js} +27 -27
- package/dist/chunks/{event-logger-fjg1f0qa.js → wellknown-125q1ps8.js} +16 -16
- package/dist/chunks/{event-logger-78n4qc0z.js → wellknown-14dcnwrx.js} +4 -4
- package/dist/chunks/{event-logger-re1qaq4d.js → wellknown-15xz4cvy.js} +15 -15
- package/dist/chunks/{event-logger-zmwdvt2x.js → wellknown-18m168yb.js} +11 -11
- package/dist/chunks/{event-logger-hh6grysg.js → wellknown-18tp64nm.js} +4 -4
- package/dist/chunks/{event-logger-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
- package/dist/chunks/{event-logger-x0hhhwgh.js → wellknown-1er5yem5.js} +35 -35
- package/dist/chunks/{event-logger-1qjnrqep.js → wellknown-1hvsjts9.js} +11 -11
- package/dist/chunks/{event-logger-c1gsg3g8.js → wellknown-1vmknwag.js} +11 -11
- package/dist/chunks/{event-logger-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-7che9vcx.js → wellknown-1xr13nyq.js} +22 -22
- package/dist/chunks/{event-logger-5zrxpy3q.js → wellknown-1yq9hg58.js} +5 -5
- package/dist/chunks/{event-logger-mzrr2ceq.js → wellknown-1yww55sr.js} +24 -24
- package/dist/chunks/{event-logger-204s3925.js → wellknown-204s3925.js} +1 -1
- package/dist/chunks/{event-logger-2yvtks3w.js → wellknown-21pdxbx2.js} +3 -3
- package/dist/chunks/{event-logger-x0z7d0h1.js → wellknown-2320mcv1.js} +25 -25
- package/dist/chunks/{event-logger-bf5n42xj.js → wellknown-2eqy3gj5.js} +11 -11
- package/dist/chunks/{event-logger-33j2zr63.js → wellknown-2kzj9rs3.js} +85 -85
- package/dist/chunks/{event-logger-pmbbezah.js → wellknown-2p4cawxc.js} +22 -22
- package/dist/chunks/{event-logger-vkhmt3za.js → wellknown-2q60wewa.js} +35 -35
- package/dist/chunks/{event-logger-bqe25t1z.js → wellknown-2qbjrve9.js} +5 -5
- package/dist/chunks/{event-logger-qnxr7c2a.js → wellknown-2qe92jhz.js} +8 -8
- package/dist/chunks/{event-logger-9s0e97ng.js → wellknown-2r4zmzmb.js} +29 -29
- package/dist/chunks/{event-logger-xczbbc2n.js → wellknown-2vgv6k8t.js} +13 -13
- package/dist/chunks/{event-logger-5cppamkc.js → wellknown-2wdrepbb.js} +23 -23
- package/dist/chunks/{event-logger-2dbq5t1r.js → wellknown-3bqphbas.js} +15 -15
- package/dist/chunks/{event-logger-ga597wxg.js → wellknown-3dxzdqzy.js} +28 -25
- package/dist/chunks/{event-logger-mptppmq7.js → wellknown-3ech5htw.js} +3 -3
- package/dist/chunks/{event-logger-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{event-logger-cpvd08na.js → wellknown-3ryz99p0.js} +4 -4
- package/dist/chunks/{event-logger-0svvf4a3.js → wellknown-3v67cre7.js} +36 -36
- package/dist/chunks/{event-logger-40za9wsf.js → wellknown-40za9wsf.js} +2 -2
- package/dist/chunks/{event-logger-st4dmjma.js → wellknown-42e9prds.js} +50 -50
- package/dist/chunks/{event-logger-c1df77m2.js → wellknown-47dnmp34.js} +21 -21
- package/dist/chunks/{event-logger-herh7hrd.js → wellknown-4833vkmt.js} +8 -8
- package/dist/chunks/{event-logger-213mv4pq.js → wellknown-48rxq2nm.js} +18 -18
- package/dist/chunks/{event-logger-vhwcqbf2.js → wellknown-49fagkab.js} +19 -19
- package/dist/chunks/{event-logger-dynzjwsk.js → wellknown-4campf80.js} +4 -4
- package/dist/chunks/{event-logger-a8sm5zt7.js → wellknown-4e498fz4.js} +11 -11
- package/dist/chunks/{event-logger-qa9tft3h.js → wellknown-4eyc3kpp.js} +92 -92
- package/dist/chunks/{event-logger-dzd14etx.js → wellknown-4jt7skys.js} +21 -21
- package/dist/chunks/{event-logger-2z1j29yd.js → wellknown-4pyp9zr9.js} +19 -3
- package/dist/chunks/{event-logger-5r72z9dp.js → wellknown-4skqtp9p.js} +8 -8
- package/dist/chunks/{event-logger-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
- package/dist/chunks/{event-logger-qgehj1ry.js → wellknown-53g6s4ag.js} +23 -23
- package/dist/chunks/{event-logger-peyy5ms6.js → wellknown-5gdxwc09.js} +24 -24
- package/dist/chunks/{event-logger-h9sxfnc4.js → wellknown-5j9hygp5.js} +31 -31
- package/dist/chunks/{event-logger-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-0mg8kcn3.js → wellknown-5snrzpn2.js} +20 -19
- package/dist/chunks/{event-logger-psvq06ac.js → wellknown-60maxesw.js} +4 -4
- package/dist/chunks/{event-logger-s626qfae.js → wellknown-61ennm6n.js} +4 -4
- package/dist/chunks/{event-logger-qd1s09xq.js → wellknown-63x76nbs.js} +26 -26
- package/dist/chunks/{event-logger-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
- package/dist/chunks/{event-logger-3jazymwx.js → wellknown-6hbjb0nc.js} +17 -17
- package/dist/chunks/{event-logger-ts1a0z93.js → wellknown-6hxv0b70.js} +21 -21
- package/dist/chunks/{event-logger-qg7vbzw0.js → wellknown-6katn5jb.js} +27 -27
- package/dist/chunks/{event-logger-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
- package/dist/chunks/{event-logger-bw78fe9b.js → wellknown-71vjzq8c.js} +10 -10
- package/dist/chunks/{event-logger-ht33fk1k.js → wellknown-724c9pfv.js} +10 -10
- package/dist/chunks/{event-logger-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
- package/dist/chunks/{event-logger-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-p2nmcv9d.js → wellknown-7dfq0tqd.js} +13 -13
- package/dist/chunks/{event-logger-9rr00cqq.js → wellknown-7g90vjnc.js} +36 -36
- package/dist/chunks/{event-logger-tyred3qc.js → wellknown-7sxvebxe.js} +14 -14
- package/dist/chunks/{event-logger-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-frm2a0t2.js → wellknown-7yhc6exb.js} +9 -9
- package/dist/chunks/{event-logger-wyqjen5s.js → wellknown-7zefs2yx.js} +11 -11
- package/dist/chunks/{event-logger-cqgy4j9b.js → wellknown-8bfs1sgm.js} +33 -33
- package/dist/chunks/{event-logger-wvngvz36.js → wellknown-8hhyjxtn.js} +17 -17
- package/dist/chunks/{event-logger-g1ac2pg3.js → wellknown-8j6zjvn4.js} +4 -4
- package/dist/chunks/{event-logger-basczpv8.js → wellknown-8ndw73nb.js} +14 -14
- package/dist/chunks/{event-logger-6y263vp8.js → wellknown-8p5baybq.js} +5 -5
- package/dist/chunks/{event-logger-0eyqpy28.js → wellknown-8tvz9phv.js} +29 -29
- package/dist/chunks/{event-logger-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{event-logger-ssv8d6ry.js → wellknown-90gp0j9c.js} +3 -3
- package/dist/chunks/{event-logger-91rj84md.js → wellknown-91rj84md.js} +1 -1
- package/dist/chunks/{event-logger-9cx9sm2q.js → wellknown-9cx9sm2q.js} +1 -1
- package/dist/chunks/{event-logger-44552vd9.js → wellknown-9dtf119m.js} +12 -12
- package/dist/chunks/{event-logger-qfjvy58c.js → wellknown-9y8xp722.js} +6 -6
- package/dist/chunks/{event-logger-9r0x1bva.js → wellknown-9ytkwk8q.js} +2 -2
- package/dist/chunks/{event-logger-a32zpqad.js → wellknown-apsy5ahh.js} +9 -9
- package/dist/chunks/{event-logger-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
- package/dist/chunks/{event-logger-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
- package/dist/chunks/{event-logger-b6vsg801.js → wellknown-b6vsg801.js} +2 -2
- package/dist/chunks/{event-logger-pap6y6k1.js → wellknown-bf3y8h5f.js} +200 -200
- package/dist/chunks/{event-logger-3h86dkjt.js → wellknown-bqct9qsz.js} +11 -11
- package/dist/chunks/{event-logger-xd9cc171.js → wellknown-bstexjd6.js} +5 -5
- package/dist/chunks/{event-logger-t7z44kv1.js → wellknown-c0kyf5dr.js} +33 -33
- package/dist/chunks/{event-logger-ygbhaca5.js → wellknown-c1pf56e9.js} +14 -14
- package/dist/chunks/{event-logger-bvn4drfw.js → wellknown-ccp6j38y.js} +8 -8
- package/dist/chunks/{event-logger-nz5t40nw.js → wellknown-cgbxrjpk.js} +13 -13
- package/dist/chunks/{event-logger-m0b3df16.js → wellknown-cxxq6shy.js} +12 -12
- package/dist/chunks/{event-logger-6szn2v48.js → wellknown-cy55exg4.js} +37 -37
- package/dist/chunks/{event-logger-m239h48j.js → wellknown-cyrrj3vn.js} +10 -10
- package/dist/chunks/{event-logger-j4danyaa.js → wellknown-d04j6t4g.js} +4 -4
- package/dist/chunks/{event-logger-phatgdjg.js → wellknown-d0gx834n.js} +17 -17
- package/dist/chunks/{event-logger-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-ejnhfpwt.js → wellknown-dbemrfqv.js} +33 -33
- package/dist/chunks/{event-logger-f9c14s45.js → wellknown-de619e1b.js} +3 -3
- package/dist/chunks/{event-logger-bwsx8aca.js → wellknown-dhfzyyxh.js} +13 -13
- package/dist/chunks/{event-logger-8h2npe5w.js → wellknown-dj3vwt7t.js} +4 -4
- package/dist/chunks/{event-logger-30147ds3.js → wellknown-djjzzs3c.js} +6 -6
- package/dist/chunks/{event-logger-yyt2djfr.js → wellknown-dr8bgxdq.js} +12 -12
- package/dist/chunks/{event-logger-pymyzg4j.js → wellknown-e10gzbhc.js} +11 -11
- package/dist/chunks/{event-logger-e834z07m.js → wellknown-e834z07m.js} +1 -1
- package/dist/chunks/{event-logger-tdjd85a2.js → wellknown-e9z9agtf.js} +34 -34
- package/dist/chunks/{event-logger-2kc953ej.js → wellknown-eb0ebbza.js} +21 -21
- package/dist/chunks/{event-logger-fa5mv2e8.js → wellknown-ecwctf3g.js} +24 -24
- package/dist/chunks/{event-logger-4zf9yj1j.js → wellknown-ef1x4s0c.js} +6 -6
- package/dist/chunks/{event-logger-q05tgvb2.js → wellknown-egcgdjrp.js} +4 -4
- package/dist/chunks/{event-logger-x57zhnt4.js → wellknown-ewz324b7.js} +49 -49
- package/dist/chunks/{event-logger-8k8s1td8.js → wellknown-ex2ghmgq.js} +5 -5
- package/dist/chunks/{event-logger-p3kn9h9d.js → wellknown-ey3vkt1q.js} +29 -29
- package/dist/chunks/{event-logger-9crppwnt.js → wellknown-fb4cnss3.js} +13 -13
- package/dist/chunks/{event-logger-e19z48h8.js → wellknown-fc6mge9b.js} +11 -11
- package/dist/chunks/{event-logger-7vz8pb8x.js → wellknown-fdg30131.js} +45 -45
- package/dist/chunks/{event-logger-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
- package/dist/chunks/{event-logger-prq7xxp2.js → wellknown-fg9p65nk.js} +6 -6
- package/dist/chunks/{event-logger-akgtqb0c.js → wellknown-fhym6smd.js} +11 -11
- package/dist/chunks/{event-logger-sfe1x69m.js → wellknown-fx2b1b3j.js} +40 -40
- package/dist/chunks/{event-logger-fznmdakp.js → wellknown-fznmdakp.js} +1 -1
- package/dist/chunks/{event-logger-410zp742.js → wellknown-g1qvvw32.js} +27 -27
- package/dist/chunks/{event-logger-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
- package/dist/chunks/{event-logger-nfht88f8.js → wellknown-g8tr5n07.js} +40 -40
- package/dist/chunks/{event-logger-0xy3w4m6.js → wellknown-gc2j9cqs.js} +8 -8
- package/dist/chunks/{event-logger-n7bnkb3p.js → wellknown-gcjdgkn2.js} +9 -9
- package/dist/chunks/{event-logger-gg8p9cgs.js → wellknown-gg8p9cgs.js} +3 -3
- package/dist/chunks/{event-logger-6yv8zpps.js → wellknown-gspvz5np.js} +19 -13
- package/dist/chunks/{event-logger-brd5eeq0.js → wellknown-gtn9c16a.js} +8 -8
- package/dist/chunks/{event-logger-xzk44jme.js → wellknown-h2hkggp3.js} +25 -25
- package/dist/chunks/{event-logger-dj4zrkts.js → wellknown-h362shv8.js} +4 -4
- package/dist/chunks/{event-logger-wzp5edw8.js → wellknown-h8v7ynv1.js} +8 -8
- package/dist/chunks/{event-logger-76szp9yy.js → wellknown-hk78j51y.js} +46 -46
- package/dist/chunks/{event-logger-5rt97jkw.js → wellknown-hnj5zxrz.js} +16 -16
- package/dist/chunks/{event-logger-83fr3fym.js → wellknown-hrtx3eh0.js} +16 -16
- package/dist/chunks/{event-logger-f1bpp1ef.js → wellknown-hsjdcght.js} +26 -26
- package/dist/chunks/{event-logger-408nx0y9.js → wellknown-hwrqw3h8.js} +40 -40
- package/dist/chunks/{event-logger-md82vg28.js → wellknown-hx65ke5p.js} +24 -24
- package/dist/chunks/{event-logger-j113cymg.js → wellknown-j113cymg.js} +1 -1
- package/dist/chunks/{event-logger-57p1m9rz.js → wellknown-j2renyjr.js} +32 -32
- package/dist/chunks/{event-logger-g6dfma3d.js → wellknown-j81g92s0.js} +4 -4
- package/dist/chunks/{event-logger-4pkf34m0.js → wellknown-jnmyx7e4.js} +79 -78
- package/dist/chunks/{event-logger-shd4apfp.js → wellknown-jtzgr0na.js} +5 -5
- package/dist/chunks/{event-logger-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
- package/dist/chunks/{event-logger-j7e2k5v8.js → wellknown-ke5gy3tk.js} +37 -37
- package/dist/chunks/wellknown-kgvgf0mp.js +257 -0
- package/dist/chunks/{event-logger-sk0dcrgn.js → wellknown-kkg9xr14.js} +1 -1
- package/dist/chunks/{event-logger-tg1vr1qt.js → wellknown-kmzgegqq.js} +8 -8
- package/dist/chunks/{event-logger-rrd1tyyg.js → wellknown-ksffszx3.js} +5 -5
- package/dist/chunks/{event-logger-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
- package/dist/chunks/{event-logger-ez16syfw.js → wellknown-kxymkrsz.js} +9 -9
- package/dist/chunks/{event-logger-p76me67c.js → wellknown-ky596kc3.js} +4 -4
- package/dist/chunks/{event-logger-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{event-logger-c9pz1jz6.js → wellknown-m6kv1khg.js} +5 -5
- package/dist/chunks/{event-logger-68ms0fh2.js → wellknown-m75bxvp1.js} +23 -23
- package/dist/chunks/{event-logger-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
- package/dist/chunks/{event-logger-e6bk7rc7.js → wellknown-mb9k54pt.js} +8 -8
- package/dist/chunks/{event-logger-1nsj622r.js → wellknown-mfnjseb2.js} +14 -14
- package/dist/chunks/{event-logger-jv1fc1mx.js → wellknown-mvj8zay5.js} +14 -14
- package/dist/chunks/{event-logger-nah043kf.js → wellknown-nah043kf.js} +1 -1
- package/dist/chunks/{event-logger-e3qxr5gk.js → wellknown-ncqqe42p.js} +2 -2
- package/dist/chunks/{event-logger-vxxaf4jx.js → wellknown-neary136.js} +8 -8
- package/dist/chunks/{event-logger-zxhnf3hq.js → wellknown-nf3nsvxh.js} +4 -4
- package/dist/chunks/{event-logger-vpbqyf0k.js → wellknown-npjtk884.js} +22 -22
- package/dist/chunks/{event-logger-xm0409en.js → wellknown-nt6mqvwx.js} +6 -6
- package/dist/chunks/{event-logger-1db62psx.js → wellknown-ntpfk5qx.js} +28 -28
- package/dist/chunks/{event-logger-86g6sxng.js → wellknown-nw3bgfm4.js} +12 -12
- package/dist/chunks/{event-logger-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
- package/dist/chunks/{event-logger-zq9gq21d.js → wellknown-p7h66p9t.js} +11 -11
- package/dist/chunks/{event-logger-eky6j0x6.js → wellknown-pcc6rjnf.js} +9 -9
- package/dist/chunks/{event-logger-1rjegszx.js → wellknown-pevtk2h0.js} +4 -4
- package/dist/chunks/{event-logger-sc7s3392.js → wellknown-phd9f911.js} +17 -17
- package/dist/chunks/{event-logger-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-k8ya5e1r.js → wellknown-pw0pep3j.js} +25 -25
- package/dist/chunks/{event-logger-dwcq4ckc.js → wellknown-pw6gcn4x.js} +12 -12
- package/dist/chunks/{event-logger-x98cm754.js → wellknown-pxer50tw.js} +20 -20
- package/dist/chunks/{event-logger-vz52s56h.js → wellknown-q3zk63qm.js} +54 -54
- package/dist/chunks/{event-logger-cdgpjepk.js → wellknown-q7gd9zh7.js} +38 -38
- package/dist/chunks/{event-logger-c36nnf6h.js → wellknown-q80bq26q.js} +3 -3
- package/dist/chunks/{event-logger-hzqt23km.js → wellknown-q9c81yt7.js} +17 -17
- package/dist/chunks/{event-logger-w2b5jz6s.js → wellknown-q9wnq509.js} +3 -3
- package/dist/chunks/{event-logger-jtk69epa.js → wellknown-qgp6m71r.js} +33 -33
- package/dist/chunks/{event-logger-qa95shqj.js → wellknown-qnr57htg.js} +28 -28
- package/dist/chunks/wellknown-qp7r0hxv.js +120 -0
- package/dist/chunks/{event-logger-ryaxndx4.js → wellknown-qqhrz1wm.js} +37 -37
- package/dist/chunks/{event-logger-b42k84jp.js → wellknown-qse3wkg3.js} +18 -18
- package/dist/chunks/{event-logger-033a0jkt.js → wellknown-qyq8h28g.js} +3 -3
- package/dist/chunks/{event-logger-vqrx5bk3.js → wellknown-qz6rkytq.js} +8 -8
- package/dist/chunks/{event-logger-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
- package/dist/chunks/{event-logger-r542h3bh.js → wellknown-r542h3bh.js} +1 -1
- package/dist/chunks/{event-logger-kv7q9t9v.js → wellknown-r5zh54gw.js} +50 -50
- package/dist/chunks/{event-logger-h3b857xk.js → wellknown-r96ere88.js} +4 -4
- package/dist/chunks/{event-logger-618s5217.js → wellknown-radh0f4v.js} +12 -12
- package/dist/chunks/{event-logger-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-khycn197.js → wellknown-rqspxrc1.js} +9 -9
- package/dist/chunks/{event-logger-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
- package/dist/chunks/{event-logger-1z6t7raf.js → wellknown-rwvswa9y.js} +6 -6
- package/dist/chunks/{event-logger-1fnhqpt4.js → wellknown-rww2kjr8.js} +13 -13
- package/dist/chunks/{event-logger-6nye8dts.js → wellknown-s2tx6bjs.js} +9 -9
- package/dist/chunks/{event-logger-061dfjk9.js → wellknown-s6t1b4j6.js} +11 -11
- package/dist/chunks/{event-logger-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
- package/dist/chunks/{event-logger-hgbyz31g.js → wellknown-sbtgcdj5.js} +24 -24
- package/dist/chunks/{event-logger-mby4m2vn.js → wellknown-sdtzry9x.js} +15 -15
- package/dist/chunks/{event-logger-ch94d7vp.js → wellknown-sh36jtyp.js} +5 -5
- package/dist/chunks/{event-logger-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
- package/dist/chunks/{event-logger-ssfehs1z.js → wellknown-ssfehs1z.js} +1 -1
- package/dist/chunks/{event-logger-zt1y2eyh.js → wellknown-swveggkf.js} +24 -24
- package/dist/chunks/{event-logger-q61wn67c.js → wellknown-t20d8q3a.js} +12 -12
- package/dist/chunks/{event-logger-8aemar9r.js → wellknown-t4y7ct23.js} +60 -59
- package/dist/chunks/{event-logger-886bz3e9.js → wellknown-tcxz7f1z.js} +28 -28
- package/dist/chunks/{event-logger-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-bfbc4kpy.js → wellknown-ttz88pvr.js} +11 -11
- package/dist/chunks/{event-logger-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
- package/dist/chunks/{event-logger-4538h11c.js → wellknown-ty7xyaae.js} +7 -7
- package/dist/chunks/{event-logger-a52e4zaq.js → wellknown-tyy5np2s.js} +2 -2
- package/dist/chunks/{event-logger-4m87gk4h.js → wellknown-v0hcd9zv.js} +2 -2
- package/dist/chunks/{event-logger-w35wzz9x.js → wellknown-v0t96s7a.js} +4 -4
- package/dist/chunks/{event-logger-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-gy4a15hj.js → wellknown-v4wa8mpc.js} +44 -44
- package/dist/chunks/{event-logger-q2vz9kat.js → wellknown-vavkps5a.js} +20 -20
- package/dist/chunks/{event-logger-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-58fpqt79.js → wellknown-vjmaafeq.js} +9 -9
- package/dist/chunks/{event-logger-f7aqmhgm.js → wellknown-vr1p6ca4.js} +11 -11
- package/dist/chunks/{event-logger-b8teqy6w.js → wellknown-vt0drty8.js} +5 -5
- package/dist/chunks/{event-logger-43c01wrt.js → wellknown-vvzp50rp.js} +19 -19
- package/dist/chunks/{event-logger-7ytgdqqc.js → wellknown-vxr65stp.js} +23 -23
- package/dist/chunks/{event-logger-shdc20fs.js → wellknown-vxxrrfe0.js} +12 -12
- package/dist/chunks/{event-logger-skpj3wch.js → wellknown-w2cmnvxm.js} +13 -13
- package/dist/chunks/{event-logger-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-77s6zpp3.js → wellknown-w5cna773.js} +31 -31
- package/dist/chunks/{event-logger-bn6jkna4.js → wellknown-w68dkr85.js} +20 -20
- package/dist/chunks/{event-logger-88a5ws0g.js → wellknown-w7n30nfw.js} +22 -22
- package/dist/chunks/{event-logger-mtrbqqrq.js → wellknown-w8xr7nv8.js} +5 -5
- package/dist/chunks/{event-logger-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-z8rfms9g.js → wellknown-wbbfqag7.js} +12 -12
- package/dist/chunks/{event-logger-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-hdfrs5mg.js → wellknown-wdmx20pv.js} +9 -9
- package/dist/chunks/{event-logger-4dtq8qg7.js → wellknown-wdvzjwq2.js} +56 -56
- package/dist/chunks/wellknown-wep3vcvy.js +26 -0
- package/dist/chunks/{event-logger-4xa9359s.js → wellknown-wgxkdtrn.js} +9 -9
- package/dist/chunks/{event-logger-tcjkzhbf.js → wellknown-whnxx8mv.js} +19 -19
- package/dist/chunks/{event-logger-tbx1dsy3.js → wellknown-wnjd27sh.js} +23 -23
- package/dist/chunks/{event-logger-99bhpp1n.js → wellknown-wrcr1wzr.js} +333 -333
- package/dist/chunks/{event-logger-8jztxfpf.js → wellknown-x8nvjgx0.js} +4 -4
- package/dist/chunks/{event-logger-qwcg15xq.js → wellknown-xf88twea.js} +2 -2
- package/dist/chunks/{event-logger-jz593hnq.js → wellknown-xfap1w58.js} +16 -16
- package/dist/chunks/{event-logger-sy707q11.js → wellknown-xhfxx4da.js} +11 -11
- package/dist/chunks/{event-logger-e066yxsa.js → wellknown-xk9nzyx6.js} +32 -32
- package/dist/chunks/{event-logger-m37sd98t.js → wellknown-xnh55p1t.js} +5 -5
- package/dist/chunks/{event-logger-vx7ymf2n.js → wellknown-xqctgmq0.js} +30 -30
- package/dist/chunks/{event-logger-ck0tns3b.js → wellknown-xqdzg0d1.js} +46 -46
- package/dist/chunks/{event-logger-w0cs00f7.js → wellknown-xqf52ny9.js} +18 -18
- package/dist/chunks/{event-logger-f1gxq19d.js → wellknown-xr6tzfax.js} +1 -1
- package/dist/chunks/{event-logger-530cxj2z.js → wellknown-xre94b5v.js} +36 -36
- package/dist/chunks/{event-logger-syrbqdmj.js → wellknown-xvd6zczk.js} +19 -19
- package/dist/chunks/{event-logger-xxadresr.js → wellknown-y4g98aeh.js} +22 -22
- package/dist/chunks/{event-logger-331zmft7.js → wellknown-y79gjjan.js} +15 -15
- package/dist/chunks/{event-logger-9f7hjvpa.js → wellknown-y8fjqfz6.js} +20 -20
- package/dist/chunks/{event-logger-pqzzv18e.js → wellknown-y952b79c.js} +17 -17
- package/dist/chunks/{event-logger-yara3q77.js → wellknown-yara3q77.js} +2 -2
- package/dist/chunks/{event-logger-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-2nf2vr7j.js → wellknown-yefdp956.js} +14 -14
- package/dist/chunks/{event-logger-sa2m7fmb.js → wellknown-yn1q185v.js} +21 -21
- package/dist/chunks/{event-logger-kfvrqrnd.js → wellknown-yxnn9e9b.js} +25 -25
- package/dist/chunks/{event-logger-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
- package/dist/chunks/{event-logger-nvxqht09.js → wellknown-zb5gs1ba.js} +3 -3
- package/dist/chunks/{event-logger-mfp9msn1.js → wellknown-zftkkf2m.js} +47 -47
- package/dist/chunks/{event-logger-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
- package/dist/chunks/{event-logger-kqdytwcc.js → wellknown-zqtsax9d.js} +22 -22
- package/dist/chunks/{event-logger-td0tf8cx.js → wellknown-zrz12vnv.js} +11 -11
- package/dist/chunks/{event-logger-g179cxj4.js → wellknown-zyz0cj63.js} +51 -51
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +7 -7
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +109 -109
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- 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 +128 -128
- 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 +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +91 -91
- package/dist/database/database.js +78 -78
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +90 -90
- 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 +101 -101
- 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 +12 -0
- package/dist/image/photon-worker.js +19 -0
- package/dist/image/photon.js +124 -110
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +138 -138
- 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 +113 -113
- package/dist/mcp/instructions.js +168 -168
- 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 +101 -101
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev.js +111 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +3 -3
- 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 +121 -121
- 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 +106 -106
- 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 +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +117 -117
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- 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 +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- 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 +162 -162
- 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 +132 -130
- package/dist/session/inbox.js +136 -136
- 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 -134
- 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 +1 -1
- 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 +5 -5
- package/dist/session/session.js +172 -172
- 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 +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +97 -97
- 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 +167 -167
- 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 +156 -156
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +143 -143
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +145 -145
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +156 -156
- 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/image/photon-normalize.d.ts +28 -0
- package/dist/types/image/photon-worker.d.ts +12 -0
- package/dist/types/image/photon.d.ts +14 -4
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +11 -8
- package/dist/types/session/history.d.ts +410 -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 +6 -6
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- 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 +108 -108
- package/package.json +8 -8
- package/dist/chunks/event-logger-4my81qaj.js +0 -18
- package/dist/chunks/event-logger-7q08zbzq.js +0 -26
- package/dist/chunks/event-logger-cfbx046s.js +0 -257
- /package/dist/chunks/{event-logger-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4m86bj6y.js → wellknown-4m86bj6y.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
- /package/dist/chunks/{event-logger-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a058387c.js → wellknown-a058387c.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./wellknown-hrtx3eh0.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node78,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service75 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer27 = Layer.effect(Service75, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service75.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node78 = makeLocationNode({ service: Service75, layer: layer27, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer27, node78, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./wellknown-xqdzg0d1.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./wellknown-hx65ke5p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
18
|
Input: () => Input7,
|
|
19
19
|
Output: () => Output5,
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
20
|
+
Plugin: () => Plugin25,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description4,
|
|
23
23
|
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
@@ -35,7 +35,7 @@ var Output5 = Schema.Struct({
|
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,16 +43,16 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin25 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service38;
|
|
51
|
+
const permission = yield* Service66;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
55
|
+
description: description4,
|
|
56
56
|
input: Input7,
|
|
57
57
|
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -79,4 +79,4 @@ var Plugin41 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name7, Input7, Output5,
|
|
82
|
+
export { name7, Input7, Output5, description4, toModelOutput2, Plugin25, exports_skill2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./wellknown-c0kyf5dr.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9y8xp722.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node79
|
|
4
|
+
} from "./wellknown-xfap1w58.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-204s3925.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service15 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service76;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service15.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node17 = makeLocationNode({
|
|
91
|
+
service: Service15,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node79, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service15, node17, exports_formatter2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Document2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-pcc6rjnf.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-z38nccrw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/managed-policy.ts
|
|
12
12
|
var exports_managed_policy = {};
|
|
13
13
|
__export(exports_managed_policy, {
|
|
14
14
|
ManagedPolicy: () => exports_managed_policy,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service43,
|
|
16
16
|
decision: () => decision2,
|
|
17
|
-
layer: () =>
|
|
18
|
-
node: () =>
|
|
17
|
+
layer: () => layer20,
|
|
18
|
+
node: () => node46,
|
|
19
19
|
statements: () => statements3
|
|
20
20
|
});
|
|
21
21
|
import { isDeepStrictEqual } from "node:util";
|
|
22
22
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
23
23
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class Service43 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var layer20 = Layer.effect(Service43, Effect.gen(function* () {
|
|
28
28
|
const changes = yield* PubSub.unbounded();
|
|
29
29
|
const state = { current: { statements: [] } };
|
|
30
|
-
return
|
|
30
|
+
return Service43.of({
|
|
31
31
|
changes: () => Stream.fromPubSub(changes),
|
|
32
32
|
current: () => state.current,
|
|
33
33
|
set: (next) => Effect.gen(function* () {
|
|
@@ -39,7 +39,7 @@ var layer29 = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
}));
|
|
42
|
-
var
|
|
42
|
+
var node46 = makeGlobalNode({ service: Service43, layer: layer20, deps: [] });
|
|
43
43
|
function statements3(entries, organization) {
|
|
44
44
|
return [
|
|
45
45
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => (entry.info.policies ?? []).map((policy) => ({
|
|
@@ -56,4 +56,4 @@ function decision2(policies, action, resource) {
|
|
|
56
56
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { Service43, layer20, node46, statements3, decision2, exports_managed_policy };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-w8xr7nv8.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./wellknown-xfap1w58.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./wellknown-sbtgcdj5.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./wellknown-7sxvebxe.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-xqctgmq0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service66
|
|
26
|
+
} from "./wellknown-xqdzg0d1.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./wellknown-xqf52ny9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output3,
|
|
40
|
+
Plugin: () => Plugin20,
|
|
41
|
+
name: () => name4,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name4 = "grep";
|
|
48
|
+
var Input4 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output3 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin20 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service63;
|
|
90
|
+
const ripgrep = yield* Service46;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service65;
|
|
93
|
+
const permission = yield* Service66;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name4,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input4,
|
|
99
|
+
output: Output3,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name4,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin44 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin44 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name4, Input4, Output3, toModelContent2, Plugin20, exports_grep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service81,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node85
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service81 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service81.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node85 = makeLocationNode({
|
|
143
|
+
service: Service81,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service81, node85, exports_tool_output2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-zqtsax9d.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin11
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin11 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin17 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID10.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID10.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin17 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin11, exports_agent };
|