Implementation:A5c ai Babysitter configure providers
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Kubernetes, Provider_Configuration |
| Last Updated | 2026-10-23 00:00 GMT |
Overview
Concrete tool for configuring external providers (Git, CI, issue trackers) for a Kradle environment.
Description
Two functions handle provider configuration:
- configureProviders(config) — Computes provider configuration commands from the CloudConfig provider section. Returns planned commands in dry-run mode.
- applyProviderConfiguration(config, options) — Executes provider configuration commands in the specified working directory and scope (project or global).
Usage
- Kradle deployment Step 6: Configure external providers after auth bootstrap.
Code Reference
Source Location
- Repository: Babysitter
- File: packages/kradle/installer/src/cli.ts:L302-314 (handleProviders)
Signature
function configureProviders(config: CloudConfig): ProviderConfigurationResult;
function applyProviderConfiguration(
config: CloudConfig,
options: { cwd: string; scope?: "project" | "global" }
): ProviderConfigurationResult;
// CLI
kradle cloud providers --config <config> [--execute] [--scope project|global]
Import
import { configureProviders, applyProviderConfiguration } from "@a5c-ai/kradle/installer";
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| config | CloudConfig | Yes | Cloud config with provider configuration section |
| options.cwd | string | Yes (apply) | Working directory |
| options.scope | string | No | project or global |
Outputs
| Name | Type | Description |
|---|---|---|
| ProviderConfigurationResult | object | Executed commands (with --execute) or planned commands (dry-run) |
Usage Examples
Dry Run Provider Configuration
# See planned provider commands without executing
kradle cloud providers --config cloud-config.json
Execute Provider Configuration
# Execute provider configuration commands
kradle cloud providers --config cloud-config.json --execute --scope project
Related Pages
Implements Principle
Requires Environment
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment