@absolutejs/voice 0.0.22-beta.304 → 0.0.22-beta.305
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/dist/index.js
CHANGED
|
@@ -11267,6 +11267,7 @@ var escapeHtml13 = (value) => String(value).replaceAll("&", "&").replaceAll(
|
|
|
11267
11267
|
var buildVoiceRealtimeProviderContractMatrix = (input) => {
|
|
11268
11268
|
const rows = input.contracts.map((contract) => {
|
|
11269
11269
|
const configured = contract.configured !== false;
|
|
11270
|
+
const planned = contract.implementationStatus === "planned";
|
|
11270
11271
|
const requiredEnv = contract.requiredEnv ?? defaultProviderEnv[contract.provider] ?? [];
|
|
11271
11272
|
const missingEnv = requiredEnv.filter((name) => !contract.env?.[name]);
|
|
11272
11273
|
const requiredCapabilities = contract.requiredCapabilities ?? defaultRequiredCapabilities;
|
|
@@ -11275,16 +11276,16 @@ var buildVoiceRealtimeProviderContractMatrix = (input) => {
|
|
|
11275
11276
|
const realtimeChannel = contract.realtimeChannel;
|
|
11276
11277
|
const checks = [
|
|
11277
11278
|
{
|
|
11278
|
-
detail: configured ? "Provider is configured for this deployment." : "Provider is declared but not configured.",
|
|
11279
|
+
detail: planned ? "Provider contract is declared for roadmap coverage but is not enabled for this deployment." : configured ? "Provider is configured for this deployment." : "Provider is declared but not configured.",
|
|
11279
11280
|
key: "configured",
|
|
11280
11281
|
label: "Configured",
|
|
11281
|
-
status: configured ? "pass" : "fail"
|
|
11282
|
+
status: configured ? "pass" : planned ? "warn" : "fail"
|
|
11282
11283
|
},
|
|
11283
11284
|
{
|
|
11284
11285
|
detail: missingEnv.length === 0 ? "Required environment is present." : `Missing env: ${missingEnv.join(", ")}.`,
|
|
11285
11286
|
key: "env",
|
|
11286
11287
|
label: "Required env",
|
|
11287
|
-
status: missingEnv.length === 0 ? "pass" : "fail"
|
|
11288
|
+
status: missingEnv.length === 0 ? "pass" : planned ? "warn" : "fail"
|
|
11288
11289
|
},
|
|
11289
11290
|
{
|
|
11290
11291
|
detail: missingCapabilities.length === 0 ? "Required realtime capabilities are declared." : `Missing capabilities: ${missingCapabilities.join(", ")}.`,
|
|
@@ -11296,7 +11297,7 @@ var buildVoiceRealtimeProviderContractMatrix = (input) => {
|
|
|
11296
11297
|
detail: realtimeChannel ? `Realtime channel proof is ${realtimeChannel.status}.` : "No realtime channel proof linked.",
|
|
11297
11298
|
key: "realtimeChannel",
|
|
11298
11299
|
label: "Realtime channel proof",
|
|
11299
|
-
status: realtimeChannel?.status === "pass" ? "pass" : realtimeChannel ? "warn" : "fail"
|
|
11300
|
+
status: realtimeChannel?.status === "pass" ? "pass" : realtimeChannel ? "warn" : planned ? "warn" : "fail"
|
|
11300
11301
|
},
|
|
11301
11302
|
{
|
|
11302
11303
|
detail: contract.latencyBudgetMs !== undefined ? `First audio latency budget is ${String(contract.latencyBudgetMs)}ms.` : "No first-audio latency budget declared.",
|
|
@@ -7,6 +7,7 @@ export type VoiceRealtimeProviderContractDefinition<TProvider extends string = s
|
|
|
7
7
|
configured?: boolean;
|
|
8
8
|
env?: Record<string, string | undefined>;
|
|
9
9
|
fallbackProviders?: readonly TProvider[];
|
|
10
|
+
implementationStatus?: 'available' | 'planned';
|
|
10
11
|
latencyBudgetMs?: number;
|
|
11
12
|
provider: TProvider;
|
|
12
13
|
readinessHref?: string;
|