Skip to content

PromptScript API


Interface: UserConfig

Defined in: core/src/types/config.ts:306

User-level configuration stored at ~/.promptscript/config.yaml. Provides defaults that can be overridden by project config, env vars, or CLI flags.

Properties

defaults?

optional defaults?: object

Defined in: core/src/types/config.ts:326

targets?

optional targets?: string[]

team?

optional team?: string


registries?

optional registries?: RegistriesConfig

Defined in: core/src/types/config.ts:325


registry?

optional registry?: object

Defined in: core/src/types/config.ts:308

cache?

optional cache?: object

cache.enabled?

optional enabled?: boolean

cache.ttl?

optional ttl?: number

git?

optional git?: object

git.auth?

optional auth?: object

git.auth.sshKeyPath?

optional sshKeyPath?: string

git.auth.tokenEnvVar?

optional tokenEnvVar?: string

git.auth.type

type: "token" | "ssh"

git.path?

optional path?: string

git.ref?

optional ref?: string

git.url

url: string

url?

optional url?: string


version

version: "1"

Defined in: core/src/types/config.ts:307