@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service11 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service11.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service11, node13, exports_update };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-zqawtfk0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-7wymycec.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./event-logger-v4ck12m0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make19({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service29.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service67,
|
|
9
|
+
node70
|
|
10
|
+
} from "./event-logger-pjv5g3we.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-k6yq57aq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service51,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node53,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service51 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service67;
|
|
77
|
+
return Service51.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [node70] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, resolved2, node53, exports_model };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info20,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-vnqs7r77.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service44
|
|
11
|
+
} from "./event-logger-8wfyked2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin46,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin46 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info20.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info20.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service44;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin46, exports_skill3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service52,
|
|
3
|
+
node54,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-w6gc61s9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service50,
|
|
8
|
+
node52
|
|
9
|
+
} from "./event-logger-h896pcm5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./event-logger-0qa5p3hq.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-9kfwgk0g.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service52, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service18);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node52.replace(Layer.succeed(Service50, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node54.replace(Layer.succeed(Service52, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-f8mrt3yx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./event-logger-tcyr2mjb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service57,
|
|
13
|
+
node60
|
|
14
|
+
} from "./event-logger-vqrb12cs.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service19,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node22,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service19 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service80;
|
|
61
|
+
const permission = yield* Service57;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service19.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [FSUtil.node, node84, node60] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service19, resolvePath2, node22, exports_file_access };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-mzrbxmyd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin40,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin5 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin40, exports_tavily };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./event-logger-zfwjcr3k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./event-logger-vqrb12cs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./event-logger-v4ck12m0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./event-logger-h896pcm5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-rap9a73h.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-msq0jde0.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-46efvg8p.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-5t8sa872.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./event-logger-2mfwfczk.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service50;
|
|
36
|
+
const database = yield* Service83;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service26;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|