Compare commits

..

2 Commits

Author SHA1 Message Date
Quixos Subtree Publisher 4424720987 Publish camino-package-runtime from b0c376bd95897bf70ef445d86089ee07e3fc66d2 2026-07-12 22:12:26 +00:00
Timothy J. Aveni 601728c139 Tighten Camino runtime auth enforcement 2026-07-12 15:12:26 -07:00
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"version": 1,
"sourceRepo": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git",
"sourceCommit": "e0d8da526c065f66ece8a8230a31be4168ccddcc",
"sourceCommit": "b0c376bd95897bf70ef445d86089ee07e3fc66d2",
"sourcePath": "quixos-instance/packages/camino-package-runtime",
"exportName": "camino-package-runtime",
"mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/camino-package-runtime.git"
+5
View File
@@ -721,6 +721,11 @@ export const serveQuixosPackageRuntime = <
const port = Number(process.env.QUIXOS_RUNTIME_PORT ?? "0");
const caminoUrl = process.env.CAMINO_URL ?? "http://127.0.0.1:7310";
const runtimeToken = process.env.CAMINO_RUNTIME_AUTH_TOKEN ?? "";
if (process.env.CAMINO_RUNTIME_AUTH_REQUIRED === "1" && !runtimeToken) {
throw new Error(
"CAMINO_RUNTIME_AUTH_REQUIRED=1 but CAMINO_RUNTIME_AUTH_TOKEN is missing",
);
}
const runtimeTokenInterceptor: Interceptor = (next) => async (request) => {
if (runtimeToken) {
request.header.set("x-camino-runtime-token", runtimeToken);