Skip to content

ArtifactKey

ArtifactKey = object

Defined in: packages/app-system/src/fs/artifact-cache.ts:21

readonly inputs: readonly (string | Uint8Array)[]

Defined in: packages/app-system/src/fs/artifact-cache.ts:28

Everything the artifact depends on — source text, compiler flags, toolchain version. Hashed to form the identity.


readonly optional lifetime?: ArtifactLifetime

Defined in: packages/app-system/src/fs/artifact-cache.ts:32

Default "persistent".


readonly name: string

Defined in: packages/app-system/src/fs/artifact-cache.ts:23

Author-chosen, for a readable cache directory. Not part of identity.


readonly optional scope?: readonly string[]

Defined in: packages/app-system/src/fs/artifact-cache.ts:30

Extra identity components. Node version, platform and arch are implicit.