@opencode/core 0.0.0-dev-19299 → 0.0.0-dev-19300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{shell-e2hjzebn.js → repository-06x8he3q.js} +4 -4
- package/dist/chunks/{shell-8pmkjsch.js → repository-0f776x05.js} +15 -15
- package/dist/chunks/{shell-b0qfk3e8.js → repository-0ms83wsr.js} +15 -15
- package/dist/chunks/{shell-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-x6cmkhdm.js → repository-0rvwym2w.js} +4 -4
- package/dist/chunks/{shell-h6kmz9yd.js → repository-0sb7r7z8.js} +161 -161
- package/dist/chunks/{shell-v03gdzqm.js → repository-0y360m9h.js} +15 -15
- package/dist/chunks/{shell-18e56dsp.js → repository-1080qp6z.js} +4 -4
- package/dist/chunks/{shell-jygyrd66.js → repository-11tcp5y8.js} +4 -4
- package/dist/chunks/{shell-fad7jthp.js → repository-1235z6h5.js} +11 -11
- package/dist/chunks/{shell-6d22mmhm.js → repository-12gb8myc.js} +15 -15
- package/dist/chunks/{shell-r8xr0va3.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{shell-h9y0se6r.js → repository-1d1r455x.js} +10 -10
- package/dist/chunks/{shell-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-0hpxrkyb.js → repository-1dfhrqqs.js} +5 -5
- package/dist/chunks/{shell-9rh7p80v.js → repository-1rw8y3qp.js} +27 -27
- package/dist/chunks/{shell-cpk6j284.js → repository-1s7e6phh.js} +9 -9
- package/dist/chunks/{shell-wqak0vb9.js → repository-1xb5wcr4.js} +27 -27
- package/dist/chunks/{shell-5f9fjpvd.js → repository-20d5ynpz.js} +20 -20
- package/dist/chunks/{shell-d21bwxkq.js → repository-21505my7.js} +33 -33
- package/dist/chunks/{shell-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{shell-706y5kzp.js → repository-23ys1acm.js} +24 -24
- package/dist/chunks/{shell-00xsej0j.js → repository-24jpa85g.js} +11 -11
- package/dist/chunks/{shell-va26gyj7.js → repository-25dt1yg9.js} +39 -39
- package/dist/chunks/{shell-9se2kd1x.js → repository-28bdjpwd.js} +20 -20
- package/dist/chunks/{shell-z63w68vq.js → repository-29x78va6.js} +6 -6
- package/dist/chunks/{shell-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-b22s170t.js → repository-2gqxkbxa.js} +20 -20
- package/dist/chunks/{shell-cmwkp3r5.js → repository-2hyh68ab.js} +8 -8
- package/dist/chunks/{shell-7z6sde0c.js → repository-2jd3nfvw.js} +26 -26
- package/dist/chunks/{shell-fr8908f4.js → repository-2ke5dpvq.js} +16 -16
- package/dist/chunks/{shell-r19qme2h.js → repository-2nxb55e9.js} +11 -11
- package/dist/chunks/{shell-vvqxd921.js → repository-2p2ash1s.js} +4 -4
- package/dist/chunks/{shell-10d00zpt.js → repository-2qw4fg5j.js} +26 -26
- package/dist/chunks/{shell-18fyhaqr.js → repository-2zm9r2mq.js} +33 -33
- package/dist/chunks/{shell-xdpfkwez.js → repository-3da9a2rq.js} +41 -41
- package/dist/chunks/{shell-4b7zwk5x.js → repository-3faemfqa.js} +20 -20
- package/dist/chunks/{shell-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-7y1qfq25.js → repository-3sy2qy7n.js} +1 -1
- package/dist/chunks/{shell-x940zq77.js → repository-3tey5e4w.js} +10 -10
- package/dist/chunks/{shell-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-swc0pkqs.js → repository-42t63d0v.js} +9 -9
- package/dist/chunks/{shell-dkkztdya.js → repository-42x6g9em.js} +17 -17
- package/dist/chunks/{shell-x270dfa1.js → repository-488yfy34.js} +11 -11
- package/dist/chunks/{shell-q59nfae1.js → repository-4ftw1z01.js} +25 -25
- package/dist/chunks/{shell-hvy5aax6.js → repository-4rq8jptq.js} +13 -13
- package/dist/chunks/{shell-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{shell-sn3acatt.js → repository-5c74bejr.js} +9 -9
- package/dist/chunks/{shell-r0z2gdxb.js → repository-5ck9wg8w.js} +8 -8
- package/dist/chunks/{shell-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-bc9tah8j.js → repository-5hk4b2g6.js} +8 -8
- package/dist/chunks/{shell-jh9n7czd.js → repository-5kh3zgw0.js} +15 -15
- package/dist/chunks/{shell-w4t3nk4h.js → repository-5m82w98f.js} +34 -34
- package/dist/chunks/{shell-p422xgpw.js → repository-5ndbzdej.js} +36 -36
- package/dist/chunks/{shell-5ayyaxsv.js → repository-5p36ytzk.js} +30 -30
- package/dist/chunks/{shell-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-jap5vfbs.js → repository-5ta6a5m3.js} +8 -8
- package/dist/chunks/{shell-vsqc0n3y.js → repository-5wz9f6t6.js} +16 -16
- package/dist/chunks/{shell-pmmw8deh.js → repository-65k3vztb.js} +54 -54
- package/dist/chunks/{shell-9y2ew1rf.js → repository-65tew8e9.js} +30 -30
- package/dist/chunks/{shell-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{shell-jw80jp6b.js → repository-6m42r3np.js} +21 -21
- package/dist/chunks/{shell-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-r4am0p4d.js → repository-6nyfbssk.js} +24 -24
- package/dist/chunks/{shell-cq37gk0t.js → repository-6s9eyz9r.js} +4 -4
- package/dist/chunks/{shell-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{shell-amyzqp92.js → repository-756ftpmv.js} +4 -4
- package/dist/chunks/{shell-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-g3nea3nn.js → repository-7fh28bch.js} +18 -18
- package/dist/chunks/{shell-6ersrjne.js → repository-7yqjxrmz.js} +4 -4
- package/dist/chunks/{shell-y03df9yv.js → repository-7yscfpph.js} +7 -7
- package/dist/chunks/{shell-qa3qhgw8.js → repository-806j49yq.js} +4 -4
- package/dist/chunks/{shell-fpq9acqp.js → repository-81rrwt6s.js} +6 -6
- package/dist/chunks/{shell-bcn7gkrj.js → repository-83m7jv2c.js} +6 -6
- package/dist/chunks/{shell-b57s6jwk.js → repository-8brhm2ma.js} +35 -35
- package/dist/chunks/{shell-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-tcaz1bq6.js → repository-8g0ywzr5.js} +18 -18
- package/dist/chunks/{shell-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-t0x5rdq8.js → repository-8w9tvb25.js} +9 -9
- package/dist/chunks/{shell-96yt6zt0.js → repository-96yt6zt0.js} +1 -1
- package/dist/chunks/{shell-ejnnja69.js → repository-98h7z1dp.js} +5 -5
- package/dist/chunks/{shell-994aemam.js → repository-99xeyytz.js} +11 -11
- package/dist/chunks/{shell-xn4a1s6b.js → repository-9e0shq8y.js} +2 -2
- package/dist/chunks/{shell-f0hazdnn.js → repository-9nps6jxk.js} +83 -83
- package/dist/chunks/{shell-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-zr0pwyem.js → repository-a3xfqne5.js} +19 -19
- package/dist/chunks/{shell-hb21382w.js → repository-a7ya2t55.js} +4 -4
- package/dist/chunks/{shell-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-c902c3h9.js → repository-acr4esdf.js} +24 -24
- package/dist/chunks/{shell-7gvwkz6m.js → repository-af04s6ss.js} +5 -5
- package/dist/chunks/{shell-1awm1f41.js → repository-b0q3gy5e.js} +12 -12
- package/dist/chunks/{shell-b4jn3br6.js → repository-b3mzkn50.js} +17 -17
- package/dist/chunks/{shell-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-rsdf2nvv.js → repository-bccb6npm.js} +4 -4
- package/dist/chunks/{shell-jr1myxr3.js → repository-bey7x3zt.js} +24 -24
- package/dist/chunks/{shell-e42zg7c9.js → repository-bk1bf212.js} +33 -33
- package/dist/chunks/{shell-7yef7cvy.js → repository-bksjv0kp.js} +11 -11
- package/dist/chunks/{shell-desah413.js → repository-bn9sxrbg.js} +30 -30
- package/dist/chunks/{shell-20qr1f9s.js → repository-bs5pepmy.js} +24 -24
- package/dist/chunks/{shell-v4wpewe9.js → repository-byvwwxkk.js} +30 -30
- package/dist/chunks/{shell-aptkcqzk.js → repository-bz3n39rt.js} +54 -54
- package/dist/chunks/{shell-gccfn8rw.js → repository-cfhyqxd5.js} +28 -28
- package/dist/chunks/{shell-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-7tc1bkdm.js → repository-cqz2c9ze.js} +24 -24
- package/dist/chunks/{shell-6hh53734.js → repository-crptryd9.js} +9 -9
- package/dist/chunks/{shell-y46htk8f.js → repository-ct5ygdvv.js} +30 -30
- package/dist/chunks/{shell-2a9rpc71.js → repository-d3p1g0v9.js} +83 -83
- package/dist/chunks/{shell-97wsckqb.js → repository-d971jd90.js} +24 -24
- package/dist/chunks/{shell-sd7yc29c.js → repository-dcmk5z6d.js} +9 -9
- package/dist/chunks/{shell-2ehqxkpw.js → repository-drx0v7dc.js} +10 -10
- package/dist/chunks/repository-dxj72tfx.js +18 -0
- package/dist/chunks/{shell-rtathh62.js → repository-e7710hd6.js} +8 -8
- package/dist/chunks/{shell-rhjbct0v.js → repository-eaj1djv9.js} +8 -8
- package/dist/chunks/{shell-0v877kr8.js → repository-ec018mz5.js} +8 -8
- package/dist/chunks/{shell-ygvd8b8c.js → repository-eddb1hsm.js} +3 -3
- package/dist/chunks/{shell-2qfg8d7s.js → repository-ee84hvhb.js} +19 -19
- package/dist/chunks/{shell-b97hqjkq.js → repository-egdp0v7k.js} +8 -8
- package/dist/chunks/{shell-rpsff8a5.js → repository-ehg1nygq.js} +3 -3
- package/dist/chunks/{shell-zxegzph2.js → repository-eppyg65b.js} +21 -21
- package/dist/chunks/{shell-fwwk8vbp.js → repository-esj243wz.js} +9 -9
- package/dist/chunks/{shell-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-56v372ka.js → repository-f19mrtp6.js} +24 -24
- package/dist/chunks/{shell-6fpr2q13.js → repository-f2wm6whm.js} +10 -10
- package/dist/chunks/{shell-f828m53h.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{shell-f8q7mv7a.js → repository-f8q7mv7a.js} +1 -1
- package/dist/chunks/{shell-srpeewqc.js → repository-f9dnc6qb.js} +9 -9
- package/dist/chunks/{shell-dmvjrdjg.js → repository-farzb5ty.js} +15 -15
- package/dist/chunks/{shell-8ed5dapv.js → repository-fcx00w1h.js} +9 -9
- package/dist/chunks/{shell-fgh0kbhd.js → repository-fgh0kbhd.js} +1 -1
- package/dist/chunks/{shell-3a20re4p.js → repository-fk4ccpbg.js} +14 -14
- package/dist/chunks/{shell-rg4s5c95.js → repository-fvkyxybn.js} +21 -21
- package/dist/chunks/{shell-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-bx7eg4z0.js → repository-fy9dm37w.js} +47 -47
- package/dist/chunks/{shell-fygdb7h7.js → repository-fygdb7h7.js} +1 -1
- package/dist/chunks/{shell-fkwrhsf7.js → repository-g1nak0bc.js} +15 -15
- package/dist/chunks/{shell-25m32m9c.js → repository-g32rby1q.js} +21 -21
- package/dist/chunks/{shell-ky97rf12.js → repository-g52x9ads.js} +10 -10
- package/dist/chunks/{shell-zkhy8a1w.js → repository-g5qy6dee.js} +10 -10
- package/dist/chunks/{shell-tx48azwr.js → repository-gasa05ya.js} +33 -33
- package/dist/chunks/{shell-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-zw6cm767.js → repository-gg4p3dxp.js} +43 -43
- package/dist/chunks/{shell-gj9xpvv3.js → repository-gj9xpvv3.js} +2 -2
- package/dist/chunks/repository-gjn7zjnk.js +247 -0
- package/dist/chunks/{shell-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-e9pvhpj1.js → repository-gw75b7xp.js} +41 -41
- package/dist/chunks/{shell-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/repository-h47he10w.js +4 -0
- package/dist/chunks/{shell-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-ek4n1jkk.js → repository-h77e4z6a.js} +7 -7
- package/dist/chunks/{shell-s79t7y84.js → repository-h9xzymfq.js} +6 -6
- package/dist/chunks/{shell-jw31rss3.js → repository-hbhp39pa.js} +29 -29
- package/dist/chunks/{shell-ke6544fm.js → repository-hc0r56wb.js} +37 -37
- package/dist/chunks/{shell-jv01nqvq.js → repository-hcz3zddy.js} +5 -5
- package/dist/chunks/{shell-js0rm7nb.js → repository-hd29wc17.js} +8 -8
- package/dist/chunks/{shell-m3ncy77r.js → repository-hhnggr0y.js} +9 -9
- package/dist/chunks/{shell-hx84msds.js → repository-hj52cskm.js} +3 -3
- package/dist/chunks/{shell-tvs8yzpc.js → repository-j0er744w.js} +8 -8
- package/dist/chunks/{shell-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-qag0q529.js → repository-j7rmzkqc.js} +18 -18
- package/dist/chunks/{shell-paphc93g.js → repository-j935v87r.js} +2 -2
- package/dist/chunks/{shell-aqxxzgb1.js → repository-ja76sygq.js} +9 -9
- package/dist/chunks/{shell-hz8qtd9r.js → repository-jc87ns02.js} +26 -26
- package/dist/chunks/repository-jn0ab61b.js +22 -0
- package/dist/chunks/{shell-k16ay38w.js → repository-k16ay38w.js} +1 -1
- package/dist/chunks/{shell-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-ksz0h0wp.js → repository-ksz0h0wp.js} +1 -1
- package/dist/chunks/{shell-43k15f45.js → repository-m1jtpm13.js} +4 -4
- package/dist/chunks/{shell-m27pyyd3.js → repository-m27pyyd3.js} +1 -1
- package/dist/chunks/{shell-05w1n024.js → repository-m52vhm9w.js} +3 -3
- package/dist/chunks/{shell-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-qrgq40sn.js → repository-m9wjgnng.js} +9 -9
- package/dist/chunks/{shell-e7szzkhd.js → repository-mhwnn3nh.js} +7 -7
- package/dist/chunks/{shell-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{shell-a76t9a7s.js → repository-mqypt7zj.js} +10 -10
- package/dist/chunks/{shell-tettmk12.js → repository-mtgx628c.js} +14 -14
- package/dist/chunks/{shell-z0kp0xfc.js → repository-mvdnynp8.js} +4 -4
- package/dist/chunks/{shell-j028xdjb.js → repository-mvfsc1pv.js} +3 -3
- package/dist/chunks/{shell-618mw38d.js → repository-n6fqsy4a.js} +9 -9
- package/dist/chunks/{shell-n76fdqym.js → repository-n76fdqym.js} +1 -1
- package/dist/chunks/{shell-cxmnv656.js → repository-n77pyy8y.js} +4 -4
- package/dist/chunks/{shell-zj136r52.js → repository-n8gkpbkd.js} +24 -24
- package/dist/chunks/{shell-xdh3xy78.js → repository-nayt11ps.js} +6 -6
- package/dist/chunks/{shell-q19p4fn9.js → repository-ndmv45hp.js} +3 -3
- package/dist/chunks/{shell-hteb4sy5.js → repository-nf52vkfc.js} +9 -9
- package/dist/chunks/{shell-h9gpzc29.js → repository-ng1cxp70.js} +17 -17
- package/dist/chunks/{shell-nhy5jxhy.js → repository-nhy5jxhy.js} +1 -1
- package/dist/chunks/{shell-xmkt8jmy.js → repository-njtrby3g.js} +11 -11
- package/dist/chunks/{shell-emmyw7mw.js → repository-np2wt734.js} +62 -62
- package/dist/chunks/{shell-ve0vypz6.js → repository-nw0w9xts.js} +14 -14
- package/dist/chunks/{shell-fv6yey1z.js → repository-nxrh5nrb.js} +10 -10
- package/dist/chunks/{shell-bhct745e.js → repository-nyfsa3d4.js} +15 -15
- package/dist/chunks/{shell-89216gat.js → repository-p3cr5m8k.js} +8 -8
- package/dist/chunks/{shell-n2cfwsx3.js → repository-p40ajvra.js} +46 -46
- package/dist/chunks/{shell-54jgwn9b.js → repository-p5ym65ek.js} +12 -12
- package/dist/chunks/repository-pe1hnp5n.js +462 -0
- package/dist/chunks/{shell-t8jgb82e.js → repository-pgyxckf0.js} +11 -11
- package/dist/chunks/{shell-vyqn3nqs.js → repository-pjedbq3k.js} +4 -4
- package/dist/chunks/{shell-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-a08t2777.js → repository-pjw4mgws.js} +9 -9
- package/dist/chunks/{shell-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{shell-jm9tsfw3.js → repository-pnean495.js} +5 -5
- package/dist/chunks/{shell-tmf5q148.js → repository-ppg2pkc4.js} +7 -7
- package/dist/chunks/{shell-fccy21eq.js → repository-pt9hhbjv.js} +20 -20
- package/dist/chunks/{shell-vmhtgab3.js → repository-pz6kvv0a.js} +14 -14
- package/dist/chunks/{shell-pqqxfvch.js → repository-pzqj8cz9.js} +11 -11
- package/dist/chunks/{shell-kzr6x06e.js → repository-q5zafh14.js} +6 -6
- package/dist/chunks/{shell-83nz3y93.js → repository-q7v1pqah.js} +10 -10
- package/dist/chunks/{shell-41kyjx1y.js → repository-qe2326jn.js} +6 -6
- package/dist/chunks/{shell-ktqk9wm9.js → repository-qegb081p.js} +9 -9
- package/dist/chunks/{shell-2k8khapm.js → repository-qgn6gcr1.js} +5 -5
- package/dist/chunks/{shell-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-h2r7bbkd.js → repository-qth74v4j.js} +11 -11
- package/dist/chunks/{shell-5nkpcfwc.js → repository-qxc8wz53.js} +25 -25
- package/dist/chunks/{shell-2hhhp258.js → repository-r034twb5.js} +18 -18
- package/dist/chunks/{shell-r9babyk8.js → repository-r9babyk8.js} +1 -1
- package/dist/chunks/{shell-2vc21b52.js → repository-rad6g3ft.js} +4 -4
- package/dist/chunks/{shell-zjvxgrfz.js → repository-rpxwpx2g.js} +15 -15
- package/dist/chunks/{shell-dsst23xf.js → repository-rsvmvhbp.js} +8 -8
- package/dist/chunks/{shell-yrznvahk.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{shell-63w78ebd.js → repository-s702d5fa.js} +47 -47
- package/dist/chunks/{shell-yxfce51e.js → repository-s784my9g.js} +14 -14
- package/dist/chunks/{shell-gq0a9pv7.js → repository-s9teexy3.js} +11 -11
- package/dist/chunks/{shell-zcp935tq.js → repository-sf673xhe.js} +13 -13
- package/dist/chunks/{shell-3m73xpkh.js → repository-sqc84shp.js} +28 -28
- package/dist/chunks/{shell-b6rw8h1c.js → repository-svz4xhyh.js} +16 -16
- package/dist/chunks/{shell-70y17xeh.js → repository-t0sqncza.js} +5 -5
- package/dist/chunks/{shell-wx9wy1qm.js → repository-t23qze4t.js} +1 -1
- package/dist/chunks/{shell-x7cz8gr1.js → repository-t430gn4d.js} +24 -24
- package/dist/chunks/{shell-ewxvpahx.js → repository-t97t2t7r.js} +14 -14
- package/dist/chunks/{shell-vzepkry7.js → repository-t9azvbfb.js} +15 -15
- package/dist/chunks/{shell-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{shell-t0gs96tb.js → repository-tetdjcv5.js} +11 -11
- package/dist/chunks/{shell-0pkbjn6r.js → repository-tf1axwb0.js} +27 -27
- package/dist/chunks/{shell-dj9sq318.js → repository-tn0aqsam.js} +5 -5
- package/dist/chunks/{shell-0rjzv2qt.js → repository-trjbg8c1.js} +18 -18
- package/dist/chunks/{shell-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-zakbxfw5.js → repository-twcs75va.js} +20 -20
- package/dist/chunks/{shell-ptwhs400.js → repository-twkbfbpv.js} +25 -25
- package/dist/chunks/{shell-yy1a830f.js → repository-tysrnn2h.js} +11 -11
- package/dist/chunks/{shell-y5mrfvw4.js → repository-v33xfvcj.js} +9 -9
- package/dist/chunks/{shell-138zhwcg.js → repository-v4t0dn9g.js} +2 -2
- package/dist/chunks/{shell-2tjgwr1s.js → repository-vc1a951d.js} +35 -35
- package/dist/chunks/{shell-0v53mg2y.js → repository-ve4pfa0n.js} +4 -4
- package/dist/chunks/{shell-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-x6n2md0c.js → repository-vm3tqwqk.js} +2 -2
- package/dist/chunks/{shell-qka0hr3t.js → repository-vxzf7v58.js} +5 -5
- package/dist/chunks/{shell-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-qw53xxyx.js → repository-w86n12pv.js} +43 -43
- package/dist/chunks/{shell-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{shell-6k2bypnf.js → repository-wsax0zm4.js} +20 -20
- package/dist/chunks/{shell-r80v4heq.js → repository-wvp8ne5c.js} +14 -14
- package/dist/chunks/{shell-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
- package/dist/chunks/{shell-mrd03y1j.js → repository-x8pybnqb.js} +9 -9
- package/dist/chunks/{shell-tfngb0ww.js → repository-xn4600q8.js} +4 -4
- package/dist/chunks/{shell-2qab6ga2.js → repository-xwdv5ax5.js} +8 -8
- package/dist/chunks/{shell-k1qcad96.js → repository-xxrmh4kw.js} +38 -38
- package/dist/chunks/{shell-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-jzban73a.js → repository-y1p12sez.js} +34 -34
- package/dist/chunks/{shell-dpkg50ah.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{shell-9f3htfzg.js → repository-ygab95pb.js} +9 -9
- package/dist/chunks/{shell-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-qc6f3j7a.js → repository-yyyn8rfv.js} +5 -5
- package/dist/chunks/{shell-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-7jw46hp1.js → repository-z4vx8zth.js} +30 -30
- package/dist/chunks/{shell-z69s9t6b.js → repository-z69s9t6b.js} +2 -2
- package/dist/chunks/{shell-c8zh40b9.js → repository-z6dtt623.js} +43 -43
- package/dist/chunks/{shell-gv1gd9by.js → repository-z9czcytr.js} +23 -23
- package/dist/chunks/{shell-ftdj6rwn.js → repository-zapem284.js} +20 -20
- package/dist/chunks/{shell-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-zhxw6mnd.js → repository-zhxw6mnd.js} +2 -2
- package/dist/chunks/{shell-c4tw6aft.js → repository-zqn7tw4w.js} +26 -26
- package/dist/chunks/{shell-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +87 -87
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +95 -95
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/shell-0mesazry.js +0 -4
- package/dist/chunks/shell-9cbfsecp.js +0 -247
- package/dist/chunks/shell-p2cyn4p5.js +0 -462
- package/dist/chunks/shell-rap9a73h.js +0 -18
- package/dist/chunks/shell-ya8xe20p.js +0 -22
- /package/dist/chunks/{shell-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → repository-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-bz3n39rt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin35
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin35, exports_plan };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-mvdnynp8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service75,
|
|
8
|
+
node80
|
|
9
|
+
} from "./repository-5p36ytzk.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-acr4esdf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
|
+
ID: () => ID15,
|
|
35
|
+
Info: () => Info30,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref4,
|
|
42
|
+
Service: () => Service73,
|
|
43
|
+
node: () => node78
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
65
|
+
var ID15 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info30 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref4 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service73 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service75;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info30.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service73.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node78 = makeLocationNode({
|
|
569
|
+
service: Service73,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node80, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID15, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info30, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref4, Service73, node78, exports_integration, Event16 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./repository-w86n12pv.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./repository-bey7x3zt.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./repository-fk4ccpbg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service46
|
|
19
|
+
} from "./repository-bz3n39rt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-r034twb5.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-ng1cxp70.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service59
|
|
37
|
+
} from "./repository-s702d5fa.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service23
|
|
40
|
+
} from "./repository-d3p1g0v9.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-756ftpmv.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin21,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
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."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin21 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service23;
|
|
122
|
+
const jobs = yield* Service72;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service63;
|
|
125
|
+
const access = yield* Service18;
|
|
126
|
+
const shell = yield* Service59;
|
|
127
|
+
const shellSelect = yield* Service65;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service46;
|
|
130
|
+
const config = yield* Service61;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin24 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin24 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin24 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin21, exports_shell2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service49
|
|
4
|
+
} from "./repository-bs5pepmy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./repository-svz4xhyh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service61
|
|
10
|
+
} from "./repository-w86n12pv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service65,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-ng1cxp70.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./repository-d3p1g0v9.js";
|
|
18
18
|
import {
|
|
19
19
|
make10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-xwdv5ax5.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin18 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service61;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,11 +54,11 @@ var Plugin14 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service69;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service65;
|
|
60
|
+
const sessions = yield* Service23;
|
|
61
|
+
const agents = yield* Service49;
|
|
62
62
|
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin14 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin18, exports_command };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-mvdnynp8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./repository-21505my7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./repository-f19mrtp6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./repository-p5ym65ek.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-hhnggr0y.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-0rvwym2w.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-ehg1nygq.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service37;
|
|
58
|
+
const toolOutput = yield* Service66;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make8 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-m27pyyd3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|