@opencode/core 0.0.0-dev-19448 → 0.0.0-dev-19449
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 +80 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -67
- package/dist/catalog.js +84 -83
- package/dist/chunks/{file-retention-kwqs22xk.js → job-00a9ja04.js} +4 -4
- package/dist/chunks/{file-retention-tqgn9w63.js → job-01zdys4k.js} +13 -13
- package/dist/chunks/{file-retention-rhjbct0v.js → job-02nrjc1r.js} +6 -6
- package/dist/chunks/{file-retention-8wwtrzd2.js → job-04pvt0d5.js} +11 -11
- package/dist/chunks/{file-retention-qwqrj6wy.js → job-065697kb.js} +20 -20
- package/dist/chunks/{file-retention-0h54jqbs.js → job-0h54jqbs.js} +1 -1
- package/dist/chunks/{file-retention-r0hxv64b.js → job-0msecawa.js} +20 -20
- package/dist/chunks/{file-retention-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-dfj54ch4.js → job-0t8x46gz.js} +17 -17
- package/dist/chunks/{file-retention-r453yw66.js → job-0wqnv3kb.js} +38 -38
- package/dist/chunks/{file-retention-yp2x3t23.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/job-1ebvrjnb.js +462 -0
- package/dist/chunks/{file-retention-7h3vxbq8.js → job-1rsqq1fr.js} +24 -24
- package/dist/chunks/{file-retention-fvanntqq.js → job-1s3p39g4.js} +4 -4
- package/dist/chunks/{file-retention-kmbf06zj.js → job-1zs395pm.js} +15 -15
- package/dist/chunks/{file-retention-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-ycdsf1jf.js → job-22z8ajn3.js} +36 -36
- package/dist/chunks/{file-retention-6xvefnve.js → job-26sxjz91.js} +20 -20
- package/dist/chunks/{file-retention-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-qyrhphfh.js → job-2e4h9sp8.js} +6 -6
- package/dist/chunks/{file-retention-07n10xmz.js → job-2f5erdj9.js} +6 -6
- package/dist/chunks/{file-retention-6s5ftx64.js → job-2gkq0e3h.js} +24 -24
- package/dist/chunks/{file-retention-7dqw4kz8.js → job-2k8khapm.js} +5 -5
- package/dist/chunks/{file-retention-qcpabzqj.js → job-2mbf1drx.js} +10 -10
- package/dist/chunks/{file-retention-n76fdqym.js → job-2mnagb0e.js} +5 -5
- package/dist/chunks/{file-retention-tprh6xrh.js → job-2tz5dazr.js} +18 -18
- package/dist/chunks/{file-retention-n1d91sft.js → job-2xgn1m6j.js} +13 -13
- package/dist/chunks/{file-retention-56gdpj1q.js → job-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-retention-7hc658wz.js → job-3cw6zmca.js} +41 -41
- package/dist/chunks/{file-retention-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-cjg4xdhd.js → job-3sqv75dt.js} +11 -11
- package/dist/chunks/{file-retention-npgs9cj4.js → job-3tk7y7t2.js} +21 -21
- package/dist/chunks/{file-retention-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-t7z3zppm.js → job-46jb9vp7.js} +2 -2
- package/dist/chunks/{file-retention-7gmgk224.js → job-47ca45z2.js} +30 -30
- package/dist/chunks/{file-retention-zwsa7mgc.js → job-49hr0k2a.js} +16 -16
- package/dist/chunks/{file-retention-8ryk0bb9.js → job-4drgpw32.js} +5 -5
- package/dist/chunks/{file-retention-8x2v7k4j.js → job-4gakp2e9.js} +55 -55
- package/dist/chunks/{file-retention-zps6r183.js → job-4kxmaqz6.js} +2 -2
- package/dist/chunks/{file-retention-r1wdcgzk.js → job-4y66k410.js} +6 -5
- package/dist/chunks/{file-retention-07vp4eyz.js → job-4yjjmemh.js} +90 -87
- package/dist/chunks/{file-retention-0t37s3gb.js → job-592ab7na.js} +10 -10
- package/dist/chunks/{file-retention-7sza4df7.js → job-5a75a7x0.js} +13 -13
- package/dist/chunks/{file-retention-mn59ba1z.js → job-5b0abbfv.js} +26 -26
- package/dist/chunks/{file-retention-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-krm7e7dw.js → job-5qt062cw.js} +20 -20
- package/dist/chunks/{file-retention-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-km74qb37.js → job-5tpt839r.js} +37 -37
- package/dist/chunks/{file-retention-kksxa1cq.js → job-5y8b54f5.js} +41 -41
- package/dist/chunks/{file-retention-619r8v3y.js → job-619r8v3y.js} +1 -1
- package/dist/chunks/{file-retention-p6q9533y.js → job-652cbnkb.js} +51 -47
- package/dist/chunks/{file-retention-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-xegz7fxd.js → job-682aewne.js} +5 -5
- package/dist/chunks/{file-retention-z7x0xt50.js → job-685vh3te.js} +18 -18
- package/dist/chunks/{file-retention-g76ncgrf.js → job-6ah9fj6r.js} +9 -9
- package/dist/chunks/{file-retention-wb19mssj.js → job-6dd0xx41.js} +23 -23
- package/dist/chunks/{file-retention-2402vzrj.js → job-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-retention-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-555ky206.js → job-6ne0pasa.js} +10 -10
- package/dist/chunks/{file-retention-f3qh1r3p.js → job-6tp025wm.js} +8 -8
- package/dist/chunks/{file-retention-nkr2m8gd.js → job-6ybjmen6.js} +16 -16
- package/dist/chunks/{file-retention-8p08r1qg.js → job-70y6byam.js} +28 -28
- package/dist/chunks/{file-retention-71q4at8m.js → job-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-mmxganfs.js → job-766h0pec.js} +4 -4
- package/dist/chunks/{file-retention-10mpg1ev.js → job-7b5gkxp8.js} +22 -22
- package/dist/chunks/{file-retention-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-r9babyk8.js → job-7f3sjtrh.js} +1 -1
- package/dist/chunks/{file-retention-bw6ad3ce.js → job-7nt85v4k.js} +7 -7
- package/dist/chunks/{file-retention-zcwm7cjd.js → job-83ptx9ch.js} +24 -24
- package/dist/chunks/{file-retention-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-j9d0ywkw.js → job-8dnxqjce.js} +11 -11
- package/dist/chunks/{file-retention-53an9qaw.js → job-8e65c085.js} +9 -9
- package/dist/chunks/{file-retention-8p4f9s12.js → job-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-retention-q5besymn.js → job-8q5v7g0w.js} +7 -7
- package/dist/chunks/{file-retention-5xcyjzx9.js → job-8y7j20e0.js} +24 -24
- package/dist/chunks/{file-retention-mn5tqr63.js → job-8z17e00v.js} +6 -6
- package/dist/chunks/{file-retention-7w99qc9d.js → job-93hpb89x.js} +3 -3
- package/dist/chunks/{file-retention-n92f50s8.js → job-94wfnmbw.js} +11 -11
- package/dist/chunks/{file-retention-3rdyp2e9.js → job-9agje6wn.js} +15 -15
- package/dist/chunks/{file-retention-2e96adxv.js → job-9gm5bxqz.js} +6 -6
- package/dist/chunks/{file-retention-c28eb4sz.js → job-9mj6tney.js} +27 -27
- package/dist/chunks/{file-retention-9vgqcaan.js → job-9nb79kkh.js} +17 -17
- package/dist/chunks/{file-retention-27rr2vyz.js → job-9pv0dm11.js} +9 -9
- package/dist/chunks/{file-retention-a1bz86dw.js → job-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-retention-ptj67sqd.js → job-a3zkapd6.js} +25 -25
- package/dist/chunks/{file-retention-v8jfbz3g.js → job-a4mewc9c.js} +6 -6
- package/dist/chunks/{file-retention-jhrth04p.js → job-a77t52q5.js} +24 -24
- package/dist/chunks/{file-retention-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-yk6wg77b.js → job-akjtqvaj.js} +38 -38
- package/dist/chunks/{file-retention-dak94xbq.js → job-apmh9tqv.js} +4 -4
- package/dist/chunks/{file-retention-03vdvqz5.js → job-b3czc2b3.js} +8 -8
- package/dist/chunks/{file-retention-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-za681ws6.js → job-b9fyn0xv.js} +13 -13
- package/dist/chunks/{file-retention-ytx9308a.js → job-bby00dsd.js} +8 -8
- package/dist/chunks/{file-retention-v68haqbh.js → job-be40ghdv.js} +3 -2
- package/dist/chunks/{file-retention-7kn0j7vj.js → job-bjr1b887.js} +23 -23
- package/dist/chunks/{file-retention-1bv5gv1b.js → job-by19b5vt.js} +4 -4
- package/dist/chunks/{file-retention-z80kxeh4.js → job-c1xf01mj.js} +22 -22
- package/dist/chunks/{file-retention-8kma1xxh.js → job-c5rj8qft.js} +20 -20
- package/dist/chunks/{file-retention-cfpkc3c9.js → job-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-retention-ppna41xj.js → job-ck2aqeev.js} +32 -32
- package/dist/chunks/{file-retention-dgj0dq1g.js → job-cmwkp3r5.js} +8 -8
- package/dist/chunks/{file-retention-y9qg9czc.js → job-cxktke8s.js} +17 -17
- package/dist/chunks/{file-retention-0swpfrb6.js → job-cybe5q2b.js} +16 -16
- package/dist/chunks/{file-retention-qek8dtx8.js → job-cynacfj1.js} +14 -14
- package/dist/chunks/{file-retention-b0k29y2c.js → job-cypqa0nv.js} +15 -15
- package/dist/chunks/{file-retention-39ndxgpe.js → job-dbnnzxvx.js} +36 -36
- package/dist/chunks/{file-retention-dm0r48f7.js → job-deh3b1he.js} +9 -9
- package/dist/chunks/{file-retention-8273cdnn.js → job-dfrmcqat.js} +12 -12
- package/dist/chunks/{file-retention-aw7a9nw5.js → job-dfsrq4qa.js} +5 -5
- package/dist/chunks/{file-retention-01z5yxwd.js → job-dmmqt50h.js} +5 -5
- package/dist/chunks/{file-retention-n2sd6q17.js → job-dn7fz6mk.js} +37 -37
- package/dist/chunks/{file-retention-bvbz56nf.js → job-e1qq6n2b.js} +11 -11
- package/dist/chunks/{file-retention-trfd6fkk.js → job-e3fjbsab.js} +32 -32
- package/dist/chunks/{file-retention-k16ay38w.js → job-e8ge1rnk.js} +1 -1
- package/dist/chunks/{file-retention-1awm1f41.js → job-ec5hr0fy.js} +14 -14
- package/dist/chunks/{file-retention-nhahagkd.js → job-ed3xrpm8.js} +10 -10
- package/dist/chunks/{file-retention-sw1efyn5.js → job-emtkpwpc.js} +14 -14
- package/dist/chunks/{file-retention-096ebvky.js → job-en0qfdct.js} +15 -15
- package/dist/chunks/{file-retention-y772rwhv.js → job-eqpnmjs3.js} +16 -16
- package/dist/chunks/{file-retention-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-2j4n21tp.js → job-f42tz2xs.js} +24 -24
- package/dist/chunks/{file-retention-869zy1ww.js → job-f4jphyjt.js} +5 -5
- package/dist/chunks/{file-retention-f828m53h.js → job-f828m53h.js} +2 -2
- package/dist/chunks/{file-retention-pv1zy8m3.js → job-fa42g1wr.js} +30 -30
- package/dist/chunks/{file-retention-ryr25ayn.js → job-fdv30zvt.js} +7 -7
- package/dist/chunks/{file-retention-fsnnn25x.js → job-fpv6qd1b.js} +8 -8
- package/dist/chunks/{file-retention-4ns3h2re.js → job-ftdzjz2b.js} +6 -6
- package/dist/chunks/{file-retention-3xh7thmg.js → job-ftrk6rez.js} +21 -21
- package/dist/chunks/{file-retention-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-cq37gk0t.js → job-fxqygnfa.js} +4 -4
- package/dist/chunks/{file-retention-tr8f0wtm.js → job-fy4qq49d.js} +25 -25
- package/dist/chunks/{file-retention-6tsrzwz7.js → job-fy5h3yy2.js} +7 -7
- package/dist/chunks/{file-retention-fgh0kbhd.js → job-g5zf0djh.js} +1 -1
- package/dist/chunks/{file-retention-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-g47eftgs.js → job-gj09rpzd.js} +9 -9
- package/dist/chunks/{file-retention-ebpnnjbe.js → job-gjkrwczd.js} +60 -60
- package/dist/chunks/{file-retention-21y16wm3.js → job-grwtv6p6.js} +14 -14
- package/dist/chunks/{file-retention-srjznz14.js → job-gt210tt0.js} +18 -18
- package/dist/chunks/{file-retention-rc7zd1wa.js → job-gtwvb5fz.js} +37 -37
- package/dist/chunks/{file-retention-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-pn64wmq6.js → job-gxnxy7ng.js} +15 -15
- package/dist/chunks/{file-retention-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-af4kcksd.js → job-h71w788e.js} +8 -8
- package/dist/chunks/{file-retention-gsx0ryk4.js → job-h7ygw6q4.js} +9 -9
- package/dist/chunks/{file-retention-tpf4g67y.js → job-hdajbynb.js} +32 -32
- package/dist/chunks/{file-retention-c95d7h9p.js → job-hgnjw6gw.js} +21 -18
- package/dist/chunks/{file-retention-nhy5jxhy.js → job-hjt4xg1x.js} +4 -4
- package/dist/chunks/{file-retention-d93f29dp.js → job-hk5q78k9.js} +8 -8
- package/dist/chunks/{file-retention-j4m03wzn.js → job-hngcxhtt.js} +13 -13
- package/dist/chunks/{file-retention-qte5z7bc.js → job-hnr5yq9h.js} +5 -5
- package/dist/chunks/{file-retention-frwpyczr.js → job-hv2e1k7y.js} +4 -4
- package/dist/chunks/{file-retention-qtwbjpms.js → job-hwp51ncw.js} +29 -29
- package/dist/chunks/{file-retention-kbmsdr00.js → job-hx9j7y7z.js} +28 -28
- package/dist/chunks/{file-retention-0cehhtm7.js → job-j0t2mb8w.js} +6 -6
- package/dist/chunks/{file-retention-etpxg0rn.js → job-j3xcqzq3.js} +81 -79
- package/dist/chunks/{file-retention-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-m27pyyd3.js → job-jfpzywp2.js} +6 -6
- package/dist/chunks/{file-retention-epn8kvkh.js → job-jgycv6et.js} +15 -15
- package/dist/chunks/{file-retention-1gjj1166.js → job-jhz4yhyh.js} +18 -18
- package/dist/chunks/{file-retention-vaxvpga0.js → job-jrhh54v1.js} +15 -15
- package/dist/chunks/{file-retention-8kvrn2j1.js → job-jvhzzpqd.js} +6 -6
- package/dist/chunks/{file-retention-tfngb0ww.js → job-k1ch8xes.js} +4 -4
- package/dist/chunks/{file-retention-0f2q25am.js → job-k1s4rfqs.js} +13 -13
- package/dist/chunks/{file-retention-1rev7gxe.js → job-k6r5z5xa.js} +10 -10
- package/dist/chunks/{file-retention-embw8kgh.js → job-k76fn4kw.js} +4 -4
- package/dist/chunks/{file-retention-j0z6kjp0.js → job-k7p9p1nd.js} +50 -50
- package/dist/chunks/{file-retention-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-70rp2wwb.js → job-kp53nqp5.js} +21 -21
- package/dist/chunks/{file-retention-zb0sdjym.js → job-kqt34p1c.js} +43 -43
- package/dist/chunks/{file-retention-ydh6k28s.js → job-ksdf9mv9.js} +12 -12
- package/dist/chunks/{file-retention-nhph57h8.js → job-m1gh1vsa.js} +15 -15
- package/dist/chunks/{file-retention-50tj1fna.js → job-m841jp6h.js} +15 -15
- package/dist/chunks/{file-retention-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/job-me630jr2.js +247 -0
- package/dist/chunks/{file-retention-mvfsc1pv.js → job-mhkvc446.js} +3 -3
- package/dist/chunks/{file-retention-cavr175a.js → job-mjymc32g.js} +4 -4
- package/dist/chunks/{file-retention-mkcjrzeh.js → job-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-3hxd2pas.js → job-mkf39dq6.js} +9 -9
- package/dist/chunks/{file-retention-vd83qvgk.js → job-mmn4mr36.js} +16 -16
- package/dist/chunks/{file-retention-0vnpdrzz.js → job-mq2071pb.js} +21 -21
- package/dist/chunks/{file-retention-7sqxeqwy.js → job-mqy0jkn2.js} +4 -4
- package/dist/chunks/{file-retention-8tn92620.js → job-n08tccfc.js} +9 -9
- package/dist/chunks/{file-retention-zk0xr9z7.js → job-n21thjja.js} +4 -4
- package/dist/chunks/{file-retention-4mfjr29g.js → job-n2790mmw.js} +11 -11
- package/dist/chunks/{file-retention-fa7a5kmm.js → job-nbddwgy7.js} +10 -10
- package/dist/chunks/{file-retention-fzg7178x.js → job-ncf4b2ye.js} +24 -24
- package/dist/chunks/{file-retention-j2n4dsrb.js → job-nf75gtqc.js} +11 -11
- package/dist/chunks/{file-retention-2mjmkh9s.js → job-nmrny6w1.js} +10 -10
- package/dist/chunks/{file-retention-p44d8wdy.js → job-nxhqveyz.js} +5 -5
- package/dist/chunks/{file-retention-21ph0r93.js → job-nz9zg854.js} +20 -20
- package/dist/chunks/{file-retention-fjmrr6sh.js → job-p1wf2k30.js} +9 -9
- package/dist/chunks/{file-retention-2n1m09z1.js → job-pfd38g1b.js} +43 -43
- package/dist/chunks/{file-retention-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-bct739vz.js → job-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-retention-cat71d1r.js → job-pn7jy9wy.js} +8 -8
- package/dist/chunks/{file-retention-2vjdmk3d.js → job-pvk75zp4.js} +4 -4
- package/dist/chunks/{file-retention-5s16absr.js → job-pw4newxa.js} +1 -1
- package/dist/chunks/{file-retention-aaxyspyh.js → job-pyzyfryn.js} +19 -19
- package/dist/chunks/{file-retention-ksz0h0wp.js → job-q2027nw7.js} +1 -1
- package/dist/chunks/{file-retention-j07qhehd.js → job-q228j9tc.js} +36 -36
- package/dist/chunks/{file-retention-afqmc9k2.js → job-q3z8fvf9.js} +18 -18
- package/dist/chunks/{file-retention-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/job-qtvmxc8s.js +4 -0
- package/dist/chunks/{file-retention-e1zd518x.js → job-qvghcfxc.js} +17 -17
- package/dist/chunks/{file-retention-qmyyxapx.js → job-qy50f22y.js} +5 -5
- package/dist/chunks/{file-retention-xejffc0d.js → job-r2x9dtmf.js} +22 -22
- package/dist/chunks/{file-retention-43k15f45.js → job-r7ad4jt7.js} +4 -4
- package/dist/chunks/{file-retention-r9mregkx.js → job-r9mregkx.js} +2 -2
- package/dist/chunks/{file-retention-s5rvfnyx.js → job-rq5t5re8.js} +34 -34
- package/dist/chunks/{file-retention-06dxphr1.js → job-rsdf2nvv.js} +4 -4
- package/dist/chunks/{file-retention-2ce14n3m.js → job-rsztz52x.js} +3 -3
- package/dist/chunks/{file-retention-2ehqxkpw.js → job-rwz4f003.js} +12 -12
- package/dist/chunks/{file-retention-02dn0gj9.js → job-rx0307b0.js} +3 -3
- package/dist/chunks/job-rxvkhw2r.js +22 -0
- package/dist/chunks/{file-retention-7afqphx4.js → job-s4g1n2sb.js} +40 -33
- package/dist/chunks/{file-retention-nfq246yx.js → job-s76nk363.js} +4 -4
- package/dist/chunks/{file-retention-qhh22kz2.js → job-sncy5xw4.js} +26 -26
- package/dist/chunks/{file-retention-z3ndh4jt.js → job-sxva2ycs.js} +9 -9
- package/dist/chunks/{file-retention-ekz5bwcn.js → job-t1b7v88v.js} +35 -35
- package/dist/chunks/{file-retention-0hqrfwhm.js → job-t6jk3bpy.js} +6 -6
- package/dist/chunks/{file-retention-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-4cbsgq64.js → job-tcqqw5my.js} +6 -6
- package/dist/chunks/{file-retention-g8jasmdt.js → job-tdhe5xga.js} +8 -8
- package/dist/chunks/{file-retention-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-jw5zxnhe.js → job-tenww2aq.js} +11 -11
- package/dist/chunks/{file-retention-6h729pt7.js → job-tk1w8hq2.js} +20 -20
- package/dist/chunks/{file-retention-za77p82n.js → job-tm5c6145.js} +6 -6
- package/dist/chunks/{file-retention-1f6hy9rq.js → job-tmtexpjy.js} +16 -16
- package/dist/chunks/{file-retention-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-gf6kms5r.js → job-txqprf63.js} +28 -28
- package/dist/chunks/{file-retention-tn0aqsam.js → job-tz2bjj40.js} +5 -5
- package/dist/chunks/{file-retention-ac89cwr5.js → job-v9npywre.js} +9 -9
- package/dist/chunks/{file-retention-bdqrk2vk.js → job-va5qff5x.js} +4 -4
- package/dist/chunks/{file-retention-fygdb7h7.js → job-vbsqbmh9.js} +3 -3
- package/dist/chunks/{file-retention-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-2rq070n9.js → job-vrcxdtev.js} +11 -11
- package/dist/chunks/{file-retention-s1ad6w9q.js → job-vw746he3.js} +20 -20
- package/dist/chunks/{file-retention-dh35ypn5.js → job-vz7d5c1g.js} +8 -8
- package/dist/chunks/{file-retention-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-gyg8dfc2.js → job-wf02h7z8.js} +4 -4
- package/dist/chunks/{file-retention-d50f2zf5.js → job-wx9wy1qm.js} +1 -1
- package/dist/chunks/{file-retention-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-crnty030.js → job-x32mdne6.js} +15 -15
- package/dist/chunks/{file-retention-ah47jct0.js → job-x3y16j9r.js} +172 -169
- package/dist/chunks/{file-retention-50qymgqy.js → job-x6cqdahs.js} +25 -25
- package/dist/chunks/{file-retention-wpewnqw5.js → job-xe0vyz25.js} +8 -8
- package/dist/chunks/{file-retention-gnwa8js5.js → job-xm5nb4vr.js} +5 -5
- package/dist/chunks/{file-retention-qymdde0s.js → job-xxbczere.js} +25 -25
- package/dist/chunks/{file-retention-gsnhw10k.js → job-xyahb20q.js} +22 -22
- package/dist/chunks/{file-retention-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-erc452cp.js → job-y4gpcbfg.js} +11 -11
- package/dist/chunks/{file-retention-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/job-y8f7s663.js +13 -0
- package/dist/chunks/{file-retention-44pwjz7h.js → job-yb5p1ryj.js} +10 -10
- package/dist/chunks/{file-retention-emcapr5g.js → job-ydksxny1.js} +21 -21
- package/dist/chunks/{file-retention-arezx02c.js → job-yp9xb9g1.js} +43 -43
- package/dist/chunks/{file-retention-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-z69s9t6b.js → job-ywhnyrnh.js} +5 -5
- package/dist/chunks/{file-retention-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-f8q7mv7a.js → job-z1pfg6df.js} +1 -1
- package/dist/chunks/{file-retention-22hd0j66.js → job-z42jpxpf.js} +6 -6
- package/dist/chunks/{file-retention-gw2ymje7.js → job-z5sceexq.js} +29 -29
- package/dist/chunks/{file-retention-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-96yt6zt0.js → job-zad871sr.js} +1 -1
- package/dist/chunks/{file-retention-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-fs2pkz11.js → job-zhhw1z8n.js} +24 -24
- package/dist/chunks/{file-retention-wvehkrpd.js → job-zj08swvc.js} +27 -27
- package/dist/chunks/{file-retention-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-9486j81v.js → job-zsd0hsyx.js} +7 -7
- package/dist/chunks/{file-retention-h0r85tvv.js → job-zss809wc.js} +11 -11
- package/dist/chunks/{file-retention-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -81
- package/dist/config/discovery.js +78 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -117
- package/dist/config/plugin/command.js +210 -209
- package/dist/config/plugin/compaction.js +156 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -117
- package/dist/config/plugin/image.js +116 -115
- package/dist/config/plugin/instruction.js +86 -85
- package/dist/config/plugin/location-watcher.js +116 -115
- package/dist/config/plugin/mcp.js +127 -126
- package/dist/config/plugin/policy.js +115 -114
- package/dist/config/plugin/provider.js +114 -113
- package/dist/config/plugin/reference.js +118 -117
- package/dist/config/plugin/shell.js +117 -116
- package/dist/config/plugin/skill-file.js +98 -97
- package/dist/config/plugin/skill.js +137 -136
- package/dist/config/plugin/snapshot.js +116 -115
- package/dist/config/plugin/source.js +118 -117
- package/dist/config/plugin/tool-output.js +118 -117
- package/dist/config/plugin/websearch.js +114 -113
- package/dist/config/plugin/worktree.js +119 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -83
- package/dist/database/database.js +65 -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/20260910120000_clear_v1_session_permission.js +6 -0
- package/dist/database/migration.gen.js +48 -47
- package/dist/database/migration.js +50 -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 +76 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -362
- 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 +89 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -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 +69 -68
- package/dist/file-access.js +100 -99
- package/dist/file-mutation.js +90 -89
- 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 +217 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -96
- package/dist/form.js +73 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -82
- package/dist/generate.js +92 -91
- 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 +354 -353
- package/dist/instruction-discovery.js +82 -81
- package/dist/instructions/builtins.js +83 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -86
- package/dist/job.js +78 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -71
- package/dist/location-activity.js +129 -128
- package/dist/location-mutation.js +100 -99
- package/dist/location-service-map.js +82 -81
- package/dist/location-services.js +351 -350
- package/dist/location.js +85 -84
- package/dist/mcp/client.js +87 -86
- package/dist/mcp/index.js +100 -99
- package/dist/mcp/instructions.js +123 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +79 -78
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -73
- package/dist/plugin/agent.js +100 -99
- package/dist/plugin/command.js +97 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -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 +119 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -114
- package/dist/plugin/provider/digitalocean.js +80 -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 +81 -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 +77 -76
- package/dist/plugin/provider/lmstudio.js +118 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -80
- package/dist/plugin/provider/opencode.js +80 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -76
- 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 +118 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -117
- package/dist/plugin/provider/xai.js +78 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +75 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -343
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -82
- package/dist/plugin/vcs/hg.js +83 -82
- package/dist/plugin/warming.js +113 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -83
- package/dist/provider.js +5 -5
- 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 +95 -94
- package/dist/reference/instructions.js +85 -84
- package/dist/reference.js +87 -86
- package/dist/repository-cache.js +77 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -93
- package/dist/rpc.js +82 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -72
- package/dist/session/compaction.js +130 -129
- package/dist/session/context.js +148 -147
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -216
- package/dist/session/execution.js +123 -122
- package/dist/session/generate.js +149 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -126
- package/dist/session/projector.js +85 -84
- package/dist/session/prompt.js +101 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -110
- package/dist/session/runner/step.js +122 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -169
- package/dist/session/shell.js +132 -131
- package/dist/session/skill.js +99 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -71
- package/dist/session/store.js +84 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -151
- package/dist/session/to-session-error.js +108 -107
- package/dist/session/transfer.js +215 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -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 +15 -15
- package/dist/shell.js +130 -129
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -102
- package/dist/skill.js +108 -107
- package/dist/snapshot.js +87 -86
- 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 +120 -119
- package/dist/tool/plugin/edit.js +116 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -120
- package/dist/tool/plugin/grep.js +117 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -117
- package/dist/tool/plugin/question.js +97 -96
- package/dist/tool/plugin/read.js +120 -119
- package/dist/tool/plugin/shell.js +211 -210
- package/dist/tool/plugin/skill.js +107 -106
- package/dist/tool/plugin/subagent.js +213 -212
- package/dist/tool/plugin/webfetch.js +106 -105
- package/dist/tool/plugin/websearch.js +104 -103
- package/dist/tool/plugin/write.js +116 -115
- package/dist/tool/read-filesystem.js +97 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +4 -4
- package/dist/tool.js +13 -13
- package/dist/types/database/migration/20260910120000_clear_v1_session_permission.d.ts +3 -0
- package/dist/types/session/schema.d.ts +9 -0
- package/dist/types/session/session.d.ts +4 -0
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/transfer.d.ts +9 -0
- package/dist/types/session.d.ts +6 -0
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +86 -85
- package/dist/websearch.js +81 -80
- package/dist/wellknown/plugin.js +75 -74
- package/dist/wellknown.js +80 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -91
- package/package.json +8 -8
- package/dist/chunks/file-retention-0mesazry.js +0 -4
- package/dist/chunks/file-retention-hs9vagrq.js +0 -22
- package/dist/chunks/file-retention-jhe81125.js +0 -462
- package/dist/chunks/file-retention-k39k42nb.js +0 -247
- /package/dist/chunks/{file-retention-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-paphc93g.js → job-paphc93g.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./job-yp9xb9g1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./job-pfd38g1b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin37,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin37 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service45;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin37, register2, exports_mcp2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./job-yp9xb9g1.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./job-83ptx9ch.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./job-9nb79kkh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service64
|
|
19
|
+
} from "./job-k7p9p1nd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service25,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-jhz4yhyh.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service74,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-mq2071pb.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
NotFoundError4,
|
|
36
36
|
Service39
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./job-22z8ajn3.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./job-j3xcqzq3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-wf02h7z8.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./job-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin12,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name11 = "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. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
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 Input11 = 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 Plugin12 = {
|
|
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* Service26;
|
|
122
|
+
const jobs = yield* Service69;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
124
|
+
const environment = yield* Service60;
|
|
125
|
+
const access = yield* Service25;
|
|
126
126
|
const shell = yield* Service39;
|
|
127
|
-
const shellSelect = yield*
|
|
127
|
+
const shellSelect = yield* Service74;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service64;
|
|
130
|
+
const config = yield* Service45;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin6 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name11,
|
|
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 Plugin6 = {
|
|
|
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: name11,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input11,
|
|
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 Plugin6 = {
|
|
|
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 NotFoundError4({ 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: name11,
|
|
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[name11];
|
|
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 { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin12, exports_shell };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer17,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node46,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node46 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer17, configured6, node46, exports_app };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./job-0t8x46gz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service15,
|
|
11
|
+
node18
|
|
12
|
+
} from "./job-8y7j20e0.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service14,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node17
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event3 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service75;
|
|
82
|
+
const search = yield* Service15;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service14.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node17 = makeLocationNode({
|
|
126
|
+
service: Service14,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node80, node18]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-jfpzywp2.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-rsztz52x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-pvk75zp4.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event13,
|
|
24
|
+
ID: () => ID7,
|
|
25
|
+
Info: () => Info19,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service59,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node63
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID7 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event13 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info19 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID7,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service59 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info19({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service59.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info19({
|
|
80
|
+
id: ID7.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node63 = makeGlobalNode({ service: Service59, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID7, OAuth3, Key3, Value2, Event13, Info19, Service59, node63, exports_credential };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-rsztz52x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./job-a4mewc9c.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-rsdf2nvv.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-b3czc2b3.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-e3fjbsab.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./job-4yjjmemh.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service53;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate2 };
|