@opencode/core 0.0.0-dev-19993 → 0.0.0-dev-19995
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 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{pty-a5cfpm61.js → event-logger-020j3mp2.js} +6 -6
- package/dist/chunks/{pty-mbfxv7fw.js → event-logger-03y4ksfc.js} +34 -34
- package/dist/chunks/{pty-e163j4jp.js → event-logger-048w8w2y.js} +15 -15
- package/dist/chunks/{pty-h53kmbdm.js → event-logger-04t6yav5.js} +60 -60
- package/dist/chunks/{pty-hsgwpaad.js → event-logger-05zq6f59.js} +17 -17
- package/dist/chunks/{pty-v2cwp70s.js → event-logger-0jcgjgb0.js} +47 -47
- package/dist/chunks/{pty-607tc6va.js → event-logger-0jwsre1p.js} +5 -5
- package/dist/chunks/{pty-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-d8sk975s.js → event-logger-0qa5p3hq.js} +30 -30
- package/dist/chunks/{pty-qggqx5pb.js → event-logger-0s976vq3.js} +22 -22
- package/dist/chunks/{pty-570bm5aw.js → event-logger-14yc5bzp.js} +21 -21
- package/dist/chunks/{pty-kcnwc050.js → event-logger-1aarw4wd.js} +32 -32
- package/dist/chunks/{pty-yp2x3t23.js → event-logger-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-aemqn3ez.js → event-logger-1jna24v5.js} +11 -11
- package/dist/chunks/{pty-e4y0dkgq.js → event-logger-1pd680f0.js} +19 -19
- package/dist/chunks/{pty-cbc0wxnt.js → event-logger-1qd6ctcj.js} +4 -4
- package/dist/chunks/{pty-1sn1ktbx.js → event-logger-1sm4aczp.js} +9 -9
- package/dist/chunks/{pty-tpnwfd5g.js → event-logger-1xbk51d1.js} +3 -3
- package/dist/chunks/{pty-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6kg1vfnr.js → event-logger-22km69g0.js} +6 -6
- package/dist/chunks/{pty-6h73sxmp.js → event-logger-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-dh91zd6a.js → event-logger-29y626x8.js} +11 -11
- package/dist/chunks/{pty-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-71y3c5ag.js → event-logger-2bvs29qf.js} +26 -26
- package/dist/chunks/{pty-038mqbwm.js → event-logger-2fxf5vq5.js} +5 -5
- package/dist/chunks/{pty-pekx08ex.js → event-logger-2gjby33x.js} +20 -20
- package/dist/chunks/{pty-x2jawspn.js → event-logger-2hbp1rqv.js} +9 -9
- package/dist/chunks/{pty-062r8x8b.js → event-logger-2mfwfczk.js} +93 -93
- package/dist/chunks/{pty-ecxgrer6.js → event-logger-3d8yq8v2.js} +44 -44
- package/dist/chunks/{pty-h0sprvfa.js → event-logger-3dntjpwz.js} +48 -48
- package/dist/chunks/{pty-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-nkasj3c8.js → event-logger-3pt4dhyb.js} +7 -7
- package/dist/chunks/{pty-jz67am5p.js → event-logger-3q6gaar1.js} +9 -9
- package/dist/chunks/{pty-7b6h5z22.js → event-logger-3qvcabr8.js} +23 -23
- package/dist/chunks/{pty-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-cfhq3gyz.js → event-logger-420mfcd1.js} +31 -31
- package/dist/chunks/{pty-53gk70sf.js → event-logger-4686z1cc.js} +9 -9
- package/dist/chunks/{pty-emca911v.js → event-logger-46efvg8p.js} +8 -8
- package/dist/chunks/{pty-41tykhqn.js → event-logger-4b54kahm.js} +8 -8
- package/dist/chunks/{pty-w9ka22cp.js → event-logger-4j1b3dvz.js} +35 -35
- package/dist/chunks/{pty-3shkqxcj.js → event-logger-4mqqaehj.js} +6 -6
- package/dist/chunks/{pty-czzrymxc.js → event-logger-50xdy9sd.js} +26 -26
- package/dist/chunks/{pty-1ygqh575.js → event-logger-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-2w6fc0zt.js → event-logger-57ez7d0k.js} +7 -7
- package/dist/chunks/{pty-typarb9b.js → event-logger-5byqfvby.js} +20 -20
- package/dist/chunks/{pty-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-rgch3z0v.js → event-logger-5e07j1hz.js} +18 -18
- package/dist/chunks/{pty-fxbjtjnd.js → event-logger-5ekn9679.js} +7 -7
- package/dist/chunks/{pty-4efdx9rk.js → event-logger-5gs23kxp.js} +22 -22
- package/dist/chunks/{pty-xvnj5msj.js → event-logger-5jrr3pva.js} +3 -3
- package/dist/chunks/{pty-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-x10m976v.js → event-logger-5t8sa872.js} +32 -32
- package/dist/chunks/{pty-mys1tqp3.js → event-logger-623f9wzm.js} +32 -32
- package/dist/chunks/{pty-s9na07f2.js → event-logger-63zxpw7x.js} +11 -11
- package/dist/chunks/{pty-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{pty-24dx1hrc.js → event-logger-6cztnhhd.js} +10 -10
- package/dist/chunks/{pty-tkmwgdpd.js → event-logger-6hh8tjw2.js} +7 -7
- package/dist/chunks/{pty-cp1t7mny.js → event-logger-6kgmyewg.js} +25 -25
- package/dist/chunks/{pty-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-bpckba2r.js → event-logger-6nkg1aef.js} +16 -16
- package/dist/chunks/{pty-bhteabqx.js → event-logger-6sh8n07q.js} +4 -4
- package/dist/chunks/{pty-ab845m4a.js → event-logger-6t38r8tw.js} +23 -23
- package/dist/chunks/{pty-jbtd89qx.js → event-logger-6ws21zwn.js} +13 -13
- package/dist/chunks/{pty-z7br6qex.js → event-logger-74epjytj.js} +24 -24
- package/dist/chunks/{pty-nt2pe6m8.js → event-logger-76cvkgxg.js} +25 -25
- package/dist/chunks/{pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-192rtf0k.js → event-logger-7wymycec.js} +32 -32
- package/dist/chunks/{pty-jgttmm4a.js → event-logger-7xyrrtj6.js} +5 -5
- package/dist/chunks/{pty-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-p7p04q1a.js → event-logger-8hb4xbhy.js} +18 -18
- package/dist/chunks/{pty-nbgyd66e.js → event-logger-8k5j04yw.js} +25 -25
- package/dist/chunks/{pty-026axa4a.js → event-logger-8kecht9x.js} +30 -30
- package/dist/chunks/{pty-jgq9btc2.js → event-logger-8wfyked2.js} +49 -49
- package/dist/chunks/{pty-6ng8rhkc.js → event-logger-965ggptx.js} +12 -12
- package/dist/chunks/{pty-p1zevnby.js → event-logger-9aj2ewm7.js} +35 -35
- package/dist/chunks/{pty-f22wqnxv.js → event-logger-9b5kt93f.js} +11 -11
- package/dist/chunks/{pty-pcfkrm12.js → event-logger-9fc3v4re.js} +4 -4
- package/dist/chunks/event-logger-9kfwgk0g.js +252 -0
- package/dist/chunks/{pty-c7w3tbrx.js → event-logger-9m2wgq44.js} +6 -6
- package/dist/chunks/{pty-feqpvc5c.js → event-logger-a3j10mfs.js} +19 -19
- package/dist/chunks/{pty-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-5getdy1k.js → event-logger-aehm52e9.js} +19 -19
- package/dist/chunks/{pty-2yb6xvw8.js → event-logger-ahpsrzsw.js} +13 -13
- package/dist/chunks/{pty-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-x2rw7g36.js → event-logger-b7b4ctej.js} +5 -5
- package/dist/chunks/{pty-4tajgtbv.js → event-logger-bzngrnjc.js} +15 -15
- package/dist/chunks/{pty-4e8vs6eh.js → event-logger-c27esgm9.js} +8 -8
- package/dist/chunks/{pty-0tay0vp0.js → event-logger-c5be9zdx.js} +17 -17
- package/dist/chunks/{pty-djszqvmq.js → event-logger-c765mh8b.js} +9 -9
- package/dist/chunks/{pty-7g9sy6yd.js → event-logger-c83phvx3.js} +7 -7
- package/dist/chunks/{pty-tms1td0z.js → event-logger-ch15aacc.js} +52 -52
- package/dist/chunks/{pty-5yzzbxa7.js → event-logger-cmwkp3r5.js} +8 -8
- package/dist/chunks/{pty-texm17j6.js → event-logger-cna5mhkg.js} +24 -24
- package/dist/chunks/{pty-6y2kb6da.js → event-logger-cnkdetzb.js} +22 -22
- package/dist/chunks/{pty-15zevn5w.js → event-logger-cpy6gm2a.js} +6 -6
- package/dist/chunks/{pty-rp6xkheg.js → event-logger-cscxsbct.js} +13 -13
- package/dist/chunks/{pty-frw7gw9n.js → event-logger-czm3bm87.js} +32 -32
- package/dist/chunks/{pty-draats0m.js → event-logger-dfrss5yb.js} +5 -5
- package/dist/chunks/{pty-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-dpkg50ah.js → event-logger-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-f8fgzrbf.js → event-logger-e2gcv4mp.js} +25 -25
- package/dist/chunks/{pty-xya6rnzh.js → event-logger-e4g6rnfs.js} +13 -13
- package/dist/chunks/{pty-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-jt4eq04m.js → event-logger-eq2cdp10.js} +42 -42
- package/dist/chunks/{pty-ba30f0re.js → event-logger-erhakd9y.js} +29 -29
- package/dist/chunks/{pty-erw5rpbs.js → event-logger-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-zqpw1c2p.js → event-logger-evxjfsf1.js} +32 -32
- package/dist/chunks/{pty-fmj93vfk.js → event-logger-eydrgtxh.js} +12 -12
- package/dist/chunks/{pty-k1qrnqst.js → event-logger-f5gy8qwh.js} +8 -8
- package/dist/chunks/{pty-w2xf1871.js → event-logger-f8mrt3yx.js} +40 -40
- package/dist/chunks/{pty-hs74x4gh.js → event-logger-f9th4ctt.js} +4 -4
- package/dist/chunks/{pty-rt43k5p5.js → event-logger-f9xxq0qt.js} +32 -32
- package/dist/chunks/{pty-zab6dek8.js → event-logger-fjvrebxd.js} +22 -22
- package/dist/chunks/{pty-bqjt5s0q.js → event-logger-fpwjxwx3.js} +43 -43
- package/dist/chunks/{pty-r9w3djhf.js → event-logger-fqcgpcra.js} +9 -9
- package/dist/chunks/{pty-fvkf5gpn.js → event-logger-fzb6eg2k.js} +5 -5
- package/dist/chunks/{pty-d81wp89e.js → event-logger-g2yqed36.js} +20 -20
- package/dist/chunks/{pty-3srp75sn.js → event-logger-g7a140t9.js} +13 -13
- package/dist/chunks/{pty-p7zm9vnn.js → event-logger-gc5zyen6.js} +18 -18
- package/dist/chunks/{pty-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-548d8qnr.js → event-logger-gg2pcgrz.js} +13 -13
- package/dist/chunks/{pty-q40w5akv.js → event-logger-gjdnp5j1.js} +1 -1
- package/dist/chunks/{pty-hm7r1852.js → event-logger-grbsccpx.js} +18 -18
- package/dist/chunks/{pty-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-s4w9dbtc.js → event-logger-gxcntcf7.js} +8 -8
- package/dist/chunks/{pty-9j764z9f.js → event-logger-h2dzxg9q.js} +7 -7
- package/dist/chunks/{pty-zxeq00ty.js → event-logger-h304gee5.js} +14 -14
- package/dist/chunks/{pty-8z00fdkb.js → event-logger-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-8pf6zh8g.js → event-logger-h6xepb87.js} +7 -7
- package/dist/chunks/{pty-jhf3jymm.js → event-logger-h896pcm5.js} +6 -6
- package/dist/chunks/{pty-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-e2sckgsq.js → event-logger-hekjtj0c.js} +22 -22
- package/dist/chunks/{pty-1m68c3fq.js → event-logger-hvf0hqz1.js} +11 -11
- package/dist/chunks/{pty-a8mkfh3x.js → event-logger-j33cj7c0.js} +11 -11
- package/dist/chunks/{pty-bbd5t3cy.js → event-logger-j485hse2.js} +35 -35
- package/dist/chunks/{pty-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-eyx3sbbq.js → event-logger-j5vdtgek.js} +4 -4
- package/dist/chunks/{pty-43kxyya3.js → event-logger-j710vash.js} +12 -12
- package/dist/chunks/{pty-pmr4s4kc.js → event-logger-j83byb14.js} +4 -4
- package/dist/chunks/{pty-vw2351hj.js → event-logger-jcaaevbk.js} +5 -5
- package/dist/chunks/{pty-j1fnkb2v.js → event-logger-jccvzjq0.js} +31 -31
- package/dist/chunks/{pty-nscznvay.js → event-logger-jjs74g98.js} +9 -9
- package/dist/chunks/{pty-8vhnwsrf.js → event-logger-jmdk0q61.js} +73 -73
- package/dist/chunks/{pty-bha4atvq.js → event-logger-jmphe03k.js} +4 -4
- package/dist/chunks/{pty-s23akgaf.js → event-logger-jxqwwkf3.js} +5 -5
- package/dist/chunks/{pty-nzks3jc8.js → event-logger-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-p8z07maz.js → event-logger-k6p1ynt8.js} +23 -23
- package/dist/chunks/{pty-93hpb89x.js → event-logger-k6yq57aq.js} +3 -3
- package/dist/chunks/{pty-870m6jn5.js → event-logger-k8a7jxk0.js} +6 -6
- package/dist/chunks/{pty-knb7evpn.js → event-logger-k9kj6xed.js} +6 -6
- package/dist/chunks/{pty-2shksz5k.js → event-logger-kfj42dqf.js} +15 -15
- package/dist/chunks/{pty-48yax929.js → event-logger-kfyt32eg.js} +41 -41
- package/dist/chunks/{pty-29mx63hq.js → event-logger-kh4f7xrt.js} +29 -29
- package/dist/chunks/{pty-2sr83qrg.js → event-logger-kkjk0k92.js} +1 -1
- package/dist/chunks/event-logger-km01z7yn.js +26 -0
- package/dist/chunks/{pty-xkr6cyjb.js → event-logger-kshh6723.js} +23 -23
- package/dist/chunks/{pty-1543s7pr.js → event-logger-kxy3zzmf.js} +4 -4
- package/dist/chunks/{pty-tct3dq34.js → event-logger-kzqssey1.js} +54 -54
- package/dist/chunks/{pty-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-rsf4gv7k.js → event-logger-m2tgckte.js} +27 -27
- package/dist/chunks/{pty-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-m5j28g6y.js → event-logger-m67nz9rk.js} +8 -8
- package/dist/chunks/{pty-6svx4vfh.js → event-logger-m9jeb0dg.js} +28 -28
- package/dist/chunks/{pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-xhrfypmh.js → event-logger-mdeam199.js} +32 -32
- package/dist/chunks/{pty-qr8qa9bm.js → event-logger-mhvcgc0n.js} +30 -30
- package/dist/chunks/{pty-sez5jh81.js → event-logger-mjymc32g.js} +4 -4
- package/dist/chunks/{pty-vj81g6vn.js → event-logger-msq0jde0.js} +4 -4
- package/dist/chunks/{pty-s0agc963.js → event-logger-mw934p8z.js} +5 -5
- package/dist/chunks/{pty-g2eett4k.js → event-logger-mwaasxsj.js} +11 -11
- package/dist/chunks/{pty-zcc1n10w.js → event-logger-myqhxg9v.js} +8 -8
- package/dist/chunks/{pty-wx15ps39.js → event-logger-mzrbxmyd.js} +11 -11
- package/dist/chunks/{pty-ehhpwfhw.js → event-logger-n2gg5p8t.js} +40 -40
- package/dist/chunks/{pty-k5t1vn2m.js → event-logger-ncxpewm0.js} +24 -24
- package/dist/chunks/{pty-vqwxbh15.js → event-logger-ng0pqa5s.js} +19 -19
- package/dist/chunks/{pty-xj2v2q7r.js → event-logger-nv6sgpkb.js} +6 -6
- package/dist/chunks/{pty-d386qjdf.js → event-logger-nwn8438d.js} +3 -3
- package/dist/chunks/{pty-p28j5sbe.js → event-logger-p28j5sbe.js} +2 -2
- package/dist/chunks/{pty-pecb0brz.js → event-logger-p44d8wdy.js} +5 -5
- package/dist/chunks/{pty-0w94f9zc.js → event-logger-p6dvmy6m.js} +8 -8
- package/dist/chunks/{pty-hwdkr1sy.js → event-logger-p7zm1bbg.js} +9 -9
- package/dist/chunks/{pty-vbwvxk55.js → event-logger-pfcenzjn.js} +16 -16
- package/dist/chunks/{pty-dc0f92gk.js → event-logger-pjv5g3we.js} +44 -44
- package/dist/chunks/{pty-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{pty-mfcw5yns.js → event-logger-pnezrcsm.js} +3 -3
- package/dist/chunks/{pty-hqmr0w3b.js → event-logger-pstg3rfm.js} +1 -1
- package/dist/chunks/{pty-02xe747d.js → event-logger-q5rsr9t9.js} +8 -8
- package/dist/chunks/{pty-pvcnmygp.js → event-logger-q89ms4w2.js} +20 -20
- package/dist/chunks/{pty-2s238nn0.js → event-logger-qaczxe84.js} +184 -184
- package/dist/chunks/{pty-09tf4pjr.js → event-logger-qc9cscmv.js} +98 -98
- package/dist/chunks/{pty-qjnxxf51.js → event-logger-qjnxxf51.js} +2 -2
- package/dist/chunks/{pty-9pr215e3.js → event-logger-qk9s13pt.js} +21 -21
- package/dist/chunks/{pty-sk7gk9f5.js → event-logger-qq78z515.js} +13 -13
- package/dist/chunks/{pty-mx7gy8pb.js → event-logger-qrbdfc2y.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-mhkvc446.js → event-logger-r5x6zcsm.js} +3 -3
- package/dist/chunks/event-logger-rap9a73h.js +18 -0
- package/dist/chunks/{pty-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-esmjnf1q.js → event-logger-rfz948x8.js} +6 -6
- package/dist/chunks/{pty-3tjpy68d.js → event-logger-rvhy2x5j.js} +33 -33
- package/dist/chunks/{pty-h61ncxx5.js → event-logger-ryxmxgzp.js} +10 -10
- package/dist/chunks/{pty-rxdxv3zs.js → event-logger-rz38yymz.js} +12 -12
- package/dist/chunks/{pty-favr8gmm.js → event-logger-s3r0q333.js} +15 -15
- package/dist/chunks/{pty-7mr8gmff.js → event-logger-s6qg0f85.js} +4 -4
- package/dist/chunks/{pty-xc8wbe60.js → event-logger-s89ehdyp.js} +28 -28
- package/dist/chunks/{pty-et2qvwfy.js → event-logger-s9h2g6by.js} +10 -10
- package/dist/chunks/{pty-9n5gchmp.js → event-logger-sbev2xd4.js} +32 -32
- package/dist/chunks/{pty-rrfm0vdv.js → event-logger-svenvbs2.js} +15 -15
- package/dist/chunks/{pty-8m27p9j3.js → event-logger-syzk9dn2.js} +12 -12
- package/dist/chunks/{pty-mkmvax1f.js → event-logger-t2c2xhgk.js} +10 -10
- package/dist/chunks/{pty-eaj1djv9.js → event-logger-t550f9t1.js} +8 -8
- package/dist/chunks/{pty-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-3cs1hnzz.js → event-logger-tc9wmbbt.js} +23 -23
- package/dist/chunks/{pty-89znhe33.js → event-logger-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-s1x3xehd.js → event-logger-tcyr2mjb.js} +14 -14
- package/dist/chunks/{pty-w97g4k0g.js → event-logger-tdhe5xga.js} +8 -8
- package/dist/chunks/{pty-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{pty-6rjq4ad6.js → event-logger-tm7zr4pr.js} +4 -4
- package/dist/chunks/{pty-rf2pre7z.js → event-logger-tmdm8nhe.js} +16 -16
- package/dist/chunks/{pty-78v47nsk.js → event-logger-tn0aqsam.js} +5 -5
- package/dist/chunks/{pty-abcdk8h0.js → event-logger-tr6395rv.js} +41 -41
- package/dist/chunks/{pty-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-sgb290x0.js → event-logger-tz6evg4p.js} +18 -18
- package/dist/chunks/{pty-ca9wasfp.js → event-logger-v0rpwjyq.js} +18 -18
- package/dist/chunks/{pty-rzz4s24w.js → event-logger-v1h7w5qd.js} +17 -17
- package/dist/chunks/{pty-t3444mmx.js → event-logger-v4ck12m0.js} +11 -11
- package/dist/chunks/{pty-njs4fkas.js → event-logger-v7ax8jwn.js} +17 -17
- package/dist/chunks/{pty-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-3q7edt44.js → event-logger-vj3n20x5.js} +14 -14
- package/dist/chunks/{pty-j69p7kth.js → event-logger-vnqs7r77.js} +28 -28
- package/dist/chunks/{pty-2sbg9ezb.js → event-logger-vqrb12cs.js} +60 -60
- package/dist/chunks/{pty-bqa7vndz.js → event-logger-vrhc7fs1.js} +27 -27
- package/dist/chunks/{pty-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-qrrcqbrg.js → event-logger-w2dp7ehs.js} +13 -13
- package/dist/chunks/{pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-9dvfkq0c.js → event-logger-w6gc61s9.js} +9 -9
- package/dist/chunks/{pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{pty-ph842b28.js → event-logger-wj76ss2k.js} +4 -4
- package/dist/chunks/{pty-fya5n5xa.js → event-logger-wp991nc2.js} +12 -12
- package/dist/chunks/{pty-j7c1rfea.js → event-logger-wpn6b2y7.js} +24 -24
- package/dist/chunks/{pty-be40ghdv.js → event-logger-wqc6684y.js} +2 -2
- package/dist/chunks/{pty-4cv6vszb.js → event-logger-wtd95fmx.js} +22 -22
- package/dist/chunks/{pty-atfs7rhk.js → event-logger-wzz0kxab.js} +4 -4
- package/dist/chunks/{pty-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-879k3rbz.js → event-logger-x1pyywdt.js} +5 -5
- package/dist/chunks/{pty-zg5t6seb.js → event-logger-x383x7h2.js} +11 -11
- package/dist/chunks/{pty-5vdyt57w.js → event-logger-x9zc6e4m.js} +3 -3
- package/dist/chunks/{pty-1cd81313.js → event-logger-xcwej3ej.js} +11 -11
- package/dist/chunks/{pty-drwq78ky.js → event-logger-xfkkasph.js} +4 -4
- package/dist/chunks/event-logger-xrsqh21y.js +4 -0
- package/dist/chunks/{pty-q58mka6k.js → event-logger-xsgk3b13.js} +9 -9
- package/dist/chunks/event-logger-xwd8wj01.js +503 -0
- package/dist/chunks/{pty-1avgqjfw.js → event-logger-xz4b9fm1.js} +11 -11
- package/dist/chunks/{pty-ha666rq4.js → event-logger-y0v406da.js} +6 -6
- package/dist/chunks/{pty-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-r7pg2k45.js → event-logger-ye8vvjpm.js} +37 -37
- package/dist/chunks/{pty-p1cpmwyf.js → event-logger-yevqhp4e.js} +19 -19
- package/dist/chunks/{pty-461fsfdt.js → event-logger-yjrjdv4d.js} +22 -22
- package/dist/chunks/{pty-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-nw53exab.js → event-logger-yvvvp4gn.js} +8 -8
- package/dist/chunks/{pty-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-yrbxk7kt.js → event-logger-z31xfknp.js} +20 -20
- package/dist/chunks/{pty-8exbzf8y.js → event-logger-z5z1z32e.js} +19 -19
- package/dist/chunks/{pty-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-tz4n1mmd.js → event-logger-zav06jzw.js} +4 -4
- package/dist/chunks/{pty-050w92qt.js → event-logger-zc6f29a8.js} +11 -11
- package/dist/chunks/{pty-2hvjkdzw.js → event-logger-zc733s3z.js} +3 -3
- package/dist/chunks/{pty-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-xcz1w3cx.js → event-logger-zfwjcr3k.js} +29 -29
- package/dist/chunks/{pty-y9g97vsr.js → event-logger-zqawtfk0.js} +35 -35
- package/dist/chunks/{pty-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-e91xfsxp.js → event-logger-zs2egq8y.js} +2 -2
- package/dist/chunks/{pty-j2zz4nqv.js → event-logger-zsb94mss.js} +15 -15
- package/dist/chunks/{pty-6wc135vc.js → event-logger-zxnbmr45.js} +27 -27
- package/dist/chunks/{pty-zxq2ej10.js → event-logger-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 +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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 +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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +2 -2
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/pty-45th5jwr.js +0 -18
- package/dist/chunks/pty-4wwmgmwd.js +0 -26
- package/dist/chunks/pty-pf0d5y53.js +0 -252
- package/dist/chunks/pty-qtvmxc8s.js +0 -4
- package/dist/chunks/pty-wwpq4dkc.js +0 -503
- /package/dist/chunks/{pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → event-logger-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./event-logger-pfcenzjn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./event-logger-tcyr2mjb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node56
|
|
12
|
+
} from "./event-logger-ncxpewm0.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service66,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node69
|
|
20
|
+
} from "./event-logger-yevqhp4e.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service61,
|
|
23
|
+
node64
|
|
24
|
+
} from "./event-logger-c27esgm9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service43,
|
|
27
|
+
node46
|
|
28
|
+
} from "./event-logger-yvvvp4gn.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./event-logger-k6yq57aq.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service44,
|
|
35
|
+
node47
|
|
36
|
+
} from "./event-logger-8wfyked2.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./event-logger-j710vash.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service42,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node45
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service42 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service82;
|
|
91
|
+
const location = yield* Service80;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service66;
|
|
94
|
+
const environment = yield* Service54;
|
|
95
|
+
const hooks = yield* Service61;
|
|
96
|
+
const environments = yield* Service43;
|
|
97
|
+
const config = yield* Service44;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -195,10 +195,10 @@ var layer = () => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
195
195
|
const truncated = latest.size > maxBytes || lines.length > maxLines;
|
|
196
196
|
const text = lines.length > maxLines ? lines.slice(-maxLines).join(`
|
|
197
197
|
`) : page.output;
|
|
198
|
-
const notice = truncated ? `
|
|
198
|
+
const notice = truncated ? `${text ? `
|
|
199
199
|
|
|
200
|
-
|
|
201
|
-
return { output: `${text
|
|
200
|
+
` : ""}[full output saved to ${info.file}]` : "";
|
|
201
|
+
return { output: `${text}${notice}`, truncated };
|
|
202
202
|
}).pipe(Effect.catchTag("Shell.NotFoundError", () => Effect.succeed(undefined)));
|
|
203
203
|
return { info, capture };
|
|
204
204
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service42.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node45 = makeLocationNode({
|
|
320
|
+
service: Service42,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node86,
|
|
324
|
+
node84,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node69,
|
|
327
|
+
node56,
|
|
328
|
+
node64,
|
|
329
|
+
node46,
|
|
330
|
+
node47,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service42, cleanup2, node45, exports_shell4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./event-logger-fjvrebxd.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./event-logger-tcyr2mjb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./event-logger-8wfyked2.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./event-logger-vnqs7r77.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service6
|
|
20
|
+
} from "./event-logger-jjs74g98.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-rfz948x8.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin16
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin16 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service44;
|
|
43
|
+
const discovery = yield* Service6;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service45;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin41 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin41 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin41 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin41 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin41 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin16, exports_skill };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-2gjby33x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
NativeCompactionPlugin: () =>
|
|
12
|
-
Plugin: () =>
|
|
9
|
+
var exports_compaction2 = {};
|
|
10
|
+
__export(exports_compaction2, {
|
|
11
|
+
NativeCompactionPlugin: () => exports_compaction2,
|
|
12
|
+
Plugin: () => Plugin47
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin47 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
@@ -36,4 +36,4 @@ var Plugin11 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin47, exports_compaction2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./event-logger-wpn6b2y7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./event-logger-tcyr2mjb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service44
|
|
10
|
+
} from "./event-logger-8wfyked2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service66,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-yevqhp4e.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./event-logger-qc9cscmv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make4
|
|
20
|
+
} from "./event-logger-hvf0hqz1.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin3
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin3 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service44;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin48 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service66;
|
|
60
|
+
const sessions = yield* Service24;
|
|
61
|
+
const agents = yield* Service60;
|
|
62
|
+
const subagents = yield* make4;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin48 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID7.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin3, exports_command };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./event-logger-tcyr2mjb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./event-logger-ncxpewm0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service23
|
|
15
|
+
} from "./event-logger-v0rpwjyq.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./event-logger-mhvcgc0n.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service57
|
|
24
|
+
} from "./event-logger-vqrb12cs.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service19
|
|
27
|
+
} from "./event-logger-grbsccpx.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
36
|
+
Input: () => Input9,
|
|
37
|
+
Output: () => Output7,
|
|
38
38
|
Plugin: () => Plugin29,
|
|
39
|
-
name: () =>
|
|
39
|
+
name: () => name9,
|
|
40
40
|
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name9 = "glob";
|
|
46
|
+
var Input9 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,7 +55,7 @@ var Input11 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
59
|
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
@@ -66,24 +66,24 @@ var toModelContent6 = (entries, truncated = false) => {
|
|
|
66
66
|
var Plugin29 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service54;
|
|
70
|
+
const ripgrep = yield* Service23;
|
|
71
|
+
const location = yield* Service80;
|
|
72
|
+
const access = yield* Service19;
|
|
73
|
+
const permission = yield* Service57;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name9,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input9,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name9,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,7 +111,7 @@ var Plugin29 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
@@ -125,4 +125,4 @@ var Plugin29 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name9, Input9, Output7, toModelContent6, Plugin29, exports_glob };
|