Interface: ResolverOptions¶
Defined in: resolver/src/resolver.ts:304
Options for the resolver.
Extends¶
Extended by¶
Properties¶
cache?¶
optionalcache?:boolean
Defined in: resolver/src/resolver.ts:306
Whether to cache resolved ASTs. Defaults to true.
cacheDir?¶
optionalcacheDir?:string
Defined in: resolver/src/resolver.ts:316
Base directory for the registry cache (defaults to ~/.promptscript/cache)
guardRequiresDepth?¶
optionalguardRequiresDepth?:number
Defined in: resolver/src/resolver.ts:314
Maximum depth for guard requires resolution. Defaults to 3.
localPath?¶
optionallocalPath?:string
Defined in: resolver/src/loader.ts:60
Base path for local/relative file resolution (defaults to projectRoot, then cwd)
Inherited from¶
lockfile?¶
optionallockfile?:Lockfile
Defined in: resolver/src/loader.ts:68
Lockfile for pinning remote dependencies
Inherited from¶
logger?¶
optionallogger?:Logger
Defined in: resolver/src/resolver.ts:310
Logger for verbose/debug output
projectRoot?¶
optionalprojectRoot?:string
Defined in: resolver/src/loader.ts:62
Project root used as the traversal safety boundary
Inherited from¶
readOnly?¶
optionalreadOnly?:boolean
Defined in: resolver/src/resolver.ts:308
Refuse remote registry clones and cache metadata writes.
referenceRoots?¶
optionalreferenceRoots?:Record\<string,string[]>
Defined in: resolver/src/resolver.ts:320
Repository roots that use a cache layout other than RegistryCache
registries?¶
optionalregistries?:RegistriesConfig
Defined in: resolver/src/loader.ts:66
Registry alias configuration for remote imports
Inherited from¶
registry?¶
optionalregistry?:Registry
Defined in: resolver/src/loader.ts:64
Optional Registry implementation for file fetching
Inherited from¶
registryPath¶
registryPath:
string
Defined in: resolver/src/loader.ts:58
Base path for registry lookups (@namespace/...)
Inherited from¶
skills?¶
optionalskills?:NativeSkillOptions
Defined in: resolver/src/resolver.ts:312
Options for native skill resolution
skillTargets?¶
optionalskillTargets?:Record\<string,string>
Defined in: resolver/src/resolver.ts:326
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:318
Vendored registry directory to prefer over cache and network access