@opencode/core 0.0.0-dev-441 → 0.0.0-dev-442
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +84 -84
- package/dist/chunks/{schedule-210kksh7.js → repository-cache-031xjkpy.js} +5 -5
- package/dist/chunks/{schedule-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{schedule-4zhrkvyz.js → repository-cache-0bx5gdyx.js} +23 -23
- package/dist/chunks/{schedule-www29beh.js → repository-cache-0fn91hv4.js} +17 -17
- package/dist/chunks/{schedule-m9jmfskj.js → repository-cache-0gyzmnp3.js} +5 -5
- package/dist/chunks/{schedule-nad7d846.js → repository-cache-0hgar71m.js} +16 -16
- package/dist/chunks/{schedule-kjnhtm31.js → repository-cache-0j3vgrzm.js} +3 -3
- package/dist/chunks/{schedule-0j7gp832.js → repository-cache-0j7gp832.js} +1 -1
- package/dist/chunks/{schedule-abdbzgwx.js → repository-cache-0jk5z70p.js} +17 -17
- package/dist/chunks/{schedule-0ma9gw4f.js → repository-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schedule-qwgvasyt.js → repository-cache-0mfja933.js} +42 -42
- package/dist/chunks/{schedule-t8fyvne4.js → repository-cache-0x0dw6ca.js} +16 -16
- package/dist/chunks/{schedule-bf5bet85.js → repository-cache-11zs7ceg.js} +50 -50
- package/dist/chunks/{schedule-bqh72q7g.js → repository-cache-12fg3f5q.js} +9 -9
- package/dist/chunks/{schedule-pcbn6hk9.js → repository-cache-175211nj.js} +25 -25
- package/dist/chunks/{schedule-gmh6y3n9.js → repository-cache-1ap8nk4y.js} +27 -27
- package/dist/chunks/{schedule-1aqsckx4.js → repository-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{schedule-a9w0rrwy.js → repository-cache-1atc1ew8.js} +30 -30
- package/dist/chunks/{schedule-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{schedule-xb4qt8jq.js → repository-cache-1pk9kqsa.js} +12 -12
- package/dist/chunks/{schedule-mdc7971h.js → repository-cache-1sg5dvqw.js} +5 -5
- package/dist/chunks/{schedule-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{schedule-nhnzk8py.js → repository-cache-1xj78a1d.js} +38 -38
- package/dist/chunks/{schedule-1yq9hg58.js → repository-cache-1yq9hg58.js} +1 -1
- package/dist/chunks/{schedule-mxb9qeqc.js → repository-cache-21evxy92.js} +8 -8
- package/dist/chunks/{schedule-wmv27f9c.js → repository-cache-22hcmjv3.js} +5 -5
- package/dist/chunks/{schedule-ydx4766v.js → repository-cache-289tt5w7.js} +10 -10
- package/dist/chunks/{schedule-a3fn0gmm.js → repository-cache-2c6sxtb9.js} +2 -2
- package/dist/chunks/{schedule-smcbfchz.js → repository-cache-2gw5j43h.js} +9 -9
- package/dist/chunks/{schedule-d7f3x0n0.js → repository-cache-2jf9w73g.js} +12 -12
- package/dist/chunks/{schedule-d6deebkd.js → repository-cache-2p2ngww5.js} +9 -9
- package/dist/chunks/{schedule-s5543ghc.js → repository-cache-2sqajb4m.js} +37 -37
- package/dist/chunks/{schedule-2eqk5m5a.js → repository-cache-35edbg34.js} +35 -35
- package/dist/chunks/{schedule-2n444ktb.js → repository-cache-3beq3wdw.js} +3 -3
- package/dist/chunks/{schedule-1bg4r3hw.js → repository-cache-3dbnmnyb.js} +189 -189
- package/dist/chunks/{schedule-5r72z9dp.js → repository-cache-3dempbt2.js} +8 -8
- package/dist/chunks/{schedule-gbxm83gj.js → repository-cache-3e73c9p6.js} +10 -10
- package/dist/chunks/{schedule-tk98pk46.js → repository-cache-3fsaky9c.js} +13 -13
- package/dist/chunks/{schedule-vv9xmzba.js → repository-cache-3g08hg2f.js} +25 -25
- package/dist/chunks/{schedule-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{schedule-qpf6jsbn.js → repository-cache-3hns5yw3.js} +39 -39
- package/dist/chunks/{schedule-tmc7xdjs.js → repository-cache-3nnrz6f6.js} +4 -4
- package/dist/chunks/{schedule-davndzfb.js → repository-cache-3s9d6j15.js} +5 -5
- package/dist/chunks/{schedule-q83zzbw5.js → repository-cache-3xwqryxq.js} +21 -21
- package/dist/chunks/{schedule-40y6dtc2.js → repository-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{schedule-f6rfbrxb.js → repository-cache-49fetqk2.js} +27 -27
- package/dist/chunks/{schedule-yk56hgyq.js → repository-cache-49rfwdh8.js} +41 -41
- package/dist/chunks/{schedule-994b2pxg.js → repository-cache-4dg124c5.js} +5 -5
- package/dist/chunks/{schedule-4dx1dgte.js → repository-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{schedule-4f25tdd0.js → repository-cache-4f25tdd0.js} +1 -1
- package/dist/chunks/{schedule-bhjkcg1a.js → repository-cache-4fhmhmr6.js} +31 -31
- package/dist/chunks/{schedule-zfyb5tr4.js → repository-cache-4pw98qd4.js} +4 -4
- package/dist/chunks/{schedule-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schedule-3998a6y7.js → repository-cache-4rx7jpwk.js} +23 -23
- package/dist/chunks/{schedule-1v2g13eq.js → repository-cache-4tnarq1t.js} +6 -6
- package/dist/chunks/{schedule-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{schedule-76psq9ch.js → repository-cache-4w17k448.js} +9 -9
- package/dist/chunks/{schedule-h7xsmcmt.js → repository-cache-4x5tmy1n.js} +9 -9
- package/dist/chunks/{schedule-x2dxyzwr.js → repository-cache-52gwzjjv.js} +13 -13
- package/dist/chunks/{schedule-b24h9m2n.js → repository-cache-58jqnd8c.js} +16 -16
- package/dist/chunks/{schedule-10gpag7j.js → repository-cache-5ajs5fv3.js} +17 -17
- package/dist/chunks/{schedule-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{schedule-b6vsg801.js → repository-cache-5nnwax6m.js} +5 -5
- package/dist/chunks/{schedule-031v461f.js → repository-cache-5wzzagzn.js} +43 -43
- package/dist/chunks/{schedule-jmy7x98p.js → repository-cache-602q2zhr.js} +7 -7
- package/dist/chunks/{schedule-xkw719cc.js → repository-cache-67xca3db.js} +7 -7
- package/dist/chunks/{schedule-has70nm0.js → repository-cache-68hqcxr6.js} +15 -15
- package/dist/chunks/{schedule-99cv5jgz.js → repository-cache-6cbzbqkd.js} +9 -9
- package/dist/chunks/{schedule-gx16d8rj.js → repository-cache-6f6jm3cp.js} +8 -8
- package/dist/chunks/{schedule-cqj8fh1w.js → repository-cache-6qk1bgz2.js} +11 -11
- package/dist/chunks/{schedule-wzvh1wwx.js → repository-cache-6wjqvx4f.js} +18 -18
- package/dist/chunks/{schedule-ek1c7vmb.js → repository-cache-6x15x9ww.js} +5 -5
- package/dist/chunks/{schedule-c32zfq3f.js → repository-cache-6x9fp5f4.js} +8 -8
- package/dist/chunks/{schedule-76cb1hcw.js → repository-cache-76cb1hcw.js} +1 -1
- package/dist/chunks/{schedule-775hqbnd.js → repository-cache-775hqbnd.js} +3 -3
- package/dist/chunks/{schedule-9zwexsxs.js → repository-cache-78p2h4ex.js} +5 -5
- package/dist/chunks/{schedule-6tp3msdp.js → repository-cache-7amawddc.js} +12 -12
- package/dist/chunks/{schedule-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{schedule-7kr66rt3.js → repository-cache-7kr66rt3.js} +1 -1
- package/dist/chunks/{schedule-znjfpv5m.js → repository-cache-7nqkf5r1.js} +8 -8
- package/dist/chunks/{schedule-ndtv3991.js → repository-cache-7rrfv9s3.js} +15 -15
- package/dist/chunks/{schedule-pke1afb8.js → repository-cache-7vgs2abw.js} +19 -19
- package/dist/chunks/{schedule-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schedule-7weczvnd.js → repository-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{schedule-g5rwz51b.js → repository-cache-82q75xp6.js} +9 -9
- package/dist/chunks/{schedule-89287pr7.js → repository-cache-89287pr7.js} +1 -1
- package/dist/chunks/{schedule-zk88fp94.js → repository-cache-89hwzfe6.js} +21 -21
- package/dist/chunks/{schedule-n65wwnc7.js → repository-cache-8azmfwdk.js} +33 -33
- package/dist/chunks/{schedule-8b3vzgkx.js → repository-cache-8b3vzgkx.js} +1 -1
- package/dist/chunks/{schedule-d3jk5m5x.js → repository-cache-8et7qpna.js} +9 -9
- package/dist/chunks/{schedule-gn2xtm10.js → repository-cache-8nf6shhp.js} +8 -8
- package/dist/chunks/{schedule-wfs84ra6.js → repository-cache-8t99kr38.js} +4 -4
- package/dist/chunks/{schedule-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schedule-67wwskyb.js → repository-cache-8xz27cp9.js} +4 -4
- package/dist/chunks/{schedule-yxerrbbs.js → repository-cache-9010571t.js} +9 -9
- package/dist/chunks/{schedule-sf9y72b7.js → repository-cache-90ct6wq4.js} +4 -4
- package/dist/chunks/{schedule-90zstvax.js → repository-cache-90zstvax.js} +1 -1
- package/dist/chunks/{schedule-94s5f2xb.js → repository-cache-94s5f2xb.js} +1 -1
- package/dist/chunks/{schedule-1secx2c3.js → repository-cache-96137s5q.js} +3 -3
- package/dist/chunks/{schedule-fay42zvv.js → repository-cache-9987b4hv.js} +31 -31
- package/dist/chunks/{schedule-xe9nn3x6.js → repository-cache-9ha9v93m.js} +30 -30
- package/dist/chunks/{schedule-0hjw2jvk.js → repository-cache-9mm8k45w.js} +16 -16
- package/dist/chunks/{schedule-by7bde5d.js → repository-cache-9y98b3v5.js} +4 -4
- package/dist/chunks/{schedule-963hk181.js → repository-cache-a0fq0pbv.js} +9 -9
- package/dist/chunks/{schedule-q71zqt92.js → repository-cache-a52zaz86.js} +23 -23
- package/dist/chunks/{schedule-9xfenctw.js → repository-cache-a5e3yv5v.js} +30 -30
- package/dist/chunks/{schedule-13zz4sak.js → repository-cache-a8vh61nm.js} +3 -3
- package/dist/chunks/{schedule-2p60zmnr.js → repository-cache-ad21tgm2.js} +4 -4
- package/dist/chunks/{schedule-k180xw9a.js → repository-cache-ad76pa0e.js} +5 -5
- package/dist/chunks/{schedule-fgdfnqzv.js → repository-cache-ag06drps.js} +8 -8
- package/dist/chunks/{schedule-5rm6rr7t.js → repository-cache-anaenpns.js} +15 -15
- package/dist/chunks/repository-cache-awcrk201.js +261 -0
- package/dist/chunks/{schedule-w9d9r32z.js → repository-cache-awzfe97c.js} +5 -5
- package/dist/chunks/{schedule-wfz5s27d.js → repository-cache-ax1ejevv.js} +26 -26
- package/dist/chunks/{schedule-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{schedule-4d2dtj2f.js → repository-cache-b2armg7w.js} +4 -4
- package/dist/chunks/{schedule-s4zdxzwj.js → repository-cache-b9tgh6dx.js} +38 -38
- package/dist/chunks/{schedule-bvt4j8sd.js → repository-cache-bbn0gsv3.js} +34 -34
- package/dist/chunks/{schedule-3ctyjv4j.js → repository-cache-bcwyzmh3.js} +9 -9
- package/dist/chunks/{schedule-k47b3aer.js → repository-cache-be5kz4xp.js} +23 -23
- package/dist/chunks/{schedule-5n0rnk8e.js → repository-cache-bhfd478d.js} +4 -4
- package/dist/chunks/{schedule-kxn9ncen.js → repository-cache-bjnwfd5d.js} +37 -37
- package/dist/chunks/{schedule-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{schedule-cmw6ww51.js → repository-cache-bz6hdee9.js} +8 -8
- package/dist/chunks/{schedule-gdr32yjm.js → repository-cache-c32j6rj9.js} +11 -11
- package/dist/chunks/{schedule-e1k8zgvb.js → repository-cache-c3ce7cxf.js} +3 -3
- package/dist/chunks/{schedule-wkds32sp.js → repository-cache-c3drhxjj.js} +60 -60
- package/dist/chunks/{schedule-5armcbd9.js → repository-cache-cawz4cxe.js} +19 -19
- package/dist/chunks/{schedule-cqeqkxfz.js → repository-cache-cb6pr36r.js} +25 -25
- package/dist/chunks/{schedule-vj50rhab.js → repository-cache-cf3f13z6.js} +8 -8
- package/dist/chunks/{schedule-8n09hdvs.js → repository-cache-crfddmzc.js} +8 -8
- package/dist/chunks/{schedule-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{schedule-mb3q0g6h.js → repository-cache-cx61cqrc.js} +12 -12
- package/dist/chunks/{schedule-jyq0d5fh.js → repository-cache-cxz2fhw5.js} +5 -5
- package/dist/chunks/{schedule-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{schedule-gbrh3cex.js → repository-cache-d5rganww.js} +20 -20
- package/dist/chunks/{schedule-fdrb24na.js → repository-cache-dgvyj81v.js} +25 -25
- package/dist/chunks/{schedule-9rxesr7y.js → repository-cache-dqhrmf7j.js} +11 -11
- package/dist/chunks/{schedule-dt77769w.js → repository-cache-dt77769w.js} +1 -1
- package/dist/chunks/{schedule-9sy1j1hj.js → repository-cache-dv96216k.js} +4 -4
- package/dist/chunks/{schedule-w0xt7aqv.js → repository-cache-e049sp69.js} +24 -24
- package/dist/chunks/{schedule-vmm6nhfe.js → repository-cache-e1bmcdag.js} +4 -4
- package/dist/chunks/{schedule-mk5d9jrq.js → repository-cache-e2pvbaw5.js} +5 -5
- package/dist/chunks/{schedule-80hwxht0.js → repository-cache-e32ybkv4.js} +24 -24
- package/dist/chunks/{schedule-2y36xex9.js → repository-cache-e5jpawtk.js} +4 -4
- package/dist/chunks/{schedule-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{schedule-maxmjtjv.js → repository-cache-eccy49gq.js} +19 -19
- package/dist/chunks/{schedule-r9h5xnav.js → repository-cache-ega415az.js} +6 -6
- package/dist/chunks/{schedule-q0zqakrv.js → repository-cache-ekyq4vzh.js} +23 -23
- package/dist/chunks/{schedule-en0rezkv.js → repository-cache-epxy24xv.js} +2 -2
- package/dist/chunks/{schedule-eqw4pqj1.js → repository-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schedule-m4yf5w44.js → repository-cache-est5w5t7.js} +4 -4
- package/dist/chunks/{schedule-h3vwmnj4.js → repository-cache-eyx805n4.js} +3 -3
- package/dist/chunks/{schedule-5v8wg8mh.js → repository-cache-f59g66b7.js} +26 -26
- package/dist/chunks/repository-cache-f8ma18fn.js +18 -0
- package/dist/chunks/{schedule-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{schedule-emjk3n4s.js → repository-cache-fg0mp2nh.js} +9 -9
- package/dist/chunks/{schedule-fg9p65nk.js → repository-cache-fg9p65nk.js} +2 -2
- package/dist/chunks/{schedule-xgj4r1bf.js → repository-cache-fhczekzs.js} +21 -21
- package/dist/chunks/{schedule-1zap1kew.js → repository-cache-fn5v6rn7.js} +55 -55
- package/dist/chunks/{schedule-06vcw4b5.js → repository-cache-fttgx5bx.js} +4 -4
- package/dist/chunks/{schedule-63n3abmv.js → repository-cache-fxq8aqd2.js} +8 -8
- package/dist/chunks/{schedule-xy2adanr.js → repository-cache-g1kn1j67.js} +11 -11
- package/dist/chunks/{schedule-70ejrwbw.js → repository-cache-g8tbqp6f.js} +22 -22
- package/dist/chunks/{schedule-gbjdnr5j.js → repository-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schedule-b96eq4h5.js → repository-cache-gbkhbwft.js} +20 -20
- package/dist/chunks/{schedule-1ne77b87.js → repository-cache-ghs03ebf.js} +33 -33
- package/dist/chunks/{schedule-98bek068.js → repository-cache-gkkfeabc.js} +48 -48
- package/dist/chunks/{schedule-ecrt3smg.js → repository-cache-gtwncx8g.js} +22 -22
- package/dist/chunks/{schedule-4m6g1g4q.js → repository-cache-gyg1jafw.js} +4 -4
- package/dist/chunks/{schedule-1q04j1fc.js → repository-cache-h060p2hk.js} +41 -41
- package/dist/chunks/repository-cache-h2qmm28k.js +555 -0
- package/dist/chunks/{schedule-51aqv0vv.js → repository-cache-h4681ke1.js} +17 -17
- package/dist/chunks/{schedule-1gv95trs.js → repository-cache-hdcneay5.js} +31 -31
- package/dist/chunks/{schedule-h4f455mw.js → repository-cache-hfksw2yx.js} +9 -9
- package/dist/chunks/{schedule-t0vc6kgy.js → repository-cache-hjab8tmw.js} +13 -13
- package/dist/chunks/{schedule-ascavz3v.js → repository-cache-hnqwc8w0.js} +49 -49
- package/dist/chunks/{schedule-hpg1pkwy.js → repository-cache-hpg1pkwy.js} +1 -1
- package/dist/chunks/{schedule-d2dt6bgk.js → repository-cache-hsnq1va6.js} +5 -5
- package/dist/chunks/{schedule-j12we1p0.js → repository-cache-hv10taw4.js} +3 -3
- package/dist/chunks/{schedule-tg1vr1qt.js → repository-cache-hy8c1z76.js} +8 -8
- package/dist/chunks/{schedule-pgnkn7tb.js → repository-cache-j3qkssg1.js} +25 -25
- package/dist/chunks/{schedule-j9nxzz3g.js → repository-cache-j9nxzz3g.js} +3 -3
- package/dist/chunks/{schedule-b1w7ct0q.js → repository-cache-jd51mnhp.js} +9 -9
- package/dist/chunks/{schedule-6psy0mbk.js → repository-cache-jfphy7h7.js} +13 -13
- package/dist/chunks/{schedule-fcjbsw62.js → repository-cache-jh6r09h5.js} +8 -8
- package/dist/chunks/{schedule-tr8x705m.js → repository-cache-jht64jd1.js} +4 -4
- package/dist/chunks/{schedule-qaebf4ck.js → repository-cache-jkjd442p.js} +12 -12
- package/dist/chunks/{schedule-8ggwx4ng.js → repository-cache-jm6whcwz.js} +35 -35
- package/dist/chunks/{schedule-rxr1c6ta.js → repository-cache-jmg7y0j6.js} +9 -9
- package/dist/chunks/{schedule-01sxc1c2.js → repository-cache-jqsw4n81.js} +5 -5
- package/dist/chunks/{schedule-jtnps1zs.js → repository-cache-jtnps1zs.js} +2 -2
- package/dist/chunks/{schedule-v4y3dkyz.js → repository-cache-jvkzgxpb.js} +5 -5
- package/dist/chunks/{schedule-jmsjmdyt.js → repository-cache-k7j4356s.js} +2 -2
- package/dist/chunks/{schedule-r9t5nned.js → repository-cache-ke9ajvg5.js} +80 -80
- package/dist/chunks/{schedule-20pht57w.js → repository-cache-kj9n5bvh.js} +4 -4
- package/dist/chunks/{schedule-kt3bjfbg.js → repository-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{schedule-7qew2xaz.js → repository-cache-kwzdg89x.js} +18 -18
- package/dist/chunks/{schedule-kzczzf4v.js → repository-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{schedule-qzm6q9ch.js → repository-cache-m15ha2ry.js} +6 -6
- package/dist/chunks/{schedule-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{schedule-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schedule-ewbb18av.js → repository-cache-mavfbhde.js} +4 -4
- package/dist/chunks/{schedule-mb7mbhnz.js → repository-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/{schedule-xp3a74v8.js → repository-cache-men5760m.js} +6 -6
- package/dist/chunks/{schedule-b20sf6wj.js → repository-cache-mfp0246b.js} +16 -16
- package/dist/chunks/{schedule-y49rc03a.js → repository-cache-msw5c1mm.js} +10 -10
- package/dist/chunks/{schedule-qp491jkj.js → repository-cache-mvb2pkyv.js} +6 -6
- package/dist/chunks/{schedule-3vecj156.js → repository-cache-mwh0kypr.js} +27 -27
- package/dist/chunks/{schedule-rhs4knkc.js → repository-cache-mza2f58d.js} +27 -27
- package/dist/chunks/{schedule-mrnv70p0.js → repository-cache-n4de5rt9.js} +12 -12
- package/dist/chunks/{schedule-szwm4crx.js → repository-cache-n4z1q12f.js} +7 -7
- package/dist/chunks/{schedule-84vd3b8c.js → repository-cache-n5aej1f0.js} +25 -25
- package/dist/chunks/{schedule-r6mw0m5n.js → repository-cache-n83rrxve.js} +9 -9
- package/dist/chunks/{schedule-d0w07xnf.js → repository-cache-nbc9912s.js} +18 -18
- package/dist/chunks/{schedule-gw130rn3.js → repository-cache-nbvtxs6e.js} +59 -59
- package/dist/chunks/{schedule-1vbrkdbs.js → repository-cache-nt907s04.js} +3 -3
- package/dist/chunks/{schedule-n58c5m30.js → repository-cache-nwadgmv1.js} +35 -35
- package/dist/chunks/{schedule-3dvqzjwt.js → repository-cache-nzd0ryw2.js} +8 -8
- package/dist/chunks/{schedule-ytaj1bwv.js → repository-cache-p7xbj0p1.js} +39 -39
- package/dist/chunks/{schedule-q7t7hcqw.js → repository-cache-p8x08v0y.js} +25 -25
- package/dist/chunks/{schedule-kh0hrg97.js → repository-cache-p9j2z5m0.js} +4 -4
- package/dist/chunks/{schedule-0x06ahdk.js → repository-cache-paq6k2z6.js} +33 -33
- package/dist/chunks/{schedule-t5zcwenm.js → repository-cache-pc7cxy0a.js} +19 -19
- package/dist/chunks/{schedule-89jq9efe.js → repository-cache-pd4m7bts.js} +9 -9
- package/dist/chunks/{schedule-3n6sppyf.js → repository-cache-pefks0an.js} +11 -11
- package/dist/chunks/{schedule-k1mw80j2.js → repository-cache-pfv09rma.js} +15 -15
- package/dist/chunks/{schedule-qnngcjfd.js → repository-cache-pfwm222d.js} +12 -12
- package/dist/chunks/{schedule-vxy5y3ra.js → repository-cache-pjexw8hq.js} +13 -13
- package/dist/chunks/{schedule-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{schedule-bm4je7z5.js → repository-cache-prdpr5kc.js} +18 -18
- package/dist/chunks/{schedule-af94xm4j.js → repository-cache-pwpvfwx2.js} +12 -12
- package/dist/chunks/{schedule-rj7j5fvs.js → repository-cache-px7qpgcn.js} +4 -4
- package/dist/chunks/{schedule-5hjhhr3b.js → repository-cache-pzqn12hg.js} +15 -15
- package/dist/chunks/{schedule-0d3d8hy9.js → repository-cache-pzx81v4b.js} +14 -14
- package/dist/chunks/{schedule-vmqv3h6v.js → repository-cache-q42sg809.js} +1 -1
- package/dist/chunks/{schedule-j6spcttk.js → repository-cache-q4m8323c.js} +3 -3
- package/dist/chunks/{schedule-cg3fcpn4.js → repository-cache-q85rya1m.js} +6 -6
- package/dist/chunks/{schedule-k5wr2hgf.js → repository-cache-qf05fjbm.js} +9 -9
- package/dist/chunks/{schedule-kv1wfkpb.js → repository-cache-qk4mrd8m.js} +4 -4
- package/dist/chunks/{schedule-cxab28sr.js → repository-cache-qk5sk9d1.js} +7 -7
- package/dist/chunks/{schedule-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schedule-qqvy8y24.js → repository-cache-qqvy8y24.js} +1 -1
- package/dist/chunks/{schedule-k3cx6fhe.js → repository-cache-qsdghx1p.js} +4 -4
- package/dist/chunks/{schedule-k9te3kme.js → repository-cache-qsv15wez.js} +2 -2
- package/dist/chunks/{schedule-9wgatn2m.js → repository-cache-qt2z3a0z.js} +7 -7
- package/dist/chunks/{schedule-c74fbv1h.js → repository-cache-qtwp1x96.js} +53 -53
- package/dist/chunks/{schedule-2d24yvwd.js → repository-cache-qxga34ac.js} +24 -24
- package/dist/chunks/{schedule-416gdacp.js → repository-cache-qz95d27t.js} +11 -11
- package/dist/chunks/{schedule-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schedule-csyyvrsf.js → repository-cache-rbsynrdk.js} +14 -14
- package/dist/chunks/{schedule-8wjgamp7.js → repository-cache-rmv7fhs4.js} +3 -3
- package/dist/chunks/{schedule-mjq0nrzq.js → repository-cache-rnsjpp0v.js} +13 -13
- package/dist/chunks/{schedule-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schedule-ketv7psn.js → repository-cache-rwf8drt1.js} +19 -19
- package/dist/chunks/{schedule-gdya4zsd.js → repository-cache-rx1f5s7v.js} +31 -31
- package/dist/chunks/{schedule-jfg5976e.js → repository-cache-rz8thg42.js} +12 -12
- package/dist/chunks/{schedule-8c8c2j5c.js → repository-cache-s42kcc5g.js} +15 -15
- package/dist/chunks/{schedule-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{schedule-sbya78hr.js → repository-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{schedule-sbz71ybr.js → repository-cache-sbz71ybr.js} +1 -1
- package/dist/chunks/{schedule-w2jvxzh2.js → repository-cache-sm3wp3c9.js} +21 -21
- package/dist/chunks/{schedule-8pbb7m0g.js → repository-cache-sr4yt9k3.js} +94 -94
- package/dist/chunks/{schedule-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{schedule-kxkcv8v8.js → repository-cache-t31x65z6.js} +25 -25
- package/dist/chunks/{schedule-ez10cxs1.js → repository-cache-t3zzabwd.js} +42 -42
- package/dist/chunks/{schedule-tes4hjen.js → repository-cache-t4r86xne.js} +14 -14
- package/dist/chunks/{schedule-jjvvtnfs.js → repository-cache-tb2mrvc9.js} +4 -4
- package/dist/chunks/{schedule-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{schedule-gxs71cxp.js → repository-cache-tg7s7b5t.js} +4 -4
- package/dist/chunks/{schedule-113z62hj.js → repository-cache-tp6jxtjv.js} +23 -23
- package/dist/chunks/{schedule-44pmzq9c.js → repository-cache-twhtcdx9.js} +4 -4
- package/dist/chunks/{schedule-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{schedule-b75a45na.js → repository-cache-v1evv7rr.js} +6 -6
- package/dist/chunks/{schedule-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schedule-davrv7xv.js → repository-cache-v5bt1qpq.js} +12 -12
- package/dist/chunks/{schedule-3vdamyc5.js → repository-cache-vb8z5b0v.js} +3 -3
- package/dist/chunks/{schedule-th2hp9ev.js → repository-cache-ve6517wg.js} +12 -12
- package/dist/chunks/{schedule-8psx20g1.js → repository-cache-vgt9qsck.js} +28 -28
- package/dist/chunks/{schedule-vjf35v1f.js → repository-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{schedule-wjty9ek0.js → repository-cache-vk84a1qz.js} +12 -12
- package/dist/chunks/{schedule-zy8k6m6a.js → repository-cache-vn5mpp1y.js} +4 -4
- package/dist/chunks/{schedule-p94jkj0v.js → repository-cache-vpwbrwqk.js} +37 -37
- package/dist/chunks/{schedule-gcjdgkn2.js → repository-cache-vrcsa8qx.js} +9 -9
- package/dist/chunks/{schedule-w76xjer3.js → repository-cache-vsnnaxjq.js} +4 -4
- package/dist/chunks/{schedule-ctmpqb7w.js → repository-cache-vt4r9rmy.js} +9 -9
- package/dist/chunks/{schedule-cdav2cc3.js → repository-cache-vt801hez.js} +27 -27
- package/dist/chunks/{schedule-pkbsjnm6.js → repository-cache-vwj0z6sg.js} +20 -20
- package/dist/chunks/{schedule-40za9wsf.js → repository-cache-w2eysc6j.js} +9 -9
- package/dist/chunks/{schedule-zry64jdm.js → repository-cache-w3r8pvyd.js} +19 -19
- package/dist/chunks/{schedule-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schedule-mf63ygpr.js → repository-cache-w79nt68w.js} +4 -4
- package/dist/chunks/{schedule-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{schedule-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{schedule-wegkxhrn.js → repository-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/{schedule-r8z9p50t.js → repository-cache-wjbv9knt.js} +11 -11
- package/dist/chunks/{schedule-wnhgecwx.js → repository-cache-wnhgecwx.js} +1 -1
- package/dist/chunks/{schedule-45k8x0j7.js → repository-cache-wpfagg7q.js} +31 -31
- package/dist/chunks/{schedule-wr3re1en.js → repository-cache-wr3re1en.js} +1 -1
- package/dist/chunks/{schedule-2fnyvvtx.js → repository-cache-wtr3736h.js} +13 -13
- package/dist/chunks/{schedule-czwy3yzx.js → repository-cache-wvr8xscb.js} +7 -7
- package/dist/chunks/{schedule-bddar9nr.js → repository-cache-wwy9zr36.js} +12 -12
- package/dist/chunks/{schedule-bj8c5p8x.js → repository-cache-x3h2bqkh.js} +30 -30
- package/dist/chunks/{schedule-84tn0vzt.js → repository-cache-x9v0acas.js} +14 -14
- package/dist/chunks/{schedule-q7fea9e6.js → repository-cache-xbnjv5gq.js} +20 -20
- package/dist/chunks/{schedule-vha0vcxd.js → repository-cache-xh3hzwmr.js} +20 -20
- package/dist/chunks/{schedule-v1v31pdt.js → repository-cache-xhtv64v8.js} +4 -4
- package/dist/chunks/{schedule-wws03c5r.js → repository-cache-xk2zn0cv.js} +4 -4
- package/dist/chunks/{schedule-4738wsj6.js → repository-cache-xkgrgrva.js} +39 -39
- package/dist/chunks/{schedule-xmx7xj34.js → repository-cache-xmx7xj34.js} +1 -1
- package/dist/chunks/{schedule-wdwwge8f.js → repository-cache-xq55bs10.js} +72 -72
- package/dist/chunks/{schedule-xfd0ygfg.js → repository-cache-xy38xmvm.js} +9 -9
- package/dist/chunks/{schedule-0ct3yfb1.js → repository-cache-xyxz2bdy.js} +6 -6
- package/dist/chunks/{schedule-r8fqjz05.js → repository-cache-yav33qdh.js} +14 -14
- package/dist/chunks/{schedule-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{schedule-6pmcf34f.js → repository-cache-ybvsasn0.js} +14 -14
- package/dist/chunks/{schedule-eq7v6341.js → repository-cache-ydwj82v4.js} +4 -4
- package/dist/chunks/repository-cache-yk088mje.js +26 -0
- package/dist/chunks/{schedule-yr705xyq.js → repository-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{schedule-wpw14nns.js → repository-cache-yrsk760m.js} +32 -32
- package/dist/chunks/{schedule-yvtc2x31.js → repository-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{schedule-xwgsqwya.js → repository-cache-z75nd8wb.js} +10 -10
- package/dist/chunks/{schedule-qava8dj6.js → repository-cache-zcnch7vt.js} +11 -11
- package/dist/chunks/{schedule-k3ktg98z.js → repository-cache-zdnc43b0.js} +31 -31
- package/dist/chunks/{schedule-ap33hp5g.js → repository-cache-zernnfch.js} +13 -13
- package/dist/chunks/{schedule-8kns5qd9.js → repository-cache-zewg1mz5.js} +27 -27
- package/dist/chunks/{schedule-2eh70cjg.js → repository-cache-zez9874q.js} +5 -5
- package/dist/chunks/{schedule-zm27gg57.js → repository-cache-zm27gg57.js} +2 -2
- package/dist/chunks/{schedule-eatx07rf.js → repository-cache-zqbe7jzz.js} +5 -5
- package/dist/chunks/{schedule-g9jr218r.js → repository-cache-zqbv3gar.js} +17 -17
- package/dist/chunks/{schedule-530xg6vw.js → repository-cache-zqjd7nbm.js} +6 -6
- package/dist/chunks/{schedule-kbqcprvq.js → repository-cache-zz1fbq3g.js} +31 -31
- package/dist/chunks/{schedule-jazb0zrb.js → repository-cache-zzht5m2h.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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 +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +115 -115
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +106 -106
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +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 +421 -421
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +177 -177
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- 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 +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +241 -241
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -248
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +198 -198
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +160 -160
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +155 -155
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +101 -101
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/schedule-8x060fmy.js +0 -18
- package/dist/chunks/schedule-pdy7tv17.js +0 -555
- package/dist/chunks/schedule-qydez676.js +0 -261
- package/dist/chunks/schedule-zfqkkqqr.js +0 -26
- /package/dist/chunks/{schedule-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schedule-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schedule-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schedule-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schedule-1kah00gy.js → repository-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{schedule-1pevy3nx.js → repository-cache-1pevy3nx.js} +0 -0
- /package/dist/chunks/{schedule-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{schedule-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{schedule-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{schedule-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schedule-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{schedule-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{schedule-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schedule-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schedule-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schedule-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schedule-4qk9sjk2.js → repository-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schedule-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schedule-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schedule-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{schedule-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{schedule-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schedule-6agm2x70.js → repository-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{schedule-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{schedule-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schedule-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schedule-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{schedule-7stb81gk.js → repository-cache-7stb81gk.js} +0 -0
- /package/dist/chunks/{schedule-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{schedule-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{schedule-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schedule-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{schedule-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schedule-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schedule-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schedule-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schedule-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{schedule-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{schedule-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schedule-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schedule-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{schedule-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schedule-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schedule-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schedule-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schedule-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schedule-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{schedule-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schedule-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{schedule-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{schedule-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{schedule-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schedule-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schedule-ean2d8b5.js → repository-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schedule-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{schedule-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schedule-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schedule-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schedule-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schedule-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{schedule-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{schedule-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schedule-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schedule-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{schedule-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schedule-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{schedule-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schedule-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{schedule-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schedule-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schedule-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schedule-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schedule-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schedule-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schedule-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schedule-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{schedule-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{schedule-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schedule-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schedule-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schedule-nh4v3znn.js → repository-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schedule-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{schedule-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schedule-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schedule-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{schedule-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schedule-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schedule-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schedule-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schedule-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schedule-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schedule-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schedule-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schedule-syrav9an.js → repository-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{schedule-t03h4f5z.js → repository-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schedule-ty7weeps.js → repository-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{schedule-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schedule-vtarvj67.js → repository-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{schedule-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{schedule-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schedule-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schedule-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{schedule-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schedule-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{schedule-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{schedule-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{schedule-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schedule-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schedule-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./repository-cache-qxga34ac.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service89
|
|
12
|
+
} from "./repository-cache-yav33qdh.js";
|
|
13
13
|
import {
|
|
14
14
|
Service71
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-zz1fbq3g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service40,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-ekyq4vzh.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-cache-89287pr7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service52,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-nbc9912s.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError6,
|
|
32
|
+
Service43
|
|
33
|
+
} from "./repository-cache-gkkfeabc.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service22
|
|
36
|
+
} from "./repository-cache-sr4yt9k3.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-cache-e1bmcdag.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
45
|
var exports_shell2 = {};
|
|
46
46
|
__export(exports_shell2, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
48
|
+
Input: () => Input12,
|
|
49
|
+
Plugin: () => Plugin33,
|
|
50
50
|
ShellTool: () => exports_shell2,
|
|
51
|
-
name: () =>
|
|
51
|
+
name: () => name12
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name12 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input12 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -112,16 +112,16 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin33 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
|
-
const sessions = yield*
|
|
119
|
-
const jobs = yield*
|
|
118
|
+
const sessions = yield* Service22;
|
|
119
|
+
const jobs = yield* Service89;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
122
|
-
const access = yield*
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
121
|
+
const environment = yield* Service49;
|
|
122
|
+
const access = yield* Service40;
|
|
123
|
+
const shell = yield* Service43;
|
|
124
|
+
const shellSelect = yield* Service52;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
126
|
const permission = yield* Service71;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
@@ -141,7 +141,7 @@ var Plugin40 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name12,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin40 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name12,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input12,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin40 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name12,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name12];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin33, exports_shell2 };
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./repository-cache-n4de5rt9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node86
|
|
8
|
+
} from "./repository-cache-3e73c9p6.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
|
-
DisabledError: () =>
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
20
|
+
DisabledError: () => DisabledError3,
|
|
21
|
+
Event: () => Event4,
|
|
22
|
+
ID: () => ID6,
|
|
23
23
|
Input: () => Input15,
|
|
24
|
-
Provider: () =>
|
|
24
|
+
Provider: () => Provider2,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
26
|
-
ProviderNotFoundError: () =>
|
|
26
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
27
27
|
ProviderRequiredError: () => ProviderRequiredError2,
|
|
28
28
|
RequestError: () => RequestError2,
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service18,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node21
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
import { Event as Event4 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID6 = WebSearch.ID;
|
|
43
|
+
var Provider2 = WebSearch.Provider;
|
|
44
44
|
var Input15 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
54
|
-
providerID:
|
|
53
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
+
providerID: ID6
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
-
providerID:
|
|
62
|
+
providerID: ID6,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service18 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const bus = yield*
|
|
71
|
-
const kv = yield*
|
|
69
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
70
|
+
const bus = yield* Service88;
|
|
71
|
+
const kv = yield* Service83;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
95
95
|
});
|
|
96
96
|
const requireProvider = (providers, providerID) => {
|
|
97
97
|
const provider = providers.get(providerID);
|
|
98
|
-
return provider ? Effect.succeed(provider) : Effect.fail(new
|
|
98
|
+
return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
|
|
99
99
|
};
|
|
100
100
|
const selection = Effect.fn("WebSearch.selection")(function* () {
|
|
101
101
|
const data = state.get();
|
|
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
124
124
|
};
|
|
125
125
|
const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
|
|
126
126
|
if (choice === false)
|
|
127
|
-
return yield* new
|
|
127
|
+
return yield* new DisabledError3;
|
|
128
128
|
if (choice === "random") {
|
|
129
129
|
const active = preferred.get(undefined)?.provider;
|
|
130
130
|
return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
|
|
131
131
|
}
|
|
132
132
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service18.of({
|
|
135
135
|
transform: state.transform,
|
|
136
136
|
reload: state.reload,
|
|
137
137
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
|
|
|
188
188
|
const date = Date.parse(value);
|
|
189
189
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
service:
|
|
191
|
+
var node21 = makeLocationNode({
|
|
192
|
+
service: Service18,
|
|
193
193
|
layer,
|
|
194
|
-
deps: [
|
|
194
|
+
deps: [node91, node86]
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { ID6, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service18, node21, exports_websearch3, Event4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service76
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-0mfja933.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./repository-cache-g1kn1j67.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
26
|
const config = yield* Service76;
|
|
27
|
-
const output = yield*
|
|
27
|
+
const output = yield* Service50;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin28 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin18, exports_tool_output };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node80
|
|
4
|
+
} from "./repository-cache-jkjd442p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node84
|
|
8
|
+
} from "./repository-cache-h4681ke1.js";
|
|
9
9
|
import {
|
|
10
10
|
Service76,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node79
|
|
12
|
+
} from "./repository-cache-0mfja933.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-7weczvnd.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
39
|
const config = yield* Service76;
|
|
40
40
|
const watcher = yield* Service77;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node79, FSUtil.node, node80, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
|
|
|
138
138
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { Service2, layer4, node3, empty2, exports_source };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/tools/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
ToolHooks: () => exports_hooks,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make12
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make12(pending) {
|
|
12
12
|
const before = async (input) => {
|
|
13
13
|
if (input.hook_event_name === "PreToolUse")
|
|
14
14
|
pending.before(input.tool_use_id, input.tool_name);
|
|
@@ -28,4 +28,4 @@ function make15(pending) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make12, exports_hooks };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./repository-cache-w3r8pvyd.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
6
|
Service79
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-p8x08v0y.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
10
|
Service76
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-0mfja933.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-3beq3wdw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service89
|
|
17
|
+
} from "./repository-cache-yav33qdh.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate3,
|
|
20
20
|
Service71
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-zz1fbq3g.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service22
|
|
24
|
+
} from "./repository-cache-sr4yt9k3.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-0j7gp832.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service6
|
|
30
|
+
} from "./repository-cache-cawz4cxe.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin22,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description3,
|
|
43
|
+
name: () => name4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name4 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input4 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input14 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description7 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin22 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
92
|
+
const sessions = yield* Service22;
|
|
93
|
+
const jobs = yield* Service89;
|
|
94
|
+
const agents = yield* Service74;
|
|
95
95
|
const config = yield* Service76;
|
|
96
96
|
const permission = yield* Service71;
|
|
97
97
|
const models = yield* Service79;
|
|
98
|
-
const subagents = yield*
|
|
98
|
+
const subagents = yield* Service6;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref3.parse(input),
|
|
@@ -117,11 +117,11 @@ var Plugin53 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name4,
|
|
121
121
|
options: { codemode: false },
|
|
122
|
-
description:
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
122
|
+
description: description3,
|
|
123
|
+
input: Input4,
|
|
124
|
+
output: Output4,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin53 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name4,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name4 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name4];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name4, Input4, Output4, description3, Plugin22, exports_subagent };
|