AiCachePolicy
Defined in: ai-cache.ts:27
Shape of the aiCache section of targate.policy.* — all fields optional.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
enabled? |
boolean |
Master switch. Default: true. | ai-cache.ts:29 |
exclude? |
string[] |
Package names that must never be served from (or written to) the cache. | ai-cache.ts:39 |
scope? |
"user" | "project" |
Where the cache lives: - “user” (default): ~/.targate/ai-cache.json — private to the developer. - “project”: |
ai-cache.ts:35 |
ttlHours? |
number |
Entries older than this are ignored and pruned. Default: 24. | ai-cache.ts:37 |