fix(hwlab): expose d518 code agent runtime config

This commit is contained in:
Codex
2026-06-27 16:04:20 +00:00
parent f8f0741073
commit 4227211544
5 changed files with 316 additions and 9 deletions
+15
View File
@@ -144,6 +144,21 @@ export function nodeRuntimeExpected(spec: HwlabRuntimeLaneSpec): Record<string,
rolloutDeployment: spec.bootstrapAdmin.rolloutDeployment,
valuesPrinted: false,
},
codeAgentRuntime: spec.codeAgentRuntime === undefined ? null : {
enabled: spec.codeAgentRuntime.enabled,
adapter: spec.codeAgentRuntime.adapter,
managerUrl: spec.codeAgentRuntime.managerUrl,
apiKeySecretName: spec.codeAgentRuntime.apiKeySecretName,
apiKeySecretKey: spec.codeAgentRuntime.apiKeySecretKey,
runnerNamespace: spec.codeAgentRuntime.runnerNamespace,
secretNamespace: spec.codeAgentRuntime.secretNamespace,
repoUrlFrom: spec.codeAgentRuntime.repoUrlFrom,
repoUrl: spec.gitReadUrl,
providerIdFrom: spec.codeAgentRuntime.providerIdFrom,
providerId: spec.nodeId,
defaultProviderProfile: spec.codeAgentRuntime.defaultProviderProfile,
valuesPrinted: false,
},
sourceWorkspace: spec.sourceWorkspace === undefined ? null : {
requiredCommands: spec.sourceWorkspace.requiredCommands,
requiredFiles: spec.sourceWorkspace.requiredFiles,