From 83fe7877fa4456209c75fcfc3d0b40c16d2f0258 Mon Sep 17 00:00:00 2001 From: "ConusAI vendor v0.1.0-dev.20261016+23adf59b" Date: Fri, 16 Oct 2026 07:09:44 +0000 Subject: [PATCH] ConusAI vendor v0.1.0-dev.20261016+23adf59b --- .conusai.yaml | 5 ----- conusai.json | 6 ++++++ package.json | 18 +++++++++--------- test/conusai-yaml.test.ts | 9 +++++---- 4 files changed, 20 insertions(+), 18 deletions(-) delete mode 100644 .conusai.yaml create mode 100644 conusai.json diff --git a/.conusai.yaml b/.conusai.yaml deleted file mode 100644 index 8f14a7d..0000000 --- a/.conusai.yaml +++ /dev/null @@ -1,5 +0,0 @@ -# Deploy-time configuration for the platform (schema: crates/conusai-repo-config). -health: - # The app's health endpoint. Without this the deployer probes "/", which - # renders the dashboard — the wrong probe for liveness. - path: /api/health diff --git a/conusai.json b/conusai.json new file mode 100644 index 0000000..b681710 --- /dev/null +++ b/conusai.json @@ -0,0 +1,6 @@ +{ + "schema_version": 2, + "health_check": { + "path": "/api/health" + } +} diff --git a/package.json b/package.json index 31afe4e..bfadbfe 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,14 @@ }, "dependencies": { "@aws-sdk/client-s3": "3.1146.0", - "@conusai-sdk/api": "0.1.1-dev.20261013.85463d22", - "@conusai-sdk/blob": "0.0.5-dev.20261013.85463d22", - "@conusai-sdk/kv": "0.0.5-dev.20261013.85463d22", - "@conusai-sdk/node-sdk": "0.2.2-dev.20261013.85463d22", - "@conusai-sdk/observe": "0.1.0-dev.20261013.85463d22", - "@conusai-sdk/observe-next": "0.1.0-dev.20261013.85463d22", - "@conusai-sdk/observe-node": "0.1.1-dev.20261013.85463d22", - "@conusai-sdk/observe-react": "0.1.0-dev.20261013.85463d22", + "@conusai-sdk/api": "0.1.1-dev.20261016.23adf59b", + "@conusai-sdk/blob": "0.0.5-dev.20261016.23adf59b", + "@conusai-sdk/kv": "0.0.5-dev.20261016.23adf59b", + "@conusai-sdk/node-sdk": "0.2.2-dev.20261016.23adf59b", + "@conusai-sdk/observe": "0.1.0-dev.20261016.23adf59b", + "@conusai-sdk/observe-next": "0.1.0-dev.20261016.23adf59b", + "@conusai-sdk/observe-node": "0.1.1-dev.20261016.23adf59b", + "@conusai-sdk/observe-react": "0.1.0-dev.20261016.23adf59b", "drizzle-orm": "0.45.3", "nats": "2.29.3", "next": "16.3.8", @@ -36,7 +36,7 @@ }, "devDependencies": { "@axe-core/playwright": "4.13.0", - "@conusai-sdk/observe-testing": "0.1.0-dev.20261013.85463d22", + "@conusai-sdk/observe-testing": "0.1.0-dev.20261016.23adf59b", "@eslint/eslintrc": "3.3.7", "@feature-sliced/steiger-plugin": "0.8.0", "@playwright/test": "1.63.0", diff --git a/test/conusai-yaml.test.ts b/test/conusai-yaml.test.ts index 5e3f70f..e2a760b 100644 --- a/test/conusai-yaml.test.ts +++ b/test/conusai-yaml.test.ts @@ -3,11 +3,12 @@ import { describe, expect, it } from 'vitest' // The deployer's default health probe is "/" (deploy_image.rs), which renders // this app's dashboard; the template must ship its real health route in -// .conusai.yaml (schema: crates/conusai-repo-config, `health.path`). -describe('.conusai.yaml', () => { - const yaml = readFileSync(new URL('../.conusai.yaml', import.meta.url), 'utf8') +// conusai.json (schema: crates/conusai-presets/src/repo_config.rs, +// `health_check.path`). +describe('conusai.json', () => { + const config = JSON.parse(readFileSync(new URL('../conusai.json', import.meta.url), 'utf8')) it('declares the health check path the app actually serves', () => { - expect(yaml).toMatch(/^health:\n(\s{2}.*\n)*\s{2}path: \/api\/health\s*$/m) + expect(config.health_check.path).toBe('/api/health') }) })