* Create an immutable Agent Config. Secret values travel inside the * manifest (`secrets. .value`), are extracted server-side, and are * never returned.
(name, manifestYaml)
| 241 | * never returned. |
| 242 | */ |
| 243 | async createAgentConfig(name, manifestYaml) { |
| 244 | const body = await request("POST", CONFIGS_PATH, { |
| 245 | body: { name, manifest_yaml: manifestYaml }, |
| 246 | }); |
| 247 | return body?.config ?? null; |
| 248 | }, |
| 249 | |
| 250 | /** Full config, including the parsed `manifest` the list omits. */ |
| 251 | async getAgentConfig(configId) { |