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:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"browser": "chrome",
|
||||
"headless": true,
|
||||
"realProfile": false,
|
||||
"port": 9445,
|
||||
"searchEngine": "bing",
|
||||
"seeTextCap": 4000,
|
||||
"fetchTextCap": 20000,
|
||||
"proxyChain": "",
|
||||
"profileDir": "",
|
||||
"chromiumArgs": "--disable-dev-shm-usage"
|
||||
}
|
||||
Reference in New Issue
Block a user