pixelkiln 0.93.0 → 0.94.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -17576,8 +17576,28 @@ interface LoadedManifest {
17576
17576
  * and the asset ids each expanded into. Absent when the manifest has none.
17577
17577
  */
17578
17578
  loopFamilies?: Record<string, string[]>;
17579
+ /**
17580
+ * Entries a lenient load set aside because they do not validate or resolve,
17581
+ * so one bad entry does not hide the rest. Absent when everything loaded.
17582
+ */
17583
+ invalid?: InvalidManifestEntry[];
17584
+ }
17585
+ /** A style or asset a lenient load could not use, and why. */
17586
+ interface InvalidManifestEntry {
17587
+ kind: "style" | "asset";
17588
+ id: string;
17589
+ issues: string[];
17590
+ }
17591
+ interface LoadManifestOptions {
17592
+ /**
17593
+ * Set invalid styles and assets aside, and everything that depends on them,
17594
+ * instead of rejecting the whole file. Problems in the manifest's own
17595
+ * top-level fields still throw. Read-only commands use this; anything that
17596
+ * spends should not.
17597
+ */
17598
+ lenient?: boolean;
17579
17599
  }
17580
- declare function loadManifest(manifestPath: string): Promise<LoadedManifest>;
17600
+ declare function loadManifest(manifestPath: string, opts?: LoadManifestOptions): Promise<LoadedManifest>;
17581
17601
  /**
17582
17602
  * Whether a style renders an asset. An asset that names its styles is in
17583
17603
  * exactly those. One that names none joins every style of its own kind: a
@@ -17597,6 +17617,12 @@ declare function parentAssetId(asset: Asset | undefined): string | undefined;
17597
17617
  declare function resolveSpecs(loaded: LoadedManifest, filter?: {
17598
17618
  styles?: string[];
17599
17619
  assets?: string[];
17620
+ /**
17621
+ * Called instead of throwing when one asset cannot be resolved (a size the
17622
+ * provider rejects, a bad reference). The asset is left out. Without it,
17623
+ * the first failure rejects the whole resolution.
17624
+ */
17625
+ onInvalid?: (entry: InvalidManifestEntry) => void;
17600
17626
  /** Optional provider makes offline plan cost/candidate estimates adapter-owned. */
17601
17627
  provider?: Pick<Provider, "supports" | "supportsRevision" | "supportsMapScene" | "estimate" | "validate" | "resolveOptions" | "resolveInputs" | "id">;
17602
17628
  }): Promise<ResolvedSpec[]>;
@@ -17703,6 +17729,11 @@ interface OpenProjectOptions {
17703
17729
  styles?: string[];
17704
17730
  /** Keep only these asset ids. Empty or omitted keeps every asset. */
17705
17731
  assets?: string[];
17732
+ /**
17733
+ * Set invalid entries aside (see `loaded.invalid`) instead of failing the
17734
+ * whole open. For read-only reports; leave off for anything that spends.
17735
+ */
17736
+ lenient?: boolean;
17706
17737
  /**
17707
17738
  * Read `.env.local` and `.env` from the manifest's directory, and from the
17708
17739
  * working directory when that differs, into `process.env` before anything
@@ -19053,14 +19084,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19053
19084
  sha256: string;
19054
19085
  role: "reference" | "workflow";
19055
19086
  }[];
19056
- schemaVersion: 1;
19057
- summary: string;
19058
- models: {
19059
- path: string;
19060
- source: string;
19061
- sha256: string;
19062
- license: string;
19063
- }[];
19064
19087
  style: {
19065
19088
  outDir: string;
19066
19089
  palette: string[];
@@ -19153,6 +19176,14 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19153
19176
  base?: string | undefined;
19154
19177
  } | undefined;
19155
19178
  };
19179
+ schemaVersion: 1;
19180
+ summary: string;
19181
+ models: {
19182
+ path: string;
19183
+ source: string;
19184
+ sha256: string;
19185
+ license: string;
19186
+ }[];
19156
19187
  $schema?: string | undefined;
19157
19188
  workflow?: {
19158
19189
  path: string;
@@ -19221,8 +19252,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19221
19252
  algorithm: "sha256";
19222
19253
  digest: string;
19223
19254
  };
19224
- schemaVersion: 1;
19225
- summary: string;
19226
19255
  style: {
19227
19256
  outDir: string;
19228
19257
  provider?: string | undefined;
@@ -19315,6 +19344,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19315
19344
  tags?: string[] | undefined;
19316
19345
  providerOptions?: Record<string, Record<string, unknown>> | undefined;
19317
19346
  };
19347
+ schemaVersion: 1;
19348
+ summary: string;
19318
19349
  $schema?: string | undefined;
19319
19350
  files?: {
19320
19351
  path: string;
@@ -19399,14 +19430,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19399
19430
  sha256: string;
19400
19431
  role: "reference" | "workflow";
19401
19432
  }[];
19402
- schemaVersion: 1;
19403
- summary: string;
19404
- models: {
19405
- path: string;
19406
- source: string;
19407
- sha256: string;
19408
- license: string;
19409
- }[];
19410
19433
  style: {
19411
19434
  outDir: string;
19412
19435
  palette: string[];
@@ -19499,6 +19522,14 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19499
19522
  base?: string | undefined;
19500
19523
  } | undefined;
19501
19524
  };
19525
+ schemaVersion: 1;
19526
+ summary: string;
19527
+ models: {
19528
+ path: string;
19529
+ source: string;
19530
+ sha256: string;
19531
+ license: string;
19532
+ }[];
19502
19533
  $schema?: string | undefined;
19503
19534
  workflow?: {
19504
19535
  path: string;
@@ -19567,8 +19598,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19567
19598
  algorithm: "sha256";
19568
19599
  digest: string;
19569
19600
  };
19570
- schemaVersion: 1;
19571
- summary: string;
19572
19601
  style: {
19573
19602
  outDir: string;
19574
19603
  provider?: string | undefined;
@@ -19661,6 +19690,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19661
19690
  tags?: string[] | undefined;
19662
19691
  providerOptions?: Record<string, Record<string, unknown>> | undefined;
19663
19692
  };
19693
+ schemaVersion: 1;
19694
+ summary: string;
19664
19695
  $schema?: string | undefined;
19665
19696
  files?: {
19666
19697
  path: string;
@@ -21529,6 +21560,8 @@ interface DoctorOptions {
21529
21560
  offline?: boolean;
21530
21561
  apiKeyPresent?: boolean;
21531
21562
  credentialEnv?: string;
21563
+ /** The running CLI's version, for the install check. Defaults to this package's own. */
21564
+ runningVersion?: string | null;
21532
21565
  }
21533
21566
  interface DoctorProviderTarget {
21534
21567
  id: string;
@@ -21539,8 +21572,9 @@ interface DoctorProviderTarget {
21539
21572
  }
21540
21573
  /**
21541
21574
  * Checks the whole project without changing it. Loading/resolving the manifest
21542
- * and loading the lock happen before this function, so schema, style-image,
21543
- * filter, and output-collision validation have already passed if it runs.
21575
+ * and loading the lock happen before this function. Entries a lenient load set
21576
+ * aside are reported here as errors; everything else has already passed schema,
21577
+ * style-image, filter, and output-collision validation if this runs.
21544
21578
  */
21545
21579
  declare function doctor(loaded: LoadedManifest, specs: ResolvedSpec[], lock: Lock, lockPath: string, opts?: DoctorOptions): Promise<DoctorReport>;
21546
21580
 
@@ -26616,4 +26650,4 @@ interface WorkspaceStatusReport {
26616
26650
  */
26617
26651
  declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
26618
26652
 
26619
- export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AssetVfx, AssetVfxSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, type ImportOptions, type ImportResult, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, PixelLabMcpClient, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCaseChange, type QualityCheck, type QualityMetricChange, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResolvedTerrainLink, type ResolvedVfx, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpecHashReport, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildImportedEntry, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, importLocal, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, reportSpecHashes, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, snapshotQualityCases, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
26653
+ export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AssetVfx, AssetVfxSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, type ImportOptions, type ImportResult, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type InvalidManifestEntry, type JobState, type LoadManifestOptions, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, PixelLabMcpClient, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCaseChange, type QualityCheck, type QualityMetricChange, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResolvedTerrainLink, type ResolvedVfx, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpecHashReport, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildImportedEntry, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, importLocal, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, reportSpecHashes, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, snapshotQualityCases, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
package/dist/index.d.ts CHANGED
@@ -17576,8 +17576,28 @@ interface LoadedManifest {
17576
17576
  * and the asset ids each expanded into. Absent when the manifest has none.
17577
17577
  */
17578
17578
  loopFamilies?: Record<string, string[]>;
17579
+ /**
17580
+ * Entries a lenient load set aside because they do not validate or resolve,
17581
+ * so one bad entry does not hide the rest. Absent when everything loaded.
17582
+ */
17583
+ invalid?: InvalidManifestEntry[];
17584
+ }
17585
+ /** A style or asset a lenient load could not use, and why. */
17586
+ interface InvalidManifestEntry {
17587
+ kind: "style" | "asset";
17588
+ id: string;
17589
+ issues: string[];
17590
+ }
17591
+ interface LoadManifestOptions {
17592
+ /**
17593
+ * Set invalid styles and assets aside, and everything that depends on them,
17594
+ * instead of rejecting the whole file. Problems in the manifest's own
17595
+ * top-level fields still throw. Read-only commands use this; anything that
17596
+ * spends should not.
17597
+ */
17598
+ lenient?: boolean;
17579
17599
  }
17580
- declare function loadManifest(manifestPath: string): Promise<LoadedManifest>;
17600
+ declare function loadManifest(manifestPath: string, opts?: LoadManifestOptions): Promise<LoadedManifest>;
17581
17601
  /**
17582
17602
  * Whether a style renders an asset. An asset that names its styles is in
17583
17603
  * exactly those. One that names none joins every style of its own kind: a
@@ -17597,6 +17617,12 @@ declare function parentAssetId(asset: Asset | undefined): string | undefined;
17597
17617
  declare function resolveSpecs(loaded: LoadedManifest, filter?: {
17598
17618
  styles?: string[];
17599
17619
  assets?: string[];
17620
+ /**
17621
+ * Called instead of throwing when one asset cannot be resolved (a size the
17622
+ * provider rejects, a bad reference). The asset is left out. Without it,
17623
+ * the first failure rejects the whole resolution.
17624
+ */
17625
+ onInvalid?: (entry: InvalidManifestEntry) => void;
17600
17626
  /** Optional provider makes offline plan cost/candidate estimates adapter-owned. */
17601
17627
  provider?: Pick<Provider, "supports" | "supportsRevision" | "supportsMapScene" | "estimate" | "validate" | "resolveOptions" | "resolveInputs" | "id">;
17602
17628
  }): Promise<ResolvedSpec[]>;
@@ -17703,6 +17729,11 @@ interface OpenProjectOptions {
17703
17729
  styles?: string[];
17704
17730
  /** Keep only these asset ids. Empty or omitted keeps every asset. */
17705
17731
  assets?: string[];
17732
+ /**
17733
+ * Set invalid entries aside (see `loaded.invalid`) instead of failing the
17734
+ * whole open. For read-only reports; leave off for anything that spends.
17735
+ */
17736
+ lenient?: boolean;
17706
17737
  /**
17707
17738
  * Read `.env.local` and `.env` from the manifest's directory, and from the
17708
17739
  * working directory when that differs, into `process.env` before anything
@@ -19053,14 +19084,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19053
19084
  sha256: string;
19054
19085
  role: "reference" | "workflow";
19055
19086
  }[];
19056
- schemaVersion: 1;
19057
- summary: string;
19058
- models: {
19059
- path: string;
19060
- source: string;
19061
- sha256: string;
19062
- license: string;
19063
- }[];
19064
19087
  style: {
19065
19088
  outDir: string;
19066
19089
  palette: string[];
@@ -19153,6 +19176,14 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19153
19176
  base?: string | undefined;
19154
19177
  } | undefined;
19155
19178
  };
19179
+ schemaVersion: 1;
19180
+ summary: string;
19181
+ models: {
19182
+ path: string;
19183
+ source: string;
19184
+ sha256: string;
19185
+ license: string;
19186
+ }[];
19156
19187
  $schema?: string | undefined;
19157
19188
  workflow?: {
19158
19189
  path: string;
@@ -19221,8 +19252,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19221
19252
  algorithm: "sha256";
19222
19253
  digest: string;
19223
19254
  };
19224
- schemaVersion: 1;
19225
- summary: string;
19226
19255
  style: {
19227
19256
  outDir: string;
19228
19257
  provider?: string | undefined;
@@ -19315,6 +19344,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19315
19344
  tags?: string[] | undefined;
19316
19345
  providerOptions?: Record<string, Record<string, unknown>> | undefined;
19317
19346
  };
19347
+ schemaVersion: 1;
19348
+ summary: string;
19318
19349
  $schema?: string | undefined;
19319
19350
  files?: {
19320
19351
  path: string;
@@ -19399,14 +19430,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19399
19430
  sha256: string;
19400
19431
  role: "reference" | "workflow";
19401
19432
  }[];
19402
- schemaVersion: 1;
19403
- summary: string;
19404
- models: {
19405
- path: string;
19406
- source: string;
19407
- sha256: string;
19408
- license: string;
19409
- }[];
19410
19433
  style: {
19411
19434
  outDir: string;
19412
19435
  palette: string[];
@@ -19499,6 +19522,14 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19499
19522
  base?: string | undefined;
19500
19523
  } | undefined;
19501
19524
  };
19525
+ schemaVersion: 1;
19526
+ summary: string;
19527
+ models: {
19528
+ path: string;
19529
+ source: string;
19530
+ sha256: string;
19531
+ license: string;
19532
+ }[];
19502
19533
  $schema?: string | undefined;
19503
19534
  workflow?: {
19504
19535
  path: string;
@@ -19567,8 +19598,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19567
19598
  algorithm: "sha256";
19568
19599
  digest: string;
19569
19600
  };
19570
- schemaVersion: 1;
19571
- summary: string;
19572
19601
  style: {
19573
19602
  outDir: string;
19574
19603
  provider?: string | undefined;
@@ -19661,6 +19690,8 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
19661
19690
  tags?: string[] | undefined;
19662
19691
  providerOptions?: Record<string, Record<string, unknown>> | undefined;
19663
19692
  };
19693
+ schemaVersion: 1;
19694
+ summary: string;
19664
19695
  $schema?: string | undefined;
19665
19696
  files?: {
19666
19697
  path: string;
@@ -21529,6 +21560,8 @@ interface DoctorOptions {
21529
21560
  offline?: boolean;
21530
21561
  apiKeyPresent?: boolean;
21531
21562
  credentialEnv?: string;
21563
+ /** The running CLI's version, for the install check. Defaults to this package's own. */
21564
+ runningVersion?: string | null;
21532
21565
  }
21533
21566
  interface DoctorProviderTarget {
21534
21567
  id: string;
@@ -21539,8 +21572,9 @@ interface DoctorProviderTarget {
21539
21572
  }
21540
21573
  /**
21541
21574
  * Checks the whole project without changing it. Loading/resolving the manifest
21542
- * and loading the lock happen before this function, so schema, style-image,
21543
- * filter, and output-collision validation have already passed if it runs.
21575
+ * and loading the lock happen before this function. Entries a lenient load set
21576
+ * aside are reported here as errors; everything else has already passed schema,
21577
+ * style-image, filter, and output-collision validation if this runs.
21544
21578
  */
21545
21579
  declare function doctor(loaded: LoadedManifest, specs: ResolvedSpec[], lock: Lock, lockPath: string, opts?: DoctorOptions): Promise<DoctorReport>;
21546
21580
 
@@ -26616,4 +26650,4 @@ interface WorkspaceStatusReport {
26616
26650
  */
26617
26651
  declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
26618
26652
 
26619
- export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AssetVfx, AssetVfxSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, type ImportOptions, type ImportResult, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, PixelLabMcpClient, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCaseChange, type QualityCheck, type QualityMetricChange, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResolvedTerrainLink, type ResolvedVfx, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpecHashReport, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildImportedEntry, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, importLocal, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, reportSpecHashes, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, snapshotQualityCases, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
26653
+ export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AssetVfx, AssetVfxSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, type ImportOptions, type ImportResult, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type InvalidManifestEntry, type JobState, type LoadManifestOptions, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, PixelLabMcpClient, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCaseChange, type QualityCheck, type QualityMetricChange, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResolvedTerrainLink, type ResolvedVfx, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpecHashReport, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildImportedEntry, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, importLocal, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, reportSpecHashes, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, snapshotQualityCases, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };