Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ci/e2e-assertion-budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"testFileCount": 86,
"liveFileCount": 222,
"direct": {
"expectCalls": 1800,
"matcherAssertions": 1769,
"expectCalls": 1798,
"matcherAssertions": 1767,
"nodeAssertions": 105,
"namedAssertionHelpers": 601,
"failCalls": 8,
"throwGuards": 87,
"objectFieldAssertions": 243,
"assertionPoints": 2813,
"assertionPoints": 2811,
"generatedProbeBlocks": 122,
"generatedProbeConditions": 322
},
Expand All @@ -49,7 +49,7 @@
"test/e2e/live/agent-turn-latency.test.ts": [22,26,31,46,1],
"test/e2e/live/bedrock-runtime-compatible-anthropic.test.ts": [28,64,28,68,5],
"test/e2e/live/bootstrap-install-smoke.test.ts": [0,0,14,30,3],
"test/e2e/live/brave-search.test.ts": [19,22,27,32,1],
"test/e2e/live/brave-search.test.ts": [17,20,27,32,1],
"test/e2e/live/brev-workspace-cleanup.test.ts": [0,0,0,1,0],
"test/e2e/live/channels-add-remove.test.ts": [40,93,40,93,0],
"test/e2e/live/channels-stop-start.test.ts": [0,0,36,130,9],
Expand Down
227 changes: 199 additions & 28 deletions schemas/nemoclaw-config-v1.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,42 +56,170 @@
"inferenceProviders": {
"type": "array",
"items": {
"type": "object",
"required": ["name", "provider", "api", "endpoint"],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 63,
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"provider": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^\\s\\p{Cc}\\p{Cf}]+$"
},
"api": {
"enum": ["openai-completions", "openai-responses", "anthropic-messages"]
},
"endpoint": {
"type": "string",
"maxLength": 2048,
"pattern": "^https://[^\\s]+$"
"anyOf": [
{
"type": "object",
"required": ["name", "provider", "api", "endpoint"],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 63,
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"provider": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^\\s\\p{Cc}\\p{Cf}]+$",
"not": {
"const": "vllm-local"
}
},
"api": {
"enum": ["openai-completions", "openai-responses", "anthropic-messages"]
},
"endpoint": {
"type": "string",
"maxLength": 2048,
"pattern": "^https://[^\\s]+$"
},
"credential": {
"type": "object",
"required": ["env"],
"properties": {
"env": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,127}$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"credential": {
{
"type": "object",
"required": ["env"],
"required": ["name", "provider", "api", "serving"],
"properties": {
"env": {
"name": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,127}$"
"minLength": 1,
"maxLength": 63,
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"provider": {
"type": "string",
"const": "vllm-local"
},
"api": {
"type": "string",
"const": "openai-completions"
},
"serving": {
"type": "object",
"required": [
"backend",
"catalogDigest",
"profile",
"recipe",
"model",
"runtime",
"hostPort"
],
"properties": {
"backend": {
"type": "string",
"const": "vllm"
},
"catalogDigest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
},
"profile": {
"type": "object",
"required": ["id", "digest"],
"properties": {
"id": {
"type": "string",
"const": "vllm.linux-amd64-nvidia.single.nemotron-3.5-lightning-30b-a3b-nvfp4"
},
"digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"recipe": {
"type": "object",
"required": ["id", "digest"],
"properties": {
"id": {
"type": "string",
"const": "vllm.nemotron-3.5-lightning-30b-a3b-nvfp4.linux-amd64-single.v1"
},
"digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
"model": {
"type": "object",
"required": ["id", "revision", "servedName"],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^\\s\\p{Cc}\\p{Cf}]+$"
},
"revision": {
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"servedName": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[^\\s\\p{Cc}\\p{Cf}]+$"
}
},
"additionalProperties": false
},
"runtime": {
"type": "object",
"required": ["image"],
"properties": {
"image": {
"type": "object",
"required": ["ref"],
"properties": {
"ref": {
"type": "string",
"maxLength": 512,
"pattern": "^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*(?::[0-9]+)?/)?(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*@sha256:[0-9a-f]{64}$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"hostPort": {
"type": "integer",
"minimum": 1024,
"maximum": 65535
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
]
},
"minItems": 1
},
Expand Down Expand Up @@ -211,6 +339,11 @@
"minLength": 1,
"maxLength": 512,
"pattern": "^[^\\s\\p{Cc}\\p{Cf}]+$"
},
"contextWindow": {
"type": "integer",
"minimum": 1,
"maximum": 4194304
}
},
"additionalProperties": false
Expand All @@ -227,6 +360,44 @@
"additionalProperties": false
},
"minItems": 1
},
"integrations": {
"type": "object",
"required": ["webSearch"],
"properties": {
"webSearch": {
"type": "object",
"required": ["provider", "agentRefs", "credential"],
"properties": {
"provider": {
"type": "string",
"const": "brave"
},
"agentRefs": {
"type": "array",
"items": {
"type": "string",
"const": "primary"
},
"minItems": 1,
"maxItems": 1
},
"credential": {
"type": "object",
"required": ["env"],
"properties": {
"env": {
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,127}$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down
2 changes: 2 additions & 0 deletions src/lib/actions/config/observe-export-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ const LIVE_READ_SOURCE_LABELS = {
"sandbox-identity": "live sandbox identity",
"inference-route": "live gateway inference route",
"provider-metadata": "live inference provider metadata",
"web-search-provider": "live web-search provider metadata",
"managed-serving": "managed serving runtime",
"effective-policy": "effective OpenShell policy",
} satisfies Readonly<Record<ExportSnapshotReadStage, string>>;

Expand Down
Loading
Loading