Skip to content

PromptScript API


Interface: GitRegistryOptions

Defined in: resolver/src/git-registry.ts:45

Options for GitRegistry.

Properties

auth?

optional auth: GitAuthOptions

Defined in: resolver/src/git-registry.ts:55

Authentication options


cache?

optional cache: object

Defined in: resolver/src/git-registry.ts:57

Cache configuration

enabled?

optional enabled: boolean

Whether caching is enabled. Defaults to true

ttl?

optional ttl: number

Cache TTL in milliseconds. Defaults to 1 hour


cacheDir?

optional cacheDir: string

Defined in: resolver/src/git-registry.ts:53

Cache directory override


path?

optional path: string

Defined in: resolver/src/git-registry.ts:51

Subdirectory within the repository to use as registry root


ref?

optional ref: string

Defined in: resolver/src/git-registry.ts:49

Git ref to checkout (branch/tag/commit). Defaults to 'main'


timeout?

optional timeout: number

Defined in: resolver/src/git-registry.ts:64

Request timeout in milliseconds for Git operations. Defaults to 60000 (1 minute)


url

url: string

Defined in: resolver/src/git-registry.ts:47

Git repository URL