Skip to content

Type Alias: PackImportPhase

type PackImportPhase =
| "inspecting"
| "classifying"
| "extracting"
| "saving"
| "verifying"
| "complete";

Defined in: packages/sdk/src/index.ts:844

SK-SDK-014 — the shared goal-pack import journey (SK-PIVOT-021 runner, EK-04/EK-05). One pack-agnostic surface drives create → advance → verify → delete over /v1/packs/imports/*. Unlike the grant verbs it is bearer-drivable on purpose: advance/retry/delete accept an account-scoped sk_live_/sk_mcp_ key (SK-PIVOT-010, amended 2026-08-09), which is how the private experts marketplace surface (SK-EKP-003) embeds the hosted runner headlessly instead of importing a rail. create/get are the public preflight — no account required (GLOBAL-007); an id is the capability that resumes a draft. A pack never adds an endpoint here — it is content + a recipe (SK-PIVOT-018). The five named journey phases the runner renders, in order (complete is the terminal state, not a running phase). Progress is these names plus the real counters below — never a percentage (SK-PIVOT-021 / P6).