Expand description
.ask/resolved.json schema — Rust port of packages/schema/src/resolved.ts.
resolved.json is a pure cache that lets ask install short-circuit when
nothing has changed. key (the map key) is the library slug — the same
string used under .ask/docs/<slug>@<ver>/ and as the skill dir name.
This file is machine-generated (never hand-edited), so the datetime fields use a light RFC3339 shape check rather than a full date parser; the content hash, commit SHA, and structural refinements are validated faithfully.
Structs§
- Resolved
Entry - One row in
.ask/resolved.json. Optional fields are omitted from the serialized JSON when absent (parity with the TS optional keys). Unknown fields are rejected (zod.strict()). - Resolved
Json - The
.ask/resolved.jsondocument.
Enums§
- Entry
Format - Distinguishes materialized docs from intent-skills entries.
- Materialization
- How the docs were materialized.
in-placereferencesnode_modules/<pkg>/<docsPath>directly; the others are global-store modes. - Resolved
Error - Validation failure for a resolved-cache document.