( id: PackageIdentifier, registry: Registry, options: UnrollAssistantOptions, )
| 231 | | RenderSecretsUnrollAssistantOptions; |
| 232 | |
| 233 | export async function unrollAssistant( |
| 234 | id: PackageIdentifier, |
| 235 | registry: Registry, |
| 236 | options: UnrollAssistantOptions, |
| 237 | ): Promise<ConfigResult<AssistantUnrolled>> { |
| 238 | // Request the content from the registry |
| 239 | const rawContent = await registry.getContent(id); |
| 240 | |
| 241 | const result = unrollAssistantFromContent(id, rawContent, registry, options); |
| 242 | |
| 243 | return result; |
| 244 | } |
| 245 | |
| 246 | export function replaceInputsWithSecrets(yamlContent: string): string { |
| 247 | const inputsToSecretsMap: Record<string, string> = {}; |
no test coverage detected