ResolverOptions
Defined in: resolver/src/resolver.ts:335
Options for the resolver.
Extends
Extended by
Properties
cache?
optionalcache?:boolean
Defined in: resolver/src/resolver.ts:337
Whether to cache resolved ASTs. Defaults to true.
cacheDir?
optionalcacheDir?:string
Defined in: resolver/src/resolver.ts:347
Base directory for the registry cache (defaults to ~/.promptscript/cache)
guardRequiresDepth?
optionalguardRequiresDepth?:number
Defined in: resolver/src/resolver.ts:345
Maximum depth for guard requires resolution. Defaults to 3.
localPath?
optionallocalPath?:string
Defined in: resolver/src/loader.ts:64
Base path for local/relative file resolution (defaults to projectRoot, then cwd)
Inherited from
lockfile?
optionallockfile?:Lockfile
Defined in: resolver/src/loader.ts:72
Lockfile for pinning remote dependencies
Inherited from
logger?
optionallogger?:Logger
Defined in: resolver/src/resolver.ts:341
Logger for verbose/debug output
projectRoot?
optionalprojectRoot?:string
Defined in: resolver/src/loader.ts:66
Project root used as the traversal safety boundary
Inherited from
readOnly?
optionalreadOnly?:boolean
Defined in: resolver/src/resolver.ts:339
Refuse remote registry clones and cache metadata writes.
referenceRoots?
optionalreferenceRoots?:Record<string,string[]>
Defined in: resolver/src/resolver.ts:351
Repository roots that use a cache layout other than RegistryCache
registries?
optionalregistries?:RegistriesConfig
Defined in: resolver/src/loader.ts:70
Registry alias configuration for remote imports
Inherited from
registry?
optionalregistry?:Registry
Defined in: resolver/src/loader.ts:68
Optional Registry implementation for file fetching
Inherited from
registryPath
registryPath:
string
Defined in: resolver/src/loader.ts:62
Base path for registry lookups (@namespace/…)
Inherited from
skills?
optionalskills?:NativeSkillOptions
Defined in: resolver/src/resolver.ts:343
Options for native skill resolution
skillTargets?
optionalskillTargets?:Record<string,string>
Defined in: resolver/src/resolver.ts:357
Map from @use source path.raw to a target output directory.
Provides a config-driven default for skills imported via
Use
when no
inline into "<path>" clause is present on the directive.
vendorDir?
optionalvendorDir?:string
Defined in: resolver/src/resolver.ts:349
Vendored registry directory to prefer over cache and network access