feat(provider-contract): add Gelios v9 telemetry projection

This commit is contained in:
Codex
2026-07-23 23:27:31 +03:00
parent 59f9fc2b26
commit 73364b4acb
10 changed files with 171 additions and 21 deletions
@@ -0,0 +1,22 @@
import { geliosProviderPackageV8 } from "../v8/package.mjs";
export const GELIOS_PROVIDER_PACKAGE_ID = "gelios.provider.v9";
export const GELIOS_PROVIDER_PACKAGE_VERSION = "9.0.0";
const value = structuredClone(geliosProviderPackageV8);
value.id = GELIOS_PROVIDER_PACKAGE_ID;
value.version = GELIOS_PROVIDER_PACKAGE_VERSION;
value.manifest = {
...value.manifest,
id: "gelios.provider.manifest.v9",
version: GELIOS_PROVIDER_PACKAGE_VERSION,
};
export const geliosProviderPackageV9 = deepFreeze(value);
function deepFreeze(input) {
if (!input || typeof input !== "object" || Object.isFrozen(input)) return input;
Object.freeze(input);
for (const child of Object.values(input)) deepFreeze(child);
return input;
}