create-loopengine 0.1.30 → 0.1.32
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/package.json
CHANGED
|
@@ -920,8 +920,8 @@ function handleSkillDelete(res: ServerResponse, agentName: string, skillId: stri
|
|
|
920
920
|
res.writeHead(200, { 'content-type': 'application/json' }).end(JSON.stringify({ ok: true }))
|
|
921
921
|
}
|
|
922
922
|
|
|
923
|
-
// Backs the Admin UI's "Environment" section — every env var
|
|
924
|
-
// (see loopengine's own
|
|
923
|
+
// Backs the Admin UI's "Environment" section — every env var an ability
|
|
924
|
+
// (see loopengine's own ABILITIES.md, bin/ability-manager.ts) declared it
|
|
925
925
|
// needs for this agent, with set/not-set status only. Read-only, so no
|
|
926
926
|
// extra auth gate beyond the normal Basic Auth middleware every admin
|
|
927
927
|
// route already has.
|
|
@@ -938,7 +938,7 @@ function handleEnvGet(res: ServerResponse, agentName: string): void {
|
|
|
938
938
|
// credential), so unlike every other route here, this one refuses
|
|
939
939
|
// outright when LOOPENGINE_ADMIN_AUTH isn't set at all, rather than just
|
|
940
940
|
// warning at startup and proceeding open like the rest of this file does
|
|
941
|
-
// (see loopengine's own
|
|
941
|
+
// (see loopengine's own ABILITIES.md, "Managing ability secrets in the
|
|
942
942
|
// Admin UI" — LOOPENGINE_ADMIN_AUTH being optional today is an
|
|
943
943
|
// acceptable gap for config, not for secrets).
|
|
944
944
|
async function handleEnvPut(req: IncomingMessage, res: ServerResponse, agentName: string, varName: string): Promise<void> {
|