Skip to main content

Module resolved

Module resolved 

Source
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§

ResolvedEntry
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()).
ResolvedJson
The .ask/resolved.json document.

Enums§

EntryFormat
Distinguishes materialized docs from intent-skills entries.
Materialization
How the docs were materialized. in-place references node_modules/<pkg>/<docsPath> directly; the others are global-store modes.
ResolvedError
Validation failure for a resolved-cache document.