Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -1,9 +1,9 @@
import fs from "node:fs";
import path from "node:path";
import { describe, expect, it } from "vitest";
import { getEnvVariableDefinition } from "@toolctrl/config";
import { loadFeatureManifests } from "@toolctrl/plugins";
import { queueNames } from "@toolctrl/queue";
import { getEnvVariableDefinition } from "@hivegrid/config";
import { loadFeatureManifests } from "@hivegrid/plugins";
import { queueNames } from "@hivegrid/queue";
const manifestLoad = await loadFeatureManifests();
const manifests = manifestLoad.manifests;
@@ -125,34 +125,7 @@ describe("feature manifests", () => {
});
});
it("includes the AI chatbot reference pattern for admin-managed worker-backed features", () => {
const chatbot = manifests.find((manifest) => manifest.id === "ai-chatbot-admin-managed");
expect(chatbot).toBeDefined();
expect(chatbot?.integration.ownership).toBe("admin-managed");
expect(chatbot?.integration.externalProviders).toContain("deployment-region-ai-provider");
expect(chatbot?.integration.workers.required).toBe(true);
expect(chatbot?.integration.workers.queues).toContain(queueNames.aiChatbot);
expect(chatbot?.integration.workers.queues).toContain(queueNames.browserAutomation);
expect(chatbot?.integration.workers.jobs).toEqual(expect.arrayContaining(["chat-completion", "browser-session-run", "browser-session-cleanup", "usage-flush"]));
expect(chatbot?.integration.configuration.environment).toEqual(
expect.arrayContaining([
"MISTRAL_API_KEY",
"MISTRAL_MODEL",
"SCALEWAY_API_KEY",
"SCALEWAY_MODEL",
"SCALEWAY_BASE_URL",
"ALEPH_ALPHA_API_KEY",
"ALEPH_ALPHA_MODEL",
"ALEPH_ALPHA_BASE_URL",
"BULLMQ_REDIS_URL",
"BROWSER_RUNTIME_URL",
])
);
expect(chatbot?.integration.configuration.secrets.join(" ")).toContain("never be exposed");
});
it("keeps admin-managed AI/browser feature contracts backed by config and queue packages", () => {
it("keeps admin-managed browser feature contracts backed by config and queue packages", () => {
[
"BULLMQ_REDIS_URL",
"BROWSER_RUNTIME_URL",
@@ -164,7 +137,6 @@ describe("feature manifests", () => {
expect(definition?.targets.some((target) => target === "api" || target === "worker"), name).toBe(true);
});
expect(queueNames.aiChatbot).toBe("toolctrl.ai-chatbot");
expect(queueNames.browserAutomation).toBe("toolctrl.browser-automation");
expect(queueNames.browserAutomation).toBe("hivegrid.browser-automation");
});
});