Diego Rodrigues de Sa e Souza
20c31493af
feat(plugins): plugins framework + per-API-key disable-non-public-models (#3041)
Integrates two community contributions into release/v3.8.8 with security hardening and conflict resolution.
- **Plugins framework** (#2913 — thanks @oyi77): hooks + registry unification, plugin SDK (`definePlugin`), worker-thread sandbox, per-plugin hook rate limiting, SHA-256 integrity verification, semver-gated upgrade, and execution analytics. Plugin routes are loopback-only (`isLocalOnlyPath`); `child_process` exec is opt-in via `OMNIROUTE_PLUGINS_ALLOW_EXEC` (default off).
- **API key option: disable non-published models** (#3017 — thanks @androw): a per-key flag restricting the key to discovered public models (combos / `auto/*` / `qtSd/*` routing still allowed).
Hardening applied during integration: migration renumber (089/090/091), `/api/plugins` LOCAL_ONLY route-guard classification (closes the plugin-RCE vector), atomic install/upgrade with path containment, `O_EXCL` tmp-file creation (TOCTOU), rate-limit-map eviction, `validatePluginConfig` on configure, `buildErrorBody` on all plugin error paths. 246/246 tests; typecheck / cycles / docs-sync clean.
Co-authored-by: oyi77 <14921983+oyi77@users.noreply.github.com>
Co-authored-by: Nicolas Lorin <androw95220@gmail.com>
2026-06-01 15:43:55 -03:00
..
2026-05-26 23:51:47 -03:00
2026-05-26 23:51:47 -03:00
2026-05-28 00:24:48 -03:00
2026-05-28 00:24:48 -03:00
2026-05-28 00:24:48 -03:00
2026-05-28 00:24:48 -03:00
2026-05-28 14:24:02 -03:00
2026-05-28 01:09:32 -03:00
2026-05-27 21:43:44 -03:00
2026-04-30 01:27:03 -03:00
2026-04-30 14:08:50 -03:00
2026-05-27 22:01:23 -03:00
2026-05-13 10:14:25 -03:00
2026-05-10 00:55:06 -03:00
2026-05-27 09:48:17 -03:00
2026-05-23 01:46:59 -03:00
2026-05-27 22:13:59 -03:00
2026-05-27 22:13:59 -03:00
2026-05-27 22:13:59 -03:00
2026-05-27 22:13:59 -03:00
2026-05-27 22:13:59 -03:00
2026-05-27 09:49:24 -03:00
2026-05-27 01:54:50 -03:00
2026-04-30 20:31:00 -03:00
2026-05-14 20:20:54 -03:00
2026-05-10 00:55:06 -03:00
2026-05-30 09:11:17 -03:00
2026-05-10 00:55:06 -03:00
2026-05-28 10:53:55 -03:00
2026-05-28 10:53:55 -03:00
2026-04-21 21:12:29 -03:00
2026-05-28 10:53:55 -03:00
2026-05-28 10:53:55 -03:00
2026-05-28 10:53:55 -03:00
2026-05-28 10:53:55 -03:00
2026-04-16 05:26:17 -03:00
2026-05-27 01:54:50 -03:00
2026-05-23 01:46:59 -03:00
2026-05-27 23:08:09 -03:00
2026-05-27 23:08:09 -03:00
2026-05-27 23:08:09 -03:00
2026-06-01 15:43:55 -03:00
2026-05-10 20:48:03 -03:00
2026-05-26 23:51:47 -03:00
2026-05-28 10:53:55 -03:00
2026-05-28 16:03:30 -03:00
2026-05-28 07:50:03 -03:00
2026-05-28 07:50:03 -03:00
2026-05-28 07:50:03 -03:00
2026-05-28 07:50:03 -03:00
2026-05-28 07:50:03 -03:00
2026-05-23 01:46:59 -03:00
2026-05-27 23:05:48 -03:00
2026-05-27 01:54:50 -03:00
2026-04-21 21:12:29 -03:00
2026-05-28 01:24:33 -03:00
2026-05-28 01:24:33 -03:00
2026-05-28 01:24:33 -03:00
2026-05-28 01:24:33 -03:00
2026-05-28 01:24:33 -03:00
2026-05-28 01:24:33 -03:00
2026-05-28 21:43:24 -03:00
2026-05-28 01:24:33 -03:00
2026-05-28 01:24:33 -03:00
2026-04-28 02:41:19 -03:00