midas: host the kit under MIDAS as its web search/fetch provider
MIDAS loads plugins but has no Cordis runtime, so the kit had no way to register its tool or its web providers here. midas/kitd.mjs builds the smallest ctx the plugin asks for and republishes the tool and both providers over a loopback seam; midas/plugin.js is that seam's client and brings up the host on demand, keeping the browser warm across restarts. Headless Linux runs need two additions in index.js: --no-sandbox when running as uid 0, and a chromiumArgs setting for container-specific flags. Co-Authored-By: MIDAS <hello@trymidas.io>
This commit is contained in:
@@ -2,3 +2,4 @@ node_modules/
|
||||
*.log
|
||||
*.tgz
|
||||
.DS_Store
|
||||
midas/tool-def.json
|
||||
|
||||
Reference in New Issue
Block a user