@opencode/core 0.0.0-dev-20251 → 0.0.0-dev-20257
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cache-g56bqvsh.js → tool-01mtfcwf.js} +44 -44
- package/dist/chunks/{repository-cache-t984fh1y.js → tool-034466pj.js} +33 -33
- package/dist/chunks/{repository-cache-m76ak856.js → tool-0egx9fcg.js} +12 -12
- package/dist/chunks/{repository-cache-hre11n8q.js → tool-0n945rvh.js} +9 -9
- package/dist/chunks/{repository-cache-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-vjjxy6yb.js → tool-0v0g5gxd.js} +9 -9
- package/dist/chunks/{repository-cache-mcyyrr5k.js → tool-0vx053wa.js} +23 -23
- package/dist/chunks/{repository-cache-676jamrs.js → tool-0x54nnzp.js} +12 -12
- package/dist/chunks/{repository-cache-zx6r7hdw.js → tool-11tc0n79.js} +4 -4
- package/dist/chunks/{repository-cache-bc1drp7w.js → tool-175m3jx7.js} +18 -18
- package/dist/chunks/{repository-cache-7969rh3q.js → tool-18eb7gxs.js} +11 -11
- package/dist/chunks/{repository-cache-qmys0th1.js → tool-194bm8bb.js} +28 -28
- package/dist/chunks/{repository-cache-38mz08fy.js → tool-1976gz4t.js} +19 -19
- package/dist/chunks/{repository-cache-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-783mvqzv.js → tool-1dmvbadb.js} +17 -17
- package/dist/chunks/{repository-cache-3kjs2g8p.js → tool-1msf33w2.js} +8 -8
- package/dist/chunks/{repository-cache-fzytvzc7.js → tool-1r5rhfpg.js} +9 -9
- package/dist/chunks/{repository-cache-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-mmm9tkaz.js → tool-296y6fm3.js} +16 -16
- package/dist/chunks/{repository-cache-z63w68vq.js → tool-29x78va6.js} +6 -6
- package/dist/chunks/{repository-cache-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-rt54a6x5.js → tool-2c73s09s.js} +11 -11
- package/dist/chunks/{repository-cache-6446sh3b.js → tool-2dw8d83v.js} +25 -25
- package/dist/chunks/{repository-cache-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-cache-t2ctsxfp.js → tool-2m1k0ztt.js} +18 -18
- package/dist/chunks/{repository-cache-tn0aqsam.js → tool-2qp6y8xf.js} +5 -5
- package/dist/chunks/{repository-cache-wsb67xeh.js → tool-2tba787a.js} +11 -11
- package/dist/chunks/{repository-cache-q8ha9487.js → tool-2wby3dfy.js} +33 -33
- package/dist/chunks/{repository-cache-810dpybx.js → tool-35zcj8ny.js} +10 -10
- package/dist/chunks/{repository-cache-56pvw0gc.js → tool-36sqq72v.js} +19 -19
- package/dist/chunks/{repository-cache-q5862mkf.js → tool-391zmw43.js} +52 -52
- package/dist/chunks/{repository-cache-qy8njgtj.js → tool-3dtz6yx2.js} +3 -3
- package/dist/chunks/{repository-cache-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-4bw5k2yb.js → tool-3r7whzgv.js} +7 -7
- package/dist/chunks/{repository-cache-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-5k1wcgjw.js → tool-3wgsv8e5.js} +3 -3
- package/dist/chunks/{repository-cache-k8rhextm.js → tool-3y576xey.js} +46 -46
- package/dist/chunks/{repository-cache-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-de0jw3qm.js → tool-40grcexz.js} +23 -23
- package/dist/chunks/{repository-cache-ypx6w206.js → tool-41ykdtjg.js} +71 -71
- package/dist/chunks/{repository-cache-607q5haz.js → tool-424p9vrf.js} +5 -5
- package/dist/chunks/{repository-cache-8dbf0tjh.js → tool-4718644a.js} +17 -17
- package/dist/chunks/{repository-cache-fd1wgf4c.js → tool-4acqjqp7.js} +22 -22
- package/dist/chunks/{repository-cache-ydybzatt.js → tool-4b636nqp.js} +12 -12
- package/dist/chunks/{repository-cache-mae0jmk3.js → tool-4bbjkqbv.js} +15 -15
- package/dist/chunks/{repository-cache-0afkxwjn.js → tool-4bee6ad1.js} +11 -11
- package/dist/chunks/{repository-cache-9dxvb26p.js → tool-4eajfyk1.js} +11 -11
- package/dist/chunks/{repository-cache-8btz10n0.js → tool-4khtewc0.js} +43 -43
- package/dist/chunks/{repository-cache-ckecvw8r.js → tool-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-cache-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-cache-57ez7d0k.js → tool-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-cache-jjjjkqdk.js → tool-5avn8fxx.js} +15 -15
- package/dist/chunks/{repository-cache-gp490jqz.js → tool-5ck8tfnb.js} +8 -8
- package/dist/chunks/{repository-cache-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-5jkg60m6.js → tool-5dhv185w.js} +26 -26
- package/dist/chunks/{repository-cache-h6r3nrb9.js → tool-5mtzsd3b.js} +4 -4
- package/dist/chunks/{repository-cache-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-4jrabxkn.js → tool-5xnnt85z.js} +17 -17
- package/dist/chunks/{repository-cache-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-4nzedb29.js → tool-67582959.js} +7 -7
- package/dist/chunks/{repository-cache-711hbc5w.js → tool-67kbkrjb.js} +12 -12
- package/dist/chunks/{repository-cache-1sjktwpq.js → tool-6ab7jrdn.js} +13 -13
- package/dist/chunks/{repository-cache-mmvzmsg4.js → tool-6ha1y7f7.js} +10 -10
- package/dist/chunks/{repository-cache-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-mb5ynwt8.js → tool-6t6ktgh6.js} +18 -18
- package/dist/chunks/{repository-cache-m0vw8bcc.js → tool-6tb4xv4d.js} +11 -11
- package/dist/chunks/{repository-cache-2j284yp4.js → tool-6yf2w8yd.js} +10 -10
- package/dist/chunks/{repository-cache-ytvanp1b.js → tool-72cm32h1.js} +6 -6
- package/dist/chunks/{repository-cache-0thq5hk7.js → tool-75hmra9r.js} +10 -10
- package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-pbn1wd6z.js → tool-7k1k30bt.js} +1 -1
- package/dist/chunks/{repository-cache-2hr5nhwa.js → tool-7rwqf82v.js} +8 -8
- package/dist/chunks/{repository-cache-zprs8td4.js → tool-7v1rs999.js} +20 -20
- package/dist/chunks/{repository-cache-2dfz3822.js → tool-809ngxdw.js} +18 -18
- package/dist/chunks/{repository-cache-a2rma4s4.js → tool-80cfmxjf.js} +20 -20
- package/dist/chunks/{repository-cache-53nswxx3.js → tool-8265666q.js} +7 -7
- package/dist/chunks/{repository-cache-w1eejvng.js → tool-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-9zy2j2cw.js → tool-8az6wgtc.js} +18 -18
- package/dist/chunks/{repository-cache-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-ms63ke08.js → tool-8qx87br5.js} +23 -23
- package/dist/chunks/{repository-cache-3b681mbx.js → tool-8rn5fqsk.js} +78 -78
- package/dist/chunks/{repository-cache-py3kkmfq.js → tool-8sze2n9a.js} +6 -6
- package/dist/chunks/{repository-cache-z7nxtzsb.js → tool-946c90tq.js} +8 -8
- package/dist/chunks/{repository-cache-wd844a8w.js → tool-95yxn8sy.js} +3 -3
- package/dist/chunks/{repository-cache-frqnjdcx.js → tool-9a22gx4j.js} +21 -21
- package/dist/chunks/{repository-cache-3s2gfese.js → tool-9a55rck2.js} +16 -16
- package/dist/chunks/{repository-cache-tmvara0k.js → tool-9aqmr64f.js} +5 -5
- package/dist/chunks/{repository-cache-gqbzbbqn.js → tool-9dvrwmbd.js} +11 -11
- package/dist/chunks/{repository-cache-95rsh2yr.js → tool-9jcc4y49.js} +11 -11
- package/dist/chunks/{repository-cache-8tkd114c.js → tool-9jk221y9.js} +9 -9
- package/dist/chunks/{repository-cache-7gqwc1b4.js → tool-9y90g72n.js} +22 -22
- package/dist/chunks/{repository-cache-v5dkyp31.js → tool-a2ew8a62.js} +4 -4
- package/dist/chunks/{repository-cache-eh2mspr1.js → tool-a3j192et.js} +15 -15
- package/dist/chunks/{repository-cache-a2w1s5qp.js → tool-a7ntt1km.js} +41 -41
- package/dist/chunks/{repository-cache-74he466x.js → tool-a9rnddwt.js} +36 -36
- package/dist/chunks/{repository-cache-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-h4kyasgq.js → tool-aasthdk7.js} +25 -25
- package/dist/chunks/{repository-cache-vbdvtmb9.js → tool-afmxnawc.js} +41 -41
- package/dist/chunks/{repository-cache-zvxrxhcq.js → tool-amxsn76y.js} +9 -9
- package/dist/chunks/{repository-cache-j4jqcffg.js → tool-asmesk1c.js} +43 -43
- package/dist/chunks/{repository-cache-dvzrxbsj.js → tool-aw0zj34j.js} +7 -7
- package/dist/chunks/{repository-cache-g190xswt.js → tool-axmvebxj.js} +21 -21
- package/dist/chunks/tool-b4awgack.js +507 -0
- package/dist/chunks/{repository-cache-daxk1szt.js → tool-b4k87etx.js} +29 -29
- package/dist/chunks/{repository-cache-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-wqr5pdt5.js → tool-bbertzxx.js} +24 -24
- package/dist/chunks/{repository-cache-pmr4s4kc.js → tool-bct739vz.js} +4 -4
- package/dist/chunks/{repository-cache-5qkxfyep.js → tool-bdqrk2vk.js} +4 -4
- package/dist/chunks/{repository-cache-c80bcpkz.js → tool-bhz5rt2a.js} +3 -3
- package/dist/chunks/{repository-cache-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-cache-5xpznt2d.js → tool-bk7jaeqh.js} +4 -4
- package/dist/chunks/{repository-cache-2dxkyvt9.js → tool-bne83k22.js} +16 -16
- package/dist/chunks/{repository-cache-cd6bmxb7.js → tool-brbv3dp1.js} +35 -35
- package/dist/chunks/{repository-cache-j4mm37g8.js → tool-c8c0e7p2.js} +4 -4
- package/dist/chunks/tool-cmck6x1v.js +26 -0
- package/dist/chunks/{repository-cache-fdjyeynq.js → tool-cnvcdvk7.js} +6 -6
- package/dist/chunks/{repository-cache-33189bft.js → tool-csc4d3td.js} +9 -9
- package/dist/chunks/{repository-cache-vbq8pb5b.js → tool-cxfezmj7.js} +2 -2
- package/dist/chunks/{repository-cache-04ck8k4k.js → tool-cycpek8a.js} +8 -8
- package/dist/chunks/{repository-cache-kzeadhdf.js → tool-d45ca2b9.js} +11 -11
- package/dist/chunks/{repository-cache-g6q9qykm.js → tool-d4he2qe1.js} +9 -9
- package/dist/chunks/{repository-cache-qc3t3aka.js → tool-d7hv7zmm.js} +10 -10
- package/dist/chunks/{repository-cache-qfr8erz8.js → tool-dbnvakxz.js} +2 -2
- package/dist/chunks/{repository-cache-8rvetdvw.js → tool-df918xjf.js} +13 -13
- package/dist/chunks/{repository-cache-xkntkrq7.js → tool-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-cache-tpp3t0gy.js → tool-dsr5k85q.js} +26 -26
- package/dist/chunks/{repository-cache-nhwg6c1p.js → tool-dss8prcv.js} +5 -5
- package/dist/chunks/{repository-cache-ann71p2r.js → tool-dth0kp2g.js} +8 -8
- package/dist/chunks/{repository-cache-5qd3pb7m.js → tool-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-cache-82m37mnf.js → tool-eacc2dt9.js} +11 -11
- package/dist/chunks/{repository-cache-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-cenxd33d.js → tool-eg546c9f.js} +30 -30
- package/dist/chunks/{repository-cache-qj04qr5m.js → tool-eg73nz8j.js} +16 -16
- package/dist/chunks/{repository-cache-d5h09cnz.js → tool-ehjy287r.js} +3 -3
- package/dist/chunks/{repository-cache-8fscv17v.js → tool-ek9e68b4.js} +8 -8
- package/dist/chunks/{repository-cache-dbv05mm3.js → tool-em3h5ktn.js} +4 -4
- package/dist/chunks/{repository-cache-rk7s9xkn.js → tool-espax8zg.js} +4 -4
- package/dist/chunks/{repository-cache-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-p9r301nf.js → tool-ev6cj1t6.js} +4 -4
- package/dist/chunks/{repository-cache-m6t25yxw.js → tool-ewrs59eb.js} +45 -45
- package/dist/chunks/{repository-cache-vtvqn5z4.js → tool-ezfsjjcb.js} +17 -17
- package/dist/chunks/{repository-cache-818pfwc9.js → tool-f32czd11.js} +11 -11
- package/dist/chunks/{repository-cache-ccd57ky6.js → tool-f4stfc8j.js} +11 -11
- package/dist/chunks/{repository-cache-k1qrnqst.js → tool-f5gy8qwh.js} +8 -8
- package/dist/chunks/{repository-cache-cssfr7rf.js → tool-f5j4h519.js} +27 -27
- package/dist/chunks/{repository-cache-m90fhazv.js → tool-f9v45azf.js} +27 -27
- package/dist/chunks/{repository-cache-xs7kd0ff.js → tool-faz569s1.js} +4 -4
- package/dist/chunks/{repository-cache-2wq7vqp7.js → tool-fbk6jmjr.js} +11 -11
- package/dist/chunks/{repository-cache-4v283kbg.js → tool-fk1tprft.js} +3 -3
- package/dist/chunks/{repository-cache-7pr2hkwv.js → tool-g5agzp2h.js} +5 -5
- package/dist/chunks/{repository-cache-7sw46hvh.js → tool-g5mnhhzf.js} +5 -5
- package/dist/chunks/{repository-cache-pp9kfcev.js → tool-g6af17tj.js} +13 -13
- package/dist/chunks/{repository-cache-vkbpj0nk.js → tool-gbny3ebw.js} +5 -5
- package/dist/chunks/{repository-cache-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-cache-y98nvmkd.js → tool-gjz1jd2j.js} +17 -17
- package/dist/chunks/{repository-cache-wzkj2gsv.js → tool-grfjx99d.js} +31 -31
- package/dist/chunks/{repository-cache-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-cache-q68kj198.js → tool-gy1z56yw.js} +15 -15
- package/dist/chunks/{repository-cache-b7b4ctej.js → tool-h4z1mxff.js} +5 -5
- package/dist/chunks/{repository-cache-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-f29mbr7f.js → tool-h9wp8z5w.js} +4 -4
- package/dist/chunks/{repository-cache-mp442rew.js → tool-hxxwhazt.js} +20 -20
- package/dist/chunks/{repository-cache-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-a3r4dcrj.js → tool-jca4demv.js} +2 -2
- package/dist/chunks/{repository-cache-8w20q39n.js → tool-jj4f2m0r.js} +10 -10
- package/dist/chunks/{repository-cache-v2907cfy.js → tool-jjhdrc4d.js} +29 -29
- package/dist/chunks/{repository-cache-scv7p57g.js → tool-jvvc3tfq.js} +9 -9
- package/dist/chunks/{repository-cache-njd2epf3.js → tool-jyzvwcc3.js} +83 -83
- package/dist/chunks/{repository-cache-k3c624dm.js → tool-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-dsd739fb.js → tool-ka42hk6n.js} +17 -17
- package/dist/chunks/{repository-cache-ex6p1v7c.js → tool-kf4n8cem.js} +6 -6
- package/dist/chunks/{repository-cache-h4ps4sj8.js → tool-kftnayyw.js} +10 -10
- package/dist/chunks/{repository-cache-vsk39x9d.js → tool-ksz6c1e3.js} +22 -22
- package/dist/chunks/{repository-cache-jzy4k8ae.js → tool-ktwybt29.js} +20 -20
- package/dist/chunks/{repository-cache-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-mksgfzgs.js → tool-m5gtchbr.js} +3 -3
- package/dist/chunks/{repository-cache-naa9ps5d.js → tool-m82n3tcb.js} +11 -11
- package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{repository-cache-0mwb83qr.js → tool-mxck01x7.js} +27 -27
- package/dist/chunks/{repository-cache-4e8vs6eh.js → tool-n0tq777j.js} +8 -8
- package/dist/chunks/{repository-cache-eypvmx01.js → tool-n2bwe27v.js} +17 -17
- package/dist/chunks/{repository-cache-54k930pp.js → tool-na3vr06v.js} +10 -10
- package/dist/chunks/{repository-cache-mzppa8ta.js → tool-nd981500.js} +33 -33
- package/dist/chunks/{repository-cache-mecya7nw.js → tool-ngr3dbwj.js} +9 -9
- package/dist/chunks/{repository-cache-j58c5xyq.js → tool-njhqdk9p.js} +9 -9
- package/dist/chunks/{repository-cache-d6tzdhy2.js → tool-nqhs97wk.js} +11 -11
- package/dist/chunks/{repository-cache-br0tr5aq.js → tool-p37cw4rj.js} +8 -8
- package/dist/chunks/{repository-cache-nb9cp8r9.js → tool-p7emx7qr.js} +14 -14
- package/dist/chunks/{repository-cache-5k7m0c6w.js → tool-p9njq13k.js} +23 -23
- package/dist/chunks/{repository-cache-engkf0xy.js → tool-pa719ayw.js} +3 -3
- package/dist/chunks/{repository-cache-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-xgacp4m0.js → tool-pmjcgjf6.js} +5 -5
- package/dist/chunks/{repository-cache-pnv527nz.js → tool-pnv527nz.js} +2 -2
- package/dist/chunks/{repository-cache-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-cache-7wf5zjhs.js → tool-psxwg2jt.js} +49 -49
- package/dist/chunks/{repository-cache-ger7gmny.js → tool-pwk60xzd.js} +29 -29
- package/dist/chunks/{repository-cache-21v4w11m.js → tool-pzmgz1kt.js} +20 -20
- package/dist/chunks/{repository-cache-jexxy024.js → tool-q3t37ft6.js} +3 -3
- package/dist/chunks/{repository-cache-624wfwgz.js → tool-q5dgj24k.js} +15 -15
- package/dist/chunks/{repository-cache-00gdp0v0.js → tool-q73ax3e3.js} +6 -6
- package/dist/chunks/{repository-cache-9z3rd8yt.js → tool-q9m41f22.js} +15 -15
- package/dist/chunks/{repository-cache-8tsdq50x.js → tool-qbqbaz6q.js} +4 -4
- package/dist/chunks/tool-qjxeh2jn.js +252 -0
- package/dist/chunks/{repository-cache-204cfetq.js → tool-qnshbhpz.js} +8 -8
- package/dist/chunks/{repository-cache-ednp5hmx.js → tool-qpbc7zwf.js} +8 -8
- package/dist/chunks/{repository-cache-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-cdf7n074.js → tool-qsgng9yw.js} +22 -22
- package/dist/chunks/{repository-cache-0r7yqxbf.js → tool-qte5z7bc.js} +5 -5
- package/dist/chunks/{repository-cache-1zdwmq57.js → tool-qthggnn3.js} +24 -24
- package/dist/chunks/{repository-cache-0zjqpmkz.js → tool-qvyqyy4a.js} +32 -32
- package/dist/chunks/{repository-cache-nqnxh7mc.js → tool-qz49fwgp.js} +4 -4
- package/dist/chunks/{repository-cache-b7evj62n.js → tool-qzzwmwsb.js} +24 -24
- package/dist/chunks/{repository-cache-9q2zkxzw.js → tool-rbedxwk0.js} +10 -10
- package/dist/chunks/{repository-cache-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-s8d7rejh.js → tool-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-cache-92azg307.js → tool-rmm45jmv.js} +5 -5
- package/dist/chunks/{repository-cache-kyabrh60.js → tool-rsmztf11.js} +20 -20
- package/dist/chunks/{repository-cache-wvjcvcce.js → tool-rwt25hr0.js} +11 -11
- package/dist/chunks/{repository-cache-yrznvahk.js → tool-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-cache-4hecv8b8.js → tool-s7va8ds3.js} +15 -15
- package/dist/chunks/{repository-cache-hpm09z4s.js → tool-s81k1a76.js} +15 -15
- package/dist/chunks/{repository-cache-3nxcgc5r.js → tool-sd321mms.js} +4 -4
- package/dist/chunks/{repository-cache-341masja.js → tool-sg7et9cp.js} +9 -9
- package/dist/chunks/{repository-cache-hv03xkvj.js → tool-ss1fsgxr.js} +14 -14
- package/dist/chunks/{repository-cache-qbf4b4ne.js → tool-syg1g1yq.js} +22 -22
- package/dist/chunks/{repository-cache-fbhw4wv7.js → tool-t5eds39s.js} +23 -23
- package/dist/chunks/{repository-cache-jvf3yq6v.js → tool-t7n9q6bq.js} +4 -4
- package/dist/chunks/{repository-cache-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-mx9vqzsb.js → tool-tcay1cqt.js} +6 -6
- package/dist/chunks/{repository-cache-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-42qtvhfk.js → tool-tg11ymz8.js} +5 -5
- package/dist/chunks/{repository-cache-q8a22tjh.js → tool-tnwevgky.js} +159 -159
- package/dist/chunks/{repository-cache-fqnfbc6e.js → tool-tpgzbb02.js} +20 -20
- package/dist/chunks/{repository-cache-16612zrn.js → tool-ttk3mwgy.js} +11 -11
- package/dist/chunks/{repository-cache-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-h4txc3jc.js → tool-txmctbw7.js} +5 -5
- package/dist/chunks/{repository-cache-gfj9m061.js → tool-tz4t78ya.js} +13 -13
- package/dist/chunks/{repository-cache-de5yg9f9.js → tool-vbv8dfnm.js} +18 -18
- package/dist/chunks/{repository-cache-t1ap8zfg.js → tool-vdtperbh.js} +5 -5
- package/dist/chunks/{repository-cache-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/tool-vsdyktar.js +18 -0
- package/dist/chunks/{repository-cache-6d5yn9z3.js → tool-vvaq8bb8.js} +7 -7
- package/dist/chunks/{repository-cache-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-zz56t2w7.js → tool-w1p328vv.js} +11 -11
- package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-xsm8rsnb.js → tool-w5tjdcqf.js} +20 -20
- package/dist/chunks/{repository-cache-wyy8ccsm.js → tool-w7jh0eam.js} +1 -1
- package/dist/chunks/{repository-cache-0hpw93d1.js → tool-w8n0e5aw.js} +9 -9
- package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-3gz738r3.js → tool-wk7hydj3.js} +11 -11
- package/dist/chunks/{repository-cache-xyq4pa26.js → tool-wkt2y4hc.js} +23 -23
- package/dist/chunks/{repository-cache-94js9ang.js → tool-wyr36rym.js} +26 -26
- package/dist/chunks/{repository-cache-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-4vqxrrhv.js → tool-x749c8ap.js} +20 -20
- package/dist/chunks/{repository-cache-whb4syhh.js → tool-xever9ax.js} +34 -34
- package/dist/chunks/{repository-cache-xfkkasph.js → tool-xfkkasph.js} +1 -1
- package/dist/chunks/{repository-cache-7esjthxw.js → tool-xh089592.js} +5 -5
- package/dist/chunks/{repository-cache-0s740jay.js → tool-xhs54hgc.js} +30 -30
- package/dist/chunks/{repository-cache-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-095hcjf8.js → tool-y4rjczph.js} +33 -33
- package/dist/chunks/{repository-cache-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{repository-cache-mqzwkyay.js → tool-ydgy0jv4.js} +6 -6
- package/dist/chunks/{repository-cache-5heeksrv.js → tool-yj0c5cmr.js} +26 -26
- package/dist/chunks/{repository-cache-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-cache-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-cr07tj7n.js → tool-yt0fqk68.js} +5 -5
- package/dist/chunks/{repository-cache-avz58b7a.js → tool-yt55jd1w.js} +14 -14
- package/dist/chunks/{repository-cache-5y5fcek4.js → tool-yv16hj29.js} +17 -17
- package/dist/chunks/{repository-cache-r6ryweq5.js → tool-yw7byxdn.js} +11 -11
- package/dist/chunks/{repository-cache-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-h62cd3wx.js → tool-zkx6mb6f.js} +6 -6
- package/dist/chunks/{repository-cache-rk1r2hx8.js → tool-znsx74x0.js} +1 -1
- package/dist/chunks/{repository-cache-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-vj03c95h.js → tool-zs59ffwg.js} +8 -8
- package/dist/chunks/{repository-cache-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-08fsgfkc.js → tool-zztd99f7.js} +48 -48
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +95 -95
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- 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 +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-cache-4jx8qdh8.js +0 -252
- package/dist/chunks/repository-cache-f2zhp4xq.js +0 -26
- package/dist/chunks/repository-cache-qc068m1q.js +0 -18
- package/dist/chunks/repository-cache-te7y3fhr.js +0 -507
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./tool-jvvc3tfq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./tool-tcay1cqt.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-vsdyktar.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service76
|
|
15
|
+
} from "./tool-n0tq777j.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-0v0g5gxd.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service55
|
|
23
|
+
} from "./tool-ksz6c1e3.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service48;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service76;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service55;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service63;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./tool-f9v45azf.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-sd321mms.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-36sqq72v.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
22
|
Service: () => Service24,
|
|
@@ -42,7 +42,7 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4, UnavailableError2,
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service24, layer10, configured4, node27, exports_persistent_pty, Handoff2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin9,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin9 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin28 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin9, exports_opencode };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin48 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin43 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin48, exports_mcp_codemode_defaults };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./tool-9a22gx4j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service78;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service59
|
|
4
|
+
} from "./tool-bbertzxx.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service71
|
|
8
|
+
} from "./tool-f9v45azf.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./tool-a9rnddwt.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service49
|
|
18
|
+
} from "./tool-n2bwe27v.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service56
|
|
22
|
+
} from "./tool-391zmw43.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./tool-jyzvwcc3.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./tool-4eajfyk1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name6 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = 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 Input5 = 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 Output6 = 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 description2 = [
|
|
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 description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin7 = {
|
|
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*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service30;
|
|
93
|
+
const jobs = yield* Service49;
|
|
94
|
+
const agents = yield* Service59;
|
|
95
|
+
const config = yield* Service67;
|
|
96
|
+
const permission = yield* Service56;
|
|
97
|
+
const models = yield* Service71;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin23 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin23 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name6,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin23 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name6 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name6];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name6, Input6, Output6, description2, Plugin7, exports_subagent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-fk1tprft.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-sd321mms.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-q3t37ft6.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-bjtzbw4r.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service46,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -50,7 +50,7 @@ __export(exports_inbox, {
|
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node48,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info8,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service46 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer18 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service46, make17());
|
|
231
|
+
var node48 = makeGlobalNode({ service: Service46, layer: layer18, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make17, layer18, node48, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info22
|
|
6
|
+
} from "./tool-axmvebxj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info21
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info22)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info21 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info21, exports_agent4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-cxfezmj7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-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: () => Service21,
|
|
17
|
+
node: () => node24
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/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 Service21 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service21.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node24 = makeLocationNode({
|
|
91
|
+
service: Service21,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service21, node24, exports_formatter2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service14,
|
|
10
|
+
node: () => node16
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service14 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service14, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service14.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node16 = makeGlobalNode({ service: Service14, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service14, node16, exports_managed_policy };
|