@opencode/core 0.0.0-dev-20105 → 0.0.0-dev-20110
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 +75 -75
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{worktree-qm63xfj9.js → bus-0dczt24q.js} +11 -11
- package/dist/chunks/{worktree-2k8482vm.js → bus-0dqwd4cc.js} +8 -8
- package/dist/chunks/bus-0mesazry.js +4 -0
- package/dist/chunks/{worktree-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-8hbfdwcy.js → bus-0w62qmxp.js} +8 -8
- package/dist/chunks/{worktree-87nphv2h.js → bus-0xfjjr9h.js} +10 -10
- package/dist/chunks/{worktree-tt2ps04y.js → bus-13np1t9f.js} +25 -25
- package/dist/chunks/{worktree-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-6a4q1va2.js → bus-1hdy0dxq.js} +4 -4
- package/dist/chunks/{worktree-h5m7e0fe.js → bus-1nzh38e4.js} +9 -9
- package/dist/chunks/{worktree-a71abfbd.js → bus-1q0w2sn5.js} +23 -23
- package/dist/chunks/{worktree-bpktnpw7.js → bus-1wkhb3nv.js} +16 -16
- package/dist/chunks/{worktree-26300t6s.js → bus-1yqpms3x.js} +25 -25
- package/dist/chunks/{worktree-s0agc963.js → bus-1zqsf2j9.js} +5 -5
- package/dist/chunks/{worktree-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-5935cfns.js → bus-26kj7cwz.js} +10 -10
- package/dist/chunks/{worktree-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-92a34jea.js → bus-2dzs7ftg.js} +7 -7
- package/dist/chunks/{worktree-eyk4t588.js → bus-2k1cn353.js} +48 -48
- package/dist/chunks/{worktree-ak9z2h5t.js → bus-2p690edb.js} +3 -3
- package/dist/chunks/{worktree-z4ygwn82.js → bus-2qa74q4f.js} +12 -12
- package/dist/chunks/{worktree-b9mjazqy.js → bus-2rzcjetw.js} +15 -15
- package/dist/chunks/{worktree-1ygqh575.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{worktree-m7d3ytap.js → bus-39ttvfyy.js} +6 -6
- package/dist/chunks/{worktree-tn0aqsam.js → bus-3cfzdc8e.js} +5 -5
- package/dist/chunks/{worktree-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3dvng5ry.js → bus-3hx80kcb.js} +20 -20
- package/dist/chunks/{worktree-9p4j1g8x.js → bus-3m588pny.js} +9 -9
- package/dist/chunks/{worktree-yf4jcbx9.js → bus-3ppptnan.js} +6 -6
- package/dist/chunks/{worktree-p6eds5cr.js → bus-3pqdrcfp.js} +11 -11
- package/dist/chunks/{worktree-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-e28zdnr3.js → bus-4ctj6a48.js} +5 -5
- package/dist/chunks/{worktree-ftxpvdc7.js → bus-4fg8svfd.js} +17 -17
- package/dist/chunks/{worktree-4gy17at8.js → bus-4g1jr6f0.js} +18 -18
- package/dist/chunks/{worktree-qc08edcd.js → bus-4gr756ds.js} +16 -16
- package/dist/chunks/{worktree-an0ayh94.js → bus-4q1fk10p.js} +31 -31
- package/dist/chunks/{worktree-kd3d1vys.js → bus-4t96yggr.js} +54 -54
- package/dist/chunks/bus-4v7qdvcn.js +18 -0
- package/dist/chunks/{worktree-53t702sg.js → bus-4y8ww5q8.js} +46 -46
- package/dist/chunks/{worktree-z8zh437v.js → bus-53r14p43.js} +6 -6
- package/dist/chunks/{worktree-28rfmn1q.js → bus-55w6e72n.js} +16 -16
- package/dist/chunks/{worktree-dc6tzc5b.js → bus-57ez7d0k.js} +9 -9
- package/dist/chunks/{worktree-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-5ekn9679.js → bus-5ekn9679.js} +1 -1
- package/dist/chunks/{worktree-vddp9fpw.js → bus-5kac4k3t.js} +27 -27
- package/dist/chunks/{worktree-cj8h12nx.js → bus-5kw5dw4j.js} +5 -5
- package/dist/chunks/{worktree-4fa6t2zh.js → bus-5rzn2h2f.js} +67 -67
- package/dist/chunks/{worktree-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/bus-5ww6wnjh.js +252 -0
- package/dist/chunks/{worktree-9hn6k4tm.js → bus-5xtgfte3.js} +8 -8
- package/dist/chunks/{worktree-khmcpx04.js → bus-5xzrn7a4.js} +35 -35
- package/dist/chunks/{worktree-wzz0kxab.js → bus-5yeq06a0.js} +6 -6
- package/dist/chunks/{worktree-h0v79wmk.js → bus-60v69n21.js} +21 -21
- package/dist/chunks/{worktree-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{worktree-nppmj0x6.js → bus-6b8rzn4m.js} +15 -15
- package/dist/chunks/{worktree-gv8bg5p6.js → bus-6ca1zexh.js} +16 -16
- package/dist/chunks/{worktree-2402vzrj.js → bus-6h73sxmp.js} +5 -5
- package/dist/chunks/{worktree-c0bsws40.js → bus-6j7pwwg5.js} +36 -36
- package/dist/chunks/{worktree-97jrthbw.js → bus-6m26j20e.js} +24 -24
- package/dist/chunks/{worktree-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-pag0f7q6.js → bus-6saf39w2.js} +17 -17
- package/dist/chunks/{worktree-hbyhqfhs.js → bus-705e2ap1.js} +5 -5
- package/dist/chunks/{worktree-t2q8n6ss.js → bus-70gnf0sp.js} +38 -38
- package/dist/chunks/{worktree-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-7463r9za.js → bus-7crhk1w3.js} +39 -39
- package/dist/chunks/{worktree-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
- package/dist/chunks/{worktree-6zsnk1nj.js → bus-7k7qabe4.js} +8 -8
- package/dist/chunks/{worktree-fggcrdhd.js → bus-7kdw7ev1.js} +42 -42
- package/dist/chunks/{worktree-4md04jt5.js → bus-7rs6z72e.js} +17 -17
- package/dist/chunks/{worktree-qqhk6b98.js → bus-7wtj5x8r.js} +5 -5
- package/dist/chunks/{worktree-5qsvws2p.js → bus-85gcv6w1.js} +33 -33
- package/dist/chunks/{worktree-wchfvtxb.js → bus-8a7w9p3z.js} +24 -24
- package/dist/chunks/{worktree-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-cb70gybk.js → bus-8jfskjsd.js} +20 -20
- package/dist/chunks/{worktree-h6r3nrb9.js → bus-8z00fdkb.js} +4 -4
- package/dist/chunks/{worktree-dd33gdcs.js → bus-8z39ygk9.js} +20 -20
- package/dist/chunks/{worktree-94ek1h2f.js → bus-94ek1h2f.js} +2 -2
- package/dist/chunks/{worktree-7j2qha59.js → bus-99xay3p1.js} +8 -8
- package/dist/chunks/{worktree-nxhz0hz5.js → bus-9cbgz947.js} +9 -9
- package/dist/chunks/{worktree-6fx6kqf3.js → bus-9kb4pten.js} +20 -20
- package/dist/chunks/{worktree-xxynqx5z.js → bus-9vs0xtad.js} +3 -3
- package/dist/chunks/{worktree-s1hq0v60.js → bus-9x6sfjnn.js} +13 -13
- package/dist/chunks/{worktree-1myxn3kd.js → bus-9z4n607n.js} +24 -24
- package/dist/chunks/{worktree-fa3800w2.js → bus-9zam7283.js} +5 -5
- package/dist/chunks/{worktree-vsjn4aq5.js → bus-a4wm5c08.js} +9 -9
- package/dist/chunks/{worktree-yfpm05b7.js → bus-a94w1kdh.js} +10 -10
- package/dist/chunks/{worktree-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-d16e32c3.js → bus-acqh8fkh.js} +3 -3
- package/dist/chunks/{worktree-4yvz2rcy.js → bus-afed7ext.js} +12 -12
- package/dist/chunks/{worktree-snbrpa5g.js → bus-agsx0mxp.js} +19 -19
- package/dist/chunks/{worktree-61hs1ryt.js → bus-ah2tstk7.js} +26 -26
- package/dist/chunks/{worktree-5vd11pkv.js → bus-ax3c56fa.js} +23 -23
- package/dist/chunks/{worktree-25mrtkcq.js → bus-aymtadcw.js} +29 -29
- package/dist/chunks/{worktree-2n4z0gea.js → bus-b0kx20c7.js} +23 -23
- package/dist/chunks/{worktree-fzc1rrhc.js → bus-b109chxf.js} +173 -173
- package/dist/chunks/{worktree-tdhe5xga.js → bus-b1h1c68h.js} +8 -8
- package/dist/chunks/{worktree-0wgz3kfx.js → bus-b3sw3ybz.js} +8 -8
- package/dist/chunks/{worktree-emv10mfg.js → bus-b5vkr3nq.js} +15 -15
- package/dist/chunks/{worktree-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-9knhcppf.js → bus-b9j9k7st.js} +3 -3
- package/dist/chunks/{worktree-b4cpr7mt.js → bus-bbbtseyn.js} +10 -10
- package/dist/chunks/{worktree-ystnmmhc.js → bus-bemfr8re.js} +19 -19
- package/dist/chunks/{worktree-8xr9e5ma.js → bus-bncyzpjc.js} +15 -15
- package/dist/chunks/{worktree-a55n900e.js → bus-bqdc39gy.js} +11 -11
- package/dist/chunks/{worktree-akgm0gv0.js → bus-bqkn0a2m.js} +4 -4
- package/dist/chunks/{worktree-kes845dh.js → bus-bs6e0m84.js} +21 -21
- package/dist/chunks/{worktree-v7z2bvyd.js → bus-btbmdjwj.js} +4 -4
- package/dist/chunks/{worktree-1zhvft14.js → bus-bvxxf21n.js} +18 -18
- package/dist/chunks/{worktree-n2fk86tq.js → bus-c11gs41e.js} +5 -5
- package/dist/chunks/{worktree-09tgrvw7.js → bus-c19x1jxg.js} +35 -35
- package/dist/chunks/{worktree-v5z7k5hc.js → bus-c9v8rnps.js} +7 -7
- package/dist/chunks/{worktree-4n0pz7ta.js → bus-cbqwfepe.js} +29 -29
- package/dist/chunks/{worktree-85hqfz1z.js → bus-cewqea6w.js} +30 -30
- package/dist/chunks/{worktree-ckecvw8r.js → bus-ckecvw8r.js} +2 -2
- package/dist/chunks/{worktree-bwvgaq24.js → bus-ckjeqqqd.js} +35 -35
- package/dist/chunks/{worktree-a4xtdcdy.js → bus-cqma6xzt.js} +32 -32
- package/dist/chunks/{worktree-an32yxdc.js → bus-crqhppww.js} +5 -5
- package/dist/chunks/{worktree-hy20qw0x.js → bus-crwg5b5x.js} +11 -11
- package/dist/chunks/{worktree-qfgk5m70.js → bus-cw6ypyqw.js} +5 -5
- package/dist/chunks/{worktree-qa3qhgw8.js → bus-d216944b.js} +7 -7
- package/dist/chunks/{worktree-gze2a564.js → bus-d2vsh0aj.js} +20 -20
- package/dist/chunks/{worktree-d8frqt36.js → bus-d3p9sq2s.js} +40 -40
- package/dist/chunks/{worktree-sn5dskjm.js → bus-d5xsvz9q.js} +33 -33
- package/dist/chunks/{worktree-rjb11c09.js → bus-de1bg4a8.js} +22 -22
- package/dist/chunks/{worktree-dg2cj1yd.js → bus-dg2cj1yd.js} +1 -1
- package/dist/chunks/{worktree-d858xzj7.js → bus-dj68pnee.js} +4 -4
- package/dist/chunks/{worktree-djszqvmq.js → bus-djszqvmq.js} +2 -2
- package/dist/chunks/{worktree-szv3adj2.js → bus-dmjj53sn.js} +2 -2
- package/dist/chunks/{worktree-xkntkrq7.js → bus-dmqcgk4z.js} +5 -5
- package/dist/chunks/{worktree-4j9vtrd0.js → bus-dphfrw81.js} +11 -11
- package/dist/chunks/{worktree-xfkkasph.js → bus-drwq78ky.js} +4 -4
- package/dist/chunks/{worktree-zp8n7hk2.js → bus-dv2dzdwb.js} +9 -9
- package/dist/chunks/{worktree-qj5cc9w6.js → bus-dw2nfv7s.js} +7 -7
- package/dist/chunks/{worktree-mmgzkw4b.js → bus-dw7fq86s.js} +10 -10
- package/dist/chunks/{worktree-pcmmyvsr.js → bus-dxw8e00t.js} +4 -4
- package/dist/chunks/{worktree-76g3v1wk.js → bus-eapqqdsn.js} +22 -22
- package/dist/chunks/{worktree-891pch5y.js → bus-edx79v5g.js} +9 -9
- package/dist/chunks/{worktree-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-92hycem4.js → bus-efnkg68h.js} +20 -20
- package/dist/chunks/{worktree-tzcmwgv2.js → bus-eks5qx6p.js} +22 -22
- package/dist/chunks/{worktree-rqz00b65.js → bus-em9x6te5.js} +16 -16
- package/dist/chunks/{worktree-8xtjj1tw.js → bus-en6fzx4z.js} +5 -5
- package/dist/chunks/{worktree-73tb2d7t.js → bus-eq1pz5kg.js} +3 -3
- package/dist/chunks/{worktree-67k3ptxm.js → bus-ergadxyj.js} +13 -13
- package/dist/chunks/{worktree-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-1acjjqhc.js → bus-f2n192rq.js} +4 -4
- package/dist/chunks/{worktree-gs4tkc79.js → bus-f5gy8qwh.js} +8 -8
- package/dist/chunks/{worktree-3654ekc1.js → bus-fb0tm2s5.js} +84 -84
- package/dist/chunks/{worktree-n810d9f4.js → bus-fmpp0jwj.js} +11 -11
- package/dist/chunks/{worktree-3qhjhqs4.js → bus-fnyw5ncd.js} +18 -18
- package/dist/chunks/{worktree-0mr6qh9d.js → bus-fz8xh7s4.js} +1 -1
- package/dist/chunks/{worktree-nz0453qb.js → bus-fzfr7wj6.js} +13 -13
- package/dist/chunks/{worktree-m4b4b35v.js → bus-g5cd0fse.js} +39 -39
- package/dist/chunks/{worktree-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-4ev63tw3.js → bus-gf34eqph.js} +32 -32
- package/dist/chunks/{worktree-ysav94bt.js → bus-gr2bz4pw.js} +18 -18
- package/dist/chunks/{worktree-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-qtq40051.js → bus-h79gtdf5.js} +43 -43
- package/dist/chunks/{worktree-nbpn5fgr.js → bus-hba62b7s.js} +19 -19
- package/dist/chunks/{worktree-ykzz1t9e.js → bus-hjsym5va.js} +40 -40
- package/dist/chunks/{worktree-k76fn4kw.js → bus-hn57h045.js} +4 -4
- package/dist/chunks/{worktree-vv8yfjwc.js → bus-hsy2ayrh.js} +11 -11
- package/dist/chunks/{worktree-zk5bpfgp.js → bus-hthdkv0g.js} +13 -13
- package/dist/chunks/{worktree-r7y78zcv.js → bus-hv4r7e9n.js} +4 -4
- package/dist/chunks/{worktree-tj8p0sq8.js → bus-j1h3byjr.js} +10 -10
- package/dist/chunks/{worktree-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-mdc5nwhd.js → bus-jn2s104y.js} +15 -15
- package/dist/chunks/{worktree-k3c624dm.js → bus-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-k53npxr2.js → bus-k53npxr2.js} +1 -1
- package/dist/chunks/{worktree-zt0bgn8n.js → bus-k9p3qqxf.js} +10 -10
- package/dist/chunks/{worktree-zbdxx7ek.js → bus-kegj034d.js} +11 -11
- package/dist/chunks/{worktree-tcjtg44a.js → bus-kes3qfzt.js} +325 -325
- package/dist/chunks/{worktree-g8sy80jx.js → bus-knda9j04.js} +89 -89
- package/dist/chunks/{worktree-v5ysw9b9.js → bus-krg1ac3c.js} +11 -11
- package/dist/chunks/{worktree-vyjb9e8r.js → bus-krx1dmeb.js} +23 -23
- package/dist/chunks/{worktree-3nyjywfs.js → bus-kv4b73hx.js} +15 -15
- package/dist/chunks/{worktree-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-ma48de29.js → bus-ma15yhyh.js} +5 -5
- package/dist/chunks/{worktree-mjymc32g.js → bus-magykp64.js} +4 -4
- package/dist/chunks/{worktree-mcphez6e.js → bus-mbe8hv09.js} +18 -18
- package/dist/chunks/{worktree-zv6910x8.js → bus-mfh398z2.js} +25 -25
- package/dist/chunks/{worktree-qnksa3ad.js → bus-mgh6dzwn.js} +22 -22
- package/dist/chunks/{worktree-bhsdwye2.js → bus-mwfbz0xd.js} +14 -14
- package/dist/chunks/bus-mwmnzqyt.js +26 -0
- package/dist/chunks/{worktree-mn20a28a.js → bus-my33rnxx.js} +11 -11
- package/dist/chunks/{worktree-mvksx64m.js → bus-n1ka8r9d.js} +4 -4
- package/dist/chunks/{worktree-7d83w40e.js → bus-n1v1j5gm.js} +3 -3
- package/dist/chunks/{worktree-rqj5z4yb.js → bus-n90m72ty.js} +11 -11
- package/dist/chunks/{worktree-drmc2xrn.js → bus-nehqz7h0.js} +14 -14
- package/dist/chunks/{worktree-4a0nv7mx.js → bus-ngts6ef0.js} +8 -8
- package/dist/chunks/{worktree-ssb8qcd9.js → bus-nkk0yr9d.js} +10 -10
- package/dist/chunks/{worktree-pnv527nz.js → bus-nq7qbqzc.js} +9 -9
- package/dist/chunks/{worktree-4qw9jy8s.js → bus-ns15zm60.js} +6 -6
- package/dist/chunks/{worktree-sd1fa18v.js → bus-nvv7130m.js} +9 -9
- package/dist/chunks/{worktree-62h9g2fv.js → bus-p26jvdj2.js} +18 -18
- package/dist/chunks/{worktree-cpy6gm2a.js → bus-pf2hb43r.js} +6 -6
- package/dist/chunks/{worktree-13gx36pc.js → bus-phypshv1.js} +11 -11
- package/dist/chunks/{worktree-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-gvrsjrvz.js → bus-qetz3bdr.js} +11 -11
- package/dist/chunks/{worktree-zjp1cm63.js → bus-qg7rv61d.js} +15 -15
- package/dist/chunks/{worktree-qn4ba14w.js → bus-qjnxxf51.js} +5 -5
- package/dist/chunks/{worktree-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-n9c5x41c.js → bus-qx04cptv.js} +23 -23
- package/dist/chunks/{worktree-w6dwg7gz.js → bus-qxnq8tq5.js} +18 -18
- package/dist/chunks/{worktree-cqkjr9eb.js → bus-r0w6vsbq.js} +20 -20
- package/dist/chunks/{worktree-wxffcvth.js → bus-r11ajgf0.js} +6 -6
- package/dist/chunks/{worktree-ja2sysa1.js → bus-r1sqmjnz.js} +11 -11
- package/dist/chunks/{worktree-4db8mzj7.js → bus-r3jekd6w.js} +5 -5
- package/dist/chunks/{worktree-y0adyrm5.js → bus-r8d149e4.js} +3 -3
- package/dist/chunks/{worktree-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-z4pkgcrj.js → bus-rgqs5ayd.js} +29 -29
- package/dist/chunks/{worktree-py3kkmfq.js → bus-rkprpv83.js} +2 -2
- package/dist/chunks/{worktree-knc8nek6.js → bus-rn2ankj9.js} +6 -6
- package/dist/chunks/{worktree-r1qjztdq.js → bus-rrq388m2.js} +23 -23
- package/dist/chunks/{worktree-sr8hj6d6.js → bus-s29rvfdk.js} +18 -18
- package/dist/chunks/{worktree-8q0abqdy.js → bus-s8qd0pza.js} +8 -8
- package/dist/chunks/{worktree-akfg0z59.js → bus-sed1cph5.js} +22 -22
- package/dist/chunks/{worktree-0bf3khfw.js → bus-sg2nz0p0.js} +32 -32
- package/dist/chunks/{worktree-904rfj5f.js → bus-sphdp7rh.js} +32 -32
- package/dist/chunks/{worktree-wg821d8s.js → bus-sqtqbwng.js} +6 -6
- package/dist/chunks/{worktree-00z3vp5f.js → bus-sx1n432n.js} +4 -4
- package/dist/chunks/{worktree-t5jfh8kc.js → bus-t03bbx3y.js} +12 -12
- package/dist/chunks/{worktree-z3aggnr2.js → bus-t27mf08w.js} +32 -32
- package/dist/chunks/{worktree-rhjbct0v.js → bus-t550f9t1.js} +4 -4
- package/dist/chunks/{worktree-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-34q1q4g3.js → bus-tmvszdqk.js} +4 -4
- package/dist/chunks/{worktree-g9hze54y.js → bus-tpwaysbs.js} +1 -1
- package/dist/chunks/{worktree-0xc744yh.js → bus-tqjbcyfm.js} +26 -26
- package/dist/chunks/{worktree-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-afjydgk3.js → bus-tx92n959.js} +4 -4
- package/dist/chunks/{worktree-ky3seynh.js → bus-v2f6dcv3.js} +2 -2
- package/dist/chunks/{worktree-s31e5dqq.js → bus-v78f6ems.js} +37 -37
- package/dist/chunks/{worktree-4angy42y.js → bus-vc6exsj4.js} +3 -3
- package/dist/chunks/{worktree-ntzzmvrg.js → bus-vctazb64.js} +4 -4
- package/dist/chunks/{worktree-5bxn2d00.js → bus-ve5t88w0.js} +13 -13
- package/dist/chunks/{worktree-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-p31vw5zt.js → bus-vjcr61gx.js} +9 -9
- package/dist/chunks/{worktree-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-5214kcsh.js → bus-w2hr9m4n.js} +42 -42
- package/dist/chunks/{worktree-zqm7km32.js → bus-w3bkza1g.js} +8 -8
- package/dist/chunks/{worktree-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wd3x2cqz.js → bus-wd3x2cqz.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-11dqjexa.js → bus-wk5z6jzv.js} +9 -9
- package/dist/chunks/{worktree-5x326c62.js → bus-wnf47mqh.js} +10 -10
- package/dist/chunks/{worktree-qhmjmk1w.js → bus-wqsgdcqx.js} +44 -44
- package/dist/chunks/{worktree-jwjj0ar8.js → bus-wtg76wjq.js} +20 -20
- package/dist/chunks/{worktree-xbsm0w8x.js → bus-wwbkxvr0.js} +12 -12
- package/dist/chunks/{worktree-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-1q9thhxg.js → bus-x1wafzv1.js} +6 -6
- package/dist/chunks/{worktree-8b96hdfe.js → bus-x5tv5bhz.js} +10 -10
- package/dist/chunks/{worktree-qv9g0gyx.js → bus-xe5vrw40.js} +20 -20
- package/dist/chunks/{worktree-3t84zwd8.js → bus-xnkaq8n7.js} +8 -8
- package/dist/chunks/{worktree-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-dpkg50ah.js → bus-y71avatq.js} +4 -4
- package/dist/chunks/{worktree-x8z8zpk0.js → bus-y7emxscq.js} +6 -6
- package/dist/chunks/{worktree-pa033vv9.js → bus-y7w7614s.js} +24 -24
- package/dist/chunks/{worktree-gs1aapz6.js → bus-y9199srt.js} +3 -3
- package/dist/chunks/{worktree-k3anzat6.js → bus-yjebqc3c.js} +22 -22
- package/dist/chunks/{worktree-ba7qst6d.js → bus-ymf35ta8.js} +18 -18
- package/dist/chunks/{worktree-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-yghvc19j.js → bus-ysek36vy.js} +10 -10
- package/dist/chunks/{worktree-0f9afca0.js → bus-yt0fqk68.js} +5 -5
- package/dist/chunks/{worktree-f9w2621f.js → bus-yth2f470.js} +5 -5
- package/dist/chunks/{worktree-z07pqspn.js → bus-z07pqspn.js} +3 -3
- package/dist/chunks/{worktree-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-348pjw7k.js → bus-z1sxxdkt.js} +12 -12
- package/dist/chunks/{worktree-4hk27nw6.js → bus-z2tqpmk8.js} +10 -10
- package/dist/chunks/{worktree-nfpfdzzq.js → bus-z5qf6xj2.js} +12 -12
- package/dist/chunks/{worktree-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-qsj8tpbg.js → bus-ztn1rgwm.js} +15 -15
- package/dist/chunks/{worktree-p7q1b1dk.js → bus-ztrjg0dp.js} +15 -15
- package/dist/chunks/{worktree-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-qc068m1q.js +0 -18
- package/dist/chunks/worktree-ybrqsgzm.js +0 -252
- package/dist/chunks/worktree-zw0azyx1.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./bus-y7w7614s.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node70
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service67.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service67, node70, exports_ripgrep };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node55
|
|
4
|
+
} from "./bus-efnkg68h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./bus-em9x6te5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node54
|
|
12
|
+
} from "./bus-g5cd0fse.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service9,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer6,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer6 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service51;
|
|
40
|
+
const watcher = yield* Service52;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service9.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service9,
|
|
75
75
|
layer: layer6,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node54, FSUtil.node, node55, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service9,
|
|
80
|
+
layer: Layer.succeed(Service9, Service9.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service9, layer6, node11, empty2, exports_source };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./bus-hjsym5va.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service35
|
|
10
|
+
} from "./bus-yjebqc3c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input6,
|
|
19
19
|
Output: () => Output5,
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
20
|
+
Plugin: () => Plugin8,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
22
|
description: () => description3,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name6,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
@@ -43,17 +43,17 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin8 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service35;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description3,
|
|
56
|
-
input:
|
|
56
|
+
input: Input6,
|
|
57
57
|
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
@@ -61,7 +61,7 @@ var Plugin24 = {
|
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin24 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output5, description3, toModelOutput2, Plugin8, exports_skill };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-fmpp0jwj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-hv4r7e9n.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-xe5vrw40.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-1yqpms3x.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID7,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-sphdp7rh.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID12.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID12.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID7.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID7.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID7.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
230
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin19
|
|
3
|
+
} from "./bus-1zqsf2j9.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin21
|
|
6
|
+
} from "./bus-a4wm5c08.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin20
|
|
9
|
+
} from "./bus-x1wafzv1.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin22
|
|
12
|
+
} from "./bus-en6fzx4z.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin18
|
|
15
|
+
} from "./bus-3m588pny.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin19,
|
|
20
|
+
Plugin21,
|
|
21
|
+
Plugin20,
|
|
22
|
+
Plugin22,
|
|
23
|
+
Plugin18
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service32,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node35
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service41, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service32.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node35 = makeGlobalNode({ service: Service32, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service32, makeLayer2, layer15, node35, exports_model_transport };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-t550f9t1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-z07pqspn.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./bus-sphdp7rh.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID7.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-fmpp0jwj.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./bus-xe5vrw40.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-1yqpms3x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-sphdp7rh.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID7.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID12.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service77;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-j1h3byjr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./bus-b1h1c68h.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-bqkn0a2m.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./bus-g5cd0fse.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin48
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin48 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service51;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin48, exports_agent2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service62,
|
|
10
|
+
node: () => node65
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service62 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service62.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node65 = makeLocationNode({ service: Service62, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service62, node65, exports_hooks };
|